]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
fnmatch: work around GCC compiler warning bug with uninit var
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b1eda10e
PE
12014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2
3 fnmatch: work around GCC compiler warning bug with uninit var
4 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5 This works around a bug with x86-64 GCC 4.9.2 and earlier
6 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8 used uninitialized in this function [-Wmaybe-uninitialized]".
9
bde2667a
JM
102014-11-25 Joseph Myers <joseph@codesourcery.com>
11
12 * posix/bug-regex31.c (main): Return RES not 0.
13
5fbb5691
AB
142014-11-25 Anton Blanchard <anton@samba.org>
15
16 * sysdeps/powerpc/bits/atomic.h
17 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18
467fec0b
BM
192014-11-24 Sterling Augustine <saugustine@google.com>
20
21 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22
e9ff8efb
RC
232014-11-24 Ryan Cumming <etaoins@gmail.com>
24
25 [BZ #17608]
26 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27
9744496f
JM
282014-11-24 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #17633]
31 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33 variable.
34 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36
6423d475
WD
372014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
38
39 * string/strncpy.c (strncpy): Improve performance by using memset.
40
412014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
42
43 * string/strcpy.c (strcpy):
44 Improve performance by using strlen and memcpy.
45
5d178c37
LH
462014-11-24 Leonhard Holz <leonhard.holz@web.de>
47
48 * string/strcoll_l.c (get_next_seq): __always_inline.
49 * string/strcoll_l.c (do_compare): __always_inline.
50
279bc5b3
SP
512014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
52
7a9ebfa1
SP
53 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
54 defined.
55 * include/mqueue.h: Likewise.
56 * include/stdlib.h: Likewise.
57
4f41c682
SP
58 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
59 (get_null_defines): Adjust.
60 * sunrpc/Makefile: Adjust comment.
61 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
62 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
63 (CFLAGS-interp.c): Likewise.
64 (CFLAGS-ldconfig.c): Likewise.
65 (CPPFLAGS-.os): Likewise.
66 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
68 * extra-modules.mk (extra-modules.mk): Likewise.
69 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
70 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
71 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
72 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
73 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
74 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
75 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
76 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
77 * iconvdata/Makefile (CPPFLAGS): Likewise.
78 (cpp-srcs-left): Add libof for all iconvdata routines.
79 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
80 * include/assert.h: Likewise.
81 * include/ctype.h: Likewise.
82 * include/errno.h: Likewise.
83 * include/libc-symbols.h: Likewise.
84 * include/math.h: Likewise.
85 * include/netdb.h: Likewise.
86 * include/resolv.h: Likewise.
87 * include/stdio.h: Likewise.
88 * include/stdlib.h: Likewise.
89 * include/string.h: Likewise.
90 * include/sys/stat.h: Likewise.
91 * include/wctype.h: Likewise.
92 * intl/l10nflist.c: Likewise.
93 * libidn/idn-stub.c: Likewise.
94 * libio/libioP.h: Likewise.
95 * nptl/libc_multiple_threads.c: Likewise.
96 * nptl/pthreadP.h: Likewise.
97 * posix/regex_internal.h: Likewise.
98 * resolv/res_hconf.c: Likewise.
99 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
100 * sysdeps/arm/memmove.S: Likewise.
101 * sysdeps/arm/sysdep.h: Likewise.
102 * sysdeps/generic/_itoa.h: Likewise.
103 * sysdeps/generic/symbol-hacks.h: Likewise.
104 * sysdeps/gnu/errlist.awk: Likewise.
105 * sysdeps/gnu/errlist.c: Likewise.
106 * sysdeps/i386/i586/memcpy.S: Likewise.
107 * sysdeps/i386/i586/memset.S: Likewise.
108 * sysdeps/i386/i686/memcpy.S: Likewise.
109 * sysdeps/i386/i686/memmove.S: Likewise.
110 * sysdeps/i386/i686/mempcpy.S: Likewise.
111 * sysdeps/i386/i686/memset.S: Likewise.
112 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
114 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
115 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
116 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
118 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
119 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
120 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
128 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
129 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
130 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
132 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
133 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
134 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
135 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
136 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
138 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
139 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
142 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
145 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
152 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
156 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
157 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
158 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
159 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
160 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
163 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
164 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
165 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
166 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
167 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
168 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
169 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
170 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
173 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
174 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
175 * sysdeps/nptl/bits/libc-lock.h: Likewise.
176 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
177 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
178 * sysdeps/posix/closedir.c: Likewise.
179 * sysdeps/posix/opendir.c: Likewise.
180 * sysdeps/posix/readdir.c: Likewise.
181 * sysdeps/posix/rewinddir.c: Likewise.
182 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
183 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
184 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
185 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
186 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
193 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
196 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
197 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
199 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
200 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
205 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
218 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
219 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
220 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
221 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
222 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
224 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
226 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
227 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
228 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
231 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
232 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
233 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
237 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
239 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
240 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
241 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
243 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
245 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
246 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
250 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
251 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
253 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
254 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
256 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
257 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
259 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
261 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
262 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
264 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
265 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
266 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
268 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
269 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
270 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
272 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
273 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
274 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
278 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
280 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
283 * sysdeps/unix/alpha/sysdep.S: Likewise.
284 * sysdeps/unix/alpha/sysdep.h: Likewise.
285 * sysdeps/unix/make-syscalls.sh: Likewise.
286 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
288 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
289 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
290 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
291 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
292 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
293 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
294 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
295 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
297 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
299 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
300 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
301 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
302 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
303 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
304 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
305 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
306 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
307 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
308 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
309 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
310 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
311 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
315 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
316 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
320 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
324 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
325 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
326 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
327 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
328 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
329 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
330 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
336 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
337 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
338 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
339 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
344 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
345 * sysdeps/x86_64/memcpy.S: Likewise.
346 * sysdeps/x86_64/memmove.c: Likewise.
347 * sysdeps/x86_64/memset.S: Likewise.
348 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
350 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
351 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
352 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
353 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
355 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
356 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
357 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
358 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
359 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
360 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
363 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
364 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
365 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
366 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
367 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
368 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
369 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
372 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
373 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
374 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
375 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
376 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
377 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
378 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
379 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
380 * sysdeps/x86_64/strcmp.S: Likewise.
381
76ca86a5
SP
382 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
383
a3848485
SP
384 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
385 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
386 * elf/rtld-Rules: Likewise.
387 * elf/setup-vdso.h: Likewise.
388 * include/assert.h: Likewise.
389 * include/bits/stdlib-float.h: Likewise.
390 * include/errno.h: Likewise.
391 * include/sys/stat.h: Likewise.
392 * include/unistd.h: Likewise.
393 * sysdeps/aarch64/setjmp.S: Likewise.
394 * sysdeps/alpha/setjmp.S: Likewise.
395 * sysdeps/arm/__longjmp.S: Likewise.
396 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
397 * sysdeps/arm/setjmp.S: Likewise.
398 * sysdeps/arm/sysdep.h: Likewise.
399 * sysdeps/generic/_itoa.h: Likewise.
400 * sysdeps/generic/dl-sysdep.h: Likewise.
401 * sysdeps/generic/ldsodefs.h: Likewise.
402 * sysdeps/i386/dl-tls.h: Likewise.
403 * sysdeps/i386/setjmp.S: Likewise.
404 * sysdeps/m68k/setjmp.c: Likewise.
405 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
406 * sysdeps/mach/hurd/opendir.c: Likewise.
407 * sysdeps/posix/getcwd.c: Likewise.
408 * sysdeps/posix/opendir.c: Likewise.
409 * sysdeps/posix/profil.c: Likewise.
410 * sysdeps/powerpc/dl-procinfo.h: Likewise.
411 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
413 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
414 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
415 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
417 * sysdeps/s390/dl-tls.h: Likewise.
418 * sysdeps/s390/s390-32/setjmp.S: Likewise.
419 * sysdeps/s390/s390-64/setjmp.S: Likewise.
420 * sysdeps/sh/sh3/setjmp.S: Likewise.
421 * sysdeps/sh/sh4/setjmp.S: Likewise.
422 * sysdeps/unix/alpha/sysdep.h: Likewise.
423 * sysdeps/unix/arm/sysdep.S: Likewise.
424 * sysdeps/unix/i386/sysdep.S: Likewise.
425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
426 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
427 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
428 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
430 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
431 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
432 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
433 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
434 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
435 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
436 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
437 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
440 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
444 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
445 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
448 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
449 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
453 * sysdeps/x86_64/setjmp.S: Likewise.
454
a109996e
SP
455 * include/math.h: Use IS_IN instead of IS_IN_libm.
456 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
459 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
461 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
462 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
466 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
467 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
468 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
469 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
470 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
471 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
472 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
473 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
474 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
475 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
476 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
477 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
478 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
479 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
480 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
481 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
482 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
483 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
484 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
485 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
486 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
487 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
488 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
490 Likewise.
491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
492 Likewise.
493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
494 Likewise.
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
496 Likewise.
497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
498 Likewise.
499 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
501 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
502 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
503 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
504 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
510 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
511 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
512 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
513 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
515 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
517 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
518 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
519 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
520 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
523 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
525 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
526
ce9f10f7
SP
527 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
528 * nptl/pthreadP.h: Likewise.
529 * nptl_db/structs.def: Likewise.
530 * sysdeps/arm/sysdep.h: Likewise.
531 * sysdeps/nptl/bits/libc-lock.h: Likewise.
532 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
533 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
534 * sysdeps/unix/alpha/sysdep.h: Likewise.
535 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
537 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
538 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
539 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
540 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
542 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
543 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
544 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
545 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
546 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
547 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
548 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
553 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
557 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
558 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
559 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
560 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
561
016afc75
SP
562 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
563 * nptl/pthreadP.h: Likewise.
564 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
565 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
566 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
567 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
568 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
569 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
570 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
571 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
572 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
573 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
574 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
575 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
577 Likewise.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
579 Likewise.
580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
582 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
585 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
586 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
588
9b42a0b3
SP
589 * dlfcn/dladdr.c: Use IS_IN.
590 * dlfcn/dladdr1.c: Likewise.
591 * dlfcn/dlclose.c: Likewise.
592 * dlfcn/dlerror.c: Likewise.
593 * dlfcn/dlinfo.c: Likewise.
594 * dlfcn/dlmopen.c: Likewise.
595 * dlfcn/dlopen.c: Likewise.
596 * dlfcn/dlsym.c: Likewise.
597 * dlfcn/dlvsym.c: Likewise.
598
85f36372
SP
599 * include/ifaddrs.h: Use IS_IN.
600 * inet/check_pf.c: Likewise.
601 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
602 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
603
fb6784e3
SP
604 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
605 IS_IN_ldconfig.
606 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
607 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
608
2886d2d1
SP
609 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
610 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
611 IS_IN (libc).
612
9a484857
SP
613 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
614
a10178bd
SP
615 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
616 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
617 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
618 * include/libc-symbols.h (IS_IN_LIB): New macro.
619 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
620 * include/netdb.h: Likewise.
621 * include/stap-probe.h: Remove all uses of IN_LIB.
622
279bc5b3
SP
623 * Makeconfig (module-cppflags-real): Define MODULE_NAME
624 instead of IN_MODULE.
625 * include/libc-symbols.h (IN_MODULE): Define using
626 MODULE_NAME.
627 (PASTE_NAME, PASTE_NAME1): New macros.
628 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
629 of IN_LIB.
630 (STAP_PROBE_ASM): Likewise.
631
e0cfa510
ST
6322014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
633
634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
635 __mach_init in dlopened libc.
636
34d97d87
MF
6372014-11-22 Mike Frysinger <vapier@gentoo.org>
638
639 * sysdeps/arm/preconfigure.ac: Delete EABI check.
640 * sysdeps/arm/preconfigure: Regenerate.
641
33cd1f74
RM
6422014-11-21 Roland McGrath <roland@hack.frob.com>
643
644 * nptl/pthread_create.c (__pthread_create_2_1): Set
645 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
646 when copying values from IATTR into PD.
647
8c230039
WN
6482014-11-21 Will Newton <will.newton@linaro.org>
649 Andrew Pinski <andrew.pinski@caviumnetworks.com>
650
6d3db89b
AP
651 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
652 Refactor inline-asm. Also add comment.
653
01194ba1
WN
654 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
655 ElfW macro instead of hardcoded Elf64 types.
656 (la_aarch64_gnu_pltenter): Likewise.
657 * sysdeps/aarch64/dl-machine.h
658 (elf_machine_runtime_setup): Use ElfW(Addr).
659
8c230039
WN
660 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
661 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
662 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
663 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
664 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
665 (R_AARCH64_TLS_DTPMOD64): Rename to ..
666 (R_AARCH64_TLS_DTPMOD): This.
667 (R_AARCH64_TLS_DTPREL64): Rename to ...
668 (R_AARCH64_TLS_DTPREL): This.
669 (R_AARCH64_TLS_TPREL64): Rename to ...
670 (R_AARCH64_TLS_TPREL): This.
671 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
672 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
673 R_AARCH64_TLS_TPREL64.
674 (elf_machine_rela): Likewise.
675
0d79fa53
TR
6762014-11-21 Torvald Riegel <triegel@redhat.com>
677
678 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
679 by setting it to 0. 64b atomics are not supported currently.
680
b59d114b
AO
6812014-11-21 Alexandre Oliva <aoliva@redhat.com>
682
683 [BZ #16469]
684 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
685 search domain names.
686
f3d945d5
AO
6872014-11-21 Alexandre Oliva <aoliva@redhat.com>
688
689 [BZ #16469]
690 * NEWS: Update.
691 * resolv/res_query.c (__libc_res_nquerydomain): Retain
692 trailing dot.
693 * posix/tst-getaddrinfo5.c: New.
694 * posix/Makefile (tests): Add it.
695
49698902
AO
6962014-11-21 Alexandre Oliva <aoliva@redhat.com>
697
698 [BZ #14498]
699 * NEWS: Fixed.
700 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
701 after parsing line but before break_if_match.
702 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
703 if there is a protocol mismatch.
704
81959214
MS
7052014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
706
707 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
708 because the potential race is on the user-supplied stream.
709
7729e0e9
AO
7102014-11-21 Alexandre Oliva <aoliva@redhat.com>
711
712 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
713 string literal if not passed a buffer.
714 * manual/job.texi (ctermid): Update reasoning, note deviation
715 from posix, suggest mtasurace when not passed a buffer, for
716 future non-preliminary safety notes.
717
a4ea5e28
AO
7182014-11-21 Alexandre Oliva <aoliva@redhat.com>
719
720 * manual/users.texi (cuserid): Fix MT-Safety note for the case
721 of not passing it a buffer.
722 Reported by Peng Haitao.
723
a2b581cb
AO
7242014-11-21 Alexandre Oliva <aoliva@redhat.com>
725
726 * manual/Makefile ($(objpfx)stamp-summary): Require
727 check-safety.sh to pass.
728 * manual/check-safety.sh: Wish for verification that every
729 @deftypefn and @deftypefun is followed by a @safety remark.
730
f214ff74
RM
7312014-11-20 Roland McGrath <roland@hack.frob.com>
732
7f0dfae0
RM
733 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
734
2f531bbb
RM
735 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
736 PTHREAD_CANCEL_ASYNCHRONOUS.
737 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
738 send SIGCANCEL.
739
f214ff74
RM
740 * nptl/default-sched.h: New file.
741 * sysdeps/unix/sysv/linux/default-sched.h: New file.
742 * nptl/pthread_create.c: Include it.
743 (__pthread_create_2_1): Use collect_default_sched instead of making
744 Linux syscalls here directly.
745
e37c91d4
TR
7462014-11-20 Torvald Riegel <triegel@redhat.com>
747
748 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
749 __pthread_once): Use C11 atomics.
750
1eccfecd
TR
7512014-11-20 Torvald Riegel <triegel@redhat.com>
752
753 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
754
ff871426
TR
7552014-11-20 Torvald Riegel <triegel@redhat.com>
756
757 * include/atomic.h (__atomic_link_error, __atomic_check_size,
758 atomic_thread_fence_acquire, atomic_thread_fence_release,
759 atomic_thread_fence_seq_cst, atomic_load_relaxed,
760 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
761 atomic_compare_exchange_weak_relaxed,
762 atomic_compare_exchange_weak_acquire,
763 atomic_compare_exchange_weak_release,
764 atomic_exchange_acquire, atomic_exchange_release,
765 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
766 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
767 atomic_fetch_and_acquire,
768 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
769
1ea339b6
TR
7702014-11-20 Torvald Riegel <triegel@redhat.com>
771
772 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
773 USE_ATOMIC_COMPILER_BUILTINS): Define.
774 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
776 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
778 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
780 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
782 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
784 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
786 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
788 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
790 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
792 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
794 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
796 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
798 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
800 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
802 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
804 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
806 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
808 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
809 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
810 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
811 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
812 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
813 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
814
cbd463e2
RM
8152014-11-19 Roland McGrath <roland@hack.frob.com>
816
d960211f
RM
817 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
818 the sched_priority value here. It was already checked when the user
819 called pthread_attr_setschedparam.
820
cbd463e2
RM
821 * nptl/tst-bad-schedattr.c: New file.
822 * nptl/Makefile (tests): Add it.
823
a39208bd
CD
8242014-11-19 Carlos O'Donell <carlos@redhat.com>
825 Florian Weimer <fweimer@redhat.com>
826 Joseph Myers <joseph@codesourcery.com>
827 Adam Conrad <adconrad@0c3.net>
828 Andreas Schwab <schwab@suse.de>
829 Brooks <bmoses@google.com>
830
831 [BZ #17625]
832 * wordexp-test.c (__dso_handle): Add prototype.
833 (__register_atfork): Likewise.
834 (__app_register_atfork): New function.
835 (registered_forks): New global.
836 (register_fork): New function.
837 (test_case): Add 3 new tests for WRDE_CMDSUB.
838 (main): Call __app_register_atfork.
839 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
840 fork count is non-zero fail the test.
841 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
842 is set.
843 (parse_dollars): Remove check for WRDE_NOCMD.
844 (parse_dquote): Likewise.
845
9cd47470
SP
8462014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
847
130ac68c
SP
848 * Makeconfig (built-modules): List non-library modules to be
849 built.
850 (module-cppflags): Include libc-modules.h for
851 everything except shlib-versions.v.i.
852 (CPPFLAGS): Use it.
853 (before-compile): Add libc-modules.h.
854 ($(common-objpfx)libc-modules.h,
855 $(common-objpfx)libc-modules.stmp): New targets.
856 (common-generated): Add libc-modules.h and libc-modules.stmp.
857 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
858 * include/libc-symbols.h: Don't include libc-modules.h.
859 * include/libc-modules.h: Remove file.
860 * scripts/gen-libc-modules.awk: New script to generate
861 libc-modules.h.
862 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
863 Depend on libc-modules.stmp.
864
286663c3
SP
865 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
866
9cd47470
SP
867 * Makeconfig (in-module): Get value of libof set for the
868 translation unit.
869 (CPPFLAGS): Use $(in-module).
870 * Makerules: Don't suffix routine names for nonlib.
871 * include/libc-modules.h: New file.
872 * include/libc-symbols.h: Include libc-modules.h
873 (IS_IN): New macro to replace IS_IN_* macros.
874 * elf/Makefile: Set libof-* for each routine.
875 * elf/rtld-Rules: Likewise.
876 * extra-modules.mk: Likewise.
877 * iconv/Makefile: Likewise.
878 * iconvdata/Makefile: Likewise.
879 * locale/Makefile: Likewise.
880 * malloc/Makefile: Likewise.
881 * nss/Makefile: Likewise.
882 * sysdeps/gnu/Makefile: Likewise.
883 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
884 * sysdeps/unix/sysv/linux/Makefile: Likewise.
885 * sysdeps/s390/s390-64/Makefile: Likewise.
886 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
887 CPPFLAGS for nscd instead of nonlib.
888
32fed10f
RM
8892014-11-18 Roland McGrath <roland@hack.frob.com>
890
d71035bd
RM
891 * nptl/createthread.c: New file.
892
6540b991
RM
893 * nptl/createthread.c: Moved ...
894 * sysdeps/unix/sysv/linux/createthread.c: ... here.
895
32fed10f
RM
896 * nptl/createthread.c: Add proper top-line comment.
897 (do_clone): Folded into ...
898 (create_thread): ... here. Take new arguments STOPPED_START and
899 THREAD_RAN. Always set PD->stopped_start to something here. Don't
900 increment __nptl_threads, do event-reporting logic, do
901 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
902 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
903 resource cleanup if sched_setaffinity or sched_setscheduler fails,
904 just send SIGCANCEL.
905 * nptl/pthread_create.c: Forward-declare create_thread before
906 including createthread.c.
907 (start_thread): Use new macro START_THREAD_DEFN to replace defining
908 declaration, and new macro START_THREAD_SELF to replace argument.
909 Remove return statement.
910 (report_thread_creation): New function.
911 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
912 synchronization logic, and __nptl_nthreads increment here, around
913 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
914 PD->parent_cancelhandling here, before create_thread. When
915 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
916 __deallocate_stack, and ENOMEM translation here.
917
107a5bf0
JM
9182014-11-18 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #17616]
921 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
922 (mptwo): Rename to __mptwo.
923 (__inv): Use __mptwo instead of mptwo.
924 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
925 (mptwo): Rename to __mptwo.
926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
927 of mpone and __mptwo instead of mptwo.
928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
929 instead of mpone.
930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
931 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
932 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
933 of mpone and __mptwo instead of mptwo.
934 (__mpranred): Use __mpone instead of mpone.
935 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
936 variable.
937 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
938 (test-xfail-ISO99/math.h/linknamespace): Likewise.
939 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
940 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
941 (test-xfail-ISO11/math.h/linknamespace): Likewise.
942 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
943 (test-xfail-XPG3/math.h/linknamespace): Likewise.
944 (test-xfail-XPG4/math.h/linknamespace): Likewise.
945 (test-xfail-POSIX/math.h/linknamespace): Likewise.
946 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
947 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
948 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
949 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
950 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
951 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
952 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
953 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
954 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
955 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
956
3b679ab3
TV
9572014-11-18 Tom de Vries <tom@codesoucery.com>
958
959 * manual/signal.texi (Primitives Interrupted by Signals): In section,
960 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
961
9622014-11-17 Richard Henderson <rth@redhat.com>
963
964 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
965 (_FP_PACK_RAW_2): Remove.
966 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
967 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
968 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
969 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
970 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
971 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
972 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
973 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
974 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
975 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
976 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
977 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
978 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
979 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
980 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
981 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
982
0781a777
RM
9832014-11-14 Roland McGrath <roland@hack.frob.com>
984
985 * signal/signal.h [__USE_MISC]
986 (struct sigvec): Remove type.
987 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
988 (sigvec): Remove declaration.
989 * sysdeps/posix/sigvec.c: Moved ...
990 * signal/sigvec.c: ... here, replacing old file.
991 (struct sigvec): New type, copied from old signal.h definition.
992 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
993 (__sigvec): Convert definition to prototype.
994 (sigvec): Replace weak_alias with compat_symbol.
995 * signal/Versions (libc: GLIBC_2.21): New version set.
996 * include/signal.h: Remove __sigvec declaration.
997 * sysdeps/unix/bsd/sigvec.c: Remove file.
998 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
999 * manual/signal.texi (BSD Handler): Remove subsection.
1000 Move siginterrupt up to ...
1001 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1002 (Blocking in BSD): Fold subsection into its parent.
1003 * NEWS: Mention sigvec removal.
1004
a4733812
JM
10052014-11-14 Joseph Myers <joseph@codesourcery.com>
1006
5ae4fe60
JM
1007 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1008 (DLA_FMS): Make definition conditional only on [__FMA4__].
1009 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1010 definition.
1011
6a0dd472
JM
1012 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1013 Make definition conditional only on [PROF].
1014 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1015 definition.
1016 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1017 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1018
a4733812
JM
1019 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1020 !__GNUC__].
1021 * include/signal.h (__sigpause): Move declaration above call to
1022 libc_hidden_proto.
1023 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1024 variable.
1025 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1026 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1027
cf7246dd
DM
10282014-11-14 David S. Miller <davem@davemloft.net>
1029
1030 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1031 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1032
c1b0aadc
JM
10332014-11-14 Joseph Myers <joseph@codesourcery.com>
1034
4863355a
JM
1035 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1036 * configure: Regenerated.
1037 * manual/install.texi (Tools for Compilation): Document a
1038 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1039 compiler verified to work.
1040 * INSTALL: Regenerated.
1041
c1b0aadc
JM
1042 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1043 redeclare with asm name.
1044 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1045 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1046 including <string.h>.
1047 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1049 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1050 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1051 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1053 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1054
2a1cfd94
JM
10552014-11-13 Joseph Myers <joseph@codesourcery.com>
1056
bf438382
JM
1057 * stdlib/strtol.c (__strtol): Use prototype definition.
1058
2a1cfd94
JM
1059 [BZ #17594]
1060 * stdlib/strtol.c (SYM__): New macro.
1061 (SYM__1): Likewise.
1062 (__strtol): Likewise.
1063 (strtol): Rename to __strtol and define as weak alias of
1064 __strtol. Use libc_hidden_weak.
1065
20ed0d26
SL
10662014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1067
1068 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1069 Use numbered labels in inline assembly.
1070
53244a4e
SL
10712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1072
1073 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1074 Add setjmp LIBC_PROBE.
1075 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1076 Likewise.
1077 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1078 Add longjmp, longjmp_target LIBC_PROBE.
1079 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1080 Likewise.
1081
47df8251
SL
10822014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1083
1084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1085 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1086 to get rid of unused variable warning.
1087
618cebef
SL
10882014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1089
1090 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1091 Check for unwind_backtrace == NULL only in SHARED case.
1092 (__backchain_backtrace): Compile only in SHARED case.
1093 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1094 Likewise.
1095 (__backchain_backtrace): Declare as static.
1096
c6aab2cb
RM
10972014-11-12 Roland McGrath <roland@hack.frob.com>
1098
1099 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1100 (__libc_multiple_threads_ptr): Variable moved ...
1101 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1102
5a6fa4d7
JM
11032014-11-12 Joseph Myers <joseph@codesourcery.com>
1104
24f4f825
JM
1105 * conform/GlibcConform.pm: New file.
1106 * conform/conformtest.pl: Use GlibcConform module.
1107 * conform/linknamespace.pl: New file.
1108 * conform/list-header-symbols.pl: Likewise.
1109 * conform/Makefile (linknamespace-symlists-base): New variable.
1110 (linknamespace-symlists-tests): Likewise.
1111 (linknamespace-header-base): Likewise.
1112 (linknamespace-header-tests): Likewise.
1113 (tests-special): Add new tests.
1114 ($(linknamespace-symlists-tests)): New rule.
1115 (linknamespace-libs): New variable.
1116 ($(objpfx)symlist-stdlibs): New rule.
1117 ($(linknamespace-header-tests)): Likewise.
1118 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1119 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1120 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1121 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1122 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1123 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1124 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1125 (test-xfail-ISO/math.h/linknamespace): Likewise.
1126 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1127 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1128 (test-xfail-ISO/time.h/linknamespace): Likewise.
1129 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1130 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1131 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1132 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1133 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1134 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1135 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1136 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1137 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1138 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1139 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1140 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1141 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1142 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1143 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1144 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1145 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1146 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1147 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1148 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1149 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1150 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1151 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1152 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1153 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1154 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1155 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1156 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1157 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1158 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1159 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1160 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1161 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1162 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1163 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1164 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1165 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1166 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1167 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1168 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1169 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1170 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1171 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1172 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1173 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1174 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1175 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1176 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1177 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1178 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1179 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1180 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1181 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1182 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1183 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1184 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1185 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1186 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1187 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1188 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1189 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1190 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1191 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1192 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1193 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1194 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1195 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1196 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1197 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1198 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1199 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1200 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1201 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1202 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1203 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1204 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1205 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1206 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1207 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1208 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1209 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1210 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1211 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1212 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1213 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1214 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1215 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1216 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1217 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1218 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1219 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1220 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1221 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1222 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1223 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1224 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1225 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1226 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1227 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1228 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1229 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1230 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1231 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1232 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1233 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1234 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1235 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1236 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1237 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1238 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1239 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1240 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1241 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1242 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1243 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1244 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1245 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1246 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1247 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1248 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1249 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1250 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1251 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1252 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1253 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1254 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1255 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1256 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1257 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1258 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1259 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1260 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1261 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1262 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1263 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1264 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1265 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1266 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1267 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1268 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1269 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1270 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1271 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1272 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1273 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1274 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1275 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1276 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1277 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1278 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1279
cc67478e
JM
1280 [BZ #17589]
1281 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1282 of fgets_unlocked.
1283
9975e3d3
JM
1284 [BZ #17585]
1285 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1286 (memmem): Rename to __memmem and define as weak alias of
1287 __memmem. Use libc_hidden_weak.
1288 (__memmem): Use libc_hidden_def.
1289 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1290 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1291 memmem.
1292
c4eae752
JM
1293 [BZ #17582]
1294 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1295 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1296 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1297 and define as weak alias of __fgets_unlocked. Use
1298 libc_hidden_weak.
1299 (__fgets_unlocked): Use libc_hidden_def.
1300 * include/stdio.h (__fgets_unlocked): Declare. Use
1301 libc_hidden_proto.
1302 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1303 __fgets_unlocked instead of fgets_unlocked.
1304 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1305 (GET_NPROCS_CONF_PARSER): Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1307 (GET_NPROCS_CONF_PARSER): Likewise.
1308
01cad84e
JM
1309 [BZ #17574]
1310 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1311 weak alias of __wmemset. Use libc_hidden_weak.
1312 (__wmemset): Use libc_hidden_def.
1313 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1314 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1315 of wmemset.
1316
939da411
JM
1317 [BZ #17573]
1318 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1319 with asm name __mempcpy.
1320 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1321
293d9a41
JM
1322 [BZ #17572]
1323 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1324 and define as weak alias of __rawmemchr.
1325 (__rawmemchr): Do not define as strong alias of rawmemchr.
1326
bef8fd60
JM
1327 [BZ #17571]
1328 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1329 alias of __qsort_r.
1330 (qsort): Call __qsort_r instead of qsort_r.
1331 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1332 (__qsort_r): Declare. Call libc_hidden_proto.
1333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1334 instead of qsort_r.
1335 * nscd/gai.c (__qsort_r): Define to qsort_r.
1336 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1337 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1338 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1339
c52ff39e
JM
1340 [BZ #17570]
1341 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1342 define as weak alias of __malloc_info.
1343
2f5c1b00
JM
1344 [BZ #17584]
1345 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1346 as weak alias of __rewinddir. Don't use libc_hidden_def.
1347 (__rewinddir): Use libc_hidden_def.
1348 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1349 as weak alias of __rewinddir. Don't use libc_hidden_def.
1350 (__rewinddir): Use libc_hidden_def.
1351 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1352 weak alias of __rewinddir. Don't use libc_hidden_def.
1353 (__rewinddir): Use libc_hidden_def.
1354 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1355 (__rewinddir): Use libc_hidden_proto.
1356 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1357 rewinddir.
1358 (__getcwd): Use __rewinddir instead of rewinddir.
1359
5a6fa4d7
JM
1360 [BZ #17583]
1361 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1362 alias of __fileno. Use libc_hidden_weak.
1363 (__fileno): Use libc_hidden_def.
1364 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1365 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1366 alias of __ftello.
1367 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1368 __ftello.
1369 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1370 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1371 libc_hidden_def.
1372 (fread_unlocked): Don't use libc_hidden_ver.
1373 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1374 and define as weak alias of __fread_unlocked. Don't use
1375 libc_hidden_def.
1376 (__fread_unlocked): Use libc_hidden_def.
1377 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1378 (ftello): Don't use libc_hidden_proto.
1379 (__ftello): Declare. Use libc_hidden_proto.
1380 (fread_unlocked): Don't use libc_hidden_proto.
1381 (__fread_unlocked): Declare. Use libc_hidden_proto.
1382 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1383 and __ftello instead of fileno, fread_unlocked and ftello.
1384
2581b98e
SP
13852012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1386
1387 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1388 GOT12.
1389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1390 Likewise.
1391 (_dl_start_user): Likewise.
1392 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1393
533bb7c2
SP
13942014-11-12 Carlos O'Donell <carlos@redhat.com>
1395 Siddhesh Poyarekar <siddhesh@redhat.com>
1396
1397 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1398 Move argv and envp down instead of moving argc up.
1399 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1400
fffa1cf8
LH
14012014-11-12 Leonhard Holz <leonhard.holz@web.de>
1402
1403 [BZ #17506]
1404 * test-skeleton.c (main): Return successful if one of
1405 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1406 * string/tst-strcoll-overflow.c: Define expected status.
1407
fb89b46d
TU
14082014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1409
1410 [BZ #17475]
1411 * locale/iso-639.def: Define Bhili and Tulu language codes.
1412
5c40c3ba
AH
14132014-11-11 Alan Hayward <alan.hayward@arm.com>
1414
1415 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1416
b17fe01b 14172014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1418
1419 [BZ #17555]
1420 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1421
bd805071
AS
14222014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1423
1424 * configure.ac: Updated check of minimal required version to
1425 2.22.
1426 * manual/install.texi (Tools for Compilation): Updated version
1427 number.
1428 * configure: Regenerated.
1429 * INSTALL: Likewise.
1430
1400983e
AS
14312014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1432
1433 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1434 __tls_get_addr.
1435
2c46a66a
JM
14362014-11-07 Joseph Myers <joseph@codesourcery.com>
1437
1438 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1439 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1440 (__waitpid): Don't define as alias. Use libc_hidden_def not
1441 libc_hidden_weak.
1442 (waitpid): Define as alias of __waitpid.
1443 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1444 __waitpid.
1445 (__waitpid): Don't define as alias. Use libc_hidden_def not
1446 libc_hidden_weak.
1447 (waitpid): Define as alias of __waitpid.
1448 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1449 __libc_waitpid alias.
1450 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1452 Likewise.
1453 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1455 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1456 alias.
1457 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1458 __waitpid.
1459 (__waitpid): Don't define as alias. Use libc_hidden_def not
1460 libc_hidden_weak.
1461 (waitpid): Define as alias of __waitpid.
1462
da53d6db
CD
14632014-11-06 Carlos O'Donell <carlos@redhat.com>
1464
a2887bdb
CD
1465 * manual/llio.texi: Add comment that write safety has been
1466 fixed in Linux.
1467
da53d6db
CD
1468 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1469 (localplt-build-dso): Add elf/ld.so.
1470 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1471 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1472 and free for ld.so.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1474 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1476 Likewise.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1478 Likewise.
1479 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1480 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1481 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1482 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1483 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1484 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1485 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1486 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1487 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1488 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1489 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1490
9cf27b8d
JM
14912014-11-05 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #14132]
1494 * include/libc-symbols.h (INTUSE): Remove macro.
1495 (INTDEF): Likewise.
1496 (INTVARDEF): Likewise.
1497 (_INTVARDEF): Likewise.
1498 (INTDEF2): Likewise.
1499 (INTVARDEF2): Likewise.
1500 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1501 rtld_hidden_def instead of INTVARDEF.
1502 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1503 (_dl_starting_up_internal): Remove declaration.
1504 (_dl_starting_up): Use rtld_hidden_proto.
1505 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1506 declaration.
1507 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1508 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1509 _dl_starting_up.
1510 * elf/dl-writev.h (_dl_writev): Likewise.
1511 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1512 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1513 _dl_starting_up_internal.
1514
af83568d
AZ
15152014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516
1517 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1518 test-skeleton.c.
1519
b01ee67c
WN
15202014-11-05 Will Newton <will.newton@linaro.org>
1521
1522 * benchtests/Makefile: (bench-malloc): Add malloc thread
1523 scalability benchmark.
1524 * benchtests/bench-malloc-threads.c: New file.
1525
be9d4ccc
RE
15262014-11-05 Richard Earnshaw <rearnsha@arm.com>
1527
1528 * sysdeps/aarch64/strchrnul.S: New file.
1529
7110166d
AZ
15302014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531
1532 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1533 definition.
1534 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1535 Likwise.
1536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1537 Likewise.
1538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1539 Likewise.
1540 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1541 Likewise.
1542 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1543 Likewise.
1544
15452014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1546
1547 * catgets/test-gencat.c: Use test-skeleton.c.
1548 * catgets/tst-catgets.c: Likewise.
1549 * csu/tst-empty.c: Likewise.
1550 * elf/tst-audit2.c: Likewise.
1551 * elf/tst-global1.c: Likewise.
1552 * elf/tst-pathopt.c: Likewise.
1553 * elf/tst-piemod1.c: Likewise.
1554 * elf/tst-tls10.c: Likewise.
1555 * elf/tst-tls11.c: Likewise.
1556 * elf/tst-tls12.c: Likewise.
1557 * gnulib/tst-gcc.c: Likewise.
1558 * iconvdata/tst-e2big.c: Likewise.
1559 * iconvdata/tst-loading.c: Likewise.
1560 * iconv/tst-iconv1.c: Likewise.
1561 * iconv/tst-iconv2.c: Likewise.
1562 * inet/test-inet6_opt.c: Likewise.
1563 * inet/tst-gethnm.c: Likewise.
1564 * inet/tst-network.c: Likewise.
1565 * inet/tst-ntoa.c: Likewise.
1566 * intl/tst-codeset.c: Likewise.
1567 * intl/tst-gettext2.c: Likewise.
1568 * intl/tst-gettext3.c: Likewise.
1569 * intl/tst-ngettext.c: Likewise.
1570 * intl/tst-translit.c: Likewise.
1571 * io/test-stat.c: Likewise.
1572 * libio/test-fmemopen.c: Likewise.
1573 * libio/tst-freopen.c: Likewise.
1574 * libio/tst-sscanf.c: Likewise.
1575 * libio/tst-ungetwc1.c: Likewise.
1576 * libio/tst-ungetwc2.c: Likewise.
1577 * libio/tst-widetext.c: Likewise.
1578 * localedata/tst-ctype.c: Likewise.
1579 * localedata/tst-digits.c: Likewise.
1580 * localedata/tst-leaks.c: Likewise.
1581 * localedata/tst-mbswcs1.c: Likewise.
1582 * localedata/tst-mbswcs2.c: Likewise.
1583 * localedata/tst-mbswcs3.c: Likewise.
1584 * localedata/tst-mbswcs4.c: Likewise.
1585 * localedata/tst-mbswcs5.c: Likewise.
1586 * localedata/tst-setlocale.c: Likewise.
1587 * localedata/tst-trans.c: Likewise.
1588 * localedata/tst-wctype.c: Likewise.
1589 * localedata/tst-xlocale1.c: Likewise.
1590 * login/tst-grantpt.c: Likewise.
1591 * malloc/tst-calloc.c: Likewise.
1592 * malloc/tst-malloc.c: Likewise.
1593 * malloc/tst-mallocstate.c: Likewise.
1594 * malloc/tst-mcheck.c: Likewise.
1595 * malloc/tst-mtrace.c: Likewise.
1596 * malloc/tst-obstack.c: Likewise.
1597 * math/atest-exp2.c: Likewise.
1598 * math/atest-exp.c: Likewise.
1599 * math/atest-sincos.c: Likewise.
1600 * math/test-matherr.c: Likewise.
1601 * math/test-misc.c: Likewise.
1602 * math/test-powl.c: Likewise.
1603 * math/tst-definitions.c: Likewise.
1604 * misc/tst-dirname.c: Likewise.
1605 * misc/tst-efgcvt.c: Likewise.
1606 * misc/tst-fdset.c: Likewise.
1607 * misc/tst-hsearch.c: Likewise.
1608 * misc/tst-mntent2.c: Likewise.
1609 * nptl/tst-sem7.c: Likewise.
1610 * nptl/tst-sem8.c: Likewise.
1611 * nptl/tst-sem9.c: Likewise.
1612 * nss/test-netdb.c: Likewise.
1613 * posix/tst-fnmatch.c: Likewise.
1614 * posix/tst-getlogin.c: Likewise.
1615 * posix/tst-gnuglob.c: Likewise.
1616 * posix/tst-mmap.c: Likewise.
1617 * pwd/tst-getpw.c: Likewise.
1618 * resolv/tst-inet_ntop.c: Likewise.
1619 * rt/tst-timer.c: Likewise.
1620 * stdio-common/test-fseek.c: Likewise.
1621 * stdio-common/test-popen.c: Likewise.
1622 * stdio-common/test-vfprintf.c: Likewise.
1623 * stdio-common/tst-cookie.c: Likewise.
1624 * stdio-common/tst-fileno.c: Likewise.
1625 * stdio-common/tst-gets.c: Likewise.
1626 * stdio-common/tst-obprintf.c: Likewise.
1627 * stdio-common/tst-perror.c: Likewise.
1628 * stdio-common/tst-sprintf2.c: Likewise.
1629 * stdio-common/tst-sprintf3.c: Likewise.
1630 * stdio-common/tst-sprintf.c: Likewise.
1631 * stdio-common/tst-swprintf.c: Likewise.
1632 * stdio-common/tst-tmpnam.c: Likewise.
1633 * stdio-common/tst-unbputc.c: Likewise.
1634 * stdio-common/tst-wc-printf.c: Likewise.
1635 * stdlib/tst-environ.c: Likewise.
1636 * stdlib/tst-fmtmsg.c: Likewise.
1637 * stdlib/tst-limits.c: Likewise.
1638 * stdlib/tst-rand48-2.c: Likewise.
1639 * stdlib/tst-rand48.c: Likewise.
1640 * stdlib/tst-random2.c: Likewise.
1641 * stdlib/tst-random.c: Likewise.
1642 * stdlib/tst-strtol.c: Likewise.
1643 * stdlib/tst-strtoll.c: Likewise.
1644 * stdlib/tst-tls-atexit.c: Likewise.
1645 * stdlib/tst-xpg-basename.c: Likewise.
1646 * string/test-ffs.c: Likewise.
1647 * string/tst-bswap.c: Likewise.
1648 * string/tst-inlcall.c: Likewise.
1649 * string/tst-strtok.c: Likewise.
1650 * string/tst-strxfrm.c: Likewise.
1651 * sysdeps/x86_64/tst-audit10.c: Likewise.
1652 * sysdeps/x86_64/tst-audit3.c: Likewise.
1653 * sysdeps/x86_64/tst-audit4.c: Likewise.
1654 * sysdeps/x86_64/tst-audit5.c: Likewise.
1655 * time/tst-ftime_l.c: Likewise.
1656 * time/tst-getdate.c: Likewise.
1657 * time/tst-mktime3.c: Likewise.
1658 * time/tst-mktime.c: Likewise.
1659 * time/tst-posixtz.c: Likewise.
1660 * time/tst-strptime2.c: Likewise.
1661 * time/tst-strptime3.c: Likewise.
1662 * wcsmbs/tst-btowc.c: Likewise.
1663 * wcsmbs/tst-mbrtowc.c: Likewise.
1664 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1665 * wcsmbs/tst-wchar-h.c: Likewise.
1666 * wcsmbs/tst-wcpncpy.c: Likewise.
1667 * wcsmbs/tst-wcrtomb.c: Likewise.
1668 * wcsmbs/tst-wcsnlen.c: Likewise.
1669 * wcsmbs/tst-wcstof.c: Likewise.
1670
2004e7fb
JM
16712014-11-04 Joseph Myers <joseph@codesourcery.com>
1672
ab97ee8f
JM
1673 [BZ #14132]
1674 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1675 INTDEF.
1676 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1677 declaration.
1678 (_dl_mcount): Use rtld_hidden_proto.
1679 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1680 _dl_mcount.
1681 * elf/rtld.c (_rtld_global_ro): Likewise.
1682
c5684fdb
JM
1683 [BZ #14132]
1684 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1685 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1686 of _dl_init_internal.
1687 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1688 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1689 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1690 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1691 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1692 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1693 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1694 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1695 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1696 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1697 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1698 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1699 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1700 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1701 * sysdeps/tile/dl-start.S (_start): Likewise.
1702 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1703 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1704
4243cbea
JM
1705 [BZ #14132]
1706 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1707 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1708 (rtld_progname): Make macro definition unconditional.
1709 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1710 INTDEF.
1711 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1712 (dl_main): Likewise.
1713 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1714 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1715 instead of _dl_argv_internal.
1716 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1717 __GI__dl_argv instead of INTUSE(_dl_argv).
1718 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1719 __GI__dl_argv instead of _dl_argv_internal.
1720
2004e7fb
JM
1721 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1722 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1723 macro.
1724 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1725 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1726 New macro.
1727 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1728 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1729 macro.
1730 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1731 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1732
97827bfc
AS
17332014-11-04 Andreas Schwab <schwab@suse.de>
1734
1735 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1736
5e4df284
AZ
17372014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738
1739 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1740 mtvsrd instruction in binary form.
1741
04b76b5a
AS
17422014-11-03 Andreas Schwab <schwab@suse.de>
1743
1744 [BZ #17522]
1745 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1746 for less than MB_LEN_MAX use a local buffer of that size.
1747 * libio/tst-fputws.c: New file.
1748 * libio/Makefile (tests): Add tst-fputws.
1749
4c6da7da
JM
17502014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1751
1752 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1753 the size of the fpu_fr.fpu_dregs[] array.
1754
1679ba8e
JM
17552014-11-01 Joseph Myers <joseph@codesourcery.com>
1756
1757 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1758 (__nanosleep): Do not define as alias.
1759 (nanosleep): Define as alias of __nanosleep.
1760 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1761 __libc_nanosleep name.
1762
2626c183
JM
17632014-10-31 Joseph Myers <joseph@codesourcery.com>
1764
1765 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1766 install.texi in comment.
1767
7f981fc2
TR
17682014-10-31 Torvald Riegel <triegel@redhat.com>
1769
1770 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1771 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1772 ... add here and use lwsync or sync ...
1773 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1774 ... and add here using lwsync.
1775
d6f373d2
MF
17762014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1777
1778 * elf/dl-machine-reject-phdr.h: New file.
1779 * elf/dl-load.c: #include that.
1780 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1781 if that returned true.
1782
67c37987
RM
17832014-10-31 Roland McGrath <roland@hack.frob.com>
1784
1785 [BZ #17496]
1786 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1787 gen-as-const-headers chunk. Add a big scare comment after the last
1788 safe place to touch before-compile.
1789
94a42455 17902014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1791
f3f5d895
JM
1792 * manual/install.texi (Tools for Compilation): Update autoconf
1793 version requirements.
1794 * INSTALL: Regenerated.
1795
f62ff286
JM
1796 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1797 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1798 (__libc_pselect): Likewise.
94a42455
JM
1799
1800 [BZ #14138]
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1805
ff9dbdc0
TR
18062014-10-31 Torvald Riegel <triegel@redhat.com>
1807
1808 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1809 correct barrier instruction.
1810 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1811 Likewise.
1812 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1813 Likewise.
1814
b4f66884
RM
18152014-10-30 Roland McGrath <roland@hack.frob.com>
1816
1817 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1818 after defining inlines. Instead, just use parens to defeat macro
1819 expansion of __isctype in its declaration.
1820
e19c95fd
JM
18212014-10-30 Joseph Myers <joseph@codesourcery.com>
1822
1823 * include/sys/uio.h (__libc_readv): Remove declaration.
1824 (__libc_writev): Likewise.
1825 * misc/readv.c (__libc_readv): Rename to __readv.
1826 (__readv): Do not define as alias.
1827 (readv): Define as alias of __readv.
1828 * misc/writev.c (__libc_writev): Rename to __writev.
1829 (__writev): Do not define as alias.
1830 (writev): Define as alias of __writev.
1831 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1832 (__readv): Do not define as alias.
1833 (readv): Define unconditionally as alias of __readv.
1834 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1835 (__writev): Do not define as alias.
1836 (writev): Define unconditionally as alias of __writev.
1837 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1838 name.
1839 (writev): Do not define __libc_writev name.
1840
65b00b6c
RM
18412014-10-30 Roland McGrath <roland@hack.frob.com>
1842
1843 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1844 (convert_charseq): New function, broken out of ...
1845 (use_from_charmap): ... here. Call it.
1846 (use_to_charmap): Use convert_charseq and free instead of duplicating
1847 its code with a variable-length stack struct.
1848
d4e157aa
JM
18492014-10-30 Joseph Myers <joseph@codesourcery.com>
1850
1851 * include/fcntl.h (__libc_creat): Remove declaration.
1852 * io/creat.c (__libc_creat): Rename to creat.
1853 (creat): Do not define as alias.
1854 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1855 of creat instead of __libc_creat.
1856 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1857 to creat.
1858 (creat): Do not define as alias.
1859 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1860 __libc_creat.
1861 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1862 __libc_creat name.
1863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1864 Likewise.
1865
0c6891a0
CD
18662014-10-29 Carlos O'Donell <carlos@redhat.com>
1867
1868 * manual/llio.texi: Add comments discussing why write() may be
1869 considered MT-unsafe on Linux.
1870
cc00cece
CD
18712014-10-28 Carlos O'Donell <carlos@redhat.com>
1872
1873 * dl-load.c (local_strdup): Remove.
1874 (expand_dynamic_string_token): Use __strdup.
1875 (decompose_rpath): Likewise.
1876 (_dl_map_object): Likewise.
1877
51e623f2
JM
18782014-10-28 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #14132]
1881 * sysdeps/generic/unwind-dw2-fde.c
1882 (__register_frame_info_bases_internal): Do not declare.
1883 (__register_frame_info_table_bases_internal): Likewise.
1884 (__deregister_frame_info_bases_internal): Likewise.
1885 (__register_frame_info_bases): Declare and use hidden_proto before
1886 definition. Use hidden_def instead of INTDEF.
1887 (__register_frame_info_table_bases): Likewise.
1888 (__deregister_frame_info_bases): Likewise.
1889 (__register_frame_info): Do not use INTUSE.
1890 (__register_frame): Likewise.
1891 (__register_frame_info_table): Likewise.
1892 (__register_frame_table): Likewise.
1893 (__deregister_frame_info): Likewise.
1894 (__deregister_frame): Likewise.
1895
03d41216
GC
18962014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1897
1898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1899 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1900 not undefine.
1901 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1902 Likewise.
1903 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1904 Likewise.
1905
a4b3624d
JM
19062014-10-27 Joseph Myers <joseph@codesourcery.com>
1907
1908 [BZ #14138]
1909 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1910 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1911 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1912 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1913 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1914 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1917 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1918 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1919 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1921 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1922 syscall.
1923 (setfsuid): Likewise.
1924 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1925 (setfsuid): Likewise.
1926 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1927 (setfsuid): Likewise.
1928 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1929 Likewise.
1930 (setfsuid): Likewise.
1931 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1932 (setfsuid): Likewise.
1933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1934 Likewise.
1935 (setfsuid): Likewise.
1936
3574f2fd
AS
19372014-10-27 Andreas Schwab <schwab@suse.de>
1938
1939 [BZ #17501]
1940 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1941 check for Slow_SSE4_2 feature bit.
1942 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1943 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1944 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1945 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1946
70996a37
RM
19472014-10-24 Roland McGrath <roland@hack.frob.com>
1948
461a7b1e
RM
1949 * configure.ac: Validate compiler version with a empirical test of
1950 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1951 $CC -v output.
1952 * configure: Regenerated.
1953
70996a37
RM
1954 * inet/htons.c (htons): Prototypify.
1955 * inet/htonl.c (htonl): Likewise.
1956
e80514b5
WD
19572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1958
1959 * string/strncat.c (strncat): Improve performance by using strlen.
1960
6e46de42
WD
19612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1962
1963 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1964
6a9ad2fa
WD
19652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1966
1967 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1968 Call libc_fetestexcept_aarch64.
1969
1c8810ed
WD
19702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1971
1972 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1973 Call libc_feholdexcept_aarch64.
1974
8b1af712
WD
19752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1976
1977 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1978 Call get_rounding_mode.
1979
a7b00c11
WD
19802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1981
1982 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1983 Simplify logic.
1984
3a84f1a6
WD
19852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1986
1987 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1988 Simplify logic.
1989
48eb7a94
JM
19902014-10-24 Joseph Myers <joseph@codesourcery.com>
1991
c8bc4038
JM
1992 [BZ #14138]
1993 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1994 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1995 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1996 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1997 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1998 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1999 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2000 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2004 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2006 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2007 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2008 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2009 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2010 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2011 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2012 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2013 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2021 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2022 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2023 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2024 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2025 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2026 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2027 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2028 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2033 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2034 syscall.
2035 (geteuid): Likewise.
2036 (getgid): Likewise.
2037 (getuid): Likewise.
2038 (getresgid): Likewise.
2039 (getresuid): Likewise.
2040 (getgroups): Likewise.
2041 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2042 (geteuid): Likewise.
2043 (getgid): Likewise.
2044 (getuid): Likewise.
2045 (getresgid): Likewise.
2046 (getresuid): Likewise.
2047 (getgroups): Likewise.
2048 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2049 (geteuid): Likewise.
2050 (getgid): Likewise.
2051 (getuid): Likewise.
2052 (getresgid): Likewise.
2053 (getresuid): Likewise.
2054 (getgroups): Likewise.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2056 Likewise.
2057 (geteuid): Likewise.
2058 (getgid): Likewise.
2059 (getuid): Likewise.
2060 (getresgid): Likewise.
2061 (getresuid): Likewise.
2062 (getgroups): Likewise.
2063 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2064 (geteuid): Likewise.
2065 (getgid): Likewise.
2066 (getuid): Likewise.
2067 (getresgid): Likewise.
2068 (getresuid): Likewise.
2069 (getgroups): Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2071 Likewise.
2072 (geteuid): Likewise.
2073 (getgid): Likewise.
2074 (getuid): Likewise.
2075 (getgroups): Likewise.
2076
48eb7a94
JM
2077 [BZ #14138]
2078 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2079 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2080 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2083 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2084 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2085 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2086 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2090 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2091 __chown.
2092 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2093 (lchown): Likewise.
2094 (fchown): Likewise.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2096 Likewise.
2097 (lchown): Likewise.
2098 (fchown): Likewise.
2099 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2100 (lchown): Likewise.
2101 (fchown): Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2103 Likewise.
2104 (lchown): Likewise.
2105 (fchown): Likewise.
2106
ea9a7c8b
WD
21072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2108
2109 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2110 Simplify logic.
2111
e226de33
WD
21122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2113
2114 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2115 Cleanup logic.
2116
6e3d8ed3
WD
21172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2118
2119 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2120 Remove unused include.
2121
eb04247d
WD
21222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2123
2124 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2125 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2126 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2127 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2128
13d84554
CD
21292014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2130 Helge Deller <deller@gmx.de>
2131
2132 [BZ #17508]
2133 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2134 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2135 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2136
15f9c5df
JM
21372014-10-23 Joseph Myers <joseph@codesourcery.com>
2138
2139 [BZ #14132]
2140 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2141 Remove macro definition.
2142 (__ashrdi3_v_glibc20): Likewise.
2143 (__lshrdi3_v_glibc20): Likewise.
2144 (__cmpdi2_v_glibc20): Likewise.
2145 (__ucmpdi2_v_glibc20): Likewise.
2146 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2147 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2148 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2149 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2150 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2151 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2152
c6dfed24
RM
21532014-10-22 Roland McGrath <roland@hack.frob.com>
2154
2155 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2156 old GNU extension [0] syntax.
2157 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2158 alloca rather than an array member with variable length.
2159 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2160 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2161 (parse_opt): ... here. Likewise use alloca there.
2162 Validate the -i argument before checking for rootness.
2163 (send_shutdown): New function, broken out of ...
2164 (parse_opt): ... here.
2165
8c2b1ed8
RM
21662014-10-22 Roland McGrath <roland@hack.frob.com>
2167
2168 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2169 macro to get at the _rt_local_ro field.
2170 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2171 ([PIC] case) or _dl_hwcap ([!PIC] case).
2172 * sysdeps/arm/setjmp.S: Likewise.
2173
2174 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2175 * sysdeps/arm/configure.ac: New check to define it.
2176 * sysdeps/arm/configure: Regenerated.
2177 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2178 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2179 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2180 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2181 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2182 Use move/movt pair instead of a load.
2183 (LDST_GLOBAL): Macro removed.
2184 (LDR_GLOBAL): New macro replaces it.
2185 (LDR_HIDDEN): New macro.
2186 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2187 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2188
2189 * setjmp/tst-setjmp-static.c: New file.
2190 * setjmp/Makefile (tests): Add it.
2191 (tests-static): New variable.
2192
b5af9297
MR
21932014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2194
2195 [BZ #17485]
2196 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2197
a13d0d74
JM
21982014-10-21 Joseph Myers <joseph@codesourcery.com>
2199
2200 [BZ #14132]
2201 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2202
f05e73f6
RM
22032014-10-21 Roland McGrath <roland@hack.frob.com>
2204
2205 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2206
6ab1d1ea
RM
22072014-10-20 Roland McGrath <roland@hack.frob.com>
2208
2209 * io/fts.c (dirent_not_directory): New function.
2210 (fts_build): Call it.
2211
ab49e763
RM
22122014-10-20 Roland McGrath <roland@hack.frob.com>
2213
e436eb79
RM
2214 * nptl/version.c (__nptl_main): Use normal __write rather than
2215 INTERNAL_SYSCALL.
2216 (banner): Update copyright years.
2217
6af246cf
RM
2218 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2219 gettimeofday.
2220 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2221 * nptl/pthread_cond_timedwait.c: Likewise.
2222 * nptl/pthread_mutex_timedlock.c: Likewise.
2223 * nptl/sem_timedwait.c: Likewise.
2224
ab49e763
RM
2225 * sysdeps/nptl/bits/libc-lock.h
2226 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2227 (__libc_lock_init_recursive): Return void, not 0.
2228 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2229 (__libc_rwlock_init): Likewise.
2230 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2231
f50277c1
TR
22322014-10-20 Torvald Riegel <triegel@redhat.com>
2233
2234 [BZ #15215]
2235 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2236 (__pthread_once_slow): ... here.
2237 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2238 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2239
63668b70
TR
22402014-10-20 Torvald Riegel <triegel@redhat.com>
2241
2242 [BZ #15215]
2243 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2244 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2245 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2246 * nptl/pthread_once.c (__pthread_once): Likewise.
2247 Update comments.
2248
42b7f5d4
JM
22492014-10-20 Joseph Myers <joseph@codesourcery.com>
2250
2251 [BZ #14138]
2252 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2253 name.
2254 (writev): Use __libc_writev as strong name.
2255 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2256 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2257
b0643088
RM
22582014-10-17 Roland McGrath <roland@hack.frob.com>
2259
114c4e09
RM
2260 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2261
674b8978
RM
2262 * sysdeps/i386/nptl/tls.h
2263 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2264 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2265 New macros.
2266 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2267 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2268 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2269 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2270 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2271 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2272
184ee940
RM
2273 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2274 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2275 on [__NR_futex].
2276 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2277 broken out of ...
2278 (__pthread_mutex_init): ... here. Call it.
2279 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2280 Conditionalize PI cases on [__NR_futex].
2281 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2282 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2283 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2284
327ae257
RM
2285 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2286 conditional on [SIGSETXID].
2287 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2288 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2289 is defined. Likewise for SIGSETXID.
2290 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2291 Conditionalize definitions on [SIGSETXID].
2292 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2293 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2294 unblocking on [SIGCANCEL].
2295
b0643088
RM
2296 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2297 [__NR_set_robust_list].
2298
33cc770b
SP
22992014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2300
2301 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2302 (do_compare): Likewise.
2303
0742aef6
LH
23042014-10-17 Leonhard Holz <leonhard.holz@web.de>
2305
2306 [BZ #15884]
2307 * string/strcoll_l.c: Don't include stdio.h.
2308 (coll_seq): Remove members idxarr and rulearr.
2309 (get_next_seq_cached): Remove function.
2310 (get_next_seq): Likewise.
2311 (get_next_seq_nocache): Rename to get_next_seq.
2312 (do_compare): Remove function.
2313 (do_compare_nocache): Rename to do_compare.
2314 (STRCOLL): Remove weight and rules cache.
2315
ee54ce44
RM
23162014-10-16 Roland McGrath <roland@hack.frob.com>
2317
2318 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2319 * sysdeps/arm/sfp-machine.h: ... to here.
2320 * sysdeps/arm/Implies: Remove arm/soft-fp.
2321
a75d3b02
JM
23222014-10-14 Joseph Myers <joseph@codesourcery.com>
2323
2324 * conform/data/sys/utsname.h-data (*_t): Allow.
2325 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2326 [POSIX] (WEXITED): Do not expect constant.
2327 [POSIX] (WSTOPPED): Likewise.
2328 [POSIX] (WNOHANG): Likewise.
2329 [POSIX] (WNOWAIT): Likewise.
2330 [POSIX] (siginfo_t): Do not expect type or elements.
2331 [POSIX] (pid_t): Do not expect type.
2332 [POSIX] (signal.h): Do not allow header.
2333 [POSIX] (sys/resource.h): Likewise.
2334 [POSIX] (si_*): Do not allow pattern.
2335 [POSIX] (W*): Likewise.
2336 [POSIX] (P_*): Likewise.
2337 [POSIX] (BUS_*): Likewise.
2338 [POSIX] (CLD_*): Likewise.
2339 [POSIX] (FPE_*): Likewise.
2340 [POSIX] (ILL_*): Likewise.
2341 [POSIX] (POLL_*): Likewise.
2342 [POSIX] (SEGV_*): Likewise.
2343 [POSIX] (SI_*): Likewise.
2344 [POSIX] (TRAP_*): Likewise.
2345 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2346 variable.
2347
fda389c8
SP
23482014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2349
2350 [BZ #12926]
2351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2352 infinite loop when __recvmsg returns 0.
2353
6bc6bd3b
JM
23542014-10-10 Joseph Myers <joseph@codesourcery.com>
2355
fcb32af1
JM
2356 * CANCEL-FCT-WAIVE: Remove file.
2357 * CANCEL-FILE-WAIVE: Likewise.
2358
6bc6bd3b
JM
2359 [BZ #14132]
2360 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2361 instead of INTVARDEF.
2362 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2363 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2364 rtld_hidden_data_def instead of INTVARDEF.
2365 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2366 * elf/dl-deps.c (expand_dst): Likewise.
2367 * elf/dl-load.c (_dl_dst_count): Likewise.
2368 (_dl_dst_substitute): Likewise.
2369 (decompose_rpath): Likewise.
2370 (_dl_init_paths): Likewise.
2371 (open_path): Likewise.
2372 (_dl_map_object): Likewise.
2373 * elf/rtld.c (dl_main): Likewise.
2374 (process_dl_audit): Likewise.
2375 (process_envvars): Likewise.
2376 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2377 Remove declaration.
2378 (__libc_enable_secure): Use rtld_hidden_proto.
2379
b8c80a7e
KS
23802014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2381
2382 * elf/dl-load.c
2383 (add_path): New function broken out of _dl_rtld_di_serinfo.
2384 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2385
ff12c11f
JM
23862014-10-09 Joseph Myers <joseph@codesourcery.com>
2387
5c0508a3
JM
2388 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2389 parentheses around macro arguments.
2390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2395 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2396 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2398 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2399 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2401 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2402 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2403 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2404 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2405 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2406 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2410 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2413 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2414 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2417 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2419 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2420 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2421 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2422 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2423 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2424 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2425 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2426 Likewise.
2427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2430 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2434 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2435 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2437 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2438 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2439 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2448 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2449 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2451 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2452 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2453 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2454 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2455 (_FP_FRAC_SRS_1): Likewise.
2456 (_FP_FRAC_CLZ_1): Likewise.
2457 (_FP_MUL_MEAT_1_imm): Likewise.
2458 (_FP_MUL_MEAT_1_wide): Likewise.
2459 (_FP_MUL_MEAT_1_hard): Likewise.
2460 (_FP_SQRT_MEAT_1): Likewise.
2461 (_FP_FRAC_ASSEMBLE_1): Likewise.
2462 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2463 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2464 (__FP_CLZ_2): Likewise.
2465 (_FP_MUL_MEAT_2_wide): Likewise.
2466 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2467 (_FP_MUL_MEAT_2_gmp): Likewise.
2468 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2469 (_FP_SQRT_MEAT_2): Likewise.
2470 (_FP_FRAC_ASSEMBLE_2): Likewise.
2471 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2472 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2473 (_FP_FRAC_CLZ_4): Likewise.
2474 (_FP_MUL_MEAT_4_wide): Likewise.
2475 (_FP_MUL_MEAT_4_gmp): Likewise.
2476 (_FP_SQRT_MEAT_4): Likewise.
2477 (_FP_FRAC_ASSEMBLE_4): Likewise.
2478 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2479 * soft-fp/op-common.h (_FP_CMP): Likewise.
2480 (_FP_CMP_EQ): Likewise.
2481 (_FP_CMP_UNORD): Likewise.
2482 (_FP_TO_INT): Likewise.
2483 (_FP_FROM_INT): Likewise.
2484 [!__FP_CLZ] (__FP_CLZ): Likewise.
2485 (_FP_DIV_HELP_imm): Likewise.
2486 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2487 Likewise.
2488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2492 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2496 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2499 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2500 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2501 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2502 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2503 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2504 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2517 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2521 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2522 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2523 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2524 (FP_UNPACK_RAW_SP): Likewise.
2525 (FP_PACK_RAW_S): Likewise.
2526 (FP_PACK_RAW_SP): Likewise.
2527 (FP_UNPACK_S): Likewise.
2528 (FP_UNPACK_SP): Likewise.
2529 (FP_UNPACK_SEMIRAW_S): Likewise.
2530 (FP_UNPACK_SEMIRAW_SP): Likewise.
2531 (FP_PACK_S): Likewise.
2532 (FP_PACK_SP): Likewise.
2533 (FP_PACK_SEMIRAW_S): Likewise.
2534 (FP_PACK_SEMIRAW_SP): Likewise.
2535 (_FP_SQRT_MEAT_S): Likewise.
2536 (FP_CMP_S): Likewise.
2537 (FP_CMP_EQ_S): Likewise.
2538 (FP_CMP_UNORD_S): Likewise.
2539 (FP_TO_INT_S): Likewise.
2540 (FP_FROM_INT_S): Likewise.
2541
a736ec37
JM
2542 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2543
ff12c11f
JM
2544 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2545 (FP_EX_INVALID_IMZ): Likewise.
2546 (FP_EX_INVALID_IMZ_FMA): Likewise.
2547 (FP_EX_INVALID_ISI): Likewise.
2548 (FP_EX_INVALID_ZDZ): Likewise.
2549 (FP_EX_INVALID_IDI): Likewise.
2550 (FP_EX_INVALID_SQRT): Likewise.
2551 (FP_EX_INVALID_CVI): Likewise.
2552 (FP_EX_INVALID_VC): Likewise.
2553 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2554 "invalid" exceptions.
2555 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2556 (_FP_ADD_INTERNAL): Likewise.
2557 (_FP_MUL): Likewise.
2558 (_FP_FMA): Likewise.
2559 (_FP_DIV): Likewise.
2560 (_FP_CMP_CHECK_NAN): Likewise.
2561 (_FP_SQRT): Likewise.
2562 (_FP_TO_INT): Likewise.
2563 (FP_EXTEND): Likewise.
2564
b6dcfe8c
AM
25652014-10-09 Allan McRae <allan@archlinux.org>
2566
2567 * po/fr.po: Update French translation from translation project.
2568
2d6a47ba
JM
25692014-10-09 Joseph Myers <joseph@codesourcery.com>
2570
cb831245
JM
2571 [BZ #14132]
2572 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2573 of INTDEF.
2574 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2575 (__cxa_atexit): Use libc_hidden_proto.
2576 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2577
5deeb190
JM
2578 [BZ #14132]
2579 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2580 declaration.
2581 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2582 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2583 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2584 [!_ISOMAC] (__iswctype_internal): Likewise.
2585 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2586 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2587 alias.
2588 (fcntl): Remove __fcntl_internal alias.
2589 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2590 __connect_internal alias.
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2592 Likewise.
2593
454ac701
JM
2594 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2595 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2596 FP_DENORM_ZERO.
2597 (_FP_CHECK_FLUSH_ZERO): New macro.
2598 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2599 (_FP_CMP): Likewise.
2600 (_FP_CMP_EQ): Likewise.
2601 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2602 FP_DENORM_ZERO.
2603 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2604 (FP_TRUNC): Likewise.
2605
0022e688
JM
2606 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2607 treated as invalid conversion, not as normal exponent.
2608
73e28d9c
JM
2609 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2610 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2611 (_FP_CMP_EQ): Likewise.
2612 (_FP_CMP_UNORD): Likewise.
2613 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2614 (FP_CMP_EQ_D): Likewise.
2615 (FP_CMP_UNORD_D): Likewise.
2616 * soft-fp/extended.h (FP_CMP_E): Likewise.
2617 (FP_CMP_EQ_E): Likewise.
2618 (FP_CMP_UNORD_E): Likewise.
2619 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2620 (FP_CMP_EQ_Q): Likewise.
2621 (FP_CMP_UNORD_Q): Likewise.
2622 * soft-fp/single.h (FP_CMP_S): Likewise.
2623 (FP_CMP_EQ_S): Likewise.
2624 (FP_CMP_UNORD_S): Likewise.
2625 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2626 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2627 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2628 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2629 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2630 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2631 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2632 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2633 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2634 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2635 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2636 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2637 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2638 to FP_CMP_Q.
2639 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2640 FP_CMP_Q.
2641 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2642 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2643 FP_CMP_EQ_Q.
2644 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2645 FP_CMP_Q.
2646 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2647 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2648 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2649 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2650 FP_CMP_EQ_Q.
2651 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2652 FP_CMP_Q.
2653 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2654 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2655 FP_CMP_EQ_Q.
2656 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2657 FP_CMP_Q.
2658 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2659 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2660 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2661 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2662 FP_CMP_EQ_Q.
2663
43059f42
JM
2664 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2665 a subnormal result, set the underflow exception if trapping on
2666 underflow is enabled.
2667 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2668 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2669 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2670 redefine to 0.
2671 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2672 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2673 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2674 * soft-fp/extendxftf2.c (__extendxftf2): Use
2675 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2676
2d6a47ba
JM
2677 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2678 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2679 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2680 FP_HANDLE_EXCEPTIONS.
2681 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2682 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2683 FP_HANDLE_EXCEPTIONS.
2684 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2685 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2686 FP_HANDLE_EXCEPTIONS.
2687 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2688 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2689 FP_HANDLE_EXCEPTIONS.
2690
620f462e
JM
26912014-10-08 Joseph Myers <joseph@codesourcery.com>
2692
2693 [BZ #14132]
2694 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2695 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2696 use INTUSE.
2697 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2698 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2699 Remove alias.
2700 (__adjtimex): Define using libc_hidden_ver.
2701 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2702 Remove declaration.
2703 (ntp_gettime): Call __adjtimex directly.
2704 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2705 Remove declaration.
2706 (ntp_gettimex): Call __adjtimex directly.
2707 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2708 __adjtimex_internal alias.
2709
c763c5d2
RM
27102014-10-08 Roland McGrath <roland@hack.frob.com>
2711
2712 [BZ #17460]
2713 * nscd/nscd.c (more_help): Rewrite list of tables collection
2714 using xstrdup and asprintf.
2715
2716 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2717
7b8fb2b8
RM
27182014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2719 Roland McGrath <roland@hack.frob.com>
2720
2721 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2722 (do_lookup_unique): ... local function 'enter' here; update callers.
2723
abb280f7
JM
27242014-10-06 Joseph Myers <joseph@codesourcery.com>
2725
f7b42517
JM
2726 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2727 compat_symbol calls on [SHARED].
2728 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2729 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2730 Remove.
2731 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2732 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2733 (oldsetrlimit): Remove.
2734 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2736 (lchown): New syscall entry.
2737 (oldsetrlimit): Remove.
2738 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2740 (oldsetrlimit): Remove.
2741 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2742
abb280f7
JM
2743 [BZ #14138]
2744 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2745 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2746 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2747 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2749 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2750 (fchown): Likewise.
2751 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2752 (fchown): Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2754 Likewise.
2755
47d46237
AZ
27562014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757
2758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2759 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2760 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2761 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2762 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2763 Likewise.
2764 (__old_sem_post): Likewise.
2765
27662014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2767
845a7343
CM
2768 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2769 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2770 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2771 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2772 Use INLINE_VSYSCALL macro.
2773 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2774 __vdso_clock_gettime.
2775 * sysdeps/unix/sysv/linux/tile/init-first.c
2776 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2777 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2778 __vdso_clock_gettime.
2779
83d641ef
CM
2780 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2781 to set up frame more cleanly.
2782
d9cd52e6
CM
2783 * sysdeps/tile/memcmp.c: New file.
2784
4b68ea11
CM
2785 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2786
c86f7b80
CM
2787 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2788 * sysdeps/tile/tilegx/strcasestr.c: New file.
2789 * sysdeps/tile/tilegx/strnlen.c: New file.
2790 * sysdeps/tile/tilegx/strstr.c: New file.
2791
1c4c1a6f
CM
2792 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2793
99d86ea3
AS
27942014-10-06 Arjun Shankar <arjun.is@lostca.se>
2795
2796 * nptl/tst-setuid3.c: Write errors to stdout.
2797
06210a44
KS
27982014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2799
2800 * elf/dl-deps.c
2801 (preload): New functions broken out of _dl_map_object_deps.
2802 (_dl_map_object_deps): Remove a nested function. Update call sites.
2803
6268f532
JM
28042014-10-01 Joseph Myers <joseph@codesourcery.com>
2805
2806 [BZ #14138]
2807 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2808 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2809
b925285f
SE
28102014-10-01 Steve Ellcey <sellcey@mips.com>
2811
2812 * sysdeps/mips/strcmp.S: New.
2813
754a15c6
JM
28142014-09-30 Joseph Myers <joseph@codesourcery.com>
2815
2816 [BZ #14138]
2817 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2818 (linkat): Likewise.
2819 (mkdirat): Likewise.
2820 (readlinkat): Likewise.
2821 (renameat): Likewise.
2822 (symlinkat): Likewise.
2823 (unlinkat): Likewise.
2824 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2825 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2826 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2827 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2828 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2829 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2830 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2831
85bb81c9
WN
28322014-09-30 Will Newton <will.newton@linaro.org>
2833
dc6fe23b
WN
2834 * math/math.h: Define long double math functions if
2835 _LIBC_TEST is defined.
2836 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2837
85bb81c9
WN
2838 * localedata/Makefile: Move assignment to tests-special
2839 into an ifdef testing run-built-tests.
2840 * timezone/Makefile: Likewise.
2841
b7e02da4
JM
28422014-09-29 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2845 with $(BASH) not $(SHELL).
2846
62058ce6
CD
28472014-09-29 Carlos O'Donell <carlos@redhat.com>
2848 Matthew LeGendre <legendre1@llnl.gov>
2849
2850 [BZ #17411]
2851 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2852 l_reloc_result.
2853
8e257a29
KS
28542014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2855
2856 * stdio-common/printf_fp.c
2857 (hack_digit): New function, broken out of ...
2858 (__printf_fp): ... local function here. Update call sites.
2859 hack_digit now takes an additional parameter that is a pointer
2860 to a struct of the referenced locals. Those locals moved inside
2861 the struct and references updated.
2862
f4a58f0d
L
28632014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2864
2865 * aclocal.m4: Require autoconf 2.69.
2866 * configure: Regenerated.
2867 * sysdeps/aarch64/configure: Likewise.
2868 * sysdeps/alpha/configure: Likewise.
2869 * sysdeps/arm/armv7/configure: Likewise.
2870 * sysdeps/arm/configure: Likewise.
2871 * sysdeps/ia64/configure: Likewise.
2872 * sysdeps/mach/configure: Likewise.
2873 * sysdeps/mips/configure: Likewise.
2874 * sysdeps/s390/configure: Likewise.
2875 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2877
2878 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2879 file.
2880 * sysdeps/ia64/configure.ac: Likewise.
2881
93ae1eba
JM
28822014-09-26 Joseph Myers <joseph@codesourcery.com>
2883
1810d3ab
JM
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2885 specify symbol version for ld.so. Do not include entry for
2886 libpthread.
2887 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2888 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2890
93ae1eba
JM
2891 [BZ #14171]
2892 * Makeconfig [$(build-shared) = yes]
2893 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2894 makefiles.
2895 [$(build-shared) = yes && $(soversions.mk-done) = t]
2896 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2897 [$(build-shared) = yes && $(soversions.mk-done) = t]
2898 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2899 to Makerules.
2900 [$(build-shared) = yes && $(soversions.mk-done) = t]
2901 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2902 here.
2903 [$(build-shared) = yes && $(soversions.mk-done) = t]
2904 (common-generated): Don't append gnu/lib-names.h and
2905 gnu/lib-names.stmp here.
2906 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2907 (lib-names-h-abi): New variable.
2908 [$(build-shared) = yes && $(soversions.mk-done) = t]
2909 (lib-names-stmp-abi): Likewise.
2910 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2911 abi-variants] (before-compile): Append
2912 $(common-objpfx)$(lib-names-h-abi).
2913 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2914 abi-variants] (common-generated): Append gnu/lib-names.h.
2915 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2916 abi-variants] (install-others-nosubdir): Depend on
2917 $(inst_includedir)/$(lib-names-h-abi).
2918 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2919 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2920 [$(build-shared) = yes && $(soversions.mk-done) = t]
2921 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2922 [$(build-shared) = yes && $(soversions.mk-done) = t]
2923 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2924 [$(build-shared) = yes && $(soversions.mk-done) = t]
2925 (common-generated): Append $(lib-names-h-abi) and
2926 $(lib-names-stmp-abi).
2927 * scripts/lib-names.awk: Do not handle multi being set.
2928 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2929 Remove variable.
2930 (abi-lp64_be-ld-soname): Likewise.
2931 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2932 Likewise.
2933 (abi-hard-ld-soname): Likewise.
2934 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2935 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2936 Remove variable.
2937 (abi-o32_hard-ld-soname): Likewise.
2938 (abi-o32_soft_2008-ld-soname): Likewise.
2939 (abi-o32_hard_2008-ld-soname): Likewise.
2940 (abi-n32_soft-ld-soname): Likewise.
2941 (abi-n32_hard-ld-soname): Likewise.
2942 (abi-n32_soft_2008-ld-soname): Likewise.
2943 (abi-n32_hard_2008-ld-soname): Likewise.
2944 (abi-n64_soft-ld-soname): Likewise.
2945 (abi-n64_hard-ld-soname): Likewise.
2946 (abi-n64_soft_2008-ld-soname): Likewise.
2947 (abi-n64_hard_2008-ld-soname): Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2949 Likewise.
2950 (abi-64-v2-ld-soname): Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2952 ld.so entries.
2953 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2954 variable.
2955 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2956 entry.
2957 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2958 variable.
2959 (abi-64-ld-soname): Likewise.
2960 (abi-x32-ld-soname): Likewise.
2961 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2962 entry.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2964
68870f12
JM
29652014-09-23 Joseph Myers <joseph@codesourcery.com>
2966
2967 [BZ #14138]
2968 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2969 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2970 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2972 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2974 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2975 syscall entry for GLIBC_2.2 symbol version.
2976 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2977 Likewise.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2979 (setrlimit): Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2981 Likewise.
2982
ea58f202
WN
29832014-09-23 Will Newton <will.newton@linaro.org>
2984
2985 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2986 _LINUX_ARM_SYSDEP_H include guard too.
2987 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2988 define.
2989
69eb9a18
RV
29902014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2991
2992 * sysdeps/unix/sysv/linux/eventfd.c:
2993 Make first argument unsigned.
2994 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2995 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2996
20e5a5f7
OB
29972014-09-20 Ondřej Bílka <neleai@seznam.cz>
2998
2999 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3000 * socket/sys/socket.h: Likewise
3001 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3002
d3c827e7
AK
30032014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3004
3005 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3006
fe1cc35a
AS
30072014-09-17 Arjun Shankar <arjun.is@lostca.se>
3008
3009 * time/tst-ftime.c: New test.
3010 * time/Makefile (tests): Add tst-ftime.
3011
4e8afe69
JM
30122014-09-17 Joseph Myers <joseph@codesourcery.com>
3013
c4fe3ea7
JM
3014 * soft-fp/extended.h: Fix comment formatting.
3015 * soft-fp/op-1.h: Likewise.
3016 * soft-fp/op-2.h: Likewise.
3017 * soft-fp/op-4.h: Likewise.
3018 * soft-fp/op-8.h: Likewise.
3019 * soft-fp/op-common.h: Likewise.
3020 * soft-fp/soft-fp.h: Likewise.
3021
4e8afe69
JM
3022 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3023
af296fcd
JM
30242014-09-16 Joseph Myers <joseph@codesourcery.com>
3025
3026 [BZ #6652]
3027 * Makeconfig (soversions-default-setname): Remove variable.
3028 ($(common-objpfx)soversions.i): Don't pass default_setname to
3029 soversions.awk.
3030 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3031 oldest_abi to abi-versions.awk.
3032 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3033 * config.make.in (oldest-abi): Remove variable.
3034 * configure.ac (--enable-oldest-abi): Remove configure option.
3035 * configure: Regenerated.
3036 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3037 text.
3038 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3039 * scripts/soversions.awk: Do not handle default_setname variable.
3040 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3041 variable.
3042 * sysdeps/mach/hurd/configure: Regenerated.
3043 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3044 variable.
3045 * sysdeps/unix/sysv/linux/configure: Regenerated.
3046
545583d6
SP
30472014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3048
d330b980
SP
3049 * elf/Makefile (CFLAGS-interp.c): Remove.
3050 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3051 path string.
3052 * elf/interp.c: Include generated runtime-linker.h
3053
02657da2
SP
3054 * Makerules (lib%.so): Don't include $(+interp) in
3055 prerequisites.
3056 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3057 * dlfcn/eval.c: Remove file.
3058
653b1080
SP
3059 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3060 macros.
3061
602f80ec
SP
3062 [BZ #17266]
3063 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3064 4.2 and newer.
3065
545583d6
SP
3066 [BZ #17370]
3067 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3068
884ddc50
SP
30692014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3070 Jakub Jelinek <jakub@redhat.com>
3071
3072 [BZ #17266]
3073 * libio/stdio.h: Check definition of __fortify_function
3074 instead of __extern_always_inline to include bits/stdio2.h.
3075 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3076 check if __extern_always_inline is defined.
3077 [__USE_MISC || __USE_XOPEN]: Likewise.
3078 [__USE_ISOC99] Likewise.
3079 * misc/sys/cdefs.h (__fortify_function): Define only if
3080 __extern_always_inline is defined.
3081 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3082 __extern_always_inline and __extern_inline only for g++-4.3
3083 and newer or a compatible gcc.
3084
a7b87268
AS
30852014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3086
3087 [BZ #17371]
3088 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3089 last change to handle zero prefix length.
3090
3f41521d
SP
30912014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
61fe374a
SP
3093 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3094 _SC_REGEX_VERSION.
3095
3f41521d
SP
3096 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3097 _POSIX_RAW_SOCKETS.
3098
d8f879ee
AM
30992014-09-13 Allan McRae <allan@archlinux.org>
3100
3101 * po/ru.po: Update Russian translation from translation project.
3102
c079afb7
RM
31032014-09-12 Roland McGrath <roland@hack.frob.com>
3104
a62b3c15
RM
3105 * locale/programs/locale.c (show_locale_vars): Inline local function
3106 into its sole call site. Clean up some style nits.
3107 (print_item): New function, broken out of ...
3108 (show_info): ... local function here. Clean up style nits.
3109
d7e49b19
RM
3110 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3111 out of ...
3112 (set_class_defaults): ... local function set_default here.
3113 Define set_default as a macro locally to pass constant parameters.
3114 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3115 rather than a shared local.
3116
c079afb7
RM
3117 * stdlib/rpmatch.c (try): New function, broken out of ...
3118 (rpmatch): ... local function here. Also, prototypify definition.
3119
0bd72468
JM
31202014-09-12 Joseph Myers <joseph@codesourcery.com>
3121
ba90e050
JM
3122 * scripts/soversions.awk: Do not handle configuration names.
3123 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3124 vendor and os variables to soversions.awk.
3125 * configure.ac: Do not modify gnu-* host_os.
3126 * configure: Regenerated
3127 * shlib-versions: Remove first column with configuration names.
3128 * nptl/shlib-versions: Likewise.
3129 * nptl_db/shlib-versions: Likewise.
3130 * sysdeps/hppa/shlib-versions: Likewise.
3131 * sysdeps/m68k/shlib-versions: Likewise.
3132 * sysdeps/mach/hurd/shlib-versions: Likewise.
3133 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3134 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3135 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3136 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3137 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3138 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3139 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3140 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3142 Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3144 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3145 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3146 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3147 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3148 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3149 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3150 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3151
73a39112
JM
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3153 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3155 Regenerated.
3156 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3158 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3159
c729e7c1
JM
3160 * shlib-versions: Remove OS-specific entries. Moved to files in
3161 sysdeps.
3162 * sysdeps/mach/hurd/shlib-versions: New file.
3163 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3164
dc932a24
JM
3165 * nptl/shlib-versions: Remove architecture-specific entries.
3166 Moved to files in sysdeps.
3167 * shlib-versions: Likewise.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3169 file.
3170 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3171 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3174
0bd72468
JM
3175 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3176 (UDP_NO_CHECK6_RX): Likewise.
3177
920238e0
SP
31782014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3179
3180 * sysdeps/posix/sysconf.c (__sysconf): Spell
3181 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3182
ba7b4d29
FW
31832014-08-12 Florian Weimer <fweimer@redhat.com>
3184
3185 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3186 loading.
3187 * iconv/Versions (__gconv_transliterate): Export for use from
3188 gconv modules.
3189 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3190 (struct __gconv_trans_data, __gconv_trans_fct,
3191 __gconv_trans_context_fct, __gconv_trans_query_fct,
3192 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3193 definitions.
3194 (struct __gconv_step_data): Remove __trans member.
3195 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3196 longer hidden. Remove unused trans_data argument.
3197 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3198 (__gconv_translit_find): Remove declaration.
3199 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3200 prototype.
3201 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3202 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3203 trans_data argument. Add hidden definition.
3204 (__gconv_translit_find): Remove.
3205 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3206 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3207 * iconv/skeleton.c: Remove transliteration initialization.
3208 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3209 __gconv_step_data initialization.
3210 * libio/iofwide.c (__libio_translit_): Remove.
3211 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3212 * wcsmbs/btowc.c (__btowc): Likewise.
3213 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3214 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3215 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3216 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3217 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3218 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3219 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3220 * wcsmbs/wctob.c (wctob): Likewise.
3221
5379aebd
SP
32222014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3223
3224 [BZ #16194]
3225 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3226 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3227 register usage.
3228 * sysdeps/x86/Makefile: Adjust.
3229
8c0ab919
RM
32302014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3231 Roland McGrath <roland@hack.frob.com>
3232
3233 * locale/weight.h: Add include guard.
3234 (findidx): Make static rather than auto; take new parameters
3235 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3236 * locale/weightwc.h: Likewise.
3237 * posix/fnmatch_loop.c
3238 (FCT): Change type of EXTRA from int32_t to wint_t.
3239 Don't include either header inside the function.
3240 Call FINDIDX rather than findidx, and pass new arguments.
3241 #undef FINDIDX at the end of the file.
3242 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3243 FINDIDX before including fnmatch_loop.c for the non-wide version.
3244 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3245 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3246 for the wide version.
3247 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3248 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3249 Pass new arguments to findidx.
3250 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3251 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3252 Don't #include it inside the function. Pass new arguments to findidx.
3253 * posix/regex_internal.h
3254 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3255 (re_string_elem_size_at): Don't #include it inside the function.
3256 Pass new arguments to findidx.
3257 * string/strcoll_l.c: #include WEIGHT_H at top level.
3258 (get_next_seq): Don't #include it inside the function.
3259 Pass new arguments to findidx.
3260 (get_next_seq_nocache): Likewise.
3261 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3262 (STRXFRM): Don't #include it inside the function.
3263 Pass new arguments to findidx.
3264
52ffbdf2
FW
32652014-09-11 Florian Weimer <fweimer@redhat.com>
3266
3267 [BZ #17344]
3268 * malloc/malloc.c (unlink): Turn asserts into a call to
3269 malloc_printerr.
3270
984c0ea9
TL
32712014-09-11 Tim Lammens <tim.lammens@gmail.com>
3272
3273 [BZ #17370]
3274 * libio/wfileops (do_ftell_wide): Free OUT.
3275
3daee107
CM
32762014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3277
3278 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3279
58b930ae
SP
32802014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3281
3282 [BZ #17363]
3283 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3284 group if the current group is empty.
3285
3b473fec
AZ
32862014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3287
71ae8647
AZ
3288 * benchtests/bench-memset.c (test_main): Add more test from size
3289 from 32 to 512 bytes.
3290 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3291 Add POWER8 memset object.
3292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3293 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3294 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3295 implementation.
3296 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3297 Likewise.
3298 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3299 multiarch POWER8 memset optimization.
3300 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3301 POWER8 memset optimization.
3302
3b473fec
AZ
3303 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3304 Remove bzero multiarch objects.
3305 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3306 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3307 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3308 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3309 Remove define.
3310 [__bzero]: Redefine to specific name.
3311 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3314 define.
3315 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3316 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3317
e6fb9587
FW
33182014-09-10 Florian Weimer <fweimer@redhat.com>
3319
3320 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3321 warnings into errors.
3322
3323 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3324 __cxa_thread_atexit_impl prototype.
3325
9d3a350b
SE
33262014-09-09 Steve Ellcey <sellcey@mips.com>
3327
3328 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3329 Fix capitalization of error message.
3330
0febba23
SE
33312014-09-09 Steve Ellcey <sellcey@mips.com>
3332
3333 * sysdeps/mips/preconfigure: Modify ABI tests.
3334
645a0e9c
CD
33352014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3336
3337 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3338
d83f0734
CD
33392014-09-07 Roland McGrath <roland@hack.frob.com>
3340 Carlos O'Donell <carlos@systemhalted.org>
3341
3342 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3343 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3344 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3345 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3346 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3347 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3348 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3349 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3350 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3352 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3353 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3354 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3357 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3358 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3359 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3360 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3361 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3362 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3363 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3364 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3365 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3366 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3367 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3368 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3369 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3370 Deconditionalize the code that was previously under [RESET_PID].
3371 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3372 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3373 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3374 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3375 include sysdep.h.
3376
21c83793
AM
33772014-09-08 Allan McRae <allan@archlinux.org>
3378
3379 * version.h (RELEASE): Set to "development".
3380 (VERSION): Set to "2.20.90"
3381
1cd9b65c
AM
33822014-09-07 Allan McRae <allan@archlinux.org
3383
b8079dd0
AM
3384 * version.h (RELEASE): Set to "stable".
3385 (VERSION): Set to "2.20"
3386 * include/features.h (__GLIBC_MINOR__): Set to 20.
3387
c46303ef
AM
3388 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3389 Liebler.
3390
1cd9b65c
AM
3391 * po/ko.po: Update Korean translation from translation project.
3392
8622092d
CM
33932014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3394
3395 [BZ #17354]
3396 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3397 macro for handling signed relocations.
3398
41488498
FW
33992014-09-03 Florian Weimer <fweimer@redhat.com>
3400
3401 [BZ #17325]
3402 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3403 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3404 assert.
3405 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3406 * iconvdata/ibm935.c (BODY): Likewise.
3407 * iconvdata/ibm937.c (BODY): Likewise.
3408 * iconvdata/ibm939.c (BODY): Likewise.
3409 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3410 assert.
3411 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3412 script.
3413 * iconvdata/run-iconv-test.sh: New test loop for checking for
3414 decoder crashers.
3415
a78b712d
KR
34162014-09-02 Khem Raj <raj.khem@gmail.com>
3417
3418 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3419 libm_hidden_ver.
3420
cb08abc6
AM
34212014-09-01 Allan McRae <allan@archlinux.org>
3422
2c31e102
AM
3423 * po/eo.po: Update Esperanto translation from translation project.
3424
cb08abc6
AM
3425 * po/ca.po: Update Catalan translation from translation project.
3426
17a62de1
ST
34272014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3428
3429 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3430 __proc_dostop call.
3431
9570bc53
MW
34322014-08-27 Mark Wielaard <mjw@redhat.com>
3433
3434 [BZ #17319]
3435 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3436 to call set_thread_area instead of hand written asm.
3437 (__NR_set_thread_area): Removed define.
3438 (TLS_FLAG_WRITABLE): Likewise.
3439 (__ASSUME_SET_THREAD_AREA): Remove check.
3440 (TLS_EBX_ARG): Remove define.
3441 (TLS_LOAD_EBX): Likewise.
3442
b0f955c9
ST
34432014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3444
3445 Simplify atomicity of socket creation in bind.
3446
3447 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3448 looking up the name after linking the file.
3449
529bf515
AM
34502014-08-27 Allan McRae <allan@archlinux.org>
3451
3452 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3453
a1a6a401
FW
34542014-08-26 Florian Weimer <fweimer@redhat.com>
3455
3456 [BZ #17187]
3457 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3458 trans_compare, open_translit, __gconv_translit_find):
3459 Remove module loading code.
3460
686ab290
AM
34612014-08-26 Allan McRae <allan@archlinux.org>
3462
e4e7cfd2
AM
3463 * po/vi.po: Update Vietnamese translation from translation project.
3464
6aa09f71
AM
3465 * po/uk.po: Update Ukrainian translation from translation project.
3466
edc0660e
AM
3467 * po/fr.po: Update French translation from translation project.
3468
7eea72ac
AM
3469 * po/ru.po: Update Russian translation from translation project.
3470
93c49eff
AM
3471 * po/pl.po: Update Polish translation from translation project.
3472
46acaf63
AM
3473 * po/cs.po: Update Czech translation from translation project.
3474
a9f5ce98
AM
3475 * po/de.po: Update German translation from translation project.
3476
373f2b78
AM
3477 * po/bg.po: Update Bulgarian translation from translation project.
3478
e7548bd8
AM
3479 * po/sv.po: Update Sweedish translation from translation project.
3480
c526bf4d
AM
3481 * po/nl.po: Update Dutch translation from translation project.
3482
686ab290
AM
3483 * po/es.po: Update Spanish translation from translation project.
3484
eb72478a
SP
34852014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3486
dd763fdb
SP
3487 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3488
318c7a58
SP
3489 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3490 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3491 (CPPFLAGS-iconvconfig): Likewise.
3492 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3493
eb72478a
SP
3494 * include/libc-symbols.h: Remove unnecessary check for
3495 NOT_IN_libc.
3496 * nptl/pthreadP.h: Likewise.
3497 * sysdeps/aarch64/setjmp.S: Likewise.
3498 * sysdeps/alpha/setjmp.S: Likewise.
3499 * sysdeps/arm/sysdep.h: Likewise.
3500 * sysdeps/i386/setjmp.S: Likewise.
3501 * sysdeps/m68k/setjmp.c: Likewise.
3502 * sysdeps/posix/getcwd.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3505 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3506 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3507 * sysdeps/sh/sh3/setjmp.S: Likewise.
3508 * sysdeps/sh/sh4/setjmp.S: Likewise.
3509 * sysdeps/unix/alpha/sysdep.h: Likewise.
3510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3512 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3513 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3518 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3521 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3523 * sysdeps/x86_64/setjmp.S: Likewise.
3524
d44a052c
JM
35252014-08-13 Joseph Myers <joseph@codesourcery.com>
3526
3527 [BZ #17263]
3528 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3529 <stdint.h>.
3530 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3531 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3532
508ce3ac
SP
35332014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3534
e44c8b0e
SP
3535 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3536
508ce3ac
SP
3537 [BZ #17262]
3538 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3539 and __x86_64__ when disabling x87 inline functions.
3540
b4acef1f
L
35412014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 [BZ #17259]
3544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3545 asm statement with __cpuid_count.
3546
61b1ef6e
MF
35472014-08-12 Mike Frysinger <vapier@gentoo.org>
3548
3549 * configure.ac: Change __ehdr_start code to dereference the struct.
3550 Run readelf on the output to look for relocations.
3551 * configure: Regenerated.
3552
898c62f4
JM
35532014-08-12 Joseph Myers <joseph@codesourcery.com>
3554
3555 [BZ #17261]
3556 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3557 value to 0.
3558 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3559
9a8a5720
RM
35602014-08-12 Roland McGrath <roland@hack.frob.com>
3561
3562 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3563
4e75751c
BO
35642014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3565
3566 [BZ #16892]
3567 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3568 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3569
bb2ce416
SA
35702014-08-12 Sean Anderson <seanga2@gmail.com>
3571
3572 * malloc/malloc.c: Fix typo in comment.
3573
7950a4ee
AM
35742014-08-09 Allan McRae <allan@archlinux.org>
3575
3576 * Regenerate libc.po.
3577
f469c49f
MF
35782014-08-08 Mike Frysinger <vapier@gentoo.org>
3579
3580 * intl/tst-gettext2.sh: Check every lang file for creation.
3581
656b84c2
WD
35822014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3583
3584 * sysdeps/aarch64/fpu/math_private.h
3585 (libc_feholdsetround_noex_aarch64_ctx): New function.
3586
538e9e45
W
35872014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3588
3589 * sysdeps/arm/armv6/strcpy.S (strcpy):
3590 Fix performance issue in misaligned cases.
3591
d4795e4a
AZ
35922014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593
3594 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3595 Move definition from termios.h.
3596 (struct termio): Likewise.
3597 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3598 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3599 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3600 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3601 Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3603 Move definition to ioctl-types.h
3604 (struct termio): Likewise.
3605 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3606 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3607 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3608 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3609 Likewise.
3610
64accb62
RH
36112014-08-05 Richard Henderson <rth@redhat.com>
3612
27bb6dc0
RH
3613 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3614 exceptions.
3615 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3616 Add fraiseexcpt.
3617 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3618 Use __feraiseexcept.
3619 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3620 Protect libm symbols with IS_IN_libm.
3621
64accb62
RH
3622 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3623
e5292691
BO
36242014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3625
3626 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3627
5b4bd2d4
WN
36282014-08-04 Will Newton <will.newton@linaro.org>
3629
3630 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3631 file.
3632
fcadaeef
MF
36332014-08-04 Mike Frysinger <vapier@gentoo.org>
3634
3635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3636 variants for each function.
3637
43a94c64
RM
36382014-08-04 Roland McGrath <roland@hack.frob.com>
3639
3640 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3641 appended ...
3642 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3643 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3644 appended ...
3645 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3646 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3647 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3648 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3649 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3650 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3651 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3652 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3653 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3654 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3655 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3657 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3658 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3659 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3681 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3682 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3683 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3684 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3685 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3686 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3687 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3688 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3689 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3691 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3693 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3695 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3696 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3697 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3698 Update #include.
3699 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3700 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3701
8f3c1fa4
RM
37022014-08-04 Roland McGrath <roland@hack.frob.com>
3703
3704 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3705 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3706 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3707 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3709 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3710
ca08746f
RM
37112014-08-04 Roland McGrath <roland@hack.frob.com>
3712
3713 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3714 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3715 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3716 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3717
9c925ff9
RM
37182014-08-04 Roland McGrath <roland@hack.frob.com>
3719
3720 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3721 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3722 (__libc_vfork): Define function under this name.
3723 (__vfork): Define as an alias.
3724 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3725 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3726
e641054c
RM
37272014-08-04 Roland McGrath <roland@hack.frob.com>
3728
3729 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3730 that was previously under [RESET_PID].
3731 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3732
dacdc867
AS
37332014-08-04 Andreas Schwab <schwab@suse.de>
3734
3735 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3736
41f725ff
MF
37372014-08-03 Mike Frysinger <vapier@gentoo.org>
3738
3739 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3740 (main): Likewise.
3741
277cfb31
RM
37422014-08-01 Roland McGrath <roland@hack.frob.com>
3743
3744 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3745
4896f049
RH
37462014-08-01 Richard Henderon <rth@redhat.com>
3747
3748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3749 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3750 typo in exact zero test.
3751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3752 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3754
6f64e7d7
RM
37552014-08-01 Roland McGrath <roland@hack.frob.com>
3756
3757 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3758 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3759 * sysdeps/arm/sysdep.h: ... here.
3760 [!__ASSEMBLER__]: Include <stdint.h>.
3761
3f3dd810
SP
37622014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3763
a476ac4b
SP
3764 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3765 (HAVE_WCTYPE_H): Likewise.
3766 (HAVE_ISWCTYPE): Likewise.
3767 (ENABLE_NLS): Likewise.
3768 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3769 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3770
78dd658a
SP
3771 * posix/regex_internal.c: Check if DEBUG is defined and is
3772 set.
3773
3f3dd810
SP
3774 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3775 (HAVE_MBSRTOWCS): Likewise.
3776 * posix/fnmatch.c: Include string.h unconditionally.
3777
95ee7fb1
SL
37782014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3779
3780 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3781 reversal.
3782
23fe486b
RM
37832014-07-31 Roland McGrath <roland@hack.frob.com>
3784
f61a113f
RM
3785 * sysdeps/generic/safe-fatal.h: New file.
3786 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3787 * nptl/forward.c: Include it.
3788 (__pthread_unwind): Use __safe_fatal as default action, rather
3789 than a bogus use of INTERNAL_SYSCALL that could never work.
3790
9fe7e787
RM
3791 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3792 * configure.ac (libc_cv_builtin_trap): New test.
3793 * configure: Regenerated.
3794 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3795 (ABORT_INSTRUCTION): Define using __builtin_trap.
3796
23fe486b
RM
3797 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3798 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3799 * sysdeps/nptl/nptl-signals.h: New file.
3800 * nptl/pthreadP.h: Include <nptl-signals.h>.
3801
f349489e
SL
38022014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3803
3804 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3805 (ONE_DIRECTION): Define.
3806 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3807 (ONE_DIRECTION): Define.
3808 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3809 (ONE_DIRECTION): Define.
3810
2f438e20
SL
38112014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3812
3813 * sysdeps/s390/Makefile: Delete file.
3814 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3815 * sysdeps/s390/__longjmp.c: Delete file.
3816 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3817 Remove fields __flags and __reserved.
3818 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3819 and add versioning.
3820 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3821 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3822 * sysdeps/s390/rtld-setjmp.S: Likewise.
3823 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3824 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3825 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3826 * sysdeps/s390/s390-32/setjmp.S: ... here.
3827 Add versioning.
3828 (__sigsetjmp): Remove setting __flags field.
3829 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3830 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3831 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3832 * sysdeps/s390/s390-64/setjmp.S: ... here.
3833 Add versioning.
3834 (__sigsetjmp): Remove setting __flags field.
3835 * sysdeps/s390/setjmp.S: Delete file.
3836 * sysdeps/s390/sigjmp.c: Likewise.
3837 * sysdeps/s390/v1-longjmp.c: Likewise.
3838 * sysdeps/s390/v1-setjmp.h: Likewise.
3839 * sysdeps/s390/v1-sigjmp.c: Likewise.
3840 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3841 Remove v1-longjmp_chk.
3842 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3843 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3844 Include debug/longjmp_chk.c and add versioning.
3845 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3846 Include nptl/pt-longjmp.c and add versioning.
3847 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3849 Include __longjmp.c.
3850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3851 Move to ...
3852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3853 (__getcontext): Remove setting __flags field.
3854 Add versioning.
3855 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3856 Don't restore upper high grps.
3857 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3858 Likewise.
3859 (__swapcontext): Remove setting uc_flags field.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3861 Delete file.
3862 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3863 Include __longjmp.c.
3864 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3865 Move to ...
3866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3867 (__getcontext): Remove setting __flags field.
3868 Add versioning.
3869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3870 (__swapcontext): Remove setting uc_flags field.
3871 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3873 Remove fields uc_high_gprs and __reserved.
3874 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3875 New file with reverted content.
3876 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3878 Regenerated.
3879 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3880 Regenerated.
3881
6c9578a2
AS
38822014-07-31 Andreas Schwab <schwab@suse.de>
3883
3884 * config.h.in (HAVE_IFUNC): Define to 0.
3885 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3886 definedness.
3887
05f3633d
LM
38882014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3889
3890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3891 memmove-avx-unaligned, memcpy-avx-unaligned and
3892 mempcpy-avx-unaligned.
3893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3894 Add tests for AVX memcpy functions.
3895 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3896 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3897 memcpy_chk.
3898 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3899 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3900 memmove_chk.
3901 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3903 mempcpy_chk.
3904 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3905 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3906 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3907
a53fbd8e
AZ
39082013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3909
3910 [BZ #17213]
3911 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3912 powerpc64le.
3913
0961f7e1
JL
39142014-07-29 Jeff Layton <jlayton@poochiereds.net>
3915
3916 [BZ #16839]
3917 * manual/llio.texi: Add section about open file description locks.
3918 * manual/examples/ofdlocks.c: Example of open file description
3919 lock usage.
3920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3921 F_OFD_SETLK, and F_OFD_SETLKW.
3922
cc5fb300
AM
39232014-07-23 Allan McRae <allan@archlinux.org>
3924
3925 * po/es.po: Update Spanish translation from translation project.
3926
23329dca
AS
39272014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3928
3929 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3930
9c82da17
MR
39312014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3932
3933 [BZ #17078]
3934 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3935 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3936 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3937
29c4f53e
JM
39382014-07-17 Joseph Myers <joseph@codesourcery.com>
3939
831b9896
JM
3940 [BZ #17088]
3941 * math/fesetenv.c (__fesetenv)
3942 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3943 * math/feupdateenv.c (__feupdateenv)
3944 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3945
b21c2d50
JM
3946 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3947 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3948 (__ASSUME_SOCKETCALL): Do not define.
3949
067764ef
JM
3950 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3951 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3952 (__ASSUME_SOCKETCALL): Do not define.
3953 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3954 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3955 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3956 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3957 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3958 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3959 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3960 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3961
642530c1
JM
3962 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3963 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3964 (__ASSUME_SOCKETCALL): Do not define.
3965 (__ASSUME_IPC64): Define unconditionally.
3966 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3967 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3968 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3969 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3970 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3972 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3973 Likewise.
3974
03f77315
JM
3975 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3976 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3977 (__ASSUME_SOCKETCALL): Do not define.
3978 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3979 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3980 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3981 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3982 (__ASSUME_REQUEUE_PI): Define unconditionally.
3983 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3984 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3985 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3986 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3987 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3988 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3989
083b1f7c
JM
3990 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3991 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3992 (__ASSUME_SOCKETCALL): Do not define.
3993 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3994 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3995 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3996 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3997 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3998 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3999
5be44ea6
JM
4000 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4001 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4002 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4003 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4004 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4005 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4006 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4007 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4008 (__ASSUME_GETCPU_SYSCALL): Likewise.
4009
d95ffd4c
JM
4010 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4011 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4012 cases for individual architectures.
4013 * sysdeps/gnu/configure: Regenerated.
4014 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4015 LIBC_SLIBDIR_RTLDDIR.
4016 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4017 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4018 LIBC_SLIBDIR_RTLDDIR.
4019 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4021 LIBC_SLIBDIR_RTLDDIR.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4023 Regenerated.
4024 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4026 file.
4027 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4028 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4029 file.
4030 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4031 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4032 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4034
29c4f53e
JM
4035 * sysdeps/aarch64/shlib-versions: Move to ...
4036 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4037 * sysdeps/alpha/shlib-versions: Move to ...
4038 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4039 * sysdeps/arm/shlib-versions: Move to ...
4040 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4041 * sysdeps/hppa/shlib-versions: Move all contents except for
4042 libgcc_s entry to ...
4043 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4044 entry from ...
4045 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4046 * sysdeps/ia64/shlib-versions: Move to ...
4047 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4048 entry from ...
4049 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4050 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4051 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4052 * sysdeps/microblaze/shlib-versions: Move to ...
4053 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4054 * sysdeps/mips/shlib-versions: Move to ...
4055 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4056 entry from ...
4057 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4058 * sysdeps/tile/shlib-versions: Move to ...
4059 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4060 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4061 from ...
4062 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4064 entry from ...
4065 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4066
32bead5b
WN
40672014-07-17 Will Newton <will.newton@linaro.org>
4068
57977c4b
WN
4069 * sysdeps/arm/bits/atomic.h
4070 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4071 (__arch_compare_and_exchange_bool_16_int): Likewise.
4072 (__arch_compare_and_exchange_bool_64_int): Likewise.
4073
32bead5b
WN
4074 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4075 into an #else block.
4076
37fccd41
RM
40772014-07-16 Roland McGrath <roland@hack.frob.com>
4078
4079 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4080 just Linux configurations. Test empirically that the compiler sets
4081 __ARM_EABI__, rather than using the tuple to decide.
4082 * sysdeps/arm/preconfigure: Regenerated.
4083 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4084 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4085 contents appended ...
4086 * sysdeps/arm/configure.ac: ... here.
4087 * sysdeps/arm/configure: Regenerated.
4088
b365f3ec
RM
40892014-07-15 Roland McGrath <roland@hack.frob.com>
4090
8badf496
RM
4091 * nptl/pthread_kill.c: New file.
4092 * nptl/pthread_sigmask.c: New file.
4093 * nptl/pthread_sigqueue.c: New file.
4094
3df6f22e
RM
4095 * sysdeps/nptl/lowlevellock.h: New file.
4096 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4097 * sysdeps/nptl/lowlevellock-futex.h: New file.
4098
b365f3ec
RM
4099 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4100 Remove dead declarations.
4101
f2fef657
L
41022014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4105 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4106 config-cflags-avx2.
4107 * sysdeps/x86_64/configure.ac: Likewise.
4108 * sysdeps/i386/configure: Regenerated.
4109 * sysdeps/x86_64/configure: Likewise.
4110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4111 memset-avx2 only if config-cflags-avx2 is yes.
4112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4113 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4114 defined.
4115 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4116 only if HAVE_AVX2_SUPPORT is defined.
4117 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4118
f6c44d47
AM
41192014-07-14 Alan Modra <amodra@gmail.com>
4120
4121 [BZ #17153]
4122 * elf/elf.h (DT_PPC64_NUM): Correct value.
4123 * NEWS: Add to fixed bug list.
4124
7ee03f00
JM
41252014-07-13 Jim Meyering <meyering@fb.com>
4126
4127 [BZ 17150]
4128 regex: don't deref NULL upon heap allocation failure
4129 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4130 failure in one more place.
4131 To trigger the segfault, configure grep -with-included-regex,
4132 build it, and run these commands:
4133 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4134
9d39d517
AS
41352014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4136
4137 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4138
a75b89b7
RH
41392014-07-11 Richard Henderson <rth@redhat.com>
4140
4141 * sysdeps/aarch64/libm-test-ulps: Update.
4142
771eb141
FW
41432014-07-10 Florian Weimer <fweimer@redhat.com>
4144
4145 [BZ #17135]
4146 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4147 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4148 (__nptl_setxid): Initialize error member. Call
4149 __nptl_setxid_error.
4150 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4151 * nptl/descr.h (struct xid_command): Add error member.
4152 * nptl/tst-setuid3.c: New file.
4153 * nptl/Makefile (tests): Add it.
4154
bc1da176
AZ
41552014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156
4157 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4158 New define.
4159 (__lll_trylock): Use __lll_base_trylock.
4160 (__lll_cond_trylock): Likewise.
4161
887865fc
RM
41622014-07-10 Roland McGrath <roland@hack.frob.com>
4163
c0c6bac9
RM
4164 * nptl/pthread_create.c (start_thread): Use atomic_or and
4165 lll_futex_wake directly rather than lll_robust_dead.
4166 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4167 (lll_robust_dead): Macro removed.
6a42be57 4168 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4169 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4170 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4171 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4172 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4173 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4174 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4175 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4176 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4178 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4179 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4180 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4181 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4183
887865fc
RM
4184 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4185 Use atomic_compare_and_exchange_val_acq directly rather than
4186 lll_robust_trylock.
4187 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4188 (__lll_robust_trylock, lll_robust_trylock): Removed.
4189 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4190 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4191 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4192 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4193 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4194 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4195 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4196 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4199 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4200 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4201 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4203
58536726
FW
42042014-07-02 Florian Weimer <fweimer@redhat.com>
4205
4206 * manual/locale.texi (Locale Names): New section documenting
4207 locale name syntax. Adjust menu and node chaining accordingly.
4208 (Choosing Locale): Reference Locale Names, Locale Categories.
4209 Mention setting LC_ALL=C. Reflect that name syntax is now
4210 documented.
4211 (Locale Categories): New section title. Reference Locale Names.
4212 LC_ALL is an environment variable, but not a category.
4213 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4214 description, now in Locale Name. Reference that section. Locale
4215 name syntax is now documented.
4216
4e8f95a0
FW
42172014-07-02 Florian Weimer <fweimer@redhat.com>
4218
4219 [BZ #17137]
4220 * locale/findlocale.c (name_present, valid_locale_name): New
4221 functions.
4222 (_nl_find_locale): Use the loc_name variable to store name
4223 candidates. Call name_present and valid_locale_name to check and
4224 validate locale names. Return an error if the locale is invalid.
4225
d1836456
FW
42262014-07-02 Florian Weimer <fweimer@redhat.com>
4227
4228 * locale/setlocale.c (setlocale): Use strdup for allocating
4229 composite name copy.
4230
d69b7f5a
SP
42312014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4232
888c679b
SP
4233 Sync up with gnulib.
4234 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4235 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4236 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4237 and _GL_ARG_NONNULL.
4238 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4239 [!_LIBC]: Include code for Windows and Cygwin.
4240 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4241 Include prototype for int strerror_r.
4242 [!_LIBC] (is_open): New function.
4243 (flush_stdout): New function.
4244 (print_errno_message): Use it.
4245 (error): Likewise.
4246 (error_at_line): Likewise.
4247 (error_tail) Add function attribute macros. Use
4248 __builtin_expect.
4249
180e0e4b
SP
4250 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4251
d22f1fe2
SP
4252 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4253
12f2254b
SP
4254 * io/ftw.c: Include sys/param.h unconditionally.
4255
c3c7c360
SP
4256 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4257
d62aa75a
SP
4258 [BZ #17125]
4259 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4260 libc_freeres_ptr.
4261 (freecache): New function to free CACHE on exit.
4262
d69b7f5a
SP
4263 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4264 initialization.
4265
5efe06a1
DM
42662014-07-09 David S. Miller <davem@davemloft.net>
4267
4268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269
7000d82e
DM
4270 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4271 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4272 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4273 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4274 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4275 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4276 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4277 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4278 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4279 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4280 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4281 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4282 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4283
c213442d
AS
42842014-07-09 Andreas Schwab <schwab@suse.de>
4285
4a2552c3
AS
4286 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4287 output.
4288 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4289 (do_test): Likewise.
4290
c213442d
AS
4291 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4292
82374e65
WN
42932014-07-09 Will Newton <will.newton@linaro.org>
4294
4295 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4296 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4297 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4298 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4299 * sysdeps/hppa/start.S (_start): Likewise.
4300
6680738a
SP
43012014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4302
6ee3eab4
SP
4303 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4304
6680738a
SP
4305 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4306 defined.
4307
80b5c505
SP
43082014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
e35c53e3
SP
4310 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4311 after checking that it is non-NULL.
4312
80b5c505
SP
4313 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4314
91f4b564
AZ
43152014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316
27b75f56
AZ
4317 * sysdeps/powerpc/memmove.c: Remove file.
4318 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4319 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4320 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4321 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4322 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4323 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4324 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4325 string memmove instead of removed powerpc one.
4326
e7f95bb5
AZ
4327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4328 [weak_alias]: Fix compiler warning due trailing data.
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4330 [weak_alias]: Likewise.
4331 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4332 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4333
91f4b564
AZ
4334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4335 (__libc_ifunc_impl_list): Add memmove functions.
4336
7c33f1e5
SP
43372014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4338
4339 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4340 Remove code.
4341 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4342 Likewise
4343 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4344 Likewise
4345 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4346 Likewise
4347 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4348 Likewise
4349 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4350 Likewise
4351 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4352 Likewise
4353 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4354 Likewise
4355 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4356 Likewise
4357 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4358 Likewise
4359 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4360 Likewise
4361 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4362 Likewise
4363 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4364 Likewise
4365 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4366 Likewise
4367 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4368 Likewise
4369 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4370 Likewise
4371 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4372 Likewise
4373
3f17b03b
AZ
43742014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4375
87868c24
AZ
4376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4377 to avoid alignment traps in non-cacheable memory.
4378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4379
07aedd78
AZ
4380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4381 multiarch objects.
4382 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4383 file: multiarch power7 memmove.
4384 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4385 multiarch default memmove.
4386 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4387 multiarch memove for powerpc32/power4.
4388
17762f66
AZ
4389 * string/bcopy.c: Use full path to include memmove.c.
4390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4391 multiarch objects.
4392 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4393 bcopy for powerpc64.
4394 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4395 bcopy for powerpc64.
4396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4397 and memmove implementations.
4398 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4399 optimized multiarch memmove for POWER7/powerpc64.
4400 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4401 default multiarch memmove for powerpc64.
4402 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4403 multiarch for powerpc64.
4404 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4405 for POWER7/powerpc64.
4406 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4407 memmove for POWER7/powerpc64.
4408
d6f68bbe
AZ
4409 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4410 glibc default one.
4411
3f17b03b
AZ
4412 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4413 __ELF_NATIVE_CLASS equal to 64.
4414
08192659
RM
44152014-07-07 Roland McGrath <roland@hack.frob.com>
4416
f4c4021b
RM
4417 * sysdeps/nptl/lowlevellock.h: File removed.
4418
f083450f
RM
4419 * NEWS: NPTL is no longer an add-on!
4420 * nptl/internaltypes.h: Moved ...
4421 * sysdeps/nptl/internaltypes.h: ... here.
4422 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4423 * sysdeps/nptl/fork.c: Likewise.
4424 * sysdeps/nptl/gai_misc.h: Likewise.
4425 * sysdeps/nptl/librt-cancellation.c: Likewise.
4426 * sysdeps/nptl/jmp-unwind.c: Likewise.
4427 * sysdeps/nptl/setxid.h: Likewise.
4428 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4429 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4430 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4431 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4432 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4433 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4434 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4435 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4436 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4437 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4438 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4439 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4440 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4441 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4442 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4443 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4444 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4445 * nptl/Makeconfig: Moved ...
4446 * sysdeps/nptl/Makeconfig: ... here.
4447 * nptl/configure: File removed.
4448 * nptl/ANNOUNCE: File removed.
4449 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4450 * sysdeps/unix/sysv/linux/configure: Regenerated.
4451
08192659
RM
4452 * nptl/Makefile (routines): Add libc_pthread_init,
4453 libc_multiple_threads, register-atfork and unregister-atfork.
4454 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4455 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4456 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4457 pthread-pi-defines.sym, structsem.sym.
4458 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4459 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4460 [$(subdir) = nptl] (tests): Add tst-setgetname.
4461 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4462 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4463 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4464 [!LIBC_SIGACTION]: Remove aliases.
4465 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4466 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4467 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4468 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4469 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4470 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4471 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4474 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4475 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4476 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4477 __libc_allocate_rtsig_private.
4478 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4479 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4480 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4481 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4482 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4483 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4484 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4485 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4486 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4487 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4488 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4489 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4490 * nptl/internaltypes.h: ... here.
4491 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4492 * sysdeps/nptl/jmp-unwind.c: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4494 * nptl/libc-lowlevellock.c: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4496 * nptl/libc_multiple_threads.c: ... here.
4497 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4498 * nptl/libc_pthread_init.c: ... here.
4499 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4500 * nptl/lowlevelbarrier.sym: ... here.
4501 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4502 * nptl/lowlevelcond.sym: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4504 * nptl/lowlevellock.c: ... here.
4505 * nptl/lowlevellock.h: Moved ...
4506 * sysdeps/nptl/lowlevellock.h: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4508 * nptl/lowlevelrobustlock.c: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4510 * nptl/lowlevelrobustlock.sym: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4512 * nptl/lowlevelrwlock.sym: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4514 * nptl/pt-fork.c: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4516 * nptl/pthread-pi-defines.sym: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4518 * nptl/pthread_attr_getaffinity.c: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4520 * nptl/pthread_attr_setaffinity.c: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4522 * nptl/pthread_mutex_cond_lock.c: ... here.
4523 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4524 Update #include.
4525 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4526 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4527 * nptl/pthread_once.c: ... here, replacing old file.
4528 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4529 * nptl/pthread_yield.c: ... here.
4530 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4531 * nptl/register-atfork.c: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4533 * nptl/sem_post.c: ... here.
4534 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4535 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4536 * nptl/sem_timedwait.c: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4538 * nptl/sem_trywait.c: ... here.
4539 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4540 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4541 * nptl/sem_wait.c: ... here.
4542 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4543 * nptl/structsem.sym: ... here.
4544 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4545 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4546 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4547 * nptl/unregister-atfork.c: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4549 * nptl/unwindbuf.sym: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4551 * sysdeps/nptl/fork.c: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4553 * sysdeps/nptl/fork.h: ... here.
4554 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4555 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4556 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4558 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4560 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4562 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4563 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4564 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4565 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4566 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4567 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4568 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4569 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4570 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4571 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4572 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4573 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4574 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4575 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4576 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4577 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4578 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4579 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4580 * sysdeps/unix/sysv/linux/raise.c: ... here.
4581 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4582 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4584 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4585 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4586 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4587 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4588 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4589 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4590 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4591 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4592 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4593 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4594 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4595 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4596
96baf6ff
SP
45972014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4598
4599 * sysdeps/generic/memcopy.h: Add comment for
4600 MEMCPY_OK_FOR_FWD_MEMMOVE.
4601
6b7b14b2
WN
46022014-07-04 Will Newton <will.newton@linaro.org>
4603
1570a72b
WN
4604 * string/memchr.c: Merge from gnulib.
4605 [_LIBC]: Remove conditionals.
4606 (__ptr_t): Remove define.
4607 (LONG_MAX_32_BITS): Likewise.
4608 (LONG_MAX): Likewise.
4609 (MEMCHR): Use ANSI prototype and optimize algorithm.
4610
6b7b14b2
WN
4611 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4612
38851324
SP
46132014-07-03 Roland McGrath <roland@hack.frob.com>
4614
3d9eb57c
RM
4615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4616 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4617
78b984ae
RM
4618 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4619 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4620 in a bare environment with no <stdlib.h> installed.
4621 * sysdeps/nptl/configure: Regenerated.
4622
2d5976a5
RM
4623 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4624
c1f5acd4
RM
4625 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4626 AC_EGREP_CPP for kernel header checks, so they only succeed if
4627 including <linux/version.h> actually works right.
4628 * sysdeps/unix/sysv/linux/configure: Regenerated.
4629
4d614fe5
RM
4630 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4631 value so it's not diagnosed as unused.
4632
38851324
SP
4633 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4634 thing) with "ifeq ($(subdir),rt)".
4635
b3ec00e5
RH
46362014-07-03 Richard Henderson <rth@redhat.com>
4637
69862e25
RH
4638 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4639 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4640 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4641
d5e16ade
RH
4642 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4643 (math_force_eval): New.
4644
ca7b945c
RH
4645 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4646 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4647
cd1175a3
RH
4648 * sysdeps/alpha/fpu/s_round.c: Remove file.
4649 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4650
b3ec00e5
RH
4651 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4652 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4653 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4654 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4655 (_dl_start, print_statistics): Likewise.
4656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4657 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4658
4659 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4660 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4661 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4662 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4664 (HP_SMALL_TIMING_AVAIL): Define.
4665 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4666 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4667 (HP_SMALL_TIMING_AVAIL): Define.
4668 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4669 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4670
4671 * sysdeps/aarch64/hp-timing.h: New file.
4672
4673 * sysdeps/generic/hp-timing.h: Remove dead comment.
4674 * sysdeps/generic/hp-timing-common.h: New file.
4675 * sysdeps/alpha/hp-timing.h: Include it.
4676 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4677 * sysdeps/i386/i686/hp-timing.h: Likewise.
4678 * sysdeps/ia64/hp-timing.h: Likewise.
4679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4680 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4682 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4683 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4684 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4685 (hp_timing_t): New.
4686
4687 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4688 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4689 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4690 * elf/rtld.c (_dl_start_final): Likewise.
4691 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4692 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4693 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4694 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4695 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4697 (HP_TIMING_DIFF_INIT): Remove.
4698 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4699 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4700 (HP_TIMING_DIFF_INIT): Remove.
4701 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4702 * sysdeps/i386/i686/hp-timing.c: Remove file.
4703 * sysdeps/x86_64/hp-timing.c: Remove file.
4704 * sysdeps/ia64/hp-timing.c: Remove file.
4705 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4706 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4708 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4709
4710 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4711 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4712 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4713 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4715 (HP_TIMING_ACCUM): Remove.
4716 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4718 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4719
4720 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4721 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4722 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4723 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4724 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4725 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4726 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4727 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4728
4729 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4730
225f410f
MR
47312014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4732
4733 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4734
3247f285
SP
47352014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4736
4737 Sync up with gettext.
4738 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4739 [_MSC_VER]: Include malloc.h
4740 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4741 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4742 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4743 TEMP_FAILURE_RETRY. Cast return of alloca.
4744 [!_LIBC] Call gl_rwlock_init.
4745 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4746
d12704c7
SP
47472014-07-02 Roland McGrath <roland@hack.frob.com>
4748
4749 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4750 before checking its value.
4751
99f8dc92
SP
47522014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4753
05fdac77
SP
4754 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4755
99f8dc92
SP
4756 * debug/memcpy_chk.c: Don't include pagecopy.h.
4757 * debug/mempcpy_chk.c: Likewise.
4758 * string/memcpy.c: Likewise.
4759 * string/memmove.c: Likewise.
4760 * sysdeps/powerpc/memmove.c: Likewise.
4761 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4762 definition of PAGE_COPY_FWD_MAYBE here...
4763 * sysdeps/generic/pagecopy.h: ... from here.
4764 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4765
bc8ea385
VR
47662014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4767 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4768
4769 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4771 optimizations.
4772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4773 (__libc_ifunc_impl_list): Likewise.
4774 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4775 multiarch strcat for PPC64.
4776 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4777 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4778
fe5f34e4
RM
47792014-07-02 Roland McGrath <roland@hack.frob.com>
4780
4781 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4782
256aa665
SP
47832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4784
d4eb8195
SP
4785 * intl/loadmsgcat.c: Remove declaration of
4786 get_sysdep_segment_value.
4787 (get_sysdep_segment_value): Use ISO C style.
4788 (_nl_load_domain): Use ISO C style. Get rid of redundant
4789 semicolon. Fix typo and formatting in comment.
4790 (_nl_unload_domain): Use ISO C style.
4791
256aa665
SP
4792 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4793
b100f9aa
WN
47942014-07-02 Will Newton <will.newton@linaro.org>
4795
4796 * malloc/obstack.c: Merge from gnulib master.
4797 [HAVE_CONFIG_H]: Remove conditional code.
4798 [!_LIBC]: Include config.h.
4799 [!ELIDE_CODE]: Don't include inttypes.h, include
4800 stdint.h unconditionally.
4801 (print_and_abort): Mark as _Noreturn.
4802 (_obstack_allocated_p): Mark as __attribute_pure__.
4803 (obstack_free): Rename to __obstack_free.
4804 [!__attribute__]: Remove conditional code.
4805 * malloc/obstack.h: Merge from gnulib master.
4806 [__cplusplus]: Move conditional down.
4807 [!__attribute_pure__]: Define __attribute_pure__ here
4808 if it is not already defined.
4809 (_obstack_memory_used): Mark as __attribute_pure__.
4810 [!__obstack_free]: Define as obstack_free.
4811 [__GNUC__]: Remove check for ancient NeXT gcc.
4812
c4c41244
PE
48132014-07-02 Will Newton <will.newton@linaro.org>
4814 Paul Eggert <eggert@cs.ucla.edu>
4815
4816 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4817
e1e041c4
SP
48182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4819
4820 * resolv/gethnamaddr.c: Add comment warning that the file is
4821 not maintained.
4822
ccf431ff
CD
48232014-07-01 Carlos O'Donell <carlos@redhat.com>
4824
d34570a6
CD
4825 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4826 entries.
4827
ccf431ff
CD
4828 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4829 entry for aio_cancel and aio_cancel64.
4830 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4831 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4832 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4834 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4835 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4837 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4838 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4839 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4840 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4841 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4842 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4843
ca06321d
RM
48442014-07-01 Roland McGrath <roland@hack.frob.com>
4845
4846 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4847 * nptl/pthread_mutex_lock.c: Likewise.
4848 * nptl/pthread_mutex_timedlock.c: Likewise.
4849 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4850
a1ac3184
RH
48512014-07-01 Richard henderson <rth@redhat.com>
4852
631021e0
RH
4853 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4854 (__isnan, __isnanl): Remove.
4855 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4856
a1ac3184
RH
4857 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4858
0c1d731f
SL
48592014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4860
4861 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4862
76985d3e
SP
48632014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
4865 * resolv/nss_dns/dns-host.c (getanswer_r)
4866 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4867
b0cb3096
JM
48682014-07-01 Joseph Myers <joseph@codesourcery.com>
4869
4870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4871 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4872 undefine.
4873 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4874 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4875
4d76cb39
RM
48762014-07-01 Roland McGrath <roland@hack.frob.com>
4877
4878 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4879 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4880
4881 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4882 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4883
4884 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4885 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4886 ... here.
4887 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4888 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4889
4890 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4891 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4892 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4893 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4894
4895 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4896 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4897 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4898 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4900 Moved ...
4901 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4902 ... here.
4903 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4904 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4906 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4908 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4910 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4912 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4923 ... here.
4924 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4927 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4928 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4929 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4930 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4931 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4932
0cdcad17
DH
49332014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4934
4935 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4936 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4937 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4938 Add sysdep.
4939
9b71d0e3
AZ
49402014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941
4942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4943
665390c2
JM
49442014-06-30 Joseph Myers <joseph@codesourcery.com>
4945
ae05a9d7
JM
4946 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4947 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4948
a7672a2f
JM
4949 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4950
665390c2
JM
4951 * sysdeps/arm/libm-test-ulps: Regenerated.
4952
d7a05d07
MR
49532014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4954 Roland McGrath <roland@hack.frob.com>
4955
4956 * test-skeleton.c (signal_handler): Kill the whole process group
4957 before killing the child individually.
4958 (main): Report any failure on `setpgid'.
4959
46f1d8a6
RM
49602014-06-30 Roland McGrath <roland@hack.frob.com>
4961
4962 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4963 from _TLS_H to _ARM_NPTL_TLS_H.
4964 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4965 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4966
9c37ec0b
JM
49672014-06-30 Joseph Myers <joseph@codesourcery.com>
4968
ce9c5b3e
JM
4969 [BZ #16539]
4970 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4971 (__expm1l): Return argument unchanged when small but not
4972 subnormal.
4973
3a6e9887
JM
4974 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4975 include macro name.
4976 (_FP_UNPACK_RAW_1_P): Likewise.
4977 (_FP_PACK_RAW_1): Likewise.
4978 (_FP_PACK_RAW_1_P): Likewise.
4979 (_FP_MUL_MEAT_1_wide): Likewise.
4980 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4981 (_FP_MUL_MEAT_1_hard): Likewise.
4982 (_FP_DIV_MEAT_1_imm): Likewise.
4983 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4984 (_FP_DIV_MEAT_1_udiv): Likewise.
4985 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4986 (_FP_UNPACK_RAW_2): Likewise.
4987 (_FP_UNPACK_RAW_2_P): Likewise.
4988 (_FP_PACK_RAW_2): Likewise.
4989 (_FP_PACK_RAW_2_P): Likewise.
4990 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4991 (_FP_MUL_MEAT_2_wide): Likewise.
4992 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4993 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4994 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4995 (_FP_MUL_MEAT_2_gmp): Likewise.
4996 (_FP_DIV_MEAT_2_udiv): Likewise.
4997 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4998 (_FP_FRAC_SRL_4): Likewise.
4999 (_FP_FRAC_SRST_4): Likewise.
5000 (_FP_FRAC_SRS_4): Likewise.
5001 (_FP_UNPACK_RAW_4): Likewise.
5002 (_FP_UNPACK_RAW_4_P): Likewise.
5003 (_FP_PACK_RAW_4): Likewise.
5004 (_FP_PACK_RAW_4_P): Likewise.
5005 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5006 (_FP_MUL_MEAT_4_wide): Likewise.
5007 (_FP_MUL_MEAT_4_gmp): Likewise.
5008 (umul_ppppmnnn): Likewise.
5009 (_FP_DIV_MEAT_4_udiv): Likewise.
5010 (__FP_FRAC_ADD_4): Likewise.
5011 (__FP_FRAC_SUB_3): Likewise.
5012 (__FP_FRAC_SUB_4): Likewise.
5013 (__FP_FRAC_DEC_3): Likewise.
5014 (__FP_FRAC_DEC_4): Likewise.
5015 (__FP_FRAC_ADDI_4): Likewise.
5016 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5017 (_FP_FRAC_SRL_8): Likewise.
5018 (_FP_FRAC_SRS_8): Likewise.
5019
9c37ec0b
JM
5020 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5021 include macro name.
5022 (FP_UNPACK_RAW_EP): Likewise.
5023 (FP_PACK_RAW_E): Likewise.
5024 (FP_PACK_RAW_EP): Likewise.
5025 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5026 (_FP_ISSIGNAN): Likewise.
5027 (_FP_ADD_INTERNAL): Likewise.
5028 (_FP_FMA): Likewise.
5029 (_FP_CMP): Likewise.
5030 (_FP_SQRT): Likewise.
5031 (_FP_TO_INT): Likewise.
5032 (_FP_FROM_INT): Likewise.
5033 (FP_EXTEND): Likewise.
5034 (_FP_DIV_MEAT_N_loop): Likewise.
5035
2125f674
MR
50362014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5037
5038 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5039 throughout.
5040
edea4028
JM
50412014-06-29 Joseph Myers <joseph@codesourcery.com>
5042
5043 [BZ #17097]
5044 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5045 result with correct sign in case of exponents that produce
5046 overflow except for X very close to 1.
5047
dd0ba018
PE
50482014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5049
5050 mktime: merge #if/#ifdef usage from glibc
5051 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5052 as that works with both Glibc's and Gnulib's style.
5053 See thread starting at Siddhesh Poyarekar's bug report at:
5054 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5055
64df73c2
SP
50562014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5057
5058 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5059 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5060 * sysdeps/tile/tilegx/memmove.c: Remove file.
5061
f1eafb41
JM
50622014-06-27 Joseph Myers <joseph@codesourcery.com>
5063
5064 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5065 abi-name definition.
5066 * scripts/soversions.awk: Do not handle or generate ABI lines.
5067 * shlib-versions: Remove ABI entries.
5068 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5069 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5070
58eb0862
RM
50712014-06-27 Roland McGrath <roland@hack.frob.com>
5072
37caf178
RM
5073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5074 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5075 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5080 Moved ...
5081 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5082 ... here.
5083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5084 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5094 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5096 Moved ...
5097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5099 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5103 Moved ...
5104 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5106 Moved ...
5107 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5111 Moved ...
5112 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5120 Moved ...
5121 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5125 Moved ...
5126 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5128 Moved ...
5129 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5133 Moved ...
5134 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5135 ... here.
5136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5137 Identical file removed.
5138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5139 Moved ...
5140 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5142 Identical file removed.
5143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5146 Moved ...
5147 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5149 Identical file removed.
5150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5153 Identical file removed.
5154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5157 Identical file removed.
5158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5161 Identical file removed.
5162 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5163 Moved ...
5164 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5166 Identical file removed.
5167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5168 Moved ...
5169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5173 Identical file removed.
5174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5175 Moved ...
5176 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5177 ... here.
5178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5179 Identical file removed.
5180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5181 Moved ...
5182 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5184 Identical file removed.
5185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5186 Moved ...
5187 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5189 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5190 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5193 Moved ...
5194 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5196 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5197
58eb0862
RM
5198 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5199 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5200 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5201 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5202 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5203
6f12d062
AS
52042014-06-27 Arjun Shankar <arjun.is@lostca.se>
5205
5206 [BZ #17092]
5207 * nscd/nscd.c (monitor_child): Return exit status of child
5208 instead of return value from wait syscall.
5209
be254932
JM
52102014-06-27 Joseph Myers <joseph@codesourcery.com>
5211
cb403c34
JM
5212 * configure.ac (libc_commonpagesize): Remove variable.
5213 (libc_relro_required): Likewise.
5214 (libc_cv_z_relro): Remove configure test.
5215 * configure: Regenerated.
5216 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5217 variable.
5218 (libc_relro_required): Likewise.
5219 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5220 (libc_relro_required): Likewise.
5221 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5222 (libc_relro_required): Likewise.
5223 * sysdeps/arm/preconfigure: Regenerated.
5224 * sysdeps/ia64/preconfigure: Remove file.
5225 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5226 variable.
5227 (libc_relro_required): Likewise.
5228
be254932
JM
5229 [BZ #16561]
5230 [BZ #16562]
5231 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5232 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5233 recompute overflowing results in original rounding mode.
5234 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5235 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5236 recompute overflowing results in original rounding mode.
5237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5238 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5239 recompute overflowing results in original rounding mode.
5240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5241 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5242 recompute overflowing results in original rounding mode.
5243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5244 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5245 recompute overflowing results in original rounding mode.
5246 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5247 (libc_feholdsetround_ctx): New macro.
5248 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5249 * sysdeps/i386/fpu/libm-test-ulps: Update.
5250 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5251
b351d85a
JM
52522014-06-26 Joseph Myers <joseph@codesourcery.com>
5253
5254 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5255 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5256 corresponding .cpsetup call.
5257
3cb4de47
RM
52582014-06-26 Roland McGrath <roland@hack.frob.com>
5259
5260 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5261 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5262 * sysdeps/arm/Makefile [$(subdir) = csu]
5263 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5264 (static-only-routines): Add aeabi_read_tp here.
5265 (shared-only-routines): Add libc-aeabi_read_tp here.
5266 (CFLAGS-libc-start.c): Add -fexceptions here.
5267 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5268 (sysdep_routines, static-only-routines, shared-only-routines):
5269 Don't add to these here.
5270 (CFLAGS-libc-start.c): Likewise.
5271
5272 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5273 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5274 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5275 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5276 * sysdeps/arm/Makefile [$(subdir) = rt]
5277 (librt-sysdep_routines, librt-shared-only-routines):
5278 Append rt-aeabi_unwind_cpp_pr1 here.
5279 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5280 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5281 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5282 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5283 Append nptl-aeabi_unwind_cpp_pr1 here.
5284 (tests): Filter out tst-cleanupx4 here.
5285 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5286 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5287 Don't do those here.
5288
354426bb
JM
52892014-06-26 Joseph Myers <joseph@codesourcery.com>
5290
5291 * scripts/list-sources.sh: Do not handle ports specially.
5292
28b0a8c9
RM
52932014-06-26 Roland McGrath <roland@hack.frob.com>
5294
a3dd035d
RM
5295 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5296 * sysdeps/arm/feupdateenv.c: Likewise.
5297
28b0a8c9
RM
5298 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5299
e66a8203
JM
53002014-06-26 Joseph Myers <joseph@codesourcery.com>
5301
5302 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5303 trailing whitespace removed.
5304 * scripts/config.guess: Update to version 2014-03-23.
5305 * scripts/config.sub: Update to version 2014-05-01
5306 * scripts/install-sh: Update to version 2013-12-25.23.
5307 * scripts/move-if-change: Update from gnulib.
5308
74171115
SP
53092014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5310
b97c9ce5
SP
5311 * debug/memmove_chk.c: Remove pagecopy.h include.
5312
4000f892
SP
53132014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5314
74171115
SP
5315 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5316 identical to gnulib mktime.
5317
a8779c28
JM
53182014-06-26 Joseph Myers <joseph@codesourcery.com>
5319
e64708de
JM
5320 * configure.ac: Do not test for machine being rs6000. Do not test
5321 for powerpc*-*soft.
5322 * configure: Regenerated.
5323
a8779c28
JM
5324 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5325 test.
5326 * configure: Regenerated.
5327 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5328 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5329 Remove configure test.
5330 * sysdeps/arm/configure: Regenerated.
5331 * sysdeps/nptl/configure.ac: Do not check
5332 libc_cv_asm_cfi_directives.
5333 * sysdeps/nptl/configure: Regenerated.
5334 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5335 * sysdeps/x86_64/nptl/configure: Remove generated file.
5336 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5337 unconditional.
5338 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5339
2aac0a86
SP
53402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
059bf913
SP
5342 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5343 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5344 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5345 it is defined.
5346
4cf5b6d0
SP
5347 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5348 instead of whether it is defined.
5349 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5350 * sysdeps/hppa/dl-machine.h: Likewise.
5351 * sysdeps/ia64/dl-machine.h: Likewise.
5352 * sysdeps/m68k/dl-machine.h: Likewise.
5353 * sysdeps/microblaze/dl-machine.h: Likewise.
5354 * sysdeps/mips/dl-machine.: Likewise.
5355 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5357 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5358 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5359 * sysdeps/sh/dl-machine.h: Likewise.
5360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5362 * sysdeps/tile/dl-machine.h: Likewise.
5363 * sysdeps/x86_64/dl-machine.h: Likewise.
5364
2aac0a86
SP
5365 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5366 code.
5367 (verify_persistent_db): Likewise.
5368
6ad2df0b
RM
53692014-06-26 Roland McGrath <roland@hack.frob.com>
5370
d8a483f3
RM
5371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5372 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5376 Moved ...
5377 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5378 ... here.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5380 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5382 Identical file removed.
5383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5386 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5392 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5394 Moved ...
5395 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5397 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5399 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5401 Moved ...
5402 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5406 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5408 Identical file removed.
5409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5410 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5414 Moved ...
5415 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5416 ... here.
5417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5420 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5422 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5426 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5428 Moved ...
5429 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5431 Moved ...
5432 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5436 Moved ...
5437 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5440
52ae23b4
RM
5441 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5442 folded into ...
5443 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5444 * sysdeps/unix/sysv/linux/s390/Versions
5445 (libpthread: GLIBC_2.19): New version set.
5446 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5447 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5448 (librt: GLIBC_2.3.3): New version set.
5449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5450 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5451 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5453 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5455 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5457 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5459 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5460 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5461 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5462 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5463 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5464 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5465 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5467 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5468 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5469 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5470 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5471 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5473 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5475 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5477 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5478 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5479 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5480 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5485 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5487 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5489 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5491 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5493 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5494
39507e4a
RM
5495 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5496 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5497 (__libc_vfork): Define the function under this name.
5498 [!NOT_IN_libc] (__vfork): Make this an alias.
5499 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5501 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5502 (__libc_vfork): Define the function under this name.
5503 [!NOT_IN_libc] (__vfork): Make this an alias.
5504 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5505 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5506 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5509 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5510
e549ee56
RM
5511 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5512 code that was previously under [RESET_PID].
5513 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5514 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5516
6ad2df0b
RM
5517 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5518 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5519 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5520 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5521 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5522 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5523 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5524 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5525 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5526 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5528 Moved ...
5529 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5530 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5531 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5532 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5533 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5534 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5535 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5536 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5541 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5543 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5549 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5551 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5553 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5554 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5555 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5556 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5557 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5558
7c1c1d8e
RM
55592014-06-25 Roland McGrath <roland@hack.frob.com>
5560
5561 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5562 that was previously under [RESET_PID].
5563 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5564
3e239be6
JM
55652014-06-25 Joseph Myers <joseph@codesourcery.com>
5566
74385da5
JM
5567 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5568 not undefine and redefine.
5569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5570 [O_CLOEXEC]: Make code unconditional.
5571 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5572 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5573 <kernel-features.h>.
5574 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5575 conditional variable definition.
5576 (shm_open) [O_CLOEXEC]: Make code unconditional.
5577 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5578 code.
5579
c2570a0b
JM
5580 * configure.ac (USE_REGPARMS): Don't define here.
5581 * configure: Regenerated.
5582 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5583 * sysdeps/i386/configure: Regenerated.
5584
11b076bb
JM
5585 * nptl/createthread.c: Don't include kernel-features.h.
5586 * nptl/pthread_cancel.c: Likewise.
5587 * nptl/pthread_condattr_setclock.c: Likewise.
5588 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5589 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5590 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5591 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5592 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5593 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5594 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5597 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5598 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5599 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5600 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5601 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5602 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5603 * nscd/gai.c: Likewise.
5604 * nss/nss_db/db-open.c: Likewise.
5605 * sysdeps/generic/ldsodefs.h: Likewise.
5606 * sysdeps/sh/nptl/tls.h: Likewise.
5607 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5608 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5609 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5610 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5611 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5612 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5613 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5614 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5616 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5617 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5618 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5619 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5620 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5621 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5622 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5623 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5624 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5625 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5626 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5629 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5630 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5631 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5632 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5633 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5634 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5635 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5636 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5637 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5638 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5639 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5640 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5641 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5642 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5643 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5644 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5645 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5646 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5647 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5648 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5649 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5650 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5651 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5652 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5653 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5654 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5655 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5656 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5657 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5658 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5659 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5660 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5661 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5662 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5663 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5687 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5688 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5689 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5690 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5691 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5692 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5694 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5695 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5696 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5697 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5698 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5699 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5700 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5701 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5702 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5703 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5705 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5706 * sysdeps/unix/sysv/linux/system.c: Likewise.
5707 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5708 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5709 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5710 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5711 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5713 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5714
92072d57
JM
5715 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5716 * configure: Regenerated.
5717 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5718
3e239be6
JM
5719 * configure.ac (base_machine): Do not set specially for particular
5720 machines here.
5721 * configure: Regenerated.
5722 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5723 settings from configure.ac.
5724 * sysdeps/i386/preconfigure: New file.
5725 * sysdeps/s390/preconfigure: Likewise.
5726 * sysdeps/sh/preconfigure: Likewise.
5727 * sysdeps/sparc/preconfigure: Likewise.
5728
06d50baa
RM
57292014-06-25 Roland McGrath <roland@hack.frob.com>
5730
74836003
RM
5731 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5732 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5733 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5734 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5735 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5736 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5737 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5738 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5739 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5740 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5741 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5742 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5743 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5744 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5745 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5746 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5747 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5748 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5749 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5750
5751 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5752 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5753 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5754 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5755 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5756 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5757 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5758 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5759 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5760 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5761 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5762 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5763 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5764 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5765 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5766 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5767 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5768 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5769 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5770 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5771 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5772 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5773 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5774 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5775 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5776 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5777 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5778 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5779 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5780 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5781 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5782 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5783 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5784 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5785 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5786 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5787 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5788 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5789
06d50baa
RM
5790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5791 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5793 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5795 Moved ...
5796 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5797 ... here.
5798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5801 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5803 Moved ...
5804 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5812 Moved ...
5813 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5815 Moved ...
5816 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5820 Moved ...
5821 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5825 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5831 Moved ...
5832 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5833 ... here.
5834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5839 Moved ...
5840 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5848 Moved ...
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5851 Moved ...
5852 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5856 Moved ...
5857 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5862
a4ccbc9b
JM
58632014-06-25 Joseph Myers <joseph@codesourcery.com>
5864
0828edbf
JM
5865 * timezone/checktab.awk: Update from tzcode 2014e.
5866 * timezone/private.h: Likewise.
5867 * timezone/tzfile.h: Likewise.
5868 * timezone/zdump.c: Likewise.
5869 * timezone/zic.c: Likewise.
5870
a4ccbc9b
JM
5871 * sysdeps/unix/sysv/linux/kernel-features.h
5872 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5874 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5875 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5876 Remove conditional code.
5877
9aea0cb8
WN
58782014-06-25 Will Newton <will.newton@linaro.org>
5879
5880 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5881 (_dl_arm_cap_flags): Add HWCAP2 values.
5882 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5883 (_DL_HWCAP_COUNT): Increase to 37.
5884 (_DL_HWCAP_LAST): New define.
5885 (_DL_HWCAP2_LAST): New define.
5886 (_dl_procinfo): Add support for printing
5887 AT_HWCAP2 entries.
5888 (_dl_string_hwcap): Use _dl_hwcap_string.
5889
6eaa65ce
AZ
58902014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5893
0f5b7185
JM
58942014-06-25 Joseph Myers <joseph@codesourcery.com>
5895
cfd2ea50
JM
5896 * README: Do not mention ports directory.
5897
cecf2ed4
JM
5898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5899 Remove macro.
5900 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5901 <kernel-features.h>.
5902 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5903 conditional variable definition.
5904 (__futimes): Update comment.
5905 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5906 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5907
a638de82
JM
5908 [BZ #16560]
5909 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5910 arguments close to 0.
5911 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5912 Likewise.
5913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5914 Likewise.
5915 * math/auto-libm-test-in: Add more tests of exp10.
5916 * math/auto-libm-test-out: Regenerated.
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5918
0f5b7185
JM
5919 * sysdeps/unix/sysv/linux/kernel-features.h
5920 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5921 * sysdeps/unix/sysv/linux/readv.c: Do not include
5922 <kernel-features.h>.
5923 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5924 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5925 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5926 unconditional.
5927 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5928 conditional code.
5929 * sysdeps/unix/sysv/linux/writev.c: Do not include
5930 <kernel-features.h>.
5931 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5932 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5933 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5934 unconditional.
5935 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5936 conditional code.
5937
c7aec4be
WN
59382014-06-25 Will Newton <will.newton@linaro.org>
5939
5940 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5941 comment changes throughout the file. Remove checks
5942 for HAVE_*_H definitions that are not required.
5943 (__gen_tempname): Call abort if an unknown kind value is
5944 passed.
5945
c5241f95
AS
59462014-06-25 Andreas Schwab <schwab@suse.de>
5947
5948 [BZ #17086]
5949 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5950 scalbln, scalblnf, scalblnl in libc.
5951
911422da
SP
59522014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5953
5954 [BZ #17086]
5955 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5956 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5957 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5958
0d749bbe
RM
59592014-06-24 Roland McGrath <roland@hack.frob.com>
5960
5961 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5962 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5963 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5964 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5965 Update #include.
5966 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5967 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5968 Update #include.
5969 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5970 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5971 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5972 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5973 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5974 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5975 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5976 * sysdeps/x86/bits/semaphore.h: ... here.
5977 * sysdeps/x86/nptl/elide.h: Moved ...
5978 * sysdeps/x86/elide.h: ... here.
5979 * sysdeps/x86_64/nptl/Implies: File removed.
5980 * sysdeps/i386/nptl/Implies: File removed.
5981
0ea5d373
JM
59822014-06-24 Joseph Myers <joseph@codesourcery.com>
5983
4060283d
JM
5984 [BZ #16539]
5985 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5986 return the argument for normal arguments with exponent below -64.
5987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5988 Likewise.
5989 * math/auto-libm-test-in: Add another test of expm1.
5990 * math/auto-libm-test-out: Regenerated.
5991
e7dd3c8c
JM
5992 [BZ #16287]
5993 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5994 calling __erfcl for arguments at least 16.
5995 * math/auto-libm-test-in: Add more tests of erf.
5996 * math/auto-libm-test-out: Regenerated.
5997
0ea5d373
JM
5998 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5999 individual architectures.
6000 * sysdeps/unix/sysv/linux/configure: Regenerated.
6001 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6002 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6003 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6004 (ldd_rewrite_script): Define variable.
6005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6007 file.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6009 generated file.
6010 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6011 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6012 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6013 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6014 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6015 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6016 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6017 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6018
2307e126
SP
60192014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6020
6021 [BZ #17084]
6022 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6023 Rename member __data.d to __data.__elision_data.
6024
c0a4ed77
W
60252014-06-24 Wilco <wdijkstr@arm.com>
6026
6027 * NEWS: Add 16918 to fixed bug list.
6028
b8c00573
W
60292014-06-24 Wilco <wdijkstr@arm.com>
6030
6031 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6032
b5570d92
W
60332014-06-24 Wilco <wdijkstr@arm.com>
6034
6035 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6036 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6037 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6038 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6039 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6040 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6041 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6042 Use _FPU_MASK_RM.
6043
947bdca2
W
60442014-06-24 Wilco <wdijkstr@arm.com>
6045
6046 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6047
00f669ed
W
60482014-06-24 Wilco <wdijkstr@arm.com>
6049
6050 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6051 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6052 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6053 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6054
db59bad3
W
60552014-06-24 Wilco <wdijkstr@arm.com>
6056
6057 [BZ #16918]
6058 * sysdeps/arm/feupdateenv.c (feupdateenv):
6059 Rewrite to reduce FPSCR accesses and fix return value.
6060
001f7b77
W
60612014-06-24 Wilco <wdijkstr@arm.com>
6062
6063 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6064 Optimize to avoid unnecessary FPSCR writes.
6065 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6066 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6067 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6068 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6069
4841e6a6
W
60702014-06-24 Wilco <wdijkstr@arm.com>
6071
6072 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6073 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6074 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6075 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6076 Call libc_fetestexcept_vfp.
6077 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6078 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6079 __SOFTFP__ ifdef so that they can be built for softfp.
6080
0813022c
SP
60812014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6082
08e5862f
SP
6083 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6084 argument type signed char.
6085
0813022c
SP
6086 * Makerules (check-abi): Dump diff of symlist if the test
6087 fails.
6088
3fc7236a
RM
60892014-06-23 Roland McGrath <roland@hack.frob.com>
6090
aba8ef95
RM
6091 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6092 using abort.
6093
3fc7236a
RM
6094 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6095 Remove unused variable ST.
6096
4da6db51
JM
60972014-06-23 Joseph Myers <joseph@codesourcery.com>
6098
4648909d
JM
6099 [BZ #16354]
6100 [BZ #17061]
6101 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6102 small arguments before calling __expm1.
6103 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6104 small arguments before calling __expm1f.
6105 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6106 small arguments before calling __expm1l.
6107 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6108 Likewise.
6109 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6110 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6111 spurious underflow for some cosh tests.
6112 * math/auto-libm-test-out: Regenerated.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114
46a3d3c7
JM
6115 [BZ #17050]
6116 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6117 (__ieee754_y1): Set errno if return value overflows.
6118 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6119 (__ieee754_y1f): Set errno if return value overflows.
6120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6121 (__ieee754_y1l): Set errno if return value overflows.
6122 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6123 (__ieee754_y1l): Set errno if return value overflows.
6124 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6125 * math/auto-libm-test-out: Regenerated.
6126
863893ec
JM
6127 * math/gen-auto-libm-tests.c: Document use of
6128 ignore-zero-inf-sign.
6129 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6130 (input_flags): Add ignore-zero-inf-sign.
6131 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6132 * math/gen-libm-test.pl (generate_testfile): Handle
6133 ignore-zero-inf-sign.
6134 * math/auto-libm-test-in: Mark some cpow tests with
6135 ignore-zero-inf-sign and some with xfail-rounding.
6136 * math/auto-libm-test-out: Regenerated.
6137 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6138 * sysdeps/i386/fpu/libm-test-ulps: Update.
6139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6140
4da6db51
JM
6141 [BZ #16315]
6142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6143 overflowing or underflowing operations take place with sign of
6144 result.
6145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6147 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6148 (__ieee754_pow): Recompute overflowing and underflowing results in
6149 original rounding mode.
6150 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6151 (__powl_helper): Allow negative argument X and scale negated value
6152 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6153 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6154 overflowing or underflowing operations take place with sign of
6155 result.
6156 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6157 Include <math.h>.
6158 * math/auto-libm-test-in: Add more tests of pow.
6159 * math/auto-libm-test-out: Regenerated.
6160 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6161 (pow_tonearest_test_data): Remove.
6162 (pow_test_tonearest): Likewise.
6163 (pow_towardzero_test_data): Likewise.
6164 (pow_test_towardzero): Likewise.
6165 (pow_downward_test_data): Likewise.
6166 (pow_test_downward): Likewise.
6167 (pow_upward_test_data): Likewise.
6168 (pow_test_upward): Likewise.
6169 (main): Don't call removed functions.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6172
5686b236
RM
61732014-06-23 Roland McGrath <roland@hack.frob.com>
6174
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6176 Moved ...
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6179 Moved ...
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6182 Moved ...
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6185 Moved ...
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6188 File removed.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6190 File removed.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6192 File removed.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6194 File removed.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6196 File removed.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6198 File removed.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6200 File removed.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6202 File removed.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6204 File removed.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6206 File removed.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6208 File removed.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6210 File removed.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6212 Moved ...
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6215 Moved ...
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6217 ... here.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6219 Moved ...
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6222 Moved ...
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6225 Moved ...
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6228 Moved ...
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6231 Moved ...
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6234 Moved ...
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6237 Moved ...
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6241 ... here.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6243 Moved ...
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6246 Moved ...
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6248 ... here.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6250 Moved ...
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6252 ... here.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6254 Moved ...
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6256 ... here.
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6258 Moved ...
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6261 Moved ...
6262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6266 Moved ...
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6268 ... here.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6270 Moved ...
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6272 ... here.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6274 Moved ...
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6277 Moved ...
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6280 Moved ...
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6283 Moved ...
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6286 Moved ...
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6288 ... here.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6290 Moved ...
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6293 Moved ...
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6296 Moved ...
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6299 Moved ...
6300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6304 Moved ...
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6307 Moved ...
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6310 Moved ...
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6312 ... here.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6314 Moved ...
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6316 ... here.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6318 Moved ...
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6320 ... here.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6322 Moved ...
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6325 Moved ...
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6328 Moved ...
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6331 Moved ...
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6333 ... here.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6335 Moved ...
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6337 ... here.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6339 Moved ...
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6341 ... here.
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6343 Moved ...
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6346 Moved ...
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6348
e6d90d67
WD
63492014-06-23 Will Newton <will.newton@linaro.org>
6350 Wilco <wdijkstr@arm.com>
6351
6352 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6353 implementation. Include get-rounding-mode.h.
6354 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6355 [!libc_feholdsetround_noex_ctx]: Define
6356 libc_feholdsetround_noex_ctx.
6357 [!libc_feholdsetround_noexf_ctx]: Define
6358 libc_feholdsetround_noexf_ctx.
6359 [!libc_feholdsetround_noexl_ctx]: Define
6360 libc_feholdsetround_noexl_ctx.
6361 (libc_feholdsetround_ctx): New function.
6362 (libc_feresetround_ctx): New function.
6363 (libc_feholdsetround_noex_ctx): New function.
6364 (libc_feresetround_noex_ctx): New function.
6365
d42df555
RM
63662014-06-23 Roland McGrath <roland@hack.frob.com>
6367
88a46474
RM
6368 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6369 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6370 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6371 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6372 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6373 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6374
15bed472
RM
6375 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6376 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6377 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6378 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6379 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6380 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6382 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6386 Moved ...
6387 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6388 ... here.
6389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6390 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6394 Moved ...
6395 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6397 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6399 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6401 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6403 Moved ...
6404 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6406 Moved ...
6407 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6409 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6411 Moved ...
6412 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6414 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6415 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6416 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6417 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6418 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6420 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6422 Moved ...
6423 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6424 ... here.
6425 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6426 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6427 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6428 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6429 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6430 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6432 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6434 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6436 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6438 Moved ...
6439 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6441 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6443 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6445 Moved ...
6446 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6448 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6449 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6450 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6451
d42df555
RM
6452 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6453 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6454 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6455 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6456 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6457 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6458 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6459 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6461 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6462 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6463 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6464 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6465 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6466 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6467 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6468 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6469 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6470 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6471 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6472 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6473 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6474 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6475 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6476 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6477 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6479 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6480
76e5216e
JM
64812014-06-23 Joseph Myers <joseph@codesourcery.com>
6482
6483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6484 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6485 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6486 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6487 (IPV6_PMTUDISC_INTERFACE): Likewise.
6488 (IPV6_PMTUDISC_OMIT): Likewise.
6489
7a81cbcc
AS
64902014-06-23 Andreas Schwab <schwab@suse.de>
6491
6492 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6493 Remove unused errout label.
6494
db224009
AZ
64952014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6496
6497 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6498 macro: hardware supports Vector Crypto instructions.
6499
f393b4aa
WN
65002014-06-23 Will Newton <will.newton@linaro.org>
6501
cc7d0447
WN
6502 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6503 rather than __builtin_expect.
6504
d6d06225
WN
6505 * elf/dl-lookup.c (undefined_msg): Remove variable.
6506 (_dl_lookup_symbol_x): Replace undefined_msg with string
6507 literal.
6508
f393b4aa
WN
6509 * elf/dl-lookup.c (do_lookup_unique): New function.
6510 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6511 to a separate function.
6512
ac60763e
AS
65132014-06-23 Andreas Schwab <schwab@suse.de>
6514
6515 [BZ #17079]
6516 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6517 before reading the next line.
6518
c5c13355
WN
65192014-06-23 Will Newton <will.newton@linaro.org>
6520
6521 * test-skeleton.c (signal_handler): Use printf and %m
6522 rather than perror. Use printf rather than fprintf to
6523 stderr. Use puts rather than fputs to stderr.
6524 (main): Likewise.
6525
bd3675f9
LC
65262014-06-22 Ludovic Courtès <ludo@gnu.org>
6527
6528 * nscd/nscd.c (thread_info_t): Remove typedef.
6529 (thread_info): Remove variable.
6530
d03efb2f
AM
65312014-06-21 Allan McRae <allan@archlinux.org>
6532
6533 * NEWS: Mention CVE-2014-4043.
6534
bc4a86fa
RM
65352014-06-20 Roland McGrath <roland@hack.frob.com>
6536
dc9a54f8
RM
6537 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6538 * nptl/smp.h: ... here.
6539
bd7022c4
RM
6540 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6541
26ffd5e6
RM
6542 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6543 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6544 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6545 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6546
93a6d082
RM
6547 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6548 * nptl/stack-aliasing.h: New file.
6549 * sysdeps/i386/i686/stack-aliasing.h: New file.
6550 * sysdeps/i386/i686/nptl/Makefile: File removed.
6551 * sysdeps/x86_64/stack-aliasing.h: New file.
6552 * sysdeps/x86_64/nptl/Makefile
6553 (CFLAGS-pthread_create.c): Variable removed.
6554
bc4a86fa
RM
6555 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6556 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6557 old file.
6558 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6559 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6560 old file.
6561
2272ffc1
JM
65622014-06-21 Joseph Myers <joseph@codesourcery.com>
6563
6564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6565 (__ASSUME_SIGFRAME_V2): Remove macro.
6566 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6567 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6568 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6569 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6570 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6571 Declare as function. Remove conditional macro definitions.
6572 (__default_rt_sa_restorer): Likewise.
6573 (__default_sa_restorer_v1): Remove declaration.
6574 (__default_sa_restorer_v2): Likewise.
6575 (__default_rt_sa_restorer_v1): Likewise.
6576 (__default_rt_sa_restorer_v2): Likewise.
6577 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6578 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6579 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6580
4b88139b
RM
65812014-06-20 Roland McGrath <roland@hack.frob.com>
6582
6583 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6584 (libpthread-routines): Add sysdep.
6585 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6586 * sysdeps/unix/sysv/linux/sparc/Versions
6587 (libpthread: GLIBC_2.3.3): New version set.
6588 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6589 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6590 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6591 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6592 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6593 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6594 Moved ...
6595 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6596 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6597 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6598 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6599 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6600 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6601 * sysdeps/sparc/nptl/sem_init.c: ... here.
6602 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6603 * sysdeps/sparc/nptl/sem_post.c: ... here.
6604 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6605 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6606 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6607 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6608 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6609 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6610 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6611 (libpthread-routines): Add cpu_relax.
6612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6613 File removed.
6614 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6615 (librt: GLIBC_2.3.3): New version set.
6616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6617 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6619 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6622 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6624 Moved ...
6625 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6627 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6629 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6631 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6633 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6635 Moved ...
6636 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6637 Update #include.
6638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6639 Moved ...
6640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6641 Update #include.
6642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6643 Moved ...
6644 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6645 Update #include.
6646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6647 Moved ...
6648 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6649 Update #include.
6650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6651 Moved ...
6652 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6653 Update #include.
6654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6655 Moved ...
6656 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6657 Update #include.
6658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6659 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6665 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6669 Moved ...
6670 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6672 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6674 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6675
d7109027
JM
66762014-06-20 Joseph Myers <joseph@codesourcery.com>
6677
9bc6103d
JM
6678 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6679 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6680 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6681 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6682 * nscd/nscd.c: Likewise.
6683 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6684 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6685 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6686 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6687
d7109027
JM
6688 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6689 <kernel-features.h>.
6690 (init_mq_netlink): Remove conditional have_sock_cloexec
6691 definitions. Remove code conditional on have_sock_cloexec < 0.
6692 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6693 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6694 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6695 <kernel-features.h>.
6696 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6697 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6698
d92d8f8a
L
66992014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6700
6701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6702 Add tests for memset_chk and memset.
6703
6704 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6705 with AVX2_Usable.
6706
4e6d2347
MR
67072014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6708
257ce712
MR
6709 [BZ #16046]
6710 * elf/tst-dl-iter-static.c: New file.
6711 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6712
4e6d2347
MR
6713 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6714 error.
6715
a2a76afe
JM
67162014-06-20 Joseph Myers <joseph@codesourcery.com>
6717
7fd00f99
JM
6718 * sysdeps/unix/sysv/linux/kernel-features.h
6719 (__ASSUME_F_GETOWN_EX): Remove macro.
6720 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6721 <kernel-features.h>.
6722 (miss_F_GETOWN_EX): Remove variable or macro.
6723 (do_fcntl): Do not check miss_F_GETOWN_EX.
6724 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6725
4a103975
JM
6726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6727 Remove macro.
6728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6729 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6730 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6731
a2a76afe
JM
6732 * sysdeps/unix/sysv/linux/kernel-features.h
6733 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6734 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6735 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6736 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6737
90e5dd48
MR
67382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6739
6740 [BZ #17075]
6741 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6742 Fix calculation of the symbol's value.
6743 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6744 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6745 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6746 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6747 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6748 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6749 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6750 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6751 (modules-names): Add `tst-armtlsdescmod',
6752 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6753 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6754 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6755 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6756 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6757 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6758 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6759 ($(objpfx)tst-armtlsdescloc): New dependency.
6760 ($(objpfx)tst-armtlsdescextnow): Likewise.
6761 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6762 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6763 TLS scheme support.
6764 * sysdeps/arm/configure: Regenerate.
6765
809fdf0d
JM
67662014-06-20 Joseph Myers <joseph@codesourcery.com>
6767
6768 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6769 (__atfct_seterrno_2): Likewise.
6770 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6771 <kernel-features.h>.
6772 (__ASSUME_ATFCTS): Do not undefine and redefine.
6773 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6774 (__have_atfcts): Remove conditional definition.
6775 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6776 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6777 unreachable if [__ASSUME_ATFCTS].
6778 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6779 not undefine and redefine.
6780 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6781 <kernel-features.h>.
6782 (faccessat) [__NR_faccessat]: Make code unconditional.
6783 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6784 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6785 <kernel-features.h>.
6786 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6787 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6788 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6789 <kernel-features.h>.
6790 (fchownat) [__NR_fchownat]: Make code unconditional.
6791 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6792 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6793 <kernel-features.h>.
6794 (futimesat) [__NR_futimesat]: Make code unconditional.
6795 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6796 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6797 <kernel-features.h>.
6798 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6799 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6800 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6801 <kernel-features.h>.
6802 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6803 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6804 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6805 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6806 <kernel-features.h>.
6807 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6808 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6809 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6810 <kernel-features.h>.
6811 (linkat) [__NR_linkat]: Make code unconditional.
6812 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6813 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6814 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6815 <kernel-features.h>.
6816 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6817 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6818 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6819 <kernel-features.h>.
6820 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6821 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6822 * sysdeps/unix/sysv/linux/openat.c: Do not include
6823 <kernel-features.h>.
6824 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6825 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6826 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6827 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6829 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6830 <kernel-features.h>.
6831 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6832 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6833 result of INLINE_SYSCALL directly, not via int variable.
6834 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6835 <kernel-features.h>.
6836 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6837 (renameat) [__NR_renameat]: Make code unconditional.
6838 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6839 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6840 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6843 (__ASSUME_ATFCTS): Do not undefine and redefine.
6844 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6845 <kernel-features.h>.
6846 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6847 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6848 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6849 <kernel-features.h>.
6850 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6851 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6852 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6853 (__ASSUME_ATFCTS): Do not undefine and redefine.
6854 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6855 <kernel-features.h>.
6856 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6857 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6858 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6859 <kernel-features.h>.
6860 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6861 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6862
224c6c51
L
68632014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6864
6865 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6866
aa6ec754
AS
68672014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6868
6869 [BZ #17069]
6870 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6871 constructed tree before returning error.
6872 * posix/bug-regexp36.c: Expand test case.
6873
d8c2869d
SL
68742014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6875
3ef6b850
SL
6876 [BZ #6803]
6877 * math/libm-test.inc (scalbln_test_date):
6878 Add errno expectations.
6879 * math/w_scalblnf.c: New File.
6880 Add wrapper which checks for setting errno to ERANGE.
6881 Add weak_alias for corresponding scalbln function.
6882 * math/w_scalbln.c: Likewise.
6883 * math/w_scalblnl.c: Likewise.
6884 * math/Makefile (libm-calls): Add w_scalbln.
6885 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6886 Remove weak_alias for corresponding scalbln function.
6887 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6891 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6892 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6893 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6894 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6895 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6896 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6897 Remove long_double_symbol for scalblnl function in libm, libc.
6898 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6899 Add wrapper which checks for setting errno to ERANGE.
6900 Add long_double_symbol for scalblnl function in libm, libc.
6901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6902 Remove long_double_symbol for scalblnl in libm.
6903 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6904 Add wrapper which checks for setting errno to ERANGE.
6905 Add long_double_symbol for scalblnl function in libm.
6906 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6907 Do not use wrapper because of own implementation.
6908
c8daec5c
L
69092014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6910
6911 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6912 3 bytes for __pad1 for x32.
6913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6914
5c74e47c
LM
69152014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6916 H.J. Lu <hongjiu.lu@intel.com>
6917
6918 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6919 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6922 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6923
4d43ef1e
AS
69242014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6925
6926 [BZ #17069]
6927 * posix/regcomp.c (parse_expression): Deallocate partially
6928 constructed tree before returning error.
6929 * posix/Makefile.c (tests): Add bug-regex36.
6930 (generated): Add bug-regex36.mtrace.
6931 (tests-special): Add $(objpfx)bug-regex36-mem.out
6932 (bug-regex36-ENV): New variable.
6933 ($(objpfx)bug-regex36-mem.out): New rule.
6934 * posix/bug-regex36.c: New file.
6935
51a7380b
WN
69362014-06-19 Will Newton <will.newton@linaro.org>
6937
6938 * malloc/malloc.c (systrim): If extra is zero then return
6939 early.
6940
91b84fe5
SP
69412014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
6943 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6944
f940b965
RE
69452014-06-19 Richard Earnshaw <rearnsha@arm.com>
6946
6947 * sysdeps/aarch64/strchr.S: New file.
6948
4ba7a00f
JM
69492014-06-18 Joseph Myers <joseph@codesourcery.com>
6950
6951 [BZ #17022]
6952 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6953 from arguments -2 or below.
6954 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6955 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6956
b3a9f56b
AS
69572014-06-18 Andreas Schwab <schwab@suse.de>
6958
6959 [BZ #17062]
6960 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6961 of a bracket expr not to run off the end of the string.
6962 * posix/Makefile (tests): Add tst-fnmatch3.
6963 * posix/tst-fnmatch3.c: New file.
6964
85d89278
JM
69652014-06-18 Joseph Myers <joseph@codesourcery.com>
6966
6967 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6968 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6969 [$(cross-compiling) = no]: Likewise.
6970 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6971 [$(cross-compiling) = no]: Likewise.
6972
754c5a08
RS
69732014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6974
6975 [BZ #17031]
6976 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6977 double, adjusted for any remainder from the high double.
6978 * math/libm-test.inc (nearbyint): Add tests.
6979 (rint): Likewise.
6980
556f529d
AZ
69812014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982
6983 * nptl/sysdeps/powerpc/Makefile: Moved ...
6984 * sysdeps/powerpc/nptl/Makefile: ... here.
6985 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6986 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6987 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6988 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6989 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6990 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6991 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6992 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6993 * nptl/sysdeps/powerpc/tls.h: Moved ...
6994 * sysdeps/powerpc/nptl/tls.h: ... here.
6995
91c03c53
JM
69962014-06-16 Joseph Myers <joseph@codesourcery.com>
6997
6998 [BZ #16681]
6999 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7000 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7001 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7002 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7003 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7004 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7005 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7006 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7007 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7008
a76e63c5
AS
70092014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7010
7011 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7012
f2f6d82f
AS
70132014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7014
ea8a15f6
AS
7015 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7016 defined operator.
7017
f2f6d82f
AS
7018 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7019 $TIMEOUTFACTOR.
7020
a7291117
FW
70212014-06-16 Florian Weimer <fweimer@redhat.com>
7022
7023 [BZ #17058]
7024 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7025 non-executed part of the test.
7026
3d7c00e3
AS
70272014-06-16 Andreas Schwab <schwab@suse.de>
7028
7029 * string/bits/string2.h (strdup, strndup): Update feature guard.
7030
6957fb31
DM
70312014-06-14 David S. Miller <davem@davemloft.net>
7032
7033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7034
11b9e55b
AS
70352014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7036
1d2a0492
AS
7037 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7038 that was previously under [RESET_PID].
7039 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7040
11b9e55b
AS
7041 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7042 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7043 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7044 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7045 (__libc_vfork): New strong alias.
7046 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7047
0f6901d0
AK
70482014-06-14 Andi Kleen <ak@linux.intel.com>
7049
7050 * sysdeps/generic/elide.h: New file.
7051
38bbbb9f
SL
70522014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7053
7054 * Makefile (installed-headers): Adjust path of pthread.h header.
7055
45193bb8
RM
70562014-06-13 Roland McGrath <roland@hack.frob.com>
7057
9a25fd1e
RM
7058 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7059 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7060 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7061 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7062
4004f7e4
RM
7063 * nptl/sysdeps/s390/Makefile: Moved ...
7064 * sysdeps/s390/nptl/Makefile: ... here.
7065 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7066 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7067 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7068 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7069 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7070 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7071 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7072 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7073 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7074 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7075 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7076 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7077 * nptl/sysdeps/s390/tls.h: Moved ...
7078 * sysdeps/s390/nptl/tls.h: ... here.
7079
45193bb8
RM
7080 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7081 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7082
f6fdf533
DM
70832014-06-13 David S. Miller <davem@davemloft.net>
7084
7085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7088 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7092 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7093 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7094 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7095 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7096 Remove RESET_PID cpp guards.
7097 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7098 Remove RESET_PID cpp guards.
7099 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7100
f5d71e14
AS
71012014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7102
7103 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7104 __sp to uintptr_t.
7105
b7aa8caa
AK
71062014-06-13 Andi Kleen <ak@linux.intel.com>
7107
4b266200
AZ
7108 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7110 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7115 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7116 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7117 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7121 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7128
7129 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7130 (pthread_rwlock_rdlock): Add elision.
7131 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7132 (pthread_rwlock_wrlock): Add elision.
7133 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7134 (pthread_rwlock_trywrlock): Add elision.
7135 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7136 (pthread_rwlock_tryrdlock): Add elision.
7137 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7138 (pthread_rwlock_tryrdlock): Add elision unlock.
7139 * nptl/sysdeps/pthread/pthread.h:
7140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7141 (PTHREAD_RWLOCK_INITIALIZER,
7142 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7143 Handle new elision field.
7144 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7145 * sysdeps/arm/nptl/bits/pthreadtypes.h
7146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7147 * sysdeps/sh/nptl/bits/pthreadtypes.h
7148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7149 * sysdeps/tile/nptl/bits/pthreadtypes.h
7150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7151 * sysdeps/a/nptl/bits/pthreadtypes.h
7152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7153 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7154 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7155 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7157 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7159 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7160 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7161 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7162 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7163 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7166 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7167 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7169 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7170 (elision_init): Set try_xbegin to zero when no RTM.
7171 * sysdeps/x86/nptl/bits/pthreadtypes.h
7172 (pthread_rwlock_t): Change __pad1 to __rwelision.
7173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7174
a832bdd3
AK
71752014-06-13 Andi Kleen <ak@linux.intel.com>
7176
7177 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7178 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7179 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7180 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7181
995a46bb
MI
71822014-06-13 Meador Inge <meadori@codesourcery.com>
7183
7184 [BZ #16996]
03ed7738 7185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7186 that the cached result has been set before returning it.
7187
45262aee
RM
71882014-06-12 Roland McGrath <roland@hack.frob.com>
7189
febf6cc5
RM
7190 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7191 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7192 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7193 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7194 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7195 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7196
e2682246
RM
7197 * nptl/sysdeps/sparc/Makefile: Moved ...
7198 * sysdeps/sparc/nptl/Makefile: ... here.
7199 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7200 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7201 * nptl/sysdeps/sparc/tls.h: Moved ...
7202 * sysdeps/sparc/nptl/tls.h: ... here.
7203 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7204 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7205 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7206 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7207 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7208 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7209 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7210 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7211 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7212 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7213 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7214 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7215 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7216 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7217 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7218 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7221 Update #include.
7222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7224 Update #include.
7225 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7227 Update #include.
7228 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7229 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7230 Update #include.
7231
b0725f43
RM
7232 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7233
b14368b8
RM
7234 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7235 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7236
c5620eb3
RM
7237 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7238 (struct list_links): Type removed.
7239 (struct thread_node, struct timer_node): Replace struct list_links
7240 with struct list_head.
7241 (list_unlink_ip): Likewise.
7242 * sysdeps/pthread/timer_routines.c
7243 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7244 (list_append, list_insbefore): Likewise.
7245 (list_init): Function removed.
7246 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7247 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7248 * sysdeps/pthread/Makefile: ... here, new file.
7249
7250 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7251 * sysdeps/nptl/Implies: ... here.
7252 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7253 * nptl/sysdeps/pthread/list.h: Moved ...
7254 * include/list.h: ... here.
7255 * nptl/sysdeps/pthread/createthread.c: Moved ...
7256 * nptl/createthread.c: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7258 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7259 * nptl/pt-longjmp.c: ... here.
7260 * nptl/sysdeps/pthread/Makefile: Moved ...
7261 * sysdeps/nptl/Makefile: ... here.
7262 * nptl/sysdeps/pthread/Subdirs: Moved ...
7263 * sysdeps/nptl/Subdirs: ... here.
7264 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7265 * sysdeps/nptl/aio_misc.h: ... here.
7266 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7267 * sysdeps/nptl/bits/libc-lock.h: ... here.
7268 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7269 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7270 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7271 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7272 * nptl/sysdeps/pthread/configure: Moved ...
7273 * sysdeps/nptl/configure: ... here.
7274 * nptl/sysdeps/pthread/configure.ac: Moved ...
7275 * sysdeps/nptl/configure.ac: ... here.
7276 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7277 * sysdeps/nptl/gai_misc.h: ... here.
7278 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7279 * sysdeps/nptl/librt-cancellation.c: ... here.
7280 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7281 * sysdeps/nptl/malloc-machine.h: ... here.
7282 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7283 * sysdeps/nptl/pthread-functions.h: ... here.
7284 * nptl/sysdeps/pthread/pthread.h: Moved ...
7285 * sysdeps/nptl/pthread.h: ... here.
7286 * nptl/sysdeps/pthread/setxid.h: Moved ...
7287 * sysdeps/nptl/setxid.h: ... here.
7288 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7289 * sysdeps/nptl/sigfillset.c: ... here.
7290 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7291 * sysdeps/nptl/tcb-offsets.h: ... here.
7292 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7293 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7294 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7295 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7296 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7297 * sysdeps/pthread/allocalim.h: ... here.
7298 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7299 * sysdeps/pthread/bits/sigthread.h: ... here.
7300 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7301 * sysdeps/pthread/flockfile.c: ... here.
7302 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7303 * sysdeps/pthread/ftrylockfile.c: ... here.
7304 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7305 * sysdeps/pthread/funlockfile.c: ... here.
7306 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7307 * sysdeps/pthread/posix-timer.h: ... here.
7308 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7309 * sysdeps/pthread/timer_create.c: ... here.
7310 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7311 * sysdeps/pthread/timer_delete.c: ... here.
7312 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7313 * sysdeps/pthread/timer_getoverr.c: ... here.
7314 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7315 * sysdeps/pthread/timer_gettime.c: ... here.
7316 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7317 * sysdeps/pthread/timer_routines.c: ... here.
7318 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7319 * sysdeps/pthread/timer_settime.c: ... here.
7320 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7321 * sysdeps/pthread/tst-timer.c: ... here.
7322 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7323 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7324
e876b090
RM
7325 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7326 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7327
f6b07b3d
RM
7328 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7329 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7330 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7331 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7332 Update #include target.
7333 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7334 * sysdeps/i386/i686/nptl/Makefile: ... here.
7335 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7336 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7337 Update #include target.
7338 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7339 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7340 * nptl/sysdeps/i386/Makefile: Moved ...
7341 * sysdeps/i386/nptl/Makefile: ... here.
7342 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7343 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7344 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7345 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7346 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7347 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7348 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7349 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7350 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7351 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7352 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7353 * nptl/sysdeps/i386/tls.h: Moved ...
7354 * sysdeps/i386/nptl/tls.h: ... here.
7355
45262aee
RM
7356 * sysdeps/sh/Makefile [$(subdir) = csu]
7357 (gen-as-const-headers): Add tcb-offsets.sym.
7358 * nptl/sysdeps/sh/Makefile: File removed.
7359 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7360 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7361 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7362 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7363 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7364 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7365 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7366 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7367 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7368 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7369 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7370 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7371 * nptl/sysdeps/sh/tls.h: Moved ...
7372 * sysdeps/sh/nptl/tls.h: ... here.
7373 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7374 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7375 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7376 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7377 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7378 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7380 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7382 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7384 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7386 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7388 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7390 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7391 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7392 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7394 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7398 Moved ...
7399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7401 Moved ...
7402 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7406 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7408 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7410 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7412 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7414 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7416 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7418 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7420 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7421
35a5e3e3
SL
74222014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7423
7424 * posix/spawn_faction_addopen.c: Include string.h.
7425
14642b85
RM
74262014-06-11 Roland McGrath <roland@hack.frob.com>
7427
7428 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7429 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7430 * nptl/sysdeps/x86_64/Makefile: Moved ...
7431 * sysdeps/x86_64/nptl/Makefile: ... here.
7432 * nptl/sysdeps/x86_64/configure: Moved ...
7433 * sysdeps/x86_64/nptl/configure: ... here.
7434 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7435 * sysdeps/x86_64/nptl/configure.ac: ... here.
7436 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7437 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7438 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7439 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7440 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7441 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7442 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7443 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7444 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7445 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7446 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7447 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7448 * nptl/sysdeps/x86_64/tls.h: Moved ...
7449 * sysdeps/x86_64/nptl/tls.h: ... here.
7450 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7451 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7452 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7453 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7454
7455 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7456
31c44fea
AZ
74572014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7458
7459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7460
e81a4f9a
JM
74612014-06-11 Joseph Myers <joseph@codesourcery.com>
7462
7463 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7464 type.
7465 [POSIX] (off_t): Likewise.
7466 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7467 [POSIX] (S_ISBLK): Require macro.
7468 [POSIX] (S_ISCHR): Likewise.
7469 [POSIX] (S_ISDIR): Likewise.
7470 [POSIX] (S_ISFIFO): Likewise.
7471 [POSIX] (S_ISREG): Likewise.
7472 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7473 optional-macro.
7474 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7475 type.
7476 [POSIX] (time_t): Likewise.
7477 [POSIX] (timer_t): Likewise.
7478
89e435f3
FW
74792014-06-11 Florian Weimer <fweimer@redhat.com>
7480
7481 [BZ #17048]
7482 * posix/spawn_int.h (struct __spawn_action): Make the path string
7483 non-const to support deallocation.
7484 * posix/spawn_faction_addopen.c
7485 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7486 * posix/spawn_faction_destroy.c
7487 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7488 path in all spawn_do_open actions.
7489 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7490 posix_spawn_file_actions_addopen.
7491
c3a2ebe1
CM
74922014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7493
7494 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7495 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7496 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7497 conditional code always true.
7498 (__libc_vfork): New alias.
7499
9503784a
RM
75002014-06-11 Roland McGrath <roland@hack.frob.com>
7501
c9cab3d2
RM
7502 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7503 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7504
d3996c79
RM
7505 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7506
ba5ec611
RM
7507 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7508 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7509
f12b4814
RM
7510 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7511 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7512
9503784a
RM
7513 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7514 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7515
e23d3d26
VR
75162014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7517
7518 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7519 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7520 multiarch strcmp for PPC64.
7521 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7524 multiarch optimizations.
7525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7526 (__libc_ifunc_impl_list): Likewise.
7527
42b1161e
SP
75282014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7529
7530 * benchtests/scripts/validate_benchout.py: New script.
7531 * benchtests/Makefile (bench-func): Call it.
7532 * benchtests/scripts/benchout.schema.json: New file.
7533
2d0fc4dc
CM
75342014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7535
4a594c34
AZ
7536 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7537 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7538 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7539 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7540 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7541 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7542 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7543 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7544 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7545 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7546 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7547 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7548 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7549 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7550 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7551 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7553 Moved ...
4a594c34 7554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7555 ... here.
4a594c34 7556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7557 Moved ...
4a594c34
AZ
7558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7560 Moved ...
4a594c34 7561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7562 ... here.
4a594c34 7563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7564 Moved ...
4a594c34 7565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7566 ... here.
4a594c34 7567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7568 Moved ...
4a594c34
AZ
7569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7571 Moved ...
4a594c34 7572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7573 ... here.
4a594c34 7574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7575 Moved ...
4a594c34 7576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7577 ... here.
4a594c34 7578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7579 Moved ...
4a594c34
AZ
7580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7582 Moved ...
4a594c34 7583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7584 ... here.
4a594c34 7585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7586 Moved ...
4a594c34 7587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7588 ... here.
4a594c34 7589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7590 Moved ...
4a594c34 7591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7592 ... here.
4a594c34 7593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7594 Moved ...
4a594c34
AZ
7595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7597 Moved ...
4a594c34 7598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7599 ... here.
4a594c34 7600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7601 Moved ...
4a594c34 7602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7603 ... here.
4a594c34 7604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7605 Moved ...
4a594c34 7606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7607 ... here.
4a594c34 7608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7609 Moved ...
4a594c34
AZ
7610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7612 Moved ...
4a594c34 7613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7614 ... here.
4a594c34 7615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7616 Moved ...
4a594c34 7617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7618 ... here.
4a594c34 7619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7620 Moved ...
4a594c34
AZ
7621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7623 Moved ...
4a594c34 7624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7625 ... here.
4a594c34 7626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7627 Moved ...
4a594c34
AZ
7628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7630 Moved ...
4a594c34
AZ
7631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7633 Moved ...
4a594c34 7634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7635 ... here.
4a594c34 7636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7637 Moved ...
4a594c34 7638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7639 ... here.
4a594c34 7640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7641 Moved ...
4a594c34 7642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7643 ... here.
4a594c34 7644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7645 Moved ...
4a594c34
AZ
7646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7648 Moved ...
4a594c34 7649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7650 ... here.
4a594c34 7651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7652 Moved ...
4a594c34 7653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7654 ... here.
4a594c34
AZ
7655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7656 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7658 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7660 Moved ...
4a594c34 7661 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7662 ... here.
4a594c34
AZ
7663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7664 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7666 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7667 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7668 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7670 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7671 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7672 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7674 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7676 Moved ...
4a594c34
AZ
7677 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7679 Moved ...
4a594c34
AZ
7680 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7682 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7684 Moved ...
4a594c34
AZ
7685 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7687 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7688 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7689 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7690 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7691 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7692
0570cfed
W
76932014-06-10 Wilco <wdijkstr@arm.com>
7694
7695 * math/test-fenv-return.c: New file.
7696 * math/Makefile: Add new test test-fenv-return.
7697
f8ba1b56
JM
76982014-06-10 Joseph Myers <joseph@codesourcery.com>
7699
7700 [BZ #17042]
7701 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7702 when x - 1 is zero.
7703 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7704 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7705 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7706 0.0L for an argument of 1.0L.
7707 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7708 Likewise.
7709 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7710 value when x - 1 is zero.
7711 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7712 * sysdeps/i386/fpu/libm-test-ulps: Update.
7713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7714
2c3520d9
BO
77152014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7716
7717 [BZ #15119]
7718 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7719
acaa4d24
RM
77202014-06-09 Roland McGrath <roland@hack.frob.com>
7721
7722 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7723 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7724
962b744d
RM
77252014-06-09 Roland McGrath <roland@hack.frob.com>
7726
d752f0cc
RM
7727 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7728 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7729
34eda6d1
RM
7730 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7731 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7732
50f0a637
RM
7733 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7734 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7735
08f41f04
RM
7736 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7737 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7738
962b744d
RM
7739 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7740 if not already defined.
7741 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7742 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7743 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7744 (TLS_INIT_TP): Use it.
7745 (TLS_DEFINE_INIT_TP): New macro.
7746 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7747
09f19b05
JM
77482014-06-09 Joseph Myers <joseph@codesourcery.com>
7749
7750 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7751 constant.
7752 [POSIX] (IXANY): Likewise.
7753 [POSIX] (OLCUC): Likewise.
7754 [POSIX || POSIX2008] (CBAUD): Do not allow.
7755 [POSIX || POSIX2008] (DEFECHO): Likewise.
7756 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7757 [POSIX || POSIX2008] (ECHOKE): Likewise.
7758 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7759 [POSIX || POSIX2008] (EXTA): Likewise.
7760 [POSIX || POSIX2008] (EXTB): Likewise.
7761 [POSIX || POSIX2008] (FLUSHO): Likewise.
7762 [POSIX || POSIX2008] (LOBLK): Likewise.
7763 [POSIX || POSIX2008] (PENDIN): Likewise.
7764 [POSIX || POSIX2008] (SWTCH): Likewise.
7765 [POSIX || POSIX2008] (VDISCARD): Likewise.
7766 [POSIX || POSIX2008] (VDSUSP): Likewise.
7767 [POSIX || POSIX2008] (VLNEXT): Likewise.
7768 [POSIX || POSIX2008] (VREPRINT): Likewise.
7769 [POSIX || POSIX2008] (VSTATUS): Likewise.
7770 [POSIX || POSIX2008] (VWERASE): Likewise.
7771 (B*): Change to B[0123456789]*.
7772 * conform/data/time.h-data [POSIX || UNIX98]
7773 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7774 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7775 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7776 [POSIX] (tm_*): Do not allow.
7777
686554bf
JM
77782014-06-07 Joseph Myers <joseph@codesourcery.com>
7779
7780 * Makefile (install): Don't set LANGUAGE.
7781 * Makefile.in (install): Likewise.
7782 * assert/Makefile (test-assert-ENV): Remove variable.
7783 (test-assert-perr-ENV): Likewise.
7784 * elf/Makefile (neededtest4-ENV): Likewise.
7785 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7786 [$(cross-compiling) = no]: Don't set LANGUAGE.
7787 * io/ftwtest-sh (LANG): Remove variable.
7788 * libio/Makefile (tst-widetext-ENV): Likewise.
7789 * manual/install.texi (Running make install): Don't refer to
7790 environment settings for make install.
7791 * INSTALL: Regenerated.
7792 * nptl/tst-tls6.sh: Don't set LANG.
7793 * posix/globtest.sh (LANG): Remove variable.
7794 * string/Makefile (tester-ENV): Likewise.
7795 (inl-tester-ENV): Likewise.
7796 (noinl-tester-ENV): Likewise.
7797 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7798 [$(cross-compiling) = no]: Don't set LANGUAGE.
7799 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7800 without explicit environment settings.
7801
68e6b6b1
RM
78022014-06-06 Roland McGrath <roland@hack.frob.com>
7803
7804 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7805 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7807 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7808
4d3ae034
CM
78092014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7810
7811 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7812 other files in the crypt directory.
7813 * crypt/crypt.c: Remove duplicate includes.
7814 * crypt/crypt-entry.c: Likewise.
7815 * crypt/crypt_util.c: Likewise.
7816
8540f6d2
JM
78172014-06-06 Joseph Myers <joseph@codesourcery.com>
7818
7819 * Makeconfig (run-program-env): New variable.
7820 (run-program-prefix-before-env): Likewise.
7821 (run-program-prefix-after-env): Likewise.
7822 (run-program-prefix): Define in terms of new variables.
7823 (built-program-cmd-before-env): New variable.
7824 (built-program-cmd-after-env): Likewise.
7825 (built-program-cmd): Define in terms of new variables.
7826 (test-program-prefix-before-env): New variable.
7827 (test-program-prefix-after-env): Likewise.
7828 (test-program-prefix): Define in terms of new variables.
7829 (test-program-cmd-before-env): New variable.
7830 (test-program-cmd-after-env): Likewise.
7831 (test-program-cmd): Define in terms of new variables.
7832 * Rules (make-test-out): Use $(run-program-env).
7833 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7834 (help): Do not mention environment variables. Mention
7835 --timeoutfactor option.
7836 (timeoutfactor): New variable.
7837 (blacklist_exports): Remove function.
7838 (exports): Remove variable.
7839 (command): Do not include ${exports}.
7840 * manual/install.texi (Configuring and compiling): Do not mention
7841 test wrappers preserving environment variables. Mention that last
7842 assignment to a variable must take precedence.
7843 * INSTALL: Regenerated.
7844 * benchtests/Makefile (run-bench): Use $(run-program-env).
7845 * catgets/Makefile ($(objpfx)test1.cat): Use
7846 $(built-program-cmd-before-env), $(run-program-env) and
7847 $(built-program-cmd-after-env).
7848 ($(objpfx)test2.cat): Do not specify environment variables
7849 explicitly.
7850 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7851 $(run-program-env) and $(built-program-cmd-after-env).
7852 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7853 $(run-program-env) and $(test-program-cmd-after-env).
7854 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7855 explicitly.
7856 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7857 run_program_env and test_program_cmd_after_env arguments.
7858 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7859 * elf/tst-pathopt.sh: Use run_program_env argument.
7860 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7861 $(test-wrapper-env) and $(run-program-env).
7862 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7863 run_program_env arguments.
7864 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7865 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7866 $(test-program-prefix-before-env), $(run-program-env) and
7867 $(test-program-prefix-after-env).
7868 ($(objpfx)tst-gettext2.out): Likewise.
7869 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7870 run_program_env and test_program_prefix_after_env arguments.
7871 * intl/tst-gettext2.sh: Likewise.
7872 * intl/tst-gettext4.sh: Do not set environment variables
7873 explicitly.
7874 * intl/tst-gettext6.sh: Likewise.
7875 * intl/tst-translit.sh: Likewise.
7876 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7877 $(test-program-prefix-before-env), $(run-program-env) and
7878 $(test-program-prefix-after-env).
7879 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7880 run_program_env and test_program_prefix_after_env arguments.
7881 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7882 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7883 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7884 explicitly with each use of ${test_wrapper_env}.
7885 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7886 $(test-program-prefix-before-env), $(run-program-env) and
7887 $(test-program-prefix-after-env).
7888 * posix/tst-getconf.sh: Do not set environment variables
7889 explicitly.
7890 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7891 run_program_env and test_program_prefix_after_env arguments.
7892 * stdio-common/tst-printf.sh: Do not set environment variables
7893 explicitly.
7894 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7895 $(test-program-prefix-before-env), $(run-program-env) and
7896 $(test-program-prefix-after-env).
7897 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7898 run_program_env and test_program_prefix_after_env arguments.
7899 Split $test calls into $test_pre and $test.
7900 * timezone/Makefile (build-testdata): Use
7901 $(built-program-cmd-before-env), $(run-program-env) and
7902 $(built-program-cmd-after-env).
7903
ed36bfa1
AZ
79042014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7905
7906 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7907 strlen for non SHARED builds.
7908
fc75bf46
SP
79092014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7910
7911 * nptl/allocatestack.c (check_list): Inlined function...
7912 (__reclaim_stacks): ... here.
7913
d89b3d80
OB
79142014-06-05 Ondřej Bílka <neleai@seznam.cz>
7915
7916 [BZ #15698]
7917 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7918 memory overrun.
7919
2bf18041
JM
79202014-06-05 Joseph Myers <joseph@codesourcery.com>
7921
7922 * Rules (make-test-out): Include
7923 LOCPATH=$(common-objpfx)localedata in default environment.
7924 * debug/Makefile (tst-chk1-ENV): Remove variable.
7925 (tst-chk2-ENV): Likewise.
7926 (tst-chk3-ENV): Likewise.
7927 (tst-chk4-ENV): Likewise.
7928 (tst-chk5-ENV): Likewise.
7929 (tst-chk6-ENV): Likewise.
7930 (tst-lfschk1-ENV): Likewise.
7931 (tst-lfschk2-ENV): Likewise.
7932 (tst-lfschk3-ENV): Likewise.
7933 (tst-lfschk4-ENV): Likewise.
7934 (tst-lfschk5-ENV): Likewise.
7935 (tst-lfschk6-ENV): Likewise.
7936 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7937 (tst-iconv7-ENV): Likewise.
7938 * intl/Makefile (LOCPATH-ENV): Likewise.
7939 (tst-codeset-ENV): Likewise.
7940 (tst-gettext3-ENV): Likewise.
7941 (tst-gettext5-ENV): Likewise.
7942 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7943 (tst-fopenloc-ENV): Likewise.
7944 (tst-fgetws-ENV): Remove variable.
7945 (tst-ungetwc1-ENV): Likewise.
7946 (tst-ungetwc2-ENV): Likewise.
7947 (bug-ungetwc2-ENV): Likewise.
7948 (tst-swscanf-ENV): Likewise.
7949 (bug-ftell-ENV): Likewise.
7950 (tst-fgetwc-ENV): Likewise.
7951 (tst-fseek-ENV): Likewise.
7952 (tst-ftell-partial-wide-ENV): Likewise.
7953 (tst-ftell-active-handler-ENV): Likewise.
7954 (tst-ftell-append-ENV): Likewise.
7955 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7956 (tst-regexloc-ENV): Likewise.
7957 (bug-regex1-ENV): Likewise.
7958 (tst-regex-ENV): Likewise.
7959 (tst-regex2-ENV): Likewise.
7960 (bug-regex5-ENV): Likewise.
7961 (bug-regex6-ENV): Likewise.
7962 (bug-regex17-ENV): Likewise.
7963 (bug-regex18-ENV): Likewise.
7964 (bug-regex19-ENV): Likewise.
7965 (bug-regex20-ENV): Likewise.
7966 (bug-regex22-ENV): Likewise.
7967 (bug-regex23-ENV): Likewise.
7968 (bug-regex25-ENV): Likewise.
7969 (bug-regex26-ENV): Likewise.
7970 (bug-regex30-ENV): Likewise.
7971 (bug-regex32-ENV): Likewise.
7972 (bug-regex33-ENV): Likewise.
7973 (bug-regex34-ENV): Likewise.
7974 (bug-regex35-ENV): Likewise.
7975 (tst-rxspencer-ENV): Likewise.
7976 (tst-rxspencer-no-utf8-ENV): Likewise.
7977 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7978 (tst-sscanf-ENV): Likewise.
7979 (tst-swprintf-ENV): Likewise.
7980 (tst-swscanf-ENV): Likewise.
7981 (test-vfprintf-ENV): Likewise.
7982 (scanf13-ENV): Likewise.
7983 (bug14-ENV): Likewise.
7984 (tst-grouping-ENV): Likewise.
7985 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7986 (tst-strtod3-ENV): Likewise.
7987 (tst-strtod4-ENV): Likewise.
7988 (tst-strtod5-ENV): Likewise.
7989 (testmb2-ENV): Likewise./
7990 * string/Makefile (tst-strxfrm-ENV): Likewise.
7991 (tst-strxfrm2-ENV): Likewise.
7992 (bug-strcoll1-ENV): Likewise.
7993 (test-strcasecmp-ENV): Likewise.
7994 (test-strncasecmp-ENV): Likewise.
7995 * time/Makefile (tst-strptime-ENV): Likewise.
7996 (tst-ftime_l-ENV): Likewise.
7997 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7998 (tst-mbrtowc-ENV): Likewise.
7999 (tst-wcrtomb-ENV): Likewise.
8000 (tst-mbrtowc2-ENV): Likewise.
8001 (tst-c16c32-1-ENV): Likewise.
8002 (tst-mbsnrtowcs-ENV): Likewise.
8003
cd1fb604
OB
80042014-06-05 Ondřej Bílka <neleai@seznam.cz>
8005
8006 * manual/resource.texi (How to get information about the memory
8007 subsystem?): Fix typo.
8008 Reported by Peon de la Parra Ivan <peon@keba.com>
8009
b42eca7d
GY
80102014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8011
8012 [BZ #16882]
8013 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8014 (pthread_spin_lock): Branch out of spin loop to proper location.
8015 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8016 (pthread_spin_lock): Likewise.
8017
902b71f9
DM
8018 * nptl/tst-spin4.c: New test.
8019 * nptl/Makefile (tests): Add tst-spin4.
8020
f9d2d032
AS
80212014-06-03 Andreas Schwab <schwab@suse.de>
8022
8023 [BZ #15946]
8024 * resolv/res_send.c (send_dg): Reload file descriptor after
8025 calling reopen.
8026
cf7bfd28
SL
80272014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8028
8029 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8030
111cc714
RH
80312014-06-03 Richard Henderson <rth@redhat.com>
8032
89b4bd6b
RH
8033 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8034 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8035 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8036 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8037 in the SAVE_PID block.
8038 (__libc_vfork): New alias.
71840409 8039 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8040
111cc714
RH
8041 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8042 child in registers, not on the stack. Remove RESET_PID conditionals.
8043 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8044
ccc39911
MS
80452014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8046
8047 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8048
693096cc
W
80492014-06-03 Wilco <wdijkstr@arm.com>
8050
8051 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8052 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8053 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8054 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8055 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8056 Likewise.
8057
0b4366bc
W
80582014-06-03 Wilco <wdijkstr@arm.com>
8059
8060 * sysdeps/aarch64/fpu/math_private.h
8061 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8062 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8063 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8064 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8065 Fix declarations.
8066
8747cd03
KS
80672014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8068
8069 * crypt/crypt-private.h: Include ufc-crypt.h.
8070 (__b64_from_24bit): Declare extern.
8071 * crypt/crypt_util.c(__b64_from_24bit): New function.
8072 (b64t): New static const variable.
8073 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8074 (b64t): Remove variable.
8075 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8076 * crypt/sha256-crypt.c: Include crypt-private.h.
8077 (b64t): Remove variable.
8078 (__sha256_crypt_r): Remove b64_from_24bit and replace
8079 with __b64_from_24bit.
8080 * crypt/sha512-crypt.c: Likewise.
8081
d936d379
RM
80822014-06-02 Roland McGrath <roland@hack.frob.com>
8083
8084 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8085 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8086 Label the code __libc_vfork rather than __vfork.
8087 [!NOT_IN_libc] (vfork): Define as weak alias.
8088 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8089 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8090 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8091
9fa76613
SP
80922014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8093
8094 * malloc/malloc.c (malloc_info): Fix format specifier for
8095 n_mmaps.
8096
a88dadbe
W
80972014-06-02 Wilco <wdijkstr@arm.com>
8098
8099 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8100 FPCR write.
8101
c95b3011
W
81022014-06-02 Wilco <wdijkstr@arm.com>
8103
8104 [BZ #17009]
8105 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8106 Rewrite to reduce FPCR/FPSR accesses.
8107
6b4d7a90
DM
81082014-06-01 David S. Miller <davem@davemloft.net>
8109
8110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8111
30f3d07c
DM
81122014-05-31 David S. Miller <davem@davemloft.net>
8113
8114 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8115 to occur in round to nearest mode when |x| >= 2.0
8116
74f31c18
RH
81172014-05-30 Richard Henderson <rth@twiddle.net>
8118
f0712b54
RH
8119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8120 (PSEUDO_RET_NOERRNO): Remove.
8121 (ret): Don't redefine.
8122 (ret_NOERRNO): Define in terms of ret.
8123 (ret_ERRVAL): Likewise.
8124
74f31c18
RH
8125 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8126 use of PSEUDO_RET; perform the error check directly.
8127
30477995
MM
81282014-05-30 Marko Myllynen <myllynen@redhat.com>
8129
8130 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8131 with __int128_t.
8132
62a58816
SP
81332014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8134
8135 * malloc/malloc (malloc_info): Fix formatting.
8136
4d653a59
SP
81372014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8138 Roland McGrath <roland@hack.frob.com>
8139
8140 * malloc/malloc (malloc_info): Also print mmapped statistics.
8141
5190c17f
RM
81422014-05-30 Roland McGrath <roland@hack.frob.com>
8143
8144 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8145 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8146
987c0269
OB
81472014-05-30 Ondřej Bílka <neleai@seznam.cz>
8148
8149 * malloc/malloc.c (malloc_info): Inline mi_arena.
8150
af4e8ef9
RH
81512014-05-29 Richard Henderson <rth@twiddle.net>
8152
1670e207
RH
8153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8154 Remove comma before expanding ASM_ARGS_##nr.
8155 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8156 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8157 of ASM_ARGS_##nr.
8158 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8159 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8160 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8161 (ASM_ARGS_1): Add leading comma.
8162
11a28aee
RH
8163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8164 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8165 to __errno_location.
8166 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8167 Remove the expected plt for __errno_location.
8168
a17e5ffb 8169 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8170 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8171 call to __read_tp.
8172
b5be4597
RH
8173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8174 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8175 it and break it down.
8176 (DOCARGS_0, DOCARGS_1): Do nothing.
8177 (DOCARGS_2): Update to store into the new stack frame.
8178 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8179 (UNDOCARGS_1): Update to restore from the new stack frame.
8180 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8181 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8182
645d44ab
RH
8183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8184 (SINGLE_THREAD_P): New parameter for result regno.
8185 (PSEUDO): Update to match; use cbz instead of beq.
8186
a8b4f04a
RH
8187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8188 Use ENTRY to define the _nocancel entry point. Share the syscall
8189 and syscall error check paths with the cancel path.
8190 (PSEUDO_END): New.
8191
af4e8ef9
RH
8192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8193 whitespace; tabs before and after asm mnemonics.
8194
26b0d2e1
EW
81952014-05-29 Eric Wong <normalperson@yhbt.net>
8196
8197 [BZ #15132]
8198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8199 Call fstat64 or stat64 internally, depending on arguments passed.
8200 Replace stat buffer argument with file descriptor argument.
8201 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8202 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8203 Pass fd to __internal_statvfs instead of calling fstat64.
8204 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8205 Pass fd to __internal_statvfs64 instead of calling fstat64.
8206 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8207 Pass -1 to __internal_statvfs instead of calling stat64.
8208 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8209 Pass -1 to __internal_statvfs64 instead of calling stat64.
8210
1efe2bd9
RM
82112014-05-28 Roland McGrath <roland@hack.frob.com>
8212
0d3b7a19
RM
8213 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8214 that was previously under [RESET_PID].
8215 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8216
1efe2bd9
RM
8217 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8218 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8219
a6bea3ca
RM
82202014-05-27 Roland McGrath <roland@hack.frob.com>
8221
30b6629e
RM
8222 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8223
a6bea3ca
RM
8224 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8225 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8226
3dfb9a5c
OB
82272014-05-27 Ondřej Bílka <neleai@seznam.cz>
8228
8229 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8230
774f9285
AS
82312014-05-27 Andreas Schwab <schwab@suse.de>
8232
8233 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8234 TLS_INIT_TP macro.
8235 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8236 * elf/rtld.c (init_tls, dl_main): Likewise.
8237 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8238 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8239 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8240 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8241 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8242 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8243 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8244 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8245 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8246 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8247 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8248 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8249 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8250 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8251 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8252 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8253 * sysdeps/generic/tls.h: Update description.
8254
36ffe739
WN
82552014-05-27 Will Newton <will.newton@linaro.org>
8256
8257 [BZ #16990]
8258 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8259 and restore r2 rather than just restoring.
8260
2482ae43
SP
82612014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8262
8263 [BZ #16724]
8264 * libio/tst-ftell-append.c: New test case.
8265 * libio/Makefile (tests): Add test case.
8266 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8267 append mode.
8268 * libio/wfileops.c (do_ftell_wide): Likewise.
8269
3d1024e8
AZ
82702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8271
bab90016
AZ
8272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8273
c7a8d667
AZ
8274 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8275 ...
8276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8278 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8279 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8281 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8283 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8285 Moved ...
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8288 Moved ...
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8291 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8293 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8295 ...
8296 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8298 Moved ...
8299 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8300 here.
8301 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8302 ...
8303 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8304 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8305 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8306
daee7851
AZ
8307 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8308 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8310 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8311
50a40819
AZ
8312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8313 merge into ...
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8316 ...
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8319 ...
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8322 Moved ...
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8324 here.
8325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8326 Moved ...
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8329 Moved ...
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8331
8464c2a1
AZ
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8333 conditional [RESET_PID].
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8336 removed.
8337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8338 removed.
8339
3d1024e8
AZ
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8341 <tcb-offsets.h>.
8342 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8343 (__libc_vfork): New strong alias.
8344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8345 removed.
8346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8347 Removed.
8348
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8350 <tcb-offsets.h>.
8351 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8352 (__libc_vfork): New strong alias.
8353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8354 removed.
8355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8356 removed.
8357
fdfd175d
CD
83582014-05-26 Carlos O'Donell <carlos@redhat.com>
8359
8360 * malloc/malloc.c (mi_arena): New function.
8361 (malloc_info): Remove nested function mi_arena. Call non-nosted
8362 function mi_arena.
8363
d298c416
AZ
83642014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365
8366 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8367 by insrwi.
8368 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8369 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8370 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8371 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8373 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8375
b60ea6ff
AS
83762014-05-26 Andreas Schwab <schwab@suse.de>
8377
8378 [BZ #16984]
8379 * locale/programs/repertoire.c (repertoire_read): Add slash
8380 between I18NPATH element and file name.
8381 * locale/programs/locfile.c (locfile_read): Likewise.
8382
67365926
SL
83832014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8384
8385 * nptl/pthread_mutexattr_settype.c
8386 (__pthread_mutexattr_settype):
8387 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8388
f8bdf1f0
SL
83892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8390
8391 * nptl/tst-mutex5 (do_test):
8392 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8393
15eaf6ff
SP
83942014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8395
8396 * benchtests/README: Document 'init' directive.
8397 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8398 BENCH_INIT.
8399 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8400 (parse_file): Recognize 'init' directive.
8401
75f11331
KM
84022014-05-26 Kyle McMartin <kyle@redhat.com>
8403
8404 [BZ #16796]
8405 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8406 alignment of struct pthread.
8407
c3ec475c
SP
84082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 [BZ #16878]
8411 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8412 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8413 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8414 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8415
82aab97c
RH
84162014-05-25 Richard Henderson <rth@twiddle.net>
8417
aa2f176d
RH
8418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8419 (SINGLE_THREAD_P_PIC): Remove.
8420 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8421 (SINGLE_THREAD_P_PIC): Remove.
8422
ca3cfa40
RH
8423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8424 branch to syscall error ...
8425 (PSEUDO): ... here.
8426 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8427 from __local_syscall_error to .Lsyscall_error.
8428 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8429 (SYSCALL_ERROR): Update label name.
8430
6e6c2d01
RH
8431 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8432 Do not use DOARGS/UNDOARGS.
8433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8434 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8435 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8436 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8437 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8438
c69abcee
RH
8439 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8440 block comment.
8441
82aab97c
RH
8442 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8443 define if !NOT_IN_libc.
8444 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8445 define with non-default symbol versions.
8446
8820e3ac
RH
84472014-05-23 Richard Henderson <rth@twiddle.net>
8448
900e445f
RH
8449 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8450 (vfork, __vfork): Define via compat_symbol.
8451
8820e3ac
RH
8452 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8453 [!HAVE_IFUNC] (vfork_compat): Remove.
8454 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8455
e59252a5
JM
84562014-05-23 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #16978]
8459 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8460 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8461 variable.
8462
132c7f5f
RH
84632014-05-23 Richard Henderson <rth@twiddle.net>
8464
bc89e962
RH
8465 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8466 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8467 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8468 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8469
8470 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8471 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8472 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8473 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8474 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8475 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8476 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8477 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8478 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8479 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8480 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8481 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8482 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8483 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8485 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8499 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8500 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8501 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8509 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8510 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8511 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8512 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8513 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8515 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8517 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8518 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8519 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8520 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8521 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8522 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8523 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8524 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8525 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8526
e2fa4bc2
RH
8527 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8528 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8529 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8530 before exiting on error.
8531 (__libc_vfork): New strong alias.
8532 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8533 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8534
279b24e2
RH
8535 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8536 that was previously under [RESET_PID].
8537 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8538
132c7f5f
RH
8539 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8540
b72592e7
JM
85412014-05-23 Joseph Myers <joseph@codesourcery.com>
8542
8543 [BZ #16977]
8544 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8545 value when x - 1 is zero.
8546 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8547 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8548 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8549 0.0L for an argument of 1.0L.
8550 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8551 Likewise.
8552 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8553 value when x - 1 is zero.
8554 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8555 * sysdeps/i386/fpu/libm-test-ulps: Update.
8556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8557
2302d679
RV
85582014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8559
8560 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8561 alphasort and versionsort.
8562
32999d63
AZ
85632014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564
8565 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8566 macro.
8567 [copysignf]: Likewise.
8568
019324d0
SP
85692014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8570
8571 * crypt/md5-crypt.c: Fix formatting.
8572
34fff5c2
KS
85732014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8574
8575 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8576 (b64_from_24bit): New function.
8577
3d2badac
AZ
85782014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579
8580 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8581 libc_hidden_builtin_def to ifunc.
8582 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8583 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8584
f7bb179f 85852014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8586
8587 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8588 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8589
4134b50d
JM
85902014-05-21 Joseph Myers <joseph@codesourcery.com>
8591
bb7d0337
JM
8592 * nscd/Depend (linuxthreads): Remove.
8593 (nptl): Add.
8594 * resolv/Depend (linuxthreads): Remove.
8595 * rt/Depend (linuxthreads): Remove.
8596
4134b50d
JM
8597 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8598 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8599 $(common-objpfx)elf/.
8600 (link-libc-before-gnulib): Likewise.
8601 (elfobjdir): Remove variable.
8602 * Makefile (install): Use $(elf-objpfx) instead of
8603 $(common-objpfx)elf/.
8604 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8605 $(elfobjdir)/.
8606 (link-libc-deps): Likewise.
8607 ($(common-objpfx)libc.so): Likewise.
8608 ($(common-objpfx)linkobj/libc.so): Likewise.
8609 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8610 instead of $(common-objpfx)elf/.
8611 (symbolic-link-list): Likewise.
8612 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8613 [$(cross-compiling) = no]: Likewise.
8614 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8615 $(elfobjdir)/.
8616 (static-gnulib-arch): Likewise.
8617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8618 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8619 $(common-objpfx)elf/.
8620
3612eb8f
RH
86212014-05-21 Richard Henderson <rth@redhat.com>
8622
a6b3657b
RH
8623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8624 (SINGLE_THREAD_P): Use the correct width load. Fold
8625 into the ldr offset.
8626
3612eb8f
RH
8627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8628 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8629
175cef41
JM
86302014-05-20 Joseph Myers <joseph@codesourcery.com>
8631
8632 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8633 (libgcc_s_resume): Use __attribute_used__.
8634 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8635 Likewise.
8636
e13bccd3
AZ
86372014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8638
8639 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8640 optimization when used with float constants.
8641
7c112a38
AZ
8642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8643
ae75a883
AJ
86442014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8645
8646 [BZ #16915]
8647 * locale/nl_langinfo_l.c: Make direct reference to every
8648 _nl_current_CATEGORY symbol.
8649 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8650 (tests-static): Add tst-langinfo-static.
8651 (tests-special): Add tst-langinfo-static.out.
8652 ($(objpfx)tst-langinfo.out): Redirect output.
8653 ($(objpfx)tst-langinfo-static.out): New.
8654 * localedata/tst-langinfo.sh: Send output to stdout.
8655 * localedata/tst-langinfo-static.c: New file.
8656
4406c41c
AJ
8657 [BZ #16965]
8658 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8659 when the shift amount is modulo the limb size.
8660
4c0a1e63
RH
86612014-05-20 Richard Henderson <rth@redhat.com>
8662
de9d8f20
RH
8663 [BZ #16967]
8664 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8665 Change type of sa_flags from unsigned int to int.
8666
4c0a1e63
RH
8667 [BZ #16966]
8668 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8669
8670 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8671
a60339aa
WN
86722014-05-20 Will Newton <will.newton@linaro.org>
8673
8674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8675 Test the return value of the system call in the nocancel case.
8676
7d05a816
YR
86772014-05-20 Will Newton <will.newton@linaro.org>
8678 Yvan Roux <yvan.roux@linaro.org>
8679
8680 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8681 #include of asm/ptrace.h.
8682 (PTRACE_GET_THREAD_AREA): Remove #undef.
8683 (PTRACE_GETHBPREGS): Likewise.
8684 (PTRACE_SETHBPREGS): Likewise.
8685 (struct user_regs_struct): New structure.
8686 (struct user_fpsimd_struct): New structure.
8687 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8688 #include of asm/ptrace.h and second #include of sys/user.h.
8689 (PTRACE_GET_THREAD_AREA): Remove #undef.
8690 (PTRACE_GETHBPREGS): Likewise.
8691 (PTRACE_SETHBPREGS): Likewise.
8692 (ELF_NGREG): Use new struct user_regs_struct.
8693 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8694
af121e37
AZ
86952014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8696
8697 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8698 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8699
834caf06
JM
87002014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8701
8702 [BZ #16958]
8703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8704 membar to avoid block loads/stores to overlap previous stores.
8705
e184a918
RH
87062014-05-17 Richard Henderson <rth@redhat.com>
8707
8708 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8709 Create the __##syscall_name##_nocancel entry point.
8710 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8711 Remove; let the sysdep-cancel.h code create it.
8712
f56c7a6a
DM
87132014-05-17 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8716 Protect with __USE_GNU.
8717 (TIOCSET_TEMPT): Likewise.
8718 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8719 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8720 these are already provided in bits/ioctl-types.h
8721
f75616b2
RM
87222014-05-16 Roland McGrath <roland@hack.frob.com>
8723
3edeca86
RM
8724 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8725 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8726
f75616b2
RM
8727 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8728 Use wait4 regardless of [__NR_waitpid].
8729
deb0f7f6
MR
87302014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8731
8732 PR libgcc/60166
8733 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8734 (_FP_NANSIGN_Q): Set the quiet bit.
8735
79520f4b
JM
87362014-05-16 Joseph Myers <joseph@codesourcery.com>
8737
8738 * benchtests/Makefile
8739 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8740 not $(common-objpfx)math/libm.so.
8741 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8742 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8743 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8744 $(common-objpfx)dlfcn/libdl.so.
8745 ($(objpfx)tst-audit8): Depend on $(libm), not
8746 $(common-objpfx)math/libm.so.
8747 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8748 not $(common-objpfx)dlfcn/libdl.so.
8749 * math/Makefile
8750 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8751 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8752 [$(build-shared) = yes].
8753 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8754 $(common-objpfx)nptl/libpthread.so.
8755 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8756 $(common-objpfx)math/libm.so$(libm.so-version) or
8757 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8758 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8759 $(common-objpfx)dlfcn/libdl.so.
8760 * setjmp/Makefile (link-libm): Remove variable.
8761 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8762 * stdio-common/Makefile (link-libm): Remove variable.
8763 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8764 * stdlib/Makefile (link-libm): Remove variable.
8765 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8766 ($(objpfx)tst-strtod-round): Likewise.
8767 ($(objpfx)tst-tininess): Likewise.
8768 ($(objpfx)tst-strtod-underflow): Likewise.
8769 ($(objpfx)tst-strtod6): Likewise.
8770 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8771 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8772 $(common-objpfx)dlfcn/libdl.so.
8773
026b0fe4
AZ
87742014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8775
8776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8777 BSD terminal modes definitions.
8778
def4bcb2
RM
87792014-05-16 Roland McGrath <roland@hack.frob.com>
8780
fe39b021
RM
8781 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8782 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8783
1d1fc46e 8784 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8785 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8786 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8787 Don't do #include_next.
8788 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8789 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8790 Don't do #include_next.
8791 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8792 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8793 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8794 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8795
c72399fb
AM
87962014-05-16 Allan McRae <allan@archlinux.org>
8797
d51d659d
AM
8798 * po/sv.po: Update Swedish translation from translation project.
8799
c72399fb
AM
8800 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8801 in sed expression.
8802
d0583c40
AJ
88032014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8804
8805 [BZ #16917]
8806 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8807 errno if the TIOCGPTN ioctl fails with an error different than
8808 EINVAL.
8809 * login/tst-ptsname.c: New file.
8810 * login/Makefile (tests): Add tst-ptsname.
8811
d16e6ec7
AJ
8812 [BZ #16943]
8813 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8814 and prlimit64.
8815
cf26a0cb
SP
88162014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 [BZ #16849]
8819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8820 herrno to return EAI_AGAIN.
8821
5675da1e
RM
88222014-05-14 Roland McGrath <roland@hack.frob.com>
8823
a5d87b3d
RM
8824 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8825 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8827 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8853 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8855 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8859 Moved ...
8860 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8862 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8864 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8866 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8868 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8872 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8874 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8876 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8878 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8884 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8888 Moved ...
8889 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8891 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8893 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8895 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8897 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8899 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8901 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8903 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8905 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8907 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8909 Moved ...
8910 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8913
039890a6
RM
8914 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8915 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8916 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8917 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8918 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8919 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8920 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8922 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8924 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8925 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8926 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8927 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8928 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8929 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8930 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8931 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8932 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8933 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8934 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8936 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8937 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8938 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8940 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8941 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8942 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8943 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8944 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8945
65c89320
RM
8946 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8947 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8948
348f8e8c
RM
8949 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8950 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8951 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8952 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8953 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8955 Moved ...
8956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8958 Moved ...
8959 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8961 Moved ...
8962 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8964 Moved ...
8965 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8966 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8967 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8969 Moved ...
8970 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8971 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8972 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8974 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8975 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8976 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8977 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8978 Moved ...
8979 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8981 Moved ...
8982 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8983 ... here.
8984 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8985 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8987 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8989 Moved ...
8990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8991 ... here.
8992 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8993 Moved ...
8994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8995 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8996 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8997 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8998 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9000 Moved ...
9001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9003 Moved ...
9004 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9006 Moved ...
9007 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9011 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9012 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9014 Moved ...
9015 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9017 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9019 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9021 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9023 Moved ...
9024 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9025 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9026 Moved ...
9027 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9028 ... here.
9029 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9030 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9031 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9032 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9034 Moved ...
9035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9036 ... here.
9037 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9038 Moved ...
9039 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9041 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9043 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9045 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9047 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9052 Moved ...
9053 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9055 Moved ...
9056 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9058 Moved ...
9059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9061 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9062 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9063 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9065 Moved ...
9066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9067 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9068 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9070 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9071 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9072 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9074 Moved ...
9075 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9077 Moved ...
9078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9079 ... here.
9080 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9081 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9082 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9083 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9085 Moved ...
9086 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9087 ... here.
9088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9089 Moved ...
9090 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9092 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9093 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9094 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9095 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9096 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9097 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9098 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9099 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9100 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9101
5085af05
RM
9102 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9103 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9104
708f0813
RM
9105 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9106 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9107
c96067bc
RM
9108 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9109 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9110 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9111 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9112 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9113 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9114 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9115 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9116 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9117 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9119 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9121 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9122 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9124 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9126 Moved ...
9127 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9131 Moved ...
9132 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9134 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9136 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9140 Moved ...
9141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9143 Moved ...
9144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9150 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9151 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9152 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9153 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9154 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9155 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9156 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9157 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9158 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9159 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9160 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9161
ec136444
RM
9162 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9163 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9164 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9165 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9166 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9167
2fbdf533
RM
9168 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9169 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9170 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9171 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9172 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9173 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9174 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9175 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9176 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9177 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9178
4c68138b
RM
9179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9181
4eaae765
RM
9182 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9183 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9184 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9185 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9187 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9188 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9189 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9190 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9191 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9192 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9193 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9194 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9195 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9197 Update #include.
9198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9199 Likewise.
9200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9201 Likewise.
9202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9203 Likewise.
9204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9205 Likewise.
9206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9207 Likewise.
9208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9209 Likewise.
9210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9211 Likewise.
9212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9213 Likewise.
9214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9215 Likewise.
4ef6befa
RM
9216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9218 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9221 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9223 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9225 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9231
941d7dfd
RM
9232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9233 that was previously under [RESET_PID].
9234 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9235 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9236 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9237
1b731c35
RM
9238 * sysdeps/i386/nptl/Implies: New file.
9239 * sysdeps/x86_64/nptl/Implies: New file.
9240 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9241 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9243 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9244
e2787137
RM
9245 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9246 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9247 (__libc_vfork): New strong alias.
9248 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9249 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9250
9251 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9252 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9253 (__libc_vfork): New strong alias.
9254 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9255 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9256
5675da1e
RM
9257 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9258 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9259 (__libc_vfork): New strong alias.
9260 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9261 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9262 * nptl/pt-vfork.c: New file.
9263 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9264 (libpthread: GLIBC_2.20): New version set (empty).
9265
4f02e2b8
WN
92662014-05-14 Will Newton <will.newton@linaro.org>
9267
9268 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9269 rather than #if.
9270
0bf061d3
JM
92712014-05-14 Joseph Myers <joseph@codesourcery.com>
9272
1a84c3d6
JM
9273 [BZ #16564]
9274 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9275 arguments with exponent 65 or above.
9276 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9277 arguments 0x1p113L or above.
9278 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9279 to arguments 0x1p107L or above.
9280 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9281 positive arguments with exponent 65 or above.
9282 * math/auto-libm-test-in: Add more tests of log1p.
9283 * math/auto-libm-test-out: Regenerated.
9284
01dbacd2
JM
9285 [BZ #16928]
9286 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9287 non-finite arguments is +0.
9288 * math/s_cacosf.c (__cacosf): Likewise.
9289 * math/s_cacosl.c (__cacosl): Likewise.
9290 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9291 * sysdeps/i386/fpu/libm-test-ulps: Update.
9292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9293
913d03c8
JM
9294 [BZ #16927]
9295 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9296 value.
9297 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9298 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9299 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9300 for explicit high bit of mantissa when testing for argument equal
9301 to 1.
9302 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9303 * sysdeps/i386/fpu/libm-test-ulps: Update.
9304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9305
0bf061d3
JM
9306 [BZ #16516]
9307 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9308 (__erf): Scale by 16 instead of 8 in potentially underflowing
9309 case. Ensure exception if result actually underflows.
9310 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9311 (__erff): Scale by 16 instead of 8 in potentially underflowing
9312 case. Ensure exception if result actually underflows.
9313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9314 (efx8): Remove variable.
9315 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9316 case. Ensure exception if result actually underflows.
9317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9318 (efx8): Remove variable.
9319 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9320 case. Ensure exception if result actually underflows.
9321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9322 (efx8): Remove variable.
9323 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9324 case. Ensure exception if result actually underflows.
9325 * math/auto-libm-test-in: Add more tests of erf.
9326 * math/auto-libm-test-out: Regenerated.
9327
73ba67cb
AS
93282014-05-14 Andreas Schwab <schwab@suse.de>
9329
3d8c8bff
AS
9330 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9331 Remove code conditionalized on USE___THREAD.
9332
73ba67cb
AS
9333 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9334 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9335 not definedness.
9336
5c521ecd
JM
93372014-05-14 Joseph Myers <joseph@codesourcery.com>
9338
5e7698c6
JM
9339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9340 Define unconditionally.
9341 (__ASSUME_O_CLOEXEC): Likewise.
9342 (__ASSUME_SOCK_CLOEXEC): Likewise.
9343 (__ASSUME_IN_NONBLOCK): Likewise.
9344 (__ASSUME_PIPE2): Likewise.
9345 (__ASSUME_EVENTFD2): Likewise.
9346 (__ASSUME_SIGNALFD4): Likewise.
9347 (__ASSUME_DUP3): Likewise.
9348 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9349 (__ASSUME_DUP3): Do not define.
9350 (__ASSUME_EVENTFD2): Likewise.
9351 (__ASSUME_IN_NONBLOCK): Likewise.
9352 (__ASSUME_O_CLOEXEC): Likewise.
9353 (__ASSUME_PIPE2): Likewise.
9354 (__ASSUME_SIGNALFD4): Likewise.
9355 (__ASSUME_SOCK_CLOEXEC): Likewise.
9356 (__ASSUME_UTIMES): Undefine.
9357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9358 (__ASSUME_UTIMES): Do not define.
9359 (__ASSUME_O_CLOEXEC): Likewise.
9360 (__ASSUME_SOCK_CLOEXEC): Likewise.
9361 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9362 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9363 0x020621].
9364 (__ASSUME_PIPE2): Likewise.
9365 (__ASSUME_EVENTFD2): Likewise.
9366 (__ASSUME_SIGNALFD4): Likewise.
9367 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9368 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9369 Do not define.
9370 (__ASSUME_EVENTFD2): Likewise.
9371 (__ASSUME_SIGNALFD4): Likewise.
9372 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9373 (__ASSUME_32BITUIDS): Likewise.
9374 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9375 (__ASSUME_IPC64): Likewise.
9376 (__ASSUME_ST_INO_64_BIT): Likewise.
9377 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9378 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9379 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9380 (__ASSUME_UTIMES): Do not define.
9381 (__ASSUME_PSELECT): Likewise.
9382 (__ASSUME_PPOLL): Likewise.
9383 (__ASSUME_O_CLOEXEC): Likewise.
9384 (__ASSUME_SOCK_CLOEXEC): Likewise.
9385 (__ASSUME_IN_NONBLOCK): Likewise.
9386 (__ASSUME_PIPE2): Likewise.
9387 (__ASSUME_EVENTFD2): Likewise.
9388 (__ASSUME_SIGNALFD4): Likewise.
9389 (__ASSUME_DUP3): Likewise.
9390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9391 (__ASSUME_UTIMES): Likewise.
9392 (__ASSUME_O_CLOEXEC): Likewise.
9393 (__ASSUME_SOCK_CLOEXEC): Likewise.
9394 (__ASSUME_IN_NONBLOCK): Likewise.
9395 (__ASSUME_PIPE2): Likewise.
9396 (__ASSUME_EVENTFD2): Likewise.
9397 (__ASSUME_SIGNALFD4): Likewise.
9398 (__ASSUME_DUP3): Likewise.
9399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9400 (__ASSUME_UTIMES): Likewise.
9401 (__ASSUME_O_CLOEXEC): Likewise.
9402 (__ASSUME_SOCK_CLOEXEC): Likewise.
9403 (__ASSUME_IN_NONBLOCK): Likewise.
9404 (__ASSUME_PIPE2): Likewise.
9405 (__ASSUME_EVENTFD2): Likewise.
9406 (__ASSUME_SIGNALFD4): Likewise.
9407 (__ASSUME_DUP3): Likewise.
9408 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9409 Likewise.
9410 (__ASSUME_UTIMES): Likewise.
9411 (__ASSUME_EVENTFD2): Likewise.
9412 (__ASSUME_SIGNALFD4): Likewise.
9413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9414 (__ASSUME_O_CLOEXEC): Likewise.
9415 (__ASSUME_SOCK_CLOEXEC): Likewise.
9416 (__ASSUME_IN_NONBLOCK): Likewise.
9417 (__ASSUME_PIPE2): Likewise.
9418 (__ASSUME_EVENTFD2): Likewise.
9419 (__ASSUME_SIGNALFD4): Likewise.
9420 (__ASSUME_DUP3): Likewise.
9421 (__ASSUME_UTIMES): Undefine.
9422
5c521ecd
JM
9423 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9424 feclearexcept. Remove symbol versioning code.
9425 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9426 symbol versioning code.
9427 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9428 symbol versioning code.
9429 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9430 feupdateenv. Remove symbol versioning code.
9431 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9432 fegetexceptflag. Remove symbol versioning code.
9433 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9434 fesetexceptflag. Remove symbol versioning code.
9435 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9436 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9437 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9438 (__posix_fadvise64_l32): Remove prototype.
9439 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9440 code.
9441
5da9dfad
RM
94422014-05-13 Roland McGrath <roland@hack.frob.com>
9443
9444 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9445 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9446 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9447 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9448
893b4f37
SK
94492014-05-13 Sami Kerola <kerolasa@iki.fi>
9450
9451 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9452 current working directory
9453
e0db6517
RM
94542014-05-13 Roland McGrath <roland@hack.frob.com>
9455
58aa195d
RM
9456 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9457 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9458 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9459 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9460 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9461 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9462 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9463 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9464 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9465 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9470 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9471 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9473 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9474 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9475 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9476 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9477 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9478 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9479 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9480 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9481 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9482 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9483 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9484 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9485 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9486 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9487 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9488 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9489 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9490 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9491 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9492 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9493 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9494 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9495 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9496 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9497 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9498
8c6d01f0
RM
9499 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9500 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9501
9502 * sysdeps/unix/sysv/linux/arm/Makefile
9503 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9504 Add rt-aeabi_unwind_cpp_pr1.
9505 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9506 Add nptl-aeabi_unwind_cpp_pr1.
9507 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9508 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9509 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9510 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9511 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9512 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9513
9514 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9515 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9516 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9517 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9518
bba6da4e
RM
9519 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9520 Deconditionalize the code that was previously under [RESET_PID].
9521 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9522
e0db6517
RM
9523 * sysdeps/generic/exit-thread.h: New file.
9524 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9525 * include/unistd.h (__exit_thread): Remove declaration.
9526 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9527 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9528 * csu/libc-start.c: Include <exit-thread.h>.
9529 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9530 * nptl/pthread_create.c: Include <exit-thread.h>.
9531 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9532 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9533 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9534 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9535 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9536 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9537 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9538 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9539 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9540 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9541 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9542 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9543 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9544 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9545 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9546 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9547 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9548
01eb16fd
AS
95492014-05-13 Andreas Schwab <schwab@suse.de>
9550
9551 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9552
637461d9
JM
95532014-05-12 Joseph Myers <joseph@codesourcery.com>
9554
9555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9556 (__ASSUME_UTIMES): Do not condition on kernel version.
9557 (__ASSUME_PSELECT): Define unconditionally.
9558 (__ASSUME_PPOLL): Likewise.
9559 (__ASSUME_ATFCTS): Likewise.
9560 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9561 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9562 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9563 (__ASSUME_UTIMENSAT): Define unconditionally.
9564 (__ASSUME_PRIVATE_FUTEX): Likewise.
9565 (__ASSUME_FALLOCATE): Likewise.
9566 (__ASSUME_O_CLOEXEC): Likewise.
9567 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9568 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9569 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9570 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9571 (__ASSUME_IN_NONBLOCK): Likewise.
9572 (__ASSUME_PIPE2): Likewise.
9573 (__ASSUME_EVENTFD2): Likewise.
9574 (__ASSUME_SIGNALFD4): Likewise.
9575 (__ASSUME_DUP3): Likewise.
9576 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9577 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9578 (__ASSUME_AT_RANDOM): Likewise.
9579 (__ASSUME_PREADV): Likewise.
9580 (__ASSUME_PWRITEV): Likewise.
9581 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9582 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9583 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9585 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9586 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9587 (__ASSUME_O_CLOEXEC): Define unconditionally.
9588 (__ASSUME_PSELECT): Do not undefine conditionally.
9589 (__ASSUME_PPOLL): Likewise.
9590 (__ASSUME_ATFCTS): Likewise.
9591 (__ASSUME_SET_ROBUST_LIST): Likewise.
9592 (__ASSUME_UTIMENSAT): Likewise.
9593 (__ASSUME_FDATASYNC): Define unconditionally.
9594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9595 (__ASSUME_SIGFRAME_V2): Likewise.
9596 )__ASSUME_EVENTFD2): Likewise.
9597 (__ASSUME_SIGNALFD4): Likewise.
9598 (__ASSUME_PSELECT): Do not undefine conditionally.
9599 (__ASSUME_PPOLL): Likewise.
9600 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9601 (__ASSUME_PSELECT): Define unconditionally.
9602 (__ASSUME_PPOLL): Likewise.
9603 (__ASSUME_O_CLOEXEC): Likewise.
9604 (__ASSUME_SOCK_CLOEXEC): Likewise.
9605 (__ASSUME_IN_NONBLOCK): Likewise.
9606 (__ASSUME_PIPE2): Likewise.
9607 (__ASSUME_EVENTFD2): Likewise.
9608 (__ASSUME_SIGNALFD4): Likewise.
9609 (__ASSUME_DUP3): Likewise.
9610 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9611 (__ASSUME_O_CLOEXEC): Likewise.
9612 (__ASSUME_SOCK_CLOEXEC): Likewise.
9613 (__ASSUME_IN_NONBLOCK): Likewise.
9614 (__ASSUME_PIPE2): Likewise.
9615 (__ASSUME_EVENTFD2): Likewise.
9616 (__ASSUME_SIGNALFD4): Likewise.
9617 (__ASSUME_DUP3): Likewise.
9618 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9619 (__ASSUME_EVENTFD2): Likewise.
9620 (__ASSUME_SIGNALFD4): Likewise.
9621 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9622
315eb1d8
AS
96232014-05-12 Andreas Schwab <schwab@suse.de>
9624
9625 [BZ #16932]
9626 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9627 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9628 than maximum RPC packet size.
9629 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9630 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9631 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9632 (_nss_nis_getservbyport_r): Likewise.
9633
91df99f7
WN
96342014-05-12 Will Newton <will.newton@linaro.org>
9635
9636 * malloc/Makefile (tests): Add tst-mallopt.
9637 * malloc/tst-mallopt.c: New file.
9638
0a982a29
RM
96392014-05-09 Roland McGrath <roland@hack.frob.com>
9640
9641 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9642 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9643
0ded08a5
AZ
96442014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9645
9646 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9647 (tst-tlsmod6.so): Likewise.
9648
55d4d550
RM
96492014-05-09 Roland McGrath <roland@hack.frob.com>
9650
9651 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9652
77d08aca
JM
96532014-05-09 Joseph Myers <joseph@codesourcery.com>
9654
9655 [BZ #16064]
9656 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9657 and <dl-procinfo.h>.
9658 (__fegetenv): Save SSE state in envp->__eip if supported.
9659 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9660 envp->__eip if supported.
9661 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9662 and <dl-procinfo.h>.
9663 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9664 __data_offset and __data_selector in environment to 0. Set SSE
9665 state if supported.
9666 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9667 test-fenv-sse.
9668 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9669 -mfpmath=sse.
9670 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9671
28162f4d
WN
96722014-05-09 Will Newton <will.newton@linaro.org>
9673
9674 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9675 and libc_relro_required for ARM.
9676 * sysdeps/arm/preconfigure: Regenerate.
9677
5a414ff7
DV
96782014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9679 Stefan Liebler <stli@linux.vnet.ibm.com>
9680
9681 * config.make.in (enable-lock-elision): New Makefile variable.
9682 * configure.ac: Likewise.
9683 * configure: Regenerate.
9684 * sysdeps/s390/configure.ac:
9685 Add check for gcc transactions support.
9686 * sysdeps/s390/configure: Regenerate.
9687 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9688 Build elision files if enabled.
9689 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9690 Add lock elision support for s390.
9691 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9692 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9693 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9694 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9695 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9696 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9698 Likewise.
9699 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9700 Likewise.
9701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9702 Likewise.
9703 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9704 Likewise.
9705 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9706 (__lll_timedlock_elision, __lll_lock_elision)
9707 (__lll_unlock_elision, __lll_trylock_elision)
9708 (lll_timedlock_elision, lll_lock_elision)
9709 (lll_unlock_elision, lll_trylock_elision): Add.
9710 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9711 (pthread_mutex_t): Add lock elision support for s390.
9712
1a2f40e5
W
97132014-05-14 Wilco <wdijkstr@arm.com>
9714
9715 * sysdeps/arm/fclrexcpt.c: Cleanup.
9716 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9717 * sysdeps/arm/feenablxcpt.c: Cleanup.
9718 * sysdeps/arm/fegetenv.c: Cleanup.
9719 * sysdeps/arm/fegetexcept.c: Cleanup.
9720 * sysdeps/arm/fegetround.c: Cleanup.
9721 * sysdeps/arm/feholdexcpt.c: Cleanup.
9722 * sysdeps/arm/fesetenv.c: Cleanup.
9723 * sysdeps/arm/fesetround.c: Cleanup.
9724 * sysdeps/arm/feupdateenv.c: Cleanup.
9725 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9726 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9727 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9728 * sysdeps/arm/ftestexcept.c: Cleanup.
9729 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9730 * sysdeps/arm/setfpucw.c: Cleanup.
9731
f63c86fe
WN
97322014-05-09 Will Newton <will.newton@linaro.org>
9733
9734 * sysdeps/arm/armv7/strcmp.S: New file.
9735 * NEWS: Mention addition of ARMv7 optimized strcmp.
9736
7a1a51b5
RM
97372014-05-08 Roland McGrath <roland@hack.frob.com>
9738
95afbbe5
RM
9739 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9740 look for %.ac rather than %.in.
9741
9742 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9743 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9744 * sysdeps/mach/hurd/configure: Regenerated.
9745 * sysdeps/unix/sysv/linux/configure: Regenerated.
9746
7a1a51b5
RM
9747 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9748
5057ad3b
SE
97492014-05-07 Steve Ellcey <sellcey@mips.com>
9750
9751 [BZ# 16922]
9752 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9753 (LONG_SUB): Ditto.
9754 (PTR_SUB): Ditto.
9755
8dc97517
AS
97562014-05-07 Andreas Schwab <schwab@suse.de>
9757
9758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9759 when skipping over non-matching result from nscd.
9760
ce0c5b8f
OB
97612014-05-07 Ondřej Bílka <neleai@seznam.cz>
9762
9763 [BZ #16876]
9764 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9765
a1189263
OB
9766 [BZ #16877]
9767 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9768 nscd security class.
ce0c5b8f 9769
0f58d252
RM
97702014-05-06 Roland McGrath <roland@hack.frob.com>
9771
9772 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9773 * sysdeps/arm/unwind.h: ... here.
9774
83df9ad0
AJ
97752014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9776
ce0c5b8f
OB
9777 [BZ# 16916]
9778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9779 Define.
83df9ad0 9780
f360f94a
VR
97812014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9782
9783 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9784 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9785 multiarch strncpy for PPC64.
9786 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9787 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9789 multiarch optimizations.
9790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9791 (__libc_ifunc_impl_list): Likewise.
9792 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9793 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9794 multiarch stpncpy for PPC64.
9795 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9796 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9797
978a41c3
AS
97982014-05-06 Andreas Schwab <schwab@suse.de>
9799
9800 [BZ #16912]
9801 * gmon/mcount.c (_MCOUNT_DECL): Use
9802 atomic_compare_and_exchange_bool_acq instead of
9803 catomic_compare_and_exchange_bool_acq.
9804
eb1ed03d
RM
98052014-05-05 Roland McGrath <roland@hack.frob.com>
9806
fe658845
RM
9807 * elf/Makefile (others, install-bin): Remove pldd.
9808 (pldd-modules): Variable removed.
9809 ($(objpfx)pldd): Target removed.
9810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9811 (others, install-bin): Append pldd here.
9812 ($(objpfx)pldd): New target.
9813
eb1ed03d
RM
9814 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9815 to 0, so the first #if test emitted later doesn't see it undefined.
9816 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9817 * sysdeps/gnu/errlist.c: Regenerated.
9818
19c4bec0
AZ
98192014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9822 [libc_hidden_builtin_def]: Define to empty value.
9823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9824 [libc_hidden_builtin_def]: Likewise.
9825 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9826 [libc_hidden_builtin_def]: Likewise.
9827 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9828 [libc_hidden_builtin_def]: Likewise.
9829 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9830 __redirect_memcpy and define ifunc as default hidden symbol.
9831 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9832 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9833
7776e669
AC
98342014-05-04 Adam Conrad <adconrad@0c3.net>
9835
9836 * locale/iso-4217.def: Reintroduce XDR currency.
9837
d69aeb12
AM
98382014-05-04 Allan McRae <allan@archlinux.org>
9839
9840 * po/eo.po: Update Esperanto translation from translation project.
9841
8f1df5cf
CD
98422014-05-02 Carlos O'Donell <carlos@redhat.com>
9843
9844 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9845 and FEATURE_INDEX_MAX to 1.
9846 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9847
13e402e7
SE
98482014-05-01 Steve Ellcey <sellcey@mips.com>
9849
9850 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9851 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9852 * iconvdata/big5.c (ONE_DIRECTION): Define.
9853 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9854 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9855 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9856 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9857 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9858 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9859 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9860 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9861 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9862 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9863 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9864 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9865 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9866 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9867 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9868 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9869 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9870 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9871 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9872 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9873 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9874 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9875 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9876 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9877 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9878 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9879 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9880 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9881 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9882 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9883 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9884 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9885 * iconvdata/johab.c (ONE_DIRECTION): Define.
9886 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9887 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9888 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9889 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9890 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9891 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9892 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9893 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9894 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9895 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9896
c727f032
RM
98972014-05-01 Roland McGrath <roland@hack.frob.com>
9898
8f2f08d0
RM
9899 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9900 (_IO_JUMPS_OFFSET): Define to 0.
9901
c727f032
RM
9902 * nptl/sysdeps/pthread/bits/libc-lock.h
9903 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9904 (__libc_lock_define_initialized_recursive): Always define using
9905 initializer. Modern compilers treat uninitialized (implicit zero) and
9906 explicit zero initializers the same (i.e. put the datum in bss).
9907
a849e800
AS
99082014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9909
9910 * nscd/nscd-client.h: Include <string.h>.
9911
5331255b
DM
99122014-05-01 David S. Miller <davem@davemloft.net>
9913
9914 [BZ #16885]
9915 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9916 multiple zero bytes exist at the end of a string.
9917 Reported by Aurelien Jarno <aurelien@aurel32.net>
9918
9919 * string/test-strcmp.c (check): Add explicit test for situations where
9920 there are multiple zero bytes after the first.
9921
4fdfe821
AS
99222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9923
9924 [BZ #16890]
9925 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9926 when compiling wprintf.
9927 * stdio-common/tstdiomisc.c (t3): New function.
9928 (main): Call it.
9929
0cdddc25
SE
99302014-05-01 Steve Ellcey <sellcey@mips.com>
9931
9932 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9933 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9934 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9935 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9936
6426d77e
SE
99372014-05-01 Steve Ellcey <sellcey@mips.com>
9938
9939 * stdlib/longlong.h: Updated from GCC.
9940
6d96f5e4
WN
99412014-05-01 Will Newton <will.newton@linaro.org>
9942 Bernard Ogden <bernie.ogden@linaro.org>
9943
7470db0c
WN
9944 * NEWS: Update fixed bug list.
9945
6d96f5e4
WN
9946 [BZ #15119]
9947 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9948
211d653c
DM
99492014-04-30 David S. Miller <davem@davemloft.net>
9950
4fa262fa
DM
9951 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9952 (libc_feholdexcept_setround_sparc_ctx): New function.
9953 (libc_fesetenv_sparc_ctx): Likewise.
9954 (libc_feupdateenv_sparc_ctx): Likewise.
9955 (libc_feholdsetround_sparc_ctx): Likewise.
9956 (libc_feholdexcept_setround_ctx): Define.
9957 (libc_feholdexcept_setroundf_ctx): Likewise.
9958 (libc_feholdexcept_setroundl_ctx): Likewise.
9959 (libc_fesetenv_ctx): Likewise.
9960 (libc_fesetenvf_ctx): Likewise.
9961 (libc_fesetenvl_ctx): Likewise.
9962 (libc_feupdateenv_ctx): Likewise.
9963 (libc_feupdateenvf_ctx): Likewise.
9964 (libc_feupdateenvl_ctx): Likewise.
9965 (libc_feresetround_ctx): Likewise.
9966 (libc_feresetroundf_ctx): Likewise.
9967 (libc_feresetroundl_ctx): Likewise.
9968 (libc_feholdsetround_ctx): Likewise.
9969 (libc_feholdsetroundf_ctx): Likewise.
9970 (libc_feholdsetroundl_ctx): Likewise.
9971
1d3d93ef
DM
9972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9973 with __USE_GNU instead of XOPEN cpp guards.
9974
8aa583c3
DM
9975 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9976 0.
9977
211d653c
DM
9978 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9979 with XOPEN cpp guards.
9980
60c8f1f6
JB
99812014-04-30 Julian Brown <julian@codesourcery.com>
9982
9983 [BZ #16888]
9984 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9985 handling.
9986
9a461d46
JM
99872014-04-30 Joseph Myers <joseph@codesourcery.com>
9988
d0f5b3f8
JM
9989 [BZ #9894]
9990 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9991 Change to 2.6.32.
9992 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9993 * sysdeps/unix/sysv/linux/configure: Regenerated.
9994 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9995 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9996 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9997 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9998 * README: Update reference to required Linux kernel version.
9999 * manual/install.texi (Linux): Update reference to required Linux
10000 kernel headers version.
10001 * INSTALL: Regenerated.
10002
9a461d46
JM
10003 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10004 header inclusion.
10005 [POSIX] (limits.h): Likewise.
10006 [POSIX] (math.h): Likewise.
10007 [POSIX] (sys/wait.h): Likewise.
10008 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10009 function.
10010 [POSIX] (stddef.h): Do not allow header inclusion.
10011
1775babf
AZ
100122014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013
57f41c40 10014 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10015
8f630cca
YY
100162014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10017
10018 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10019 Return immediately after lll_futex_wake.
10020
1cdeb237
SP
100212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10022
bc8f194c
SP
10023 [BZ #16791]
10024 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10025 structure.
10026 (datahead_init_pos): Call datahead_init_common early.
10027 (datahead_init_neg): Likewise.
10028
1cdeb237
SP
10029 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10030 datahead_init_neg): New functions.
10031 * nscd/aicache.c (addhstaiX): Use them.
10032 * nscd/grpcache.c (cache_addgr): Likewise.
10033 * nscd/hstcache.c (cache_addhst): Likewise.
10034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10035 * nscd/netgroupcache.c (do_notfound): Likewise.
10036 (addgetnetgrentX): Likewise.
10037 (addinnetgrX): Likewise.
10038 * nscd/pwdcache.c (cache_addpw): Likewise.
10039 * nscd/servicescache.c (cache_addserv): Likewise.
10040
16b293a7
SP
100412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10042 Atsushi Onoe <atsushi@onoe.org>
10043
10044 [BZ #14308]
10045 [BZ #12994]
10046 [BZ #13651]
10047 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10048 one response is valid.
10049 * resolv/res_send.c (send_dg): Check for validity of other
10050 response if the current response is a referral.
10051
a28a9b94
SE
100522014-04-29 Steve Ellcey <sellcey@mips.com>
10053
10054 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10055
2ca180e9
SL
100562014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10057
10058 [BZ #16823]
10059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10060 Always divide by positive zero when computing -Inf result.
10061 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10062 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10063
18f2945a
AZ
100642014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10065
10066 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10067 FPSCR if value do not change.
10068 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10069 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10070 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10071 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10072 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10073 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10074 function.
10075
5abebba4
CD
100762014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10077
10078 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10079 * sysdeps/unix/sysv/linux/hppa: Move directory from
10080 ports/systeps/unix/sysv/linux/hppa.
10081 * README: Update listing for hppa-*-linux-gnu.
10082
f7ed60c2
OB
100832014-04-28 Ondřej Bílka <neleai@seznam.cz>
10084
fff763a5
OB
10085 [BZ #16754]
10086 * manual/stdio.texi (Hook functions): Fix types of stream hook
10087 functions.
f7ed60c2
OB
10088 [BZ #16854]
10089 * socket/sys/socket.h: Fix typo in comment.
10090
df639d73
WD
100912014-04-28 Wilco <wdijkstr@arm.com>
10092
f7ed60c2 10093 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10094 * sysdeps/arm/math_private.h: New file.
10095 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10096
48332d82
L
100972014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10098
10099 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10100 with __int128_t.
10101 (La_x86_64_retval): Likewise.
10102
e5e0d9a4
IB
101032014-04-24 Ian Bolton <ian.bolton@arm.com>
10104
10105 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10106 fpsr if value didn't change.
10107 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10108 to fpcr if value didn't change.
10109 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10110 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10111 fpsr or fpcr if value didn't change.
10112 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10113 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10114 fpcr if value didn't change.
10115 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10116 to fpsr if value didn't change.
10117
bacc75f7
SP
101182014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
10120 * nptl/tst-sem3.c: Use test-skeleton.c
10121 (main): Rename to do_test. Use return instead of
10122 exit.
10123 * nptl/tst-sem4.c: Use test-skeleton.c
10124 (main): Rename to do_test.
10125
a059d359
DM
101262014-04-22 David S. Miller <davem@davemloft.net>
10127
10128 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10129 (struct sigaction): New struct member __glibc_reserved0, change
10130 type of sa_flags to int.
10131
ea6c92f3
YZ
101322014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10133
10134 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10135 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10136
766c4a36
SP
101372014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10138
10139 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10140 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10141
140cc7ab
VK
101422014-04-22 Will Newton <will.newton@linaro.org>
10143 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10144
10145 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10146 (__longjmp): Add longjmp and longjmp_target SystemTap
10147 probes.
10148 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10149 (__sigsetjmp): Add setjmp SystemTap probe.
10150
c54e5cf7
CD
101512014-04-17 Carlos O'Donell <carlos@redhat.com>
10152
10153 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10154 match manual order.
10155
75ffb047
AZ
101562014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157
10158 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10159
2cd925f7
AZ
10160 * sysdeps/powerpc/fpu/fenv_private.h
10161 (libc_feholdexcept_setroundl_ctx): Define to
10162 libc_feholdexcept_setround_ppc_ctx.
10163 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10164 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10165 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10166 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10167
39e6cd8d
IB
101682014-04-17 Ian Bolton <ian.bolton@arm.com>
10169
10170 * sysdeps/aarch64/math-tests.h: New file.
10171
f9281df9
SY
101722014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10173
10174 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10175 New.
10176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10177 Check and set bit_AVX2_Usable.
10178 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10179 macro.
10180 (bit_AVX2): Likewise.
10181 (index_AVX2_Usable): Likewise.
10182 (CPUID_AVX2): Likewise.
10183 (HAS_AVX2): Likewise.
10184
37d35007
WN
101852014-04-17 Will Newton <will.newton@linaro.org>
10186
7c677662
WN
10187 * manual/setjmp.texi (System V contexts): Add note that
10188 calling setcontext on a context created by a call to a
10189 signal handler is undefined. Update text to note that
10190 setcontext from a signal handler is possible but not
10191 recommended.
10192
37d35007 10193 [BZ #16629]
e04a4e9d
WN
10194 * stdlib/tst-setcontext.c: Include signal.h.
10195 (main): Check that the signal stack before and
10196 after swapcontext is the same.
10197
37d35007
WN
10198 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10199 Re-implement to restore registers in user code and avoid
10200 rt_sigreturn system call.
10201
423a7160
W
102022014-04-17 Wilco <wdijkstr@arm.com>
10203
10204 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10205 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10206 * math/test-fenv.c: Skip exception trap tests on targets which only
10207 support non-stop mode.
10208
bc93ab29
IB
102092014-04-17 Ian Bolton <ian.bolton@arm.com>
10210 Wilco Dijkstra <wilco.dijkstra@arm.com>
10211
10212 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10213 (libc_feholdsetround_aarch64_ctx)
10214 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10215 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10216 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10217 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10218 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10219 (libc_feresetround_noexl_ctx): Define.
10220
95fc5fa3
RH
102212014-04-16 Richard Henderson <rth@redhat.com>
10222
ddb04724
RH
10223 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10224
d77c0899
RH
10225 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10226 unwind tables.
10227
a3df56fc
RH
10228 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10229 const from the non-libc, non-ldso copy.
10230
95fc5fa3
RH
10231 * sysdeps/alpha/libm-test-ulps: Regenerate.
10232
7e0b6763
IB
102332014-04-16 Ian Bolton <ian.bolton@arm.com>
10234 Wilco Dijkstra <wilco.dijkstra@arm.com>
10235
10236 * sysdeps/aarch64/fpu/math_private.h: New file.
10237
a9ea2e0c
MS
102382014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10239
10240 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10241
ea8ba7cd
IZ
102422014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10243
7e54fd04 10244 [BZ #16275]
ea8ba7cd
IZ
10245 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10246 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10248 Intel MPX bound registers before _dl_profile_fixup.
10249 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10250 registers after _dl_profile_fixup. Save and restore bound
10251 registers bnd0/bnd1 when calling _dl_call_pltexit.
10252 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10253 (LR_BND_OFFSET): Likewise.
10254 (LRV_BND0_OFFSET): Likewise.
10255 (LRV_BND1_OFFSET): Likewise.
10256
9f2a4fbc
ST
102572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10258
10259 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10260 to...
10261 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10262 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10263 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10264 fields.
9f2a4fbc 10265
fd15a59b
ST
102662014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10267
10268 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10269
f19dfa0a
SL
102702014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10271
10272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10273
4fa8bc3b
SL
102742014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10275
10276 [BZ #14770]
10277 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10278 * sysdeps/s390/configure: Regenerate.
10279
8ea587db
SL
10280 [BZ #16824]
10281 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10282 Set round-to-nearest internally to reduce error accumulation.
10283
aa5f0ff1
AM
102842014-04-16 Alan Modra <amodra@gmail.com>
10285
10286 [BZ #16740]
10287 [BZ #16619]
10288 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10289 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10290 * NEWS: Update fixed bug list.
aa5f0ff1 10291
bb9c256f
SP
102922014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 * benchtests/Makefile: Depend on libraries in build directory.
10295 (bench-math): Separate out math tests.
10296 (bench-pthread): Separate out pthread tests.
10297 (bench): Include math and pthread tests.
10298
f737dfd0
CD
102992014-04-14 Carlos O'Donell <carlos@redhat.com>
10300
10301 [BZ #16831]
10302 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10303 _dl_debug_initialize.
10304
0699f766
CD
10305 * configure.ac: Remove SELinux header check.
10306 * configure: Regenerate.
10307 * nscd/selinux.c (perms): Array of const char* to permission names.
10308 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10309 default policy. Call string_to_security_class and string_to_av_perm to
10310 translate strings. Enforce default policy and call avs_has_perm with
10311 results of translated strings.
10312
809bd45f
DM
103132014-04-13 David S. Miller <davem@davemloft.net>
10314
10315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10316
89e691f2
AM
103172014-04-12 Allan McRae <allan@archlinux.org>
10318
10319 [BZ #16838]
10320 * manual/string.texi (Collation Functions): Fix qsort argument
10321 order in example.
10322 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10323
9c9daaeb
CM
103242014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10325
10326 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10327 Make the test a no-op if there are no exceptions defined.
10328
95561fb9
PP
103292014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10330
fe8d072c 10331 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10332 enable-hardcoded-path-in-tests
10333
970c602a
WN
103342014-04-11 Will Newton <will.newton@linaro.org>
10335
10336 * benchtests/Makefile (extra-objs): Add json-lib.o.
10337 (bench-func): Tidy up JSON output.
10338 * benchtests/bench-skeleton.c: Include json-lib.h.
10339 (main): Use JSON library functions to do output of
10340 benchmark results.
10341 * benchtests/bench-timing-type.c (main): Output the
10342 timing type simply, leaving formatting to the user.
10343 * benchtests/json-lib.c: New file.
10344 * benchtests/json-lib.h: Likewise.
10345
36875b06
TR
103462014-04-11 Torvald Riegel <triegel@redhat.com>
10347
10348 [BZ #15215]
10349 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10350 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10351 memory barriers. Add comments.
10352 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10353 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10354 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10355 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10356 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10357 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10358
579db35a
SL
103592014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10360
10361 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10362 * sysdeps/s390/s390-64/configure.ac: ... this ...
10363 * sysdeps/s390/configure.ac: ... to here.
10364 * sysdeps/s390/s390-32/configure: Delete file.
10365 * sysdeps/s390/s390-64/configure: Delete file.
10366 * sysdeps/s390/configure: Regenerate.
10367
c12e9f37
JAPH
103682014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10369
10370 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10371
439bda32
WN
103722014-04-11 Will Newton <will.newton@linaro.org>
10373
10374 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10375 to zero if it is not defined elsewhere. (mtrim): Test
10376 the value of MALLOC_DEBUG with #if rather than #ifdef.
10377
6a5d6ea1
TR
103782014-04-10 Torvald Riegel <triegel@redhat.com>
10379
10380 * benchtests/pthread_once-inputs: New file.
10381 * benchtests/pthread_once-source.c: New file.
10382 * benchtests/README: Update documentation.
10383
a4c75cfd
IZ
103842014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10385 H.J. Lu <hongjiu.lu@intel.com>
10386
7e54fd04 10387 [BZ #16275]
a4c75cfd
IZ
10388 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10389 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10390 * sysdeps/x86_64/configure: Regenerated.
10391 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10392 macro.
10393 (REGISTER_SAVE_RAX): Likewise.
10394 (REGISTER_SAVE_RCX): Likewise.
10395 (REGISTER_SAVE_RDX): Likewise.
10396 (REGISTER_SAVE_RSI): Likewise.
10397 (REGISTER_SAVE_RDI): Likewise.
10398 (REGISTER_SAVE_R8): Likewise.
10399 (REGISTER_SAVE_R9): Likewise.
10400 (REGISTER_SAVE_BND0): Likewise.
10401 (REGISTER_SAVE_BND1): Likewise.
10402 (REGISTER_SAVE_BND2): Likewise.
10403 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10404 bound registers when calling _dl_fixup.
10405
27822ce6
AZ
104062014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10407
10408 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10409 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10410 of its definition.
27822ce6
AZ
10411 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10412 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10413 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10414 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10415 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10416 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10417 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10418
a88ddc90
PTB
104192014-04-09 Peter Brett <peter@peter-b.co.uk>
10420
10421 [BZ #15514]
10422 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10423 pathconf(_PC_NAME_MAX).
10424
01f8eac2
AZ
104252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10426
10427 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10428 Remove macro usage.
10429 (__PTHREAD_SPINS): Move definition to ...
10430 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10431 (__PTHREAD_SPINS): ... here.
10432 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10433 (__PTHREAD_SPIN): Likewise.
10434 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10435 (__PTHREAD_SPIN): Likewise.
10436 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10437 (__PTHREAD_SPIN): Likewise.
10438 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10439 (__PTHREAD_SPIN): Likewise.
10440 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10441 (__PTHREAD_SPIN): Likewise.
10442 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10443 (__PTHREAD_SPIN): Likewise.
10444 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10445 (__PTHREAD_SPIN): Likewise.
10446 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10447 (__PTHREAD_SPIN): Likewise.
10448 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10449 (__PTHREAD_SPIN): Likewise.
10450 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10451 (__PTHREAD_SPIN): Likewise.
10452 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10453 (__PTHREAD_SPIN): Likewise.
10454 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10455 (__PTHREAD_SPIN): Likewise.
10456
de21c33c
AZ
10457 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10458 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10459 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10460 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10461 imply folder.
10462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10463 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10464 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10465 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10466 correct imply path.
10467 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10468 strlen symbol for non multi-arch builds.
10469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10470 missing hidden_def and weak_alias.
10471
862c472e
CD
104722014-04-08 Carlos O'Donell <carlos@redhat.com>
10473
10474 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10475
8667f90e
WN
104762014-04-07 Will Newton <will.newton@linaro.org>
10477
10478 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10479 and contents. [!_LIBC] Remove #ifndef and contents.
10480 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10481 * string/memccpy.c (__memccpy): Use ANSI prototype.
10482 * string/memfrob.c (memfrob): Likewise.
10483 * string/strcoll.c (STRCOLL): Likewise.
10484 * string/strlen.c (strlen): Likewise.
10485 * string/strtok.c (STRTOK): Likewise.
10486 * string/strcat.c: Remove unused #include of memcopy.h.
10487 (strcat): Use ANSI prototype.
10488 * string/strchr.c: Remove unused #include of memcopy.h.
10489 (strchr): Use ANSI prototype.
10490 * string/strcmp.c: Remove unused #include of memcopy.h.
10491 (strcmp): Use ANSI prototype.
10492 * string/strcpy.c: Remove unused #include of memcopy.h.
10493 (strcpy): Use ANSI prototype.
10494
7ffa9423
AZ
104952014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496
10497 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10498 * config.make.in (config-extra-cppflags): Set it from
10499 libc_extra_cppflags.
10500 * configure.ac (libc_extra_cflags): Make it accumulate over
10501 configure fragments.
10502 (libc_extra_cppflags): New flag.
10503 * configure. Regenerate.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10505 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10506 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10508
8bd70862
AZ
10509 [BZ #16815]
10510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10511 result for FE_DOWNWARD rounding mode.
10512 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10513 Likewise.
10514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10515
d42f3448
CM
105162014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10517
10518 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10519 in function argument name.
10520
1c21d115
DS
105212014-04-03 David Svoboda <svoboda@cert.org>
10522
10523 [BZ #5666]
10524 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10525 explicitly.
10526
fcccd512
RM
105272014-04-03 Roland McGrath <roland@hack.frob.com>
10528
10529 * elf/dl-unmap-segments.h: New file.
10530 * sysdeps/generic/ldsodefs.h
10531 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10532 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10533 * elf/dl-fptr.c: Likewise.
10534 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10535 * sysdeps/aarch64/tlsdesc.c: Likewise.
10536 * sysdeps/arm/tlsdesc.c: Likewise.
10537 * sysdeps/i386/tlsdesc.c: Likewise.
10538 * sysdeps/tile/dl-runtime.c: Likewise.
10539 * sysdeps/x86_64/tlsdesc.c: Likewise.
10540 * elf/dl-load.h: New file.
10541 * elf/dl-load.c: Include it.
10542 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10543 Macros moved to dl-load.h.
10544 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10545 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10546 Use _dl_unmap_segments in place of __munmap.
10547 Break out segment-mapping loop into ...
10548 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10549
f6488e2b
WN
105502014-04-03 Will Newton <will.newton@linaro.org>
10551
10552 * elf/dl-lookup.c (do_lookup_x): Remove comment
10553 referring to nested function and move variable
10554 declarations down to before first use.
10555
6f05bafe
JM
105562014-04-02 Joseph Myers <joseph@codesourcery.com>
10557
a84e78c8
JM
10558 [BZ #16799]
10559 [BZ #16800]
10560 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10561 with 0 numerator.
10562 * math/s_catanf.c (__catanf): Likewise.
10563 * math/s_catanh.c (__catanh): Likewise.
10564 * math/s_catanhf.c (__catanhf): Likewise.
10565 * math/s_catanhl.c (__catanhl): Likewise.
10566 * math/s_catanl.c (__catanl): Likewise.
10567 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10568 by positive zero when computing -Inf result.
10569 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10570 (catanh_test): Likewise.
10571 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573
6f05bafe
JM
10574 [BZ #16789]
10575 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10576 instead of using underflowing value in computing result.
10577 * math/s_clog10.c (__clog10): Likewise.
10578 * math/s_clog10f.c (__clog10f): Likewise.
10579 * math/s_clog10l.c (__clog10l): Likewise.
10580 * math/s_clogf.c (__clogf): Likewise.
10581 * math/s_clogl.c (__clogl): Likewise.
10582 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10583 (clog10_test): Likewise.
10584 * sysdeps/i386/fpu/libm-test-ulps: Update.
10585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10586
b0abbc21
AM
105872014-04-02 Alan Modra <amodra@gmail.com>
10588
10589 [BZ #16739]
10590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10591 output when value is near a power of two. Use int64_t for lx and
10592 remove casts. Use decimal rather than hex exponent constants.
10593 Don't use long double multiplication when double will suffice.
10594 * math/libm-test.inc (nextafter_test_data): Add tests.
10595 * NEWS: Add 16739 and 16786 to bug list.
10596
af6b1797
AM
10597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10598
483818d7
AM
10599 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10600
f6c55796
WN
106012014-04-01 Will Newton <will.newton@linaro.org>
10602
10603 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10604 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10605
13f7fe35
FW
106062014-04-01 Florian Weimer <fweimer@redhat.com>
10607
10608 [BZ #13347]
10609 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10610 * nptl/tst-setuid2.c: New file.
10611 * nptl/Makefile (xtests): Add tst-setuid2.
10612
c859b32e
AM
106132014-04-01 Alan Modra <amodra@gmail.com>
10614
10615 [BZ #16786]
10616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10617
54fa2475
JM
106182014-03-31 Joseph Myers <joseph@codesourcery.com>
10619
8795b4a4
JM
10620 [BZ #6803]
10621 [BZ #6804]
10622 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10623 set errno as appropriate.
10624 * math/w_scalbf.c (__scalbf): Likewise.
10625 * math/w_scalbl.c (__scalbl): Likewise.
10626 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10627 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10628 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10629 Add more NaN tests.
10630
54fa2475
JM
10631 [BZ #16349]
10632 * math/w_atan2.c: Include <errno.h>.
10633 (__atan2): Set errno for result underflowing to zero.
10634 * math/w_atan2f.c: Include <errno.h>.
10635 (__atan2f): Set errno for result underflowing to zero.
10636 * math/w_atan2l.c: Include <errno.h>.
10637 (__atan2l): Set errno for result underflowing to zero.
10638 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10639 tests.
10640 * math/auto-libm-test-out: Regenerated.
10641
757d9dd5
AZ
106422014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
10644 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10645 Encode instruction correctly in little endian.
10646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10647 Likewise.
10648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10649 Likewise.
10650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10651 Likewise.
10652 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10653 Likewise.
10654
d7a68734
JM
106552014-03-31 Joseph Myers <joseph@codesourcery.com>
10656
47c5adeb
JM
10657 [BZ #9894]
10658 * sysdeps/unix/sysv/linux/kernel-features.h
10659 [__sparc__ && !__arch64__ && !__sparc_v9__]
10660 (__ASSUME_SET_ROBUST_LIST): Do not define.
10661 [__sparc__ && !__arch64__ && !__sparc_v9__]
10662 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10663 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10664 Likewise.
10665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10666 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10667 (__ASSUME_REQUEUE_PI): Likewise.
10668 (__ASSUME_SET_ROBUST_LIST): Likewise.
10669 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10670 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10671 Undefine.
10672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10673 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10674 Likewise.
10675 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10676 Likewise.
10677 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10678 Likewise.
10679 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10680 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10681 Undefine.
10682 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10683 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10684 Likewise.
10685
d7a68734
JM
10686 [BZ #16648]
10687 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10688 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10689 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10690
c760f5c2
WN
106912014-03-31 Will Newton <will.newton@linaro.org>
10692
10693 * benchtests/Makefile (bench): Add ffs and ffsll to list
10694 of tests.
10695 * benchtests/ffs-inputs: New file.
10696 * benchtests/ffsll-inputs: Likewise.
10697
ea6029b1
JM
106982014-03-29 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #16770]
10701 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10702 too large before casting to int.
10703 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10704 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10705 * math/libm-test.inc (scalb_test_data): Add more tests.
10706
cf806aff
SP
107072014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10708
56737508
SP
10709 * benchtests/Makefile (DETAILED_OPT): New make option.
10710 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10711 set.
10712 * benchtests/bench-skeleton.c: Include stdbool.h.
10713 (main): Store and print timings per input.
10714 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10715 member to each argument value.
10716 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10717 (_print_arg_data): Initialize per-input timing to 0.
10718
cb5e4aad
SP
10719 * benchtests/Makefile (timing-type): New binary.
10720 (bench-clean): Also remove bench-timing-type.
10721 (bench): New target for timing-type.
10722 (bench-func): Print output in JSON format.
10723 * benchtests/bench-skeleton.c (main): Print output in JSON
10724 format.
10725 * benchtests/bench-timing-type.c: New file.
10726 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10727 (TIMING_PRINT_STATS): Remove.
10728 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10729 name separately.
10730
cf806aff
SP
10731 * benchtests/bench-modf.c: Remove.
10732 * benchtests/modf-inputs: New inputs file.
10733
289e0779
JM
107342014-03-28 Joseph Myers <joseph@codesourcery.com>
10735
10736 [BZ #16362]
10737 * math/s_clog10.c (M_PI_LOG10E): New macro.
10738 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10739 imaginary parts are 0.
10740 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10741 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10742 imaginary parts are 0.
10743 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10744 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10745 imaginary parts are 0.
10746 * math/libm-test.inc (clog10_test_data): Update expected results
10747 for when real and imaginary parts are 0.
10748
277ae3f1
PP
107492014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10750
10751 * elf/dl-load.c: Finish conversion of __builtin_expect into
10752 __glibc_{un}likely.
10753
03a7091f
JM
107542014-03-27 Joseph Myers <joseph@codesourcery.com>
10755
10756 [BZ #16348]
10757 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10758 1+x for argument with exponent below -67.
10759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10760 Likewise.
10761 * math/auto-libm-test-in: Add more tests of exp.
10762 * math/auto-libm-test-out: Regenerated.
10763
ea7d8b95
SP
107642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10765
dd3022d7
SP
10766 [BZ #16759]
10767 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10768 (nscd_getnetgrent): Use it.
10769
ea7d8b95
SP
10770 [BZ #16760]
10771 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10772 of stpcpy.
10773
df5b85da
AK
107742014-03-27 Andi Kleen <ak@linux.intel.com>
10775
57f41c40
AS
10776 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10777 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10778 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10779 (lll_robust_unlock): Remove out of line section. Use cfi
10780 intrinsics.
df5b85da 10781 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10782 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10783 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10784 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10785 (lll_robust_unlock): Remove out of line section. Use cfi
10786 intrinsics.
df5b85da
AK
10787 (LLL_STUB_UNWIND_INFO*): Remove.
10788
fbd6b5a4
SP
107892014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10790
10791 [BZ #16758]
10792 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10793 blank values.
10794
1b26b855
PP
107952014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10796
10797 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10798
9be36fb8
JM
107992014-03-26 Joseph Myers <joseph@codesourcery.com>
10800
10801 [BZ #16198]
10802 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10803 fnstenv.
10804 * math/test-fenv-preserve.c: New file.
10805 * math/Makefile (tests): Add test-fenv-preserve.
10806
60a2f3c1
WN
108072014-03-26 Will Newton <will.newton@linaro.org>
10808
10809 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10810
a5e5f1e2
RM
108112014-03-25 Roland McGrath <roland@hack.frob.com>
10812
10813 * scripts/versionlist.awk: Partition the version sets and emit all
10814 GLIBC_* (sorted) before all others (sorted).
10815
00f4012a
JM
108162014-03-25 Joseph Myers <joseph@codesourcery.com>
10817
10818 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10819 GLIBC_2.2.5 version.
10820
7bc5a741
AZ
108212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822
10823 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10824 calls.
10825
7578473b
AZ
10826 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10827 previous change.
10828
f3f1dab3
AZ
10829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10830
6da36183
AS
108312014-03-25 Andreas Schwab <schwab@suse.de>
10832
10833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10834 label to be used after in6ailist is initialized.
10835
f3f1dab3 108362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10837
7578473b 10838 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10839 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10840
046651c1
JM
108412014-03-25 Joseph Myers <joseph@codesourcery.com>
10842
10843 [BZ #16357]
10844 [BZ #16599]
10845 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10846 min_plus_half.
10847 (fp_formats): Update initializers.
10848 (init_fp_formats): Initialize new field.
10849 (output_for_one_input_case): Allow underflow for results up to
10850 min_plus_half.
10851 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10852 * math/auto-libm-test-in: Don't mark some underflows from asin and
10853 atanh as spurious.
10854 * math/auto-libm-test-out: Regenerated.
10855 * sysdeps/i386/fpu/libm-test-ulps: Update.
10856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10857
003e49ed
AS
108582014-03-25 Andreas Schwab <schwab@suse.de>
10859
10860 * libio/Makefile (tst-ftell-partial-wide-ENV)
10861 (tst-ftell-active-handler-ENV): Define.
10862
de031874
SL
108632014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10864
10865 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10866
55a81e3b
PP
108672014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10868
10869 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10870
f3426898
JM
108712014-03-24 Joseph Myers <joseph@codesourcery.com>
10872
10873 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10874 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10875 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10876
a42faf59
PP
108772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10878
10879 [BZ #16634]
a42faf59 10880 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10881 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10882 (open_path): Change from boolean 'secure' to complete flag 'mode'
10883 (_dl_map_object): Adjust.
a42faf59
PP
10884 * elf/Makefile (tests): Add tst-dlopen-aout.
10885 * elf/tst-dlopen-aout.c: New test.
10886
50936127
SL
108872014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10888
10889 [BZ #16714]
10890 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10891 (struct stat): Rename member pad0 to __glibc_reserved0.
10892
26011b5c
SL
10893 [BZ #16712]
10894 * sysdeps/s390/s390-32/bits/wordsize.h
10895 (__WORDSIZE32_SIZE_ULONG): New define.
10896 * sysdeps/s390/s390-64/bits/wordsize.h
10897 (__WORDSIZE32_SIZE_ULONG): Likewise.
10898 * sysdeps/generic/stdint.h (SIZE_MAX):
10899 Define as UL if __WORDSIZE32_SIZE_ULONG.
10900
a2d86bf1
SL
10901 [BZ #16713]
10902 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10903 (__glibc_reserved0): New variable.
10904 (sa_flags): Change type to int.
10905
78b6eebc
SL
10906 * posix/Makefile (before-compile): Use += before-compile instead
10907 of a :=.
10908
f1399b5a
SL
10909 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10910 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10911
a071766e
AS
109122014-03-20 Andreas Schwab <schwab@suse.de>
10913
10914 [BZ #16743]
10915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10916 non-matching result from nscd.
10917
27c673b8
SP
109182014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10919
10920 * scripts/bench.py: Moved to ...
10921 * benchtests/scripts/bench.py: ... here.
10922 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10923
44152e4b
AS
109242014-03-24 Andreas Schwab <schwab@suse.de>
10925
10926 [BZ #16002]
10927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10928 alloca_account and account alloca use for struct in6ailist.
10929
b376a11a
JM
109302014-03-24 Joseph Myers <joseph@codesourcery.com>
10931
10932 [BZ #16284]
10933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10934 rounding mode to recompute results that overflow to infinity or
10935 underflow to zero.
10936 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10937 bug 16284.
10938 * math/auto-libm-test-out: Regenerated.
10939 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10940 (ccosh_test): Likewise.
10941 (csin_test_data): Use plus_oflow.
10942 (csin_test): Use ALL_RM_TEST.
10943 (csinh_test_data): Use plus_oflow.
10944 (csinh_test): Use ALL_RM_TEST.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947
f7be7376
JM
109482014-03-21 Joseph Myers <joseph@codesourcery.com>
10949
1ca2d03e
JM
10950 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10951 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10952 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10953
f7be7376
JM
10954 [BZ #16731]
10955 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10956 when x - 1 is zero.
10957 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10958 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10959 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10961 argument is 1.
10962 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10963 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10964 zero.
10965 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968
fdf4534d
SP
109692014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10970
df26ea53
SP
10971 * scripts/bench.pl: Remove file.
10972 * scripts/bench.py: New benchmark script.
10973 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10974 * benchtests/README: Mention python dependency.
10975 * scripts/pylintrc: New file.
10976 * scripts/pylint: New file.
10977
fdf4534d
SP
10978 * bits/mathdef.h: Use #ifdef instead of #if.
10979 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10980 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10981 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10982 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10983 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10984 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10985
6f23d093
AZ
109862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10987 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10988
10989 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10991 and strpbrk-ppc64 objects.
10992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10993 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10994 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10995 multiarch strpbrk for POWER7.
10996 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10997 multiarch strpbrk for PPC64.
10998 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10999 ifunc selector.
11000 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11001 strpbrk for POWER7.
11002
8c92dfff
JM
110032014-03-20 Joseph Myers <joseph@codesourcery.com>
11004
11005 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11006 (atan_test): Likewise.
11007 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11008 (atanh_test): Use ALL_RM_TEST.
11009 (atan2_test_data): Likewise.
11010 (cabs_test): Likewise.
11011 (cacosh_test): Likewise.
11012 (carg_test): Likewise.
11013 (casin_test): Likewise.
11014 (casinh_test): Likewise.
11015 (cbrt_test): Likewise.
11016 (csqrt_test): Likewise.
11017 (erf_test): Likewise.
11018 (erfc_test): Likewise.
11019 (pow10_test): Likewise.
11020 (exp2_test): Likewise.
11021 (hypot_test): Likewise.
11022 (j0_test): Likewise.
11023 (j1_test): Likewise.
11024 (lgamma_test): Likewise.
11025 (gamma_test): Likewise.
11026 (sincos_test): Likewise.
11027 (tanh_test): Likewise.
11028 (y0_test): Likewise.
11029 (y1_test): Likewise.
11030 * sysdeps/i386/fpu/libm-test-ulps: Update.
11031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11032
6eaf95cb
AZ
110332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11034
a387428c
SP
11035 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11037 and strcspn-ppc64 objects.
11038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11039 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11040 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11041 multiarch strcspn for POWER7.
11042 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11043 multiarch strcspn for PPC64.
11044 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11045 ifunc selector.
11046 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11047 strcspn for POWER7.
11048
ae3a5dff
JM
110492014-03-20 Joseph Myers <joseph@codesourcery.com>
11050
11051 * math/gen-libm-test.pl (generate_testfile): Expect only function
11052 name as argument to AUTO_TESTS_* and pass results for all rounding
11053 modes to parse_args.
11054 (parse_auto_input): Separate inputs of automatic tests from
11055 outputs before storing in %auto_tests.
11056 * math/libm-test.inc (acos_test_data): Update call to
11057 AUTO_TESTS_f_f.
11058 (acos_test): Use ALL_RM_TEST.
11059 (acos_tonearest_test_data): Remove.
11060 (acos_test_tonearest): Likewise.
11061 (acos_towardzero_test_data): Likewise.
11062 (acos_test_towardzero): Likewise.
11063 (acos_downward_test_data): Likewise.
11064 (acos_test_downward): Likewise.
11065 (acos_upward_test_data): Likewise.
11066 (acos_test_upward): Likewise.
11067 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11068 (asin_test_data): Likewise.
11069 (asin_test): Use ALL_RM_TEST.
11070 (asin_tonearest_test_data): Remove.
11071 (asin_test_tonearest): Likewise.
11072 (asin_towardzero_test_data): Likewise.
11073 (asin_test_towardzero): Likewise.
11074 (asin_downward_test_data): Likewise.
11075 (asin_test_downward): Likewise.
11076 (asin_upward_test_data): Likewise.
11077 (asin_test_upward): Likewise.
11078 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11079 (atan_test_data): Likewise.
11080 (atanh_test_data): Likewise.
11081 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11082 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11083 (carg_test_data): Likewise.
11084 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11085 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11086 (ccosh_test_data): Likewise.
11087 (cexp_test_data): Likewise.
11088 (clog_test_data): Likewise.
11089 (clog10_test_data): Likewise.
11090 (cos_test_data): Update call to AUTO_TESTS_f_f.
11091 (cos_test): Use ALL_RM_TEST.
11092 (cos_tonearest_test_data): Remove.
11093 (cos_test_tonearest): Likewise.
11094 (cos_towardzero_test_data): Likewise.
11095 (cos_test_towardzero): Likewise.
11096 (cos_downward_test_data): Likewise.
11097 (cos_test_downward): Likewise.
11098 (cos_upward_test_data): Likewise.
11099 (cos_test_upward): Likewise.
11100 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11101 (cosh_test): Use ALL_RM_TEST.
11102 (cosh_tonearest_test_data): Remove.
11103 (cosh_test_tonearest): Likewise.
11104 (cosh_towardzero_test_data): Likewise.
11105 (cosh_test_towardzero): Likewise.
11106 (cosh_downward_test_data): Likewise.
11107 (cosh_test_downward): Likewise.
11108 (cosh_upward_test_data): Likewise.
11109 (cosh_test_upward): Likewise.
11110 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11111 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11112 (ctan_test_data): Likewise.
11113 (ctan_test): Use ALL_RM_TEST.
11114 (ctan_tonearest_test_data): Remove.
11115 (ctan_test_tonearest): Likewise.
11116 (ctan_towardzero_test_data): Likewise.
11117 (ctan_test_towardzero): Likewise.
11118 (ctan_downward_test_data): Likewise.
11119 (ctan_test_downward): Likewise.
11120 (ctan_upward_test_data): Likewise.
11121 (ctan_test_upward): Likewise.
11122 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11123 (ctanh_test): Use ALL_RM_TEST.
11124 (ctanh_tonearest_test_data): Remove.
11125 (ctanh_test_tonearest): Likewise.
11126 (ctanh_towardzero_test_data): Likewise.
11127 (ctanh_test_towardzero): Likewise.
11128 (ctanh_downward_test_data): Likewise.
11129 (ctanh_test_downward): Likewise.
11130 (ctanh_upward_test_data): Likewise.
11131 (ctanh_test_upward): Likewise.
11132 (erf_test_data): Update call to AUTO_TESTS_f_f.
11133 (erfc_test_data): Likewise.
11134 (exp_test_data): Likewise.
11135 (exp_test): Use ALL_RM_TEST.
11136 (exp_tonearest_test_data): Remove.
11137 (exp_test_tonearest): Likewise.
11138 (exp_towardzero_test_data): Likewise.
11139 (exp_test_towardzero): Likewise.
11140 (exp_downward_test_data): Likewise.
11141 (exp_test_downward): Likewise.
11142 (exp_upward_test_data): Likewise.
11143 (exp_test_upward): Likewise.
11144 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11145 (exp10_test): Use ALL_RM_TEST.
11146 (exp10_tonearest_test_data): Remove.
11147 (exp10_test_tonearest): Likewise.
11148 (exp10_towardzero_test_data): Likewise.
11149 (exp10_test_towardzero): Likewise.
11150 (exp10_downward_test_data): Likewise.
11151 (exp10_test_downward): Likewise.
11152 (exp10_upward_test_data): Likewise.
11153 (exp10_test_upward): Likewise.
11154 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11155 (expm1_test_data): Likewise.
11156 (expm1_test): Use ALL_RM_TEST.
11157 (expm1_tonearest_test_data): Remove.
11158 (expm1_test_tonearest): Likewise.
11159 (expm1_towardzero_test_data): Likewise.
11160 (expm1_test_towardzero): Likewise.
11161 (expm1_downward_test_data): Likewise.
11162 (expm1_test_downward): Likewise.
11163 (expm1_upward_test_data): Likewise.
11164 (expm1_test_upward): Likewise.
11165 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11166 (fma_test): Use ALL_RM_TEST.
11167 (fma_towardzero_test_data): Remove.
11168 (fma_test_towardzero): Likewise.
11169 (fma_downward_test_data): Likewise.
11170 (fma_test_downward): Likewise.
11171 (fma_upward_test_data): Likewise.
11172 (fma_test_upward): Likewise.
11173 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11174 (j0_test_data): Update call to AUTO_TESTS_f_f.
11175 (j1_test_data): Likewise.
11176 (jn_test_data): Update call to AUTO_TESTS_if_f.
11177 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11178 (log_test_data): Update call to AUTO_TESTS_f_f.
11179 (log10_test_data): Likewise.
11180 (log1p_test_data): Likewise.
11181 (log2_test_data): Likewise.
11182 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11183 (pow_tonearest_test_data): Likewise.
11184 (sin_test_data): Update call to AUTO_TESTS_f_f.
11185 (sin_test): Use ALL_RM_TEST.
11186 (sin_tonearest_test_data): Remove.
11187 (sin_test_tonearest): Likewise.
11188 (sin_towardzero_test_data): Likewise.
11189 (sin_test_towardzero): Likewise.
11190 (sin_downward_test_data): Likewise.
11191 (sin_test_downward): Likewise.
11192 (sin_upward_test_data): Likewise.
11193 (sin_test_upward): Likewise.
11194 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11195 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11196 (sinh_test): Use ALL_RM_TEST.
11197 (sinh_tonearest_test_data): Remove.
11198 (sinh_test_tonearest): Likewise.
11199 (sinh_towardzero_test_data): Likewise.
11200 (sinh_test_towardzero): Likewise.
11201 (sinh_downward_test_data): Likewise.
11202 (sinh_test_downward): Likewise.
11203 (sinh_upward_test_data): Likewise.
11204 (sinh_test_upward): Likewise.
11205 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11206 (sqrt_test): Use ALL_RM_TEST.
11207 (sqrt_tonearest_test_data): Remove.
11208 (sqrt_test_tonearest): Likewise.
11209 (sqrt_towardzero_test_data): Likewise.
11210 (sqrt_test_towardzero): Likewise.
11211 (sqrt_downward_test_data): Likewise.
11212 (sqrt_test_downward): Likewise.
11213 (sqrt_upward_test_data): Likewise.
11214 (sqrt_test_upward): Likewise.
11215 (tan_test_data): Update call to AUTO_TESTS_f_f.
11216 (tan_test): Use ALL_RM_TEST.
11217 (tan_tonearest_test_data): Remove.
11218 (tan_test_tonearest): Likewise.
11219 (tan_towardzero_test_data): Likewise.
11220 (tan_test_towardzero): Likewise.
11221 (tan_downward_test_data): Likewise.
11222 (tan_test_downward): Likewise.
11223 (tan_upward_test_data): Likewise.
11224 (tan_test_upward): Likewise.
11225 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11226 (tgamma_test_data): Likewise.
11227 (y0_test_data): Likewise.
11228 (y1_test_data): Likewise.
11229 (yn_test_data): Update call to AUTO_TESTS_if_f.
11230 (main): Do not call removed functions.
11231
d71aeee8
JM
112322014-03-19 Joseph Myers <joseph@codesourcery.com>
11233
11234 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11235 (ldexp_test_data): Remove.
11236 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11237 scalbn_test_data.
11238 (scalb_test): Use ALL_RM_TEST.
11239
baaf1ded
AS
112402014-03-19 Andreas Schwab <schwab@suse.de>
11241
11242 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11243
b1115e91
JM
112442014-03-19 Joseph Myers <joseph@codesourcery.com>
11245
11246 [BZ #16649]
11247 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11248 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11249 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11251 (__ASSUME_PREADV): Undefine.
11252 (__ASSUME_PWRITEV): Likewise.
11253
0283ecca
RM
112542014-03-18 Roland McGrath <roland@hack.frob.com>
11255
7d375303
RM
11256 * bits/mman-linux.h: Add comment about non-Linux use.
11257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11258 bits/mman-linux.h resting place.
11259
0283ecca
RM
11260 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11261 * bits/mman-linux.h: ... here.
11262
aebe1003
AZ
112632014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11264
11265 * conform/conformtest.pl: Add standard definition when calling C
11266 preprocessor on data files.
11267 (checknamespace): Remove unused variable.
11268
b29b6bb8
JM
112692014-03-18 Joseph Myers <joseph@codesourcery.com>
11270
11271 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11272 minus_oflow, plus_uflow and minus_uflow in expected results.
11273 * math/libm-test.inc (scalbn_test_data): Add more tests of
11274 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11275 minus_uflow.
11276 (scalbn_test): Use ALL_RM_TEST.
11277 (scalbln_test_data): Add more tests of negative arguments. Use
11278 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11279 (scalbln_test): Use ALL_RM_TEST.
11280
c8f8fa15
RM
112812014-03-18 Roland McGrath <roland@hack.frob.com>
11282
11283 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11284
fede7a5f
WN
112852014-03-18 Will Newton <will.newton@linaro.org>
11286
11287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11288 inaccurate comment.
11289
80cf0a58
JM
112902014-03-18 Joseph Myers <joseph@codesourcery.com>
11291
11292 * Makerules [!subdir] (check-abi): Exit with error status if a
11293 test failed.
11294
b3620862
JM
112952014-03-17 Joseph Myers <joseph@codesourcery.com>
11296
11297 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11298 for rint. Include results for all rounding modes.
11299 (nearbyint_test): Use ALL_RM_TEST.
11300 (rint_test_data): Include all tests used for nearbyint.
11301
788bba36
WN
113022014-03-17 Will Newton <will.newton@linaro.org>
11303
04ec140a
WN
11304 * nptl/sysdeps/pthread/pthread.h: Revert previous
11305 change.
11306
7579d8d5
WN
11307 * sysdeps/generic/ldsodefs.h: Revert previous
11308 change.
11309
c15cf13a
WN
11310 * libio/genops.c: Revert previous change.
11311 * libio/libioP.h: Likewise.
11312 * stdio-common/vfprintf.c: Likewise.
11313
d0ac1324
WN
11314 * sysdeps/generic/math_private.h: Revert previous
11315 change.
11316
9290130a
WN
11317 * sysdeps/generic/math_private.h: Check whether
11318 HAVE_RM_CTX is defined with #ifdef rather
11319 than #if.
11320
afb466fc
WN
11321 * argp/argp-fmtstream.h: Check whether
11322 __STRICT_ANSI__ is defined with #ifdef rather
11323 than #if.
11324 * argp/argp.h: Likewise.
11325
f7efd7c3
WN
11326 * libio/genops.c: Check whether
11327 _IO_JUMPS_OFFSET is defined with #ifdef rather
11328 than #if.
11329 * libio/libioP.h: Likewise.
11330 * stdio-common/vfprintf.c: Likewise.
11331
53f1bed3
WN
11332 * sysdeps/generic/ldsodefs.h: Check whether
11333 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11334 than #if.
11335
788bba36
WN
11336 * nptl/sysdeps/pthread/pthread.h: Check
11337 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11338 its value.
11339
fcd89ebe
SP
113402014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11341
ae42bbc5
SP
11342 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11343 setting O_APPEND.
11344 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11345 test case.
11346
ea33158c
SP
11347 [BZ #16680]
11348 * libio/fileops.c (_IO_file_open): Seek to end of file but
11349 don't cache the offset.
11350 (get_file_offset): Remove function.
11351 (do_ftell): Use cached offset when available.
11352 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11353 don't cache the offset.
11354 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11355 case.
11356 (do_one_test): Call it.
11357 (do_ftell_test): Fix up expected old offset for a+ mode.
11358 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11359 available.
11360
b1dbb426
SP
11361 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11362 up test status with function return status.
11363 (do_write_test): Likewise.
11364 (do_append_test): Likewise.
11365
fcd89ebe
SP
11366 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11367 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11368 Remove.
11369
9962a2d3
JM
113702014-03-17 Joseph Myers <joseph@codesourcery.com>
11371
11372 * math/gen-libm-test.pl (parse_args): Handle results specified for
11373 each rounding mode separately.
11374 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11375 tests and results from lrint_tonearest_test_data,
11376 lrint_towardzero_test_data, lrint_downward_test_data and
11377 lrint_upward_test_data.
11378 (lrint_test): Use ALL_RM_TEST.
11379 (lrint_tonearest_test_data): Remove.
11380 (lrint_test_tonearest): Likewise.
11381 (lrint_towardzero_test_data): Likewise.
11382 (lrint_test_towardzero): Likewise.
11383 (lrint_downward_test_data): Likewise.
11384 (lrint_test_downward): Likewise.
11385 (lrint_upward_test_data): Likewise.
11386 (lrint_test_upward): Likewise.
11387 (llrint_test_data): Merge in per-rounding-mode tests and results
11388 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11389 llrint_downward_test_data and llrint_upward_test_data.
11390 (llrint_test): Use ALL_RM_TEST.
11391 (llrint_tonearest_test_data): Remove.
11392 (llrint_test_tonearest): Likewise.
11393 (llrint_towardzero_test_data): Likewise.
11394 (llrint_test_towardzero): Likewise.
11395 (llrint_downward_test_data): Likewise.
11396 (llrint_test_downward): Likewise.
11397 (llrint_upward_test_data): Likewise.
11398 (llrint_test_upward): Likewise.
11399 (rint_test_data): Merge in per-rounding-mode tests and results
11400 from rint_tonearest_test_data, rint_towardzero_test_data,
11401 rint_downward_test_data and rint_upward_test_data. Add
11402 per-rounding-mode results for tests not in those arrays.
11403 (rint_test): Use ALL_RM_TEST.
11404 (rint_tonearest_test_data): Remove.
11405 (rint_test_tonearest): Likewise.
11406 (rint_towardzero_test_data): Likewise.
11407 (rint_test_towardzero): Likewise.
11408 (rint_downward_test_data): Likewise.
11409 (rint_test_downward): Likewise.
11410 (rint_upward_test_data): Likewise.
11411 (rint_test_upward): Likewise.
11412 (main): Don't call removed functions.
11413
5006148e
RM
114142014-03-14 Roland McGrath <roland@hack.frob.com>
11415
11416 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11417 "Compiled on ..." crapola. It is anti-useful.
11418
d6fe5e58
JM
114192014-03-14 Joseph Myers <joseph@codesourcery.com>
11420
11421 * scripts/evaluate-test.sh: Handle fourth argument to determine
11422 whether test run should stop on failure.
11423 * Makeconfig (stop-on-test-failure): New variable.
11424 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11425 $(stop-on-test-failure).
11426 * Makefile (tests): Give a summary of results from testing and
11427 exit with failure status if they include an ERROR or FAIL.
11428 (xtests): Likewise.
11429 * manual/install.texi (Configuring and compiling): Mention
11430 stop-on-test-failure=y.
11431 * INSTALL: Regenerated.
11432
498a2233
RM
114332014-03-14 Roland McGrath <roland@hack.frob.com>
11434
22dbc19d
RM
11435 * scripts/versionlist.awk: New file.
11436 * Makerules [$(build-shared) = yes]
11437 (postclean-generated): Add Versions.def, not Versions.def.v and
11438 Versions.def.v.i.
11439 ($(common-objpfx)Versions.def.v.i): Target removed.
11440 ($(common-objpfx)Versions.def): New target.
11441 ($(common-objpfx)Versions.all): Depend on that rather that
11442 $(common-objpfx)Versions.def.v.
11443 * Versions.def: File removed.
11444
498a2233
RM
11445 * Makeconfig (+gccwarn): Add -Wundef.
11446 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11447 a dl-sysdep.h breaking its contract.
11448 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11449 * include/stackinfo.h: New file.
11450 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11451 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11452 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11453 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11454 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11455 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11456 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11457 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11458 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11459 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11460 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11461 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11462 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11463 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11464 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11465
c7de5025
AZ
114662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11467
11468 [BZ #16707]
11469 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11470 implementation.
11471 * math/libm-test.inc (round_test_data): Add more tests.
11472
98fb27a3
AZ
11473 [BZ #16706]
11474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11475 implementation.
11476 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11477
374f7f61
AZ
11478 [BZ #16701]
11479 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11480 implementation.
11481 * math/libm-test.inc (ceil_test_data): Add more tests.
11482
4655c291
AZ
11483 * math/libm-test.inc (trunc_test_data): Add more tests related to
11484 BZ#16414.
11485
d7329d4b
RM
114862014-03-14 Roland McGrath <roland@hack.frob.com>
11487
11488 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11489 with #if rather than #ifdef.
11490 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11491
aa4de9ce
L
114922014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11495 first. Disable AVX-512 GCC support if assembler doesn't support
11496 it.
11497 * sysdeps/x86_64/configure: Regenerated.
11498
2e03fae7
CD
114992014-03-13 Carlos O'Donell <carlos@redhat.com>
11500
11501 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11502 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11503 (__old_pthread_attr_setstack): Likewise.
11504 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11505 [!_STACK_GROWS_DOWN]: Likewise.
11506
43ca83ec
MF
115072014-03-13 Mike Frysinger <vapier@gentoo.org>
11508
11509 * config.make.in (have-bash2): Delete.
11510 * configure.ac (libc_cv_have_bash2): Delete.
11511 * configure: Regenerate.
11512 * elf/Makefile (common-ldd-rewrite): Rename to ...
11513 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11514 (sh-ldd-rewrite): Delete.
11515 (bash-ldd-rewrite): Delete.
11516 (have-bash2): Delete checks.
57f41c40
AS
11517 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11518 ldd-rewrite.
c66e48b4
MF
11519
11520 * config.make.in (have-ksh): Delete.
11521 (KSH): Delete.
11522 * configure.ac (libc_cv_have_ksh): Delete.
11523 * configure: Regenerate.
11524
b93834ef
MF
11525 * elf/Makefile: Delete $(have-ksh) check.
11526 ($(objpfx)sotruss): Change KSH to BASH.
11527 * elf/sotruss.ksh: Rename to ...
11528 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11529 function style to match POSIX. Drop ksh vim mode setting.
11530
f3a4632a
MF
11531 * manual/time.texi (Specifying the Time Zone with TZ): Change
11532 Tuesday to Thursday.
11533
5896c8bd
MF
11534 * debug/tst-longjmp_chk2.c: Update header comment.
11535 (stackoverflow_handler): Add comment. Call assert on pass value.
11536
2d63a517
IZ
115372014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11538
7e54fd04 11539 [BZ #16194]
2d63a517
IZ
11540 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11541 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11542 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11543 (La_x86_64_vector): Add zmm.
11544 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11545 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11546 ($(objpfx)tst-audit10): New target.
11547 ($(objpfx)tst-audit10.out): Likewise.
11548 (tst-audit10-ENV): New.
11549 (AVX512-CFLAGS): Likewise.
11550 (CFLAGS-tst-audit10.c): Likewise.
11551 (CFLAGS-tst-auditmod10a.c): Likewise.
11552 (CFLAGS-tst-auditmod10b.c): Likewise.
11553 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11554 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11555 * sysdeps/x86_64/configure: Regenerated.
11556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11557 AVX-512 zmm register support.
11558 (_dl_x86_64_save_sse): Likewise.
11559 (_dl_x86_64_restore_sse): Likewise.
11560 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11561 size vector registers.
11562 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11563 (ZMM_SIZE): Likewise.
11564 * sysdeps/x86_64/tst-audit10.c: New file.
11565 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11566 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11567
44c4e5d5
RM
115682014-03-13 Roland McGrath <roland@hack.frob.com>
11569
11570 * configure.ac (HAVE_EHDR_START): New check.
11571 * configure: Regenerated.
11572 * config.h.in (HAVE_EHDR_START): New #undef.
11573 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11574 assuming the lowest-addressed segment maps the start of the file.
11575
acd6e389
JM
115762014-03-13 Joseph Myers <joseph@codesourcery.com>
11577
11578 * INSTALL: Regenerated.
11579
6f918f36
WN
115802014-03-13 Will Newton <will.newton@linaro.org>
11581
11582 * manual/setjmp.texi (System V contexts): Improve
11583 clarity and grammar of documentation.
11584
798212a0
PP
115852014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11586
11587 [BZ #16381]
798212a0 11588 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11589 (tests-pie): Add tst-pie2.
798212a0
PP
11590 * elf/tst-pie2.c: New file.
11591 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11592 for ET_EXEC.
11593 * elf/rtld.c (map_doit): Load executable as lt_executable.
11594 (dl_main): Likewise.
11595
abe6d90c
JM
115962014-03-12 Joseph Myers <joseph@codesourcery.com>
11597
11598 [BZ #16642]
11599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11600 (__ASSUME_PSELECT): Undefine.
11601
dd3946c6
AZ
116022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11603
11604 [BZ #16689]
11605 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11606 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11607 static build.
11608 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11609 selector for static builds.
11610
c44496df
SP
116112014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11612
11613 [BZ #16695]
11614 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11615 key in the buffer.
11616
27c7220a
AZ
116172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11618
57f41c40
AS
11619 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11620 IFUNC selector for static builds.
27c7220a 11621
600fa361
JM
116222014-03-11 Joseph Myers <joseph@codesourcery.com>
11623
76c96cf7
JM
11624 * sysdeps/mips/math_private.h [__mips_hard_float]
11625 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11626 libc_feresetround_mips_ctx.
11627 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11628 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11629 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11630
600fa361
JM
11631 [BZ #16677]
11632 * math/s_nextafter.c (__nextafter): Do not return value from
11633 overflowing computation.
11634 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11635 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11637 Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11639 Likewise.
11640 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11641 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11642
d7706c32
RM
116432014-03-11 Roland McGrath <roland@hack.frob.com>
11644
11645 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11646 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11647 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11648 the new mov targetting sp.
11649
4facea47
AZ
116502014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11651
11652 [BZ #16683]
11653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11654 Define it for static builds as well.
11655 (NO_BZERO_IMPL): Likewise.
11656
e65caf1f
VR
116572014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11658
11659 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11660 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11661 multiarch strspn for PPC64.
11662 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11663 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11665 (__libc_ifunc_impl_list): Likewise.
11666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11667 multiarch optimizations
11668 * string/strspn.c (strspn): Using macro to redefine symbol name.
11669
ba9cc071
AZ
116702014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11671 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11672
11673 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11674 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11675 multiarch strncat for PPC64.
11676 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11677 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11679 (__libc_ifunc_impl_list): Likewise.
11680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11681 multiarch optimizations
11682
8b4ff974
SP
116832014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11684
11685 [BZ #16639]
11686 * nscd/nscd.service: Make service type forking.
11687
54b46a4b
AZ
116882014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11689
11690 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11691 sign in non default rounding modes.
11692 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11693
e9996ef7
JM
116942014-03-08 Joseph Myers <joseph@codesourcery.com>
11695
11696 * math/libm-test.inc (ALL_RM_TEST): New macro.
11697 (ceil_test): Use ALL_RM_TEST.
11698 (cimag_test): Likewise.
11699 (conj_test): Likewise.
11700 (copysign_test): Likewise.
11701 (cproj_test): Likewise.
11702 (creal_test): Likewise.
11703 (fabs_test): Likewise.
11704 (floor_test): Likewise.
11705 (fmax_test): Likewise.
11706 (fmin_test): Likewise.
11707 (fmod_test): Likewise.
11708 (fpclassify_test): Likewise.
11709 (frexp_test): Likewise.
11710 (ilogb_test): Likewise.
11711 (isfinite_test): Likewise.
11712 (finite_test): Likewise.
11713 (isgreater_test): Likewise.
11714 (isgreaterequal_test): Likewise.
11715 (isinf_test): Likewise.
11716 (isless_test): Likewise.
11717 (islessequal_test): Likewise.
11718 (islessgreater_test): Likewise.
11719 (isnan_test): Likewise.
11720 (isnormal_test): Likewise.
11721 (issignaling_test): Likewise.
11722 (isunordered_test): Likewise.
11723 (logb_test): Likewise.
11724 (logb_downward_test_data): Remove.
11725 (logb_test_downward): Likewise.
11726 (lround_test): Use ALL_RM_TEST.
11727 (llround_test): Likewise.
11728 (modf_test): Likewise.
11729 (nexttoward_test): Likewise.
11730 (remainder_test): Likewise.
11731 (drem_test): Likewise.
11732 (remainder_tonearest_test_data): Likewise.
11733 (remainder_test_tonearest): Likewise.
11734 (drem_test_tonearest): Likewise.
11735 (remainder_towardzero_test_data): Likewise.
11736 (remainder_test_towardzero): Likewise.
11737 (drem_test_towardzero): Likewise.
11738 (remainder_downward_test_data): Likewise.
11739 (remainder_test_downward): Likewise.
11740 (drem_test_downward): Likewise.
11741 (remainder_upward_test_data): Likewise.
11742 (remainder_test_upward): Likewise.
11743 (drem_test_upward): Likewise.
11744 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11745 (round_test): Use ALL_RM_TEST.
11746 (signbit_test): Likewise.
11747 (trunc_test): Likewise.
11748 (significand_test): Likewise.
11749 (main): Don't call removed functions.
11750
bc61d27c
JM
117512014-03-07 Joseph Myers <joseph@codesourcery.com>
11752
5c780849
JM
11753 [BZ #16674]
11754 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11755 || __USE_XOPEN2K8].
11756 (ILL_ILLOPN): Likewise.
11757 (ILL_ILLADR): Likewise.
11758 (ILL_ILLTRP): Likewise.
11759 (ILL_PRVOPC): Likewise.
11760 (ILL_PRVREG): Likewise.
11761 (ILL_COPROC): Likewise.
11762 (ILL_BADSTK): Likewise.
11763 (FPE_INTDIV): Likewise.
11764 (FPE_INTOVF): Likewise.
11765 (FPE_FLTDIV): Likewise.
11766 (FPE_FLTOVF): Likewise.
11767 (FPE_FLTUND): Likewise.
11768 (FPE_FLTRES): Likewise.
11769 (FPE_FLTINV): Likewise.
11770 (FPE_FLTSUB): Likewise.
11771 (SEGV_MAPERR): Likewise.
11772 (SEGV_ACCERR): Likewise.
11773 (BUS_ADRALN): Likewise.
11774 (BUS_ADRERR): Likewise.
11775 (BUS_OBJERR): Likewise.
11776 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11777 (TRAP_TRACE): Likewise.
11778 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11779 __USE_XOPEN2K8].
11780 (CLD_KILLED): Likewise.
11781 (CLD_DUMPED): Likewise.
11782 (CLD_TRAPPED): Likewise.
11783 (CLD_STOPPED): Likewise.
11784 (CLD_CONTINUED): Likewise.
11785 (POLL_IN): Likewise.
11786 (POLL_OUT): Likewise.
11787 (POLL_MSG): Likewise.
11788 (POLL_ERR): Likewise.
11789 (POLL_PRI): Likewise.
11790 (POLL_HUP): Likewise.
11791 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11792 Likewise.
11793 (ILL_ILLOPN): Likewise.
11794 (ILL_ILLADR): Likewise.
11795 (ILL_ILLTRP): Likewise.
11796 (ILL_PRVOPC): Likewise.
11797 (ILL_PRVREG): Likewise.
11798 (ILL_COPROC): Likewise.
11799 (ILL_BADSTK): Likewise.
11800 (FPE_INTDIV): Likewise.
11801 (FPE_INTOVF): Likewise.
11802 (FPE_FLTDIV): Likewise.
11803 (FPE_FLTOVF): Likewise.
11804 (FPE_FLTUND): Likewise.
11805 (FPE_FLTRES): Likewise.
11806 (FPE_FLTINV): Likewise.
11807 (FPE_FLTSUB): Likewise.
11808 (SEGV_MAPERR): Likewise.
11809 (SEGV_ACCERR): Likewise.
11810 (BUS_ADRALN): Likewise.
11811 (BUS_ADRERR): Likewise.
11812 (BUS_OBJERR): Likewise.
11813 (BUS_MCEERR_AR): Likewise.
11814 (BUS_MCEERR_AO): Likewise.
11815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11816 (TRAP_TRACE): Likewise.
11817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11818 __USE_XOPEN2K8].
11819 (CLD_KILLED): Likewise.
11820 (CLD_DUMPED): Likewise.
11821 (CLD_TRAPPED): Likewise.
11822 (CLD_STOPPED): Likewise.
11823 (CLD_CONTINUED): Likewise.
11824 (POLL_IN): Likewise.
11825 (POLL_OUT): Likewise.
11826 (POLL_MSG): Likewise.
11827 (POLL_ERR): Likewise.
11828 (POLL_PRI): Likewise.
11829 (POLL_HUP): Likewise.
11830 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11831 (ILL_ILLOPN): Likewise.
11832 (ILL_ILLADR): Likewise.
11833 (ILL_ILLTRP): Likewise.
11834 (ILL_PRVOPC): Likewise.
11835 (ILL_PRVREG): Likewise.
11836 (ILL_COPROC): Likewise.
11837 (ILL_BADSTK): Likewise.
11838 (FPE_INTDIV): Likewise.
11839 (FPE_INTOVF): Likewise.
11840 (FPE_FLTDIV): Likewise.
11841 (FPE_FLTOVF): Likewise.
11842 (FPE_FLTUND): Likewise.
11843 (FPE_FLTRES): Likewise.
11844 (FPE_FLTINV): Likewise.
11845 (FPE_FLTSUB): Likewise.
11846 (SEGV_MAPERR): Likewise.
11847 (SEGV_ACCERR): Likewise.
11848 (BUS_ADRALN): Likewise.
11849 (BUS_ADRERR): Likewise.
11850 (BUS_OBJERR): Likewise.
11851 (BUS_MCEERR_AR): Likewise.
11852 (BUS_MCEERR_AO): Likewise.
11853 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11854 (TRAP_TRACE): Likewise.
11855 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11856 __USE_XOPEN2K8].
11857 (CLD_KILLED): Likewise.
11858 (CLD_DUMPED): Likewise.
11859 (CLD_TRAPPED): Likewise.
11860 (CLD_STOPPED): Likewise.
11861 (CLD_CONTINUED): Likewise.
11862 (POLL_IN): Likewise.
11863 (POLL_OUT): Likewise.
11864 (POLL_MSG): Likewise.
11865 (POLL_ERR): Likewise.
11866 (POLL_PRI): Likewise.
11867 (POLL_HUP): Likewise.
11868 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11869 Likewise.
11870 (ILL_ILLOPN): Likewise.
11871 (ILL_ILLADR): Likewise.
11872 (ILL_ILLTRP): Likewise.
11873 (ILL_PRVOPC): Likewise.
11874 (ILL_PRVREG): Likewise.
11875 (ILL_COPROC): Likewise.
11876 (ILL_BADSTK): Likewise.
11877 (ILL_BADIADDR): Likewise.
11878 (ILL_BREAK): Likewise.
11879 (FPE_INTDIV): Likewise.
11880 (FPE_INTOVF): Likewise.
11881 (FPE_FLTDIV): Likewise.
11882 (FPE_FLTOVF): Likewise.
11883 (FPE_FLTUND): Likewise.
11884 (FPE_FLTRES): Likewise.
11885 (FPE_FLTINV): Likewise.
11886 (FPE_FLTSUB): Likewise.
11887 (FPE_DECOVF): Likewise.
11888 (FPE_DECDIV): Likewise.
11889 (FPE_DECERR): Likewise.
11890 (FPE_INVASC): Likewise.
11891 (FPE_INVDEC): Likewise.
11892 (SEGV_MAPERR): Likewise.
11893 (SEGV_ACCERR): Likewise.
11894 (SEGV_PSTKOVF): Likewise.
11895 (BUS_ADRALN): Likewise.
11896 (BUS_ADRERR): Likewise.
11897 (BUS_OBJERR): Likewise.
11898 (BUS_MCEERR_AR): Likewise.
11899 (BUS_MCEERR_AO): Likewise.
11900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11901 (TRAP_TRACE): Likewise.
11902 (TRAP_BRANCH): Likewise.
11903 (TRAP_HWBKPT): Likewise.
11904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11905 __USE_XOPEN2K8].
11906 (CLD_KILLED): Likewise.
11907 (CLD_DUMPED): Likewise.
11908 (CLD_TRAPPED): Likewise.
11909 (CLD_STOPPED): Likewise.
11910 (CLD_CONTINUED): Likewise.
11911 (POLL_IN): Likewise.
11912 (POLL_OUT): Likewise.
11913 (POLL_MSG): Likewise.
11914 (POLL_ERR): Likewise.
11915 (POLL_PRI): Likewise.
11916 (POLL_HUP): Likewise.
11917 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11918 (ILL_ILLOPN): Likewise.
11919 (ILL_ILLADR): Likewise.
11920 (ILL_ILLTRP): Likewise.
11921 (ILL_PRVOPC): Likewise.
11922 (ILL_PRVREG): Likewise.
11923 (ILL_COPROC): Likewise.
11924 (ILL_BADSTK): Likewise.
11925 (FPE_INTDIV): Likewise.
11926 (FPE_INTOVF): Likewise.
11927 (FPE_FLTDIV): Likewise.
11928 (FPE_FLTOVF): Likewise.
11929 (FPE_FLTUND): Likewise.
11930 (FPE_FLTRES): Likewise.
11931 (FPE_FLTINV): Likewise.
11932 (FPE_FLTSUB): Likewise.
11933 (SEGV_MAPERR): Likewise.
11934 (SEGV_ACCERR): Likewise.
11935 (BUS_ADRALN): Likewise.
11936 (BUS_ADRERR): Likewise.
11937 (BUS_OBJERR): Likewise.
11938 (BUS_MCEERR_AR): Likewise.
11939 (BUS_MCEERR_AO): Likewise.
11940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11941 (TRAP_TRACE): Likewise.
11942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11943 __USE_XOPEN2K8].
11944 (CLD_KILLED): Likewise.
11945 (CLD_DUMPED): Likewise.
11946 (CLD_TRAPPED): Likewise.
11947 (CLD_STOPPED): Likewise.
11948 (CLD_CONTINUED): Likewise.
11949 (POLL_IN): Likewise.
11950 (POLL_OUT): Likewise.
11951 (POLL_MSG): Likewise.
11952 (POLL_ERR): Likewise.
11953 (POLL_PRI): Likewise.
11954 (POLL_HUP): Likewise.
11955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11956 (ILL_ILLOPN): Likewise.
11957 (ILL_ILLADR): Likewise.
11958 (ILL_ILLTRP): Likewise.
11959 (ILL_PRVOPC): Likewise.
11960 (ILL_PRVREG): Likewise.
11961 (ILL_COPROC): Likewise.
11962 (ILL_BADSTK): Likewise.
11963 (FPE_INTDIV): Likewise.
11964 (FPE_INTOVF): Likewise.
11965 (FPE_FLTDIV): Likewise.
11966 (FPE_FLTOVF): Likewise.
11967 (FPE_FLTUND): Likewise.
11968 (FPE_FLTRES): Likewise.
11969 (FPE_FLTINV): Likewise.
11970 (FPE_FLTSUB): Likewise.
11971 (SEGV_MAPERR): Likewise.
11972 (SEGV_ACCERR): Likewise.
11973 (BUS_ADRALN): Likewise.
11974 (BUS_ADRERR): Likewise.
11975 (BUS_OBJERR): Likewise.
11976 (BUS_MCEERR_AR): Likewise.
11977 (BUS_MCEERR_AO): Likewise.
11978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11979 (TRAP_TRACE): Likewise.
11980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11981 __USE_XOPEN2K8].
11982 (CLD_KILLED): Likewise.
11983 (CLD_DUMPED): Likewise.
11984 (CLD_TRAPPED): Likewise.
11985 (CLD_STOPPED): Likewise.
11986 (CLD_CONTINUED): Likewise.
11987 (POLL_IN): Likewise.
11988 (POLL_OUT): Likewise.
11989 (POLL_MSG): Likewise.
11990 (POLL_ERR): Likewise.
11991 (POLL_PRI): Likewise.
11992 (POLL_HUP): Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11994 (ILL_ILLOPN): Likewise.
11995 (ILL_ILLADR): Likewise.
11996 (ILL_ILLTRP): Likewise.
11997 (ILL_PRVOPC): Likewise.
11998 (ILL_PRVREG): Likewise.
11999 (ILL_COPROC): Likewise.
12000 (ILL_BADSTK): Likewise.
12001 (FPE_INTDIV): Likewise.
12002 (FPE_INTOVF): Likewise.
12003 (FPE_FLTDIV): Likewise.
12004 (FPE_FLTOVF): Likewise.
12005 (FPE_FLTUND): Likewise.
12006 (FPE_FLTRES): Likewise.
12007 (FPE_FLTINV): Likewise.
12008 (FPE_FLTSUB): Likewise.
12009 (SEGV_MAPERR): Likewise.
12010 (SEGV_ACCERR): Likewise.
12011 (BUS_ADRALN): Likewise.
12012 (BUS_ADRERR): Likewise.
12013 (BUS_OBJERR): Likewise.
12014 (BUS_MCEERR_AR): Likewise.
12015 (BUS_MCEERR_AO): Likewise.
12016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12017 (TRAP_TRACE): Likewise.
12018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12019 __USE_XOPEN2K8].
12020 (CLD_KILLED): Likewise.
12021 (CLD_DUMPED): Likewise.
12022 (CLD_TRAPPED): Likewise.
12023 (CLD_STOPPED): Likewise.
12024 (CLD_CONTINUED): Likewise.
12025 (POLL_IN): Likewise.
12026 (POLL_OUT): Likewise.
12027 (POLL_MSG): Likewise.
12028 (POLL_ERR): Likewise.
12029 (POLL_PRI): Likewise.
12030 (POLL_HUP): Likewise.
12031 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12032 (ILL_ILLOPN): Likewise.
12033 (ILL_ILLADR): Likewise.
12034 (ILL_ILLTRP): Likewise.
12035 (ILL_PRVOPC): Likewise.
12036 (ILL_PRVREG): Likewise.
12037 (ILL_COPROC): Likewise.
12038 (ILL_BADSTK): Likewise.
12039 (ILL_DBLFLT): Likewise.
12040 (ILL_HARDWALL): Likewise.
12041 (FPE_INTDIV): Likewise.
12042 (FPE_INTOVF): Likewise.
12043 (FPE_FLTDIV): Likewise.
12044 (FPE_FLTOVF): Likewise.
12045 (FPE_FLTUND): Likewise.
12046 (FPE_FLTRES): Likewise.
12047 (FPE_FLTINV): Likewise.
12048 (FPE_FLTSUB): Likewise.
12049 (SEGV_MAPERR): Likewise.
12050 (SEGV_ACCERR): Likewise.
12051 (BUS_ADRALN): Likewise.
12052 (BUS_ADRERR): Likewise.
12053 (BUS_OBJERR): Likewise.
12054 (BUS_MCEERR_AR): Likewise.
12055 (BUS_MCEERR_AO): Likewise.
12056 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12057 (TRAP_TRACE): Likewise.
12058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12059 __USE_XOPEN2K8].
12060 (CLD_KILLED): Likewise.
12061 (CLD_DUMPED): Likewise.
12062 (CLD_TRAPPED): Likewise.
12063 (CLD_STOPPED): Likewise.
12064 (CLD_CONTINUED): Likewise.
12065 (POLL_IN): Likewise.
12066 (POLL_OUT): Likewise.
12067 (POLL_MSG): Likewise.
12068 (POLL_ERR): Likewise.
12069 (POLL_PRI): Likewise.
12070 (POLL_HUP): Likewise.
12071 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12072 (ILL_ILLOPN): Likewise.
12073 (ILL_ILLADR): Likewise.
12074 (ILL_ILLTRP): Likewise.
12075 (ILL_PRVOPC): Likewise.
12076 (ILL_PRVREG): Likewise.
12077 (ILL_COPROC): Likewise.
12078 (ILL_BADSTK): Likewise.
12079 (FPE_INTDIV): Likewise.
12080 (FPE_INTOVF): Likewise.
12081 (FPE_FLTDIV): Likewise.
12082 (FPE_FLTOVF): Likewise.
12083 (FPE_FLTUND): Likewise.
12084 (FPE_FLTRES): Likewise.
12085 (FPE_FLTINV): Likewise.
12086 (FPE_FLTSUB): Likewise.
12087 (SEGV_MAPERR): Likewise.
12088 (SEGV_ACCERR): Likewise.
12089 (BUS_ADRALN): Likewise.
12090 (BUS_ADRERR): Likewise.
12091 (BUS_OBJERR): Likewise.
12092 (BUS_MCEERR_AR): Likewise.
12093 (BUS_MCEERR_AO): Likewise.
12094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12095 (TRAP_TRACE): Likewise.
12096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12097 __USE_XOPEN2K8].
12098 (CLD_KILLED): Likewise.
12099 (CLD_DUMPED): Likewise.
12100 (CLD_TRAPPED): Likewise.
12101 (CLD_STOPPED): Likewise.
12102 (CLD_CONTINUED): Likewise.
12103 (POLL_IN): Likewise.
12104 (POLL_OUT): Likewise.
12105 (POLL_MSG): Likewise.
12106 (POLL_ERR): Likewise.
12107 (POLL_PRI): Likewise.
12108 (POLL_HUP): Likewise.
12109 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12110 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12111
bc61d27c
JM
12112 [BZ #16670]
12113 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12114 before #include of <time.h>.
12115 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12116 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12117 (test-xfail-UNIX98/sched.h/conform): Likewise.
12118
302949e2
MS
121192014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12120
12121 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12122 error absence of trapping exception support.
12123 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12124
a00f522a
JM
121252014-03-07 Joseph Myers <joseph@codesourcery.com>
12126
6f99f280
JM
12127 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12128 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12129 * timezone/Makefile (testdata): Move definition above include of
12130 Rules.
12131 (test-zones): New variable.
12132 (tests-special): Add zone files.
12133 (build-testdata): Use $(evaluate-test).
12134
0b20a9e8
JM
12135 * elf/Makefile (tests-special): Rename tests to end with .out.
12136 ($(objpfx)noload-mem): Likewise.
12137 ($(objpfx)tst-leaks1-mem): Likewise.
12138 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12139 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12140 $(objpfx)test-iconvconfig.out.
12141 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12142 set -e inside subshell and redirect output to file.
12143 * iconvdata/Makefile (generated): Rename tests to end with .out.
12144 Correct type.
12145 (tests-special): Rename tests to end with .out.
12146 ($(objpfx)mtrace-tst-loading): Likewise.
12147 * intl/Makefile (generated): Likewise.
12148 (tests-special): Likewise.
12149 ($(objpfx)mtrace-tst-gettext): Likewise.
12150 * misc/Makefile (generated): Likewise.
12151 (tests-special): Likewise.
12152 ($(objpfx)tst-error1-mem): Likewise.
12153 * nptl/Makefile (tests-special): Likewise.
12154 ($(objpfx)tst-stack3-mem): Likewise.
12155 (generated): Likewise.
12156 * posix/Makefile (generated): Likewise.
12157 (tests-special): Likewise.
12158 (xtests-special): Likewise.
12159 ($(objpfx)tst-fnmatch-mem): Likewise.
12160 ($(objpfx)bug-regex2-mem): Likewise.
12161 ($(objpfx)bug-regex14-mem): Likewise.
12162 ($(objpfx)bug-regex21-mem): Likewise.
12163 ($(objpfx)bug-regex31-mem): Likewise.
12164 ($(objpfx)tst-vfork3-mem): Likewise.
12165 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12166 ($(objpfx)tst-pcre-mem): Likewise.
12167 ($(objpfx)tst-boost-mem): Likewise.
12168 ($(objpfx)bug-ga2-mem): Likewise.
12169 ($(objpfx)bug-glob2-mem): Likewise.
12170 * resolv/Makefile (generate): Likewise.
12171 (tests-special): Likewise.
12172 (xtests-special): Likewise.
12173 (generated): Likewise.
12174 ($(objpfx)mtrace-tst-leaks): Likewise.
12175 ($(objpfx)mtrace-tst-leaks2): Likewise.
12176
265d52ab
JM
12177 * scripts/merge-test-results.sh: New file.
12178 * Makefile (tests-special-notdir): New variable.
12179 (tests): Run merge-test-results.sh.
12180 (xtests): Likewise.
12181 * Rules (tests-special-notdir): New variable.
12182 (xtests-special-notdir): Likewise.
12183 (tests): Run merge-test-results.sh
12184 (xtests): Likewise.
12185
54ee292d
JM
12186 * Makeconfig (test-xfail-name): New variable.
12187 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12188 compute variable name for expected failures.
12189 * conform/Makefile (conformtest-headers-data): New variable.
12190 (conformtest-standards): Likewise.
12191 (conformtest-headers-ISO): Likewise.
12192 (conformtest-headers-ISO99): Likewise.
12193 (conformtest-headers-ISO11): Likewise.
12194 (conformtest-headers-POSIX): Likewise.
12195 (conformtest-headers-XPG3): Likewise.
12196 (conformtest-headers-XPG4): Likewise.
12197 (conformtest-headers-UNIX98): Likewise.
12198 (conformtest-headers-XOPEN2K): Likewise.
12199 (conformtest-headers-POSIX2008): Likewise.
12200 (conformtest-headers-XOPEN2K8): Likewise.
12201 (conformtest-header-list-base): Likewise.
12202 (conformtest-header-list-tests): Likewise.
12203 (conformtest-header-base): Likewise.
12204 (conformtest-header-tests): Likewise.
12205 (tests-special): Add $(conformtest-header-list-tests). If
12206 [$(fast-check) && !$(cross-compiling)], add
12207 $(conformtest-header-tests) instead of
12208 $(objpfx)run-conformtest.out.
12209 (generated): Add $(conformtest-header-list-base). If
12210 [$(fast-check) && !$(cross-compiling)], add
12211 $(conformtest-header-base). Remove previous setting.
12212 ($(conformtest-header-list-tests)): New target.
12213 (test-xfail-run-conformtest): Remove variable.
12214 ($(objpfx)run-conformtest.out): Remove target.
12215 (test-xfail-ISO11/complex.h/conform): New variable.
12216 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12217 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12218 (test-xfail-XPG3/varargs.h/conform): Likewise.
12219 (test-xfail-XPG4/varargs.h/conform): Likewise.
12220 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12221 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12222 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12223 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12224 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12225 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12226 (test-xfail-XPG3/ftw.h/conform): Likewise.
12227 (test-xfail-XPG3/grp.h/conform): Likewise.
12228 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12229 (test-xfail-XPG3/limits.h/conform): Likewise.
12230 (test-xfail-XPG3/pwd.h/conform): Likewise.
12231 (test-xfail-XPG3/search.h/conform): Likewise.
12232 (test-xfail-XPG3/signal.h/conform): Likewise.
12233 (test-xfail-XPG3/stdio.h/conform): Likewise.
12234 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12235 (test-xfail-XPG3/string.h/conform): Likewise.
12236 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12237 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12238 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12239 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12240 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12241 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12242 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12243 (test-xfail-XPG3/termios.h/conform): Likewise.
12244 (test-xfail-XPG3/time.h/conform): Likewise.
12245 (test-xfail-XPG3/unistd.h/conform): Likewise.
12246 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12247 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12248 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12249 (test-xfail-XPG4/netdb.h/conform): Likewise.
12250 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12251 (test-xfail-XPG4/signal.h/conform): Likewise.
12252 (test-xfail-XPG4/stdio.h/conform): Likewise.
12253 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12254 (test-xfail-XPG4/stropts.h/conform): Likewise.
12255 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12256 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12257 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12258 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12259 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12260 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12261 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12262 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12263 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12264 (test-xfail-XPG4/termios.h/conform): Likewise.
12265 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12266 (test-xfail-XPG4/unistd.h/conform): Likewise.
12267 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12268 (test-xfail-POSIX/sched.h/conform): Likewise.
12269 (test-xfail-POSIX/signal.h/conform): Likewise.
12270 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12271 (test-xfail-POSIX/tar.h/conform): Likewise.
12272 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12273 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12274 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12275 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12276 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12277 (test-xfail-UNIX98/sched.h/conform): Likewise.
12278 (test-xfail-UNIX98/signal.h/conform): Likewise.
12279 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12280 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12281 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12282 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12283 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12284 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12285 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12286 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12287 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12288 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12289 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12290 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12291 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12292 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12293 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12294 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12295 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12296 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12297 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12298 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12299 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12300 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12301 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12302 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12303 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12304 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12305 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12306 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12307 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12308 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12309 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12310 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12311 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12312 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12313 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12314 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12315 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12316 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12317 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12318 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12319 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12320 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12321 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12322 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12323 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12324 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12325 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12326 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12327 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12328 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12329 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12330 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12331 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12332 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12333 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12334 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12335 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12336 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12337 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12338 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12339 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12340 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12341 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12342 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12343 (conformtest-cc-flags): Likewise.
12344 ($(conformtest-header-tests): New target.
12345 * conform/check-header-lists.sh: New file.
12346 * conform/run-conformtest.sh: Remove.
12347
a00f522a
JM
12348 * conform/conformtest.pl: Allow ' and \ in values given for
12349 constants.
12350 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12351 inclusion.
12352 [POSIX] (sys/types.h): Likewise.
12353 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12354 inclusion.
12355 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12356 inclusion.
12357 * conform/data/signal.h-data (SIGIO): Remove expectation.
12358 [XPG3] (SIGBUS): Do not expect.
12359 [POSIX || XPG3] (SIGPOLL): Likewise.
12360 [POSIX || XPG3] (SIGPROF): Likewise.
12361 [POSIX || XPG3] (SIGSYS): Likewise.
12362 [XPG3] (SIGTRAP): Likewise.
12363 [POSIX || XPG3] (SIGURG): Likewise.
12364 [POSIX || XPG3] (SIGVTALRM): Likewise.
12365 [POSIX || XPG3] (SIGXCPU): Likewise.
12366 [POSIX || XPG3] (SIGXFSZ): Likewise.
12367 [POSIX] (SA_SIGINFO): Expect.
12368 [XPG3] (siginfo_t): Do not expect type or contents.
12369 [POSIX] (si_pid): Do not expect element.
12370 [POSIX] (si_uid): Likewise.
12371 [POSIX] (si_addr): Likewise.
12372 [POSIX] (si_status): Likewise.
12373 [POSIX] (si_band): Likewise.
12374 [XPG4] (si_value): Likewise.
12375 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12376 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12377 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12378 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12379 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12380 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12381 [POSIX || XPG3] (ILL_COPROC): Likewise.
12382 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12383 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12384 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12385 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12386 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12387 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12388 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12389 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12390 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12391 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12392 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12393 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12394 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12395 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12396 [POSIX || XPG3] (CLD_EXITED): Likewise.
12397 [POSIX || XPG3] (CLD_KILLED): Likewise.
12398 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12399 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12400 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12401 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12402 [POSIX || XPG3] (POLL_IN): Likewise.
12403 [POSIX || XPG3] (POLL_OUT): Likewise.
12404 [POSIX || XPG3] (POLL_MSG): Likewise.
12405 [POSIX || XPG3] (POLL_ERR): Likewise.
12406 [POSIX || XPG3] (POLL_PRI): Likewise.
12407 [POSIX || XPG3] (POLL_HUP): Likewise.
12408 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12409 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12410 (SIG*): Do not allow.
12411 [XPG3] (si_*): Likewise.
12412 [XPG3] (SI_*): Likewise.
12413 [XPG3 || XPG4] (sigev_*): Likewise.
12414 [XPG3 || XPG4] (SIGEV_*): Likewise.
12415 [XPG3 || XPG4] (sival_*): Likewise.
12416 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12417 [POSIX || XPG3] (BUS_*): Likewise.
12418 [POSIX || XPG3] (CLD_*): Likewise.
12419 [POSIX || XPG3] (FPE_*): Likewise.
12420 [POSIX || XPG3] (ILL_*): Likewise.
12421 [POSIX || XPG3] (POLL_*): Likewise.
12422 [POSIX || XPG3] (SEGV_*): Likewise.
12423 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12424 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12425 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12426 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12427 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12428 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12429 Specify type and value.
12430 (TVERSLEN): Likewise.
12431 (REGTYPE): Likewise.
12432 (AREGTYPE): Likewise.
12433 (LNKTYPE): Likewise.
12434 (SYMTYPE): Likewise.
12435 (CHRTYPE): Likewise.
12436 (BLKTYPE): Likewise.
12437 (DIRTYPE): Likewise.
12438 (FIFOTYPE): Likewise.
12439 (CONTTYPE): Likewise.
12440 (TSUID): Likewise.
12441 (TSGID): Likewise.
12442 (TSVTX): Likewise.
12443 (TUREAD): Likewise.
12444 (TUWRITE): Likewise.
12445 (TUEXEC): Likewise.
12446 (TGREAD): Likewise.
12447 (TGWRITE): Likewise.
12448 (TGEXEC): Likewise.
12449 (TOREAD): Likewise.
12450 (TOWRITE): Likewise.
12451 (TOEXEC): Likewise.
12452 [POSIX] (TSVTX): Expect constant.
12453
aa97dee1
JM
124542014-03-06 Joseph Myers <joseph@codesourcery.com>
12455
f214606a
JM
12456 * Makefile (tests): Change dependencies to ....
12457 (tests-special): ... additions to this variable.
12458 (tests): Depend on $(tests-special).
12459 * Makerules (check-abi-list): New variable.
12460 (check-abi): Depend on $(check-abi-list).
12461 [$(subdir) = elf] (tests-special): Add
12462 $(objpfx)check-abi-libc.out.
12463 [$(build-shared) = yes && subdir] (tests-special): Add
12464 $(check-abi-list).
12465 [$(build-shared) = yes && subdir] (tests): Do not depend on
12466 check-abi.
12467 * Rules (tests): Depend on $(tests-special).
12468 (xtests): Depend on $(xtests-special).
12469 * catgets/Makefile (tests): Change dependencies to ....
12470 (tests-special): ... additions to this variable.
12471 * conform/Makefile (tests): Change dependencies to ....
12472 (tests-special): ... additions to this variable.
12473 * elf/Makefile (tests): Change dependencies to ....
12474 (tests-special): ... additions to this variable.
12475 * grp/Makefile (tests): Change dependencies to ....
12476 (tests-special): ... additions to this variable.
12477 * iconv/Makefile (xtests): Change dependencies to ....
12478 (xtests-special): ... additions to this variable.
12479 * iconvdata/Makefile (tests): Change dependencies to ....
12480 (tests-special): ... additions to this variable.
12481 * intl/Makefile (tests): Change dependencies to ....
12482 (tests-special): ... additions to this variable. Also add
12483 $(objpfx)tst-gettext.out.
12484 * io/Makefile (tests): Change dependencies to ....
12485 (tests-special): ... additions to this variable.
12486 * libio/Makefile (tests): Change dependencies to ....
12487 (tests-special): ... additions to this variable.
12488 * malloc/Makefile (tests): Change dependencies to ....
12489 (tests-special): ... additions to this variable.
12490 * misc/Makefile (tests): Change dependencies to ....
12491 (tests-special): ... additions to this variable.
12492 * nptl/Makefile (tests): Change dependencies to ....
12493 (tests-special): ... additions to this variable.
12494 * nptl_db/Makefile (tests): Change dependencies to ....
12495 (tests-special): ... additions to this variable.
12496 * posix/Makefile (tests): Change dependencies to ....
12497 (tests-special): ... additions to this variable.
12498 (xtests): Change dependencies to ....
12499 (xtests-special): ... additions to this variable.
12500 * resolv/Makefile (tests): Change dependencies to ....
12501 (tests-special): ... additions to this variable.
12502 (xtests): Change dependencies to ....
12503 (xtests-special): ... additions to this variable.
12504 * stdio-common/Makefile (tests): Change dependencies to ....
12505 (tests-special): ... additions to this variable.
12506 (do-tst-unbputc): Remove target.
12507 (do-tst-printf): Likewise.
12508 * stdlib/Makefile (tests): Change dependencies to ....
12509 (tests-special): ... additions to this variable.
12510 * string/Makefile (tests): Change dependencies to ....
12511 (tests-special): ... additions to this variable.
12512 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12513 (tests-special): ... additions to this variable.
12514
81700b53
JM
12515 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12516 whole file.
12517 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12518 whole file.
12519 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12520 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12521
2ea18461
JM
12522 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12523 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12524 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12525 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12526 * conform/data/libgen.h-data [XPG3]: Likewise.
12527 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12528 * conform/data/ndbm.h-data [XPG3]: Likewise.
12529 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12530 * conform/data/netdb.h-data [XPG3]: Likewise.
12531 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12532 * conform/data/poll.h-data [XPG3]: Likewise.
12533 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12534 * conform/data/strings.h-data [XPG3]: Likewise.
12535 * conform/data/stropts.h-data [XPG3]: Likewise.
12536 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12537 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12538 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12539 Likewise.
12540 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12541 * conform/data/sys/time.h-data [XPG3]: Likewise.
12542 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12543 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12544 * conform/data/sys/un.h-data [XPG3]: Likewise.
12545 * conform/data/syslog.h-data [XPG3]: Likewise.
12546 * conform/data/ucontext.h-data [XPG3]: Likewise.
12547 * conform/data/utmpx.h-data [XPG3]: Likewise.
12548 * conform/data/varargs.h-data [UNIX98]: Enable file.
12549
355bc986
JM
12550 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12551
215db402
JM
12552 * math/libm-test.inc (struct test_f_f_data): Move expected results
12553 into structure for each rounding mode.
12554 (struct test_ff_f_data): Likewise.
12555 (struct test_ff_f_data_nexttoward): Likewise.
12556 (struct test_fi_f_data): Likewise.
12557 (struct test_fl_f_data): Likewise.
12558 (struct test_if_f_data): Likewise.
12559 (struct test_fff_f_data): Likewise.
12560 (struct test_c_f_data): Likewise.
12561 (struct test_f_f1_data): Likewise.
12562 (struct test_fF_f1_data): Likewise.
12563 (struct test_ffI_f1_data): Likewise.
12564 (struct test_c_c_data): Likewise.
12565 (struct test_cc_c_data): Likewise.
12566 (struct test_f_i_data): Likewise.
12567 (struct test_ff_i_data): Likewise.
12568 (struct test_f_l_data): Likewise.
12569 (struct test_f_L_data): Likewise.
12570 (struct test_fFF_11_data): Likewise.
12571 (RM_): New macro.
12572 (RM_FE_DOWNWARD): Likewise.
12573 (RM_FE_TONEAREST): Likewise.
12574 (RM_FE_TOWARDZERO): Likewise.
12575 (RM_FE_UPWARD): Likewise.
12576 (RUN_TEST_LOOP_f_f): Update references to expected results.
12577 (RUN_TEST_LOOP_2_f): Likewise.
12578 (RUN_TEST_LOOP_fff_f): Likewise.
12579 (RUN_TEST_LOOP_c_f): Likewise.
12580 (RUN_TEST_LOOP_f_f1): Likewise.
12581 (RUN_TEST_LOOP_fF_f1): Likewise.
12582 (RUN_TEST_LOOP_fI_f1): Likewise.
12583 (RUN_TEST_LOOP_ffI_f1): Likewise.
12584 (RUN_TEST_LOOP_c_c): Likewise.
12585 (RUN_TEST_LOOP_cc_c): Likewise.
12586 (RUN_TEST_LOOP_f_i): Likewise.
12587 (RUN_TEST_LOOP_f_i_tg): Likewise.
12588 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12589 (RUN_TEST_LOOP_f_b): Likewise.
12590 (RUN_TEST_LOOP_f_b_tg): Likewise.
12591 (RUN_TEST_LOOP_f_l): Likewise.
12592 (RUN_TEST_LOOP_f_L): Likewise.
12593 (RUN_TEST_LOOP_fFF_11): Likewise.
12594 * math/gen-libm-test.pl (parse_args): Output four copies of
12595 expected results for each test.
12596
67737b8f
JM
12597 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12598 (__ASSUME_UTIMES): Remove.
12599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12600 (__ASSUME_UTIMES): Likewise.
12601
aa97dee1
JM
12602 * math/gen-auto-libm-tests.c: Update comment on output format.
12603 (output_for_one_input_case): Generate before-rounding and
12604 after-rounding information as conditions on output flags not
12605 floating-point format.
12606 * math/auto-libm-test-out: Regenerated.
12607 * math/gen-libm-test.pl (cond_value): New function.
12608 (or_cond_value): Use cond_value.
12609 (generate_testfile): Handle conditional exceptions.
12610
e6b6a857
JM
126112014-03-05 Joseph Myers <joseph@codesourcery.com>
12612
2f0a0f44
JM
12613 * math/libm-test.inc (max_valid_error): New variable.
12614 (init_max_error): Take new argument specifying whether function
12615 results are exactly determined. Set max_valid_error and bound
12616 other variables for errors based on this argument.
12617 (set_max_error): Do not record results above max_valid_error.
12618 (check_float_internal): Only accept errors of up to 0.5ulps if
12619 also at most max_valid_error.
12620 (START): Take new argument EXACT and pass it to init_max_error.
12621 (acos_test): Update call to START.
12622 (acos_test_tonearest): Likewise.
12623 (acos_test_towardzero): Likewise.
12624 (acos_test_downward): Likewise.
12625 (acos_test_upward): Likewise.
12626 (acosh_test): Likewise.
12627 (asin_test): Likewise.
12628 (asin_test_tonearest): Likewise.
12629 (asin_test_towardzero): Likewise.
12630 (asin_test_downward): Likewise.
12631 (asin_test_upward): Likewise.
12632 (asinh_test): Likewise.
12633 (atan_test): Likewise.
12634 (atanh_test): Likewise.
12635 (atan2_test): Likewise.
12636 (cabs_test): Likewise.
12637 (cacos_test): Likewise.
12638 (cacosh_test): Likewise.
12639 (carg_test): Likewise.
12640 (casin_test): Likewise.
12641 (casinh_test): Likewise.
12642 (catan_test): Likewise.
12643 (catanh_test): Likewise.
12644 (cbrt_test): Likewise.
12645 (ccos_test): Likewise.
12646 (ccosh_test): Likewise.
12647 (ceil_test): Likewise.
12648 (cexp_test): Likewise.
12649 (cimag_test): Likewise.
12650 (clog_test): Likewise.
12651 (clog10_test): Likewise.
12652 (conj_test): Likewise.
12653 (copysign_test): Likewise.
12654 (cos_test): Likewise.
12655 (cos_test_tonearest): Likewise.
12656 (cos_test_towardzero): Likewise.
12657 (cos_test_downward): Likewise.
12658 (cos_test_upward): Likewise.
12659 (cosh_test): Likewise.
12660 (cosh_test_tonearest): Likewise.
12661 (cosh_test_towardzero): Likewise.
12662 (cosh_test_downward): Likewise.
12663 (cosh_test_upward): Likewise.
12664 (cpow_test): Likewise.
12665 (cproj_test): Likewise.
12666 (creal_test): Likewise.
12667 (csin_test): Likewise.
12668 (csinh_test): Likewise.
12669 (csqrt_test): Likewise.
12670 (ctan_test): Likewise.
12671 (ctan_test_tonearest): Likewise.
12672 (ctan_test_towardzero): Likewise.
12673 (ctan_test_downward): Likewise.
12674 (ctan_test_upward): Likewise.
12675 (ctanh_test): Likewise.
12676 (ctanh_test_tonearest): Likewise.
12677 (ctanh_test_towardzero): Likewise.
12678 (ctanh_test_downward): Likewise.
12679 (ctanh_test_upward): Likewise.
12680 (erf_test): Likewise.
12681 (erfc_test): Likewise.
12682 (exp_test): Likewise.
12683 (exp_test_tonearest): Likewise.
12684 (exp_test_towardzero): Likewise.
12685 (exp_test_downward): Likewise.
12686 (exp_test_upward): Likewise.
12687 (exp10_test): Likewise.
12688 (exp10_test_tonearest): Likewise.
12689 (exp10_test_towardzero): Likewise.
12690 (exp10_test_downward): Likewise.
12691 (exp10_test_upward): Likewise.
12692 (pow10_test): Likewise.
12693 (exp2_test): Likewise.
12694 (expm1_test): Likewise.
12695 (expm1_test_tonearest): Likewise.
12696 (expm1_test_towardzero): Likewise.
12697 (expm1_test_downward): Likewise.
12698 (expm1_test_upward): Likewise.
12699 (fabs_test): Likewise.
12700 (fdim_test): Likewise.
12701 (floor_test): Likewise.
12702 (fma_test): Likewise.
12703 (fma_test_towardzero): Likewise.
12704 (fma_test_downward): Likewise.
12705 (fma_test_upward): Likewise.
12706 (fmax_test): Likewise.
12707 (fmin_test): Likewise.
12708 (fmod_test): Likewise.
12709 (fpclassify_test): Likewise.
12710 (frexp_test): Likewise.
12711 (hypot_test): Likewise.
12712 (ilogb_test): Likewise.
12713 (isfinite_test): Likewise.
12714 (finite_test): Likewise.
12715 (isgreater_test): Likewise.
12716 (isgreaterequal_test): Likewise.
12717 (isinf_test): Likewise.
12718 (isless_test): Likewise.
12719 (islessequal_test): Likewise.
12720 (islessgreater_test): Likewise.
12721 (isnan_test): Likewise.
12722 (isnormal_test): Likewise.
12723 (issignaling_test): Likewise.
12724 (isunordered_test): Likewise.
12725 (j0_test): Likewise.
12726 (j1_test): Likewise.
12727 (jn_test): Likewise.
12728 (ldexp_test): Likewise.
12729 (lgamma_test): Likewise.
12730 (gamma_test): Likewise.
12731 (lrint_test): Likewise.
12732 (lrint_test_tonearest): Likewise.
12733 (lrint_test_towardzero): Likewise.
12734 (lrint_test_downward): Likewise.
12735 (lrint_test_upward): Likewise.
12736 (llrint_test): Likewise.
12737 (llrint_test_tonearest): Likewise.
12738 (llrint_test_towardzero): Likewise.
12739 (llrint_test_downward): Likewise.
12740 (llrint_test_upward): Likewise.
12741 (log_test): Likewise.
12742 (log10_test): Likewise.
12743 (log1p_test): Likewise.
12744 (log2_test): Likewise.
12745 (logb_test): Likewise.
12746 (logb_test_downward): Likewise.
12747 (lround_test): Likewise.
12748 (llround_test): Likewise.
12749 (modf_test): Likewise.
12750 (nearbyint_test): Likewise.
12751 (nextafter_test): Likewise.
12752 (nexttoward_test): Likewise.
12753 (pow_test): Likewise.
12754 (pow_test_tonearest): Likewise.
12755 (pow_test_towardzero): Likewise.
12756 (pow_test_downward): Likewise.
12757 (pow_test_upward): Likewise.
12758 (remainder_test): Likewise.
12759 (drem_test): Likewise.
12760 (remainder_test_tonearest): Likewise.
12761 (drem_test_tonearest): Likewise.
12762 (remainder_test_towardzero): Likewise.
12763 (drem_test_towardzero): Likewise.
12764 (remainder_test_downward): Likewise.
12765 (drem_test_downward): Likewise.
12766 (remainder_test_upward): Likewise.
12767 (drem_test_upward): Likewise.
12768 (remquo_test): Likewise.
12769 (rint_test): Likewise.
12770 (rint_test_tonearest): Likewise.
12771 (rint_test_towardzero): Likewise.
12772 (rint_test_downward): Likewise.
12773 (rint_test_upward): Likewise.
12774 (round_test): Likewise.
12775 (scalb_test): Likewise.
12776 (scalbn_test): Likewise.
12777 (scalbln_test): Likewise.
12778 (signbit_test): Likewise.
12779 (sin_test): Likewise.
12780 (sin_test_tonearest): Likewise.
12781 (sin_test_towardzero): Likewise.
12782 (sin_test_downward): Likewise.
12783 (sin_test_upward): Likewise.
12784 (sincos_test): Likewise.
12785 (sinh_test): Likewise.
12786 (sinh_test_tonearest): Likewise.
12787 (sinh_test_towardzero): Likewise.
12788 (sinh_test_downward): Likewise.
12789 (sinh_test_upward): Likewise.
12790 (sqrt_test): Likewise.
12791 (sqrt_test_tonearest): Likewise.
12792 (sqrt_test_towardzero): Likewise.
12793 (sqrt_test_downward): Likewise.
12794 (sqrt_test_upward): Likewise.
12795 (tan_test): Likewise.
12796 (tan_test_tonearest): Likewise.
12797 (tan_test_towardzero): Likewise.
12798 (tan_test_downward): Likewise.
12799 (tan_test_upward): Likewise.
12800 (tanh_test): Likewise.
12801 (tgamma_test): Likewise.
12802 (trunc_test): Likewise.
12803 (y0_test): Likewise.
12804 (y1_test): Likewise.
12805 (yn_test): Likewise.
12806 (significand_test): Likewise.
12807
e6b6a857
JM
12808 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12809 individual tests in comment.
12810 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12811 (prev_max_error): New variable.
12812 (prev_real_max_error): Likewise.
12813 (prev_imag_max_error): Likewise.
12814 (compare_ulp_data): Don't refer to test names in comment.
12815 (find_test_ulps): Remove function.
12816 (find_function_ulps): Likewise.
12817 (find_complex_function_ulps): Likewise.
12818 (init_max_error): Take function name as argument. Look up ulps
12819 for that function.
12820 (print_ulps): Remove function.
12821 (print_max_error): Use prev_max_error instead of calling
12822 find_function_ulps.
12823 (print_complex_max_error): Use prev_real_max_error and
12824 prev_imag_max_error instead of calling find_complex_function_ulps.
12825 (check_float_internal): Take max_ulp parameter instead of calling
12826 find_test_ulps. Don't call print_ulps.
12827 (check_float): Update call to check_float_internal.
12828 (check_complex): Update calls to check_float_internal.
12829 (START): Pass argument to init_max_error.
12830 * math/gen-libm-test.pl (%results): Don't include "kind"
12831 information.
12832 (parse_ulps): Don't handle ulps of individual tests.
12833 (print_ulps_file): Likewise.
12834 (output_ulps): Likewise.
12835 * math/README.libm-test: Update.
12836 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12837 individual tests.
12838 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12839 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12840 * sysdeps/arm/libm-test-ulps: Likewise.
12841 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12842 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12843 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12844 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12845 * sysdeps/microblaze/libm-test-ulps: Likewise.
12846 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12847 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12848 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12849 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12851 * sysdeps/sh/libm-test-ulps: Likewise.
12852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12853 * sysdeps/tile/libm-test-ulps: Likewise.
12854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12855
45adef3c
JM
128562014-03-04 Joseph Myers <joseph@codesourcery.com>
12857
12858 * math/libm-test.inc (print_complex_max_error): Check separately
12859 whether real and imaginary errors are within allowed range and
12860 pass 0 to print_complex_function_ulps instead of value within
12861 allowed range.
12862
000232b9
SP
128632014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12864
d4b17258
SP
12865 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12866 formatting.
12867 (get_handles_fopen): Likewise.
12868 (do_write_test): Likewise.
12869
091eff71
SP
12870 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12871
fa3cd248
SP
12872 * libio/fileops.c (do_ftell): Use cached offset when
12873 available.
12874 * libio/iofwide.c (do_ftell_wide): Likewise.
12875 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12876 _IO_file_attach.
12877 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12878
000232b9
SP
12879 [BZ #16532]
12880 * libio/libioP.h (get_file_offset): New function.
12881 * libio/fileops.c (get_file_offset): Likewise.
12882 (do_ftell): Likewise.
12883 (_IO_new_file_seekoff): Split out ftell logic.
12884 * libio/wfileops.c (do_ftell_wide): Likewise.
12885 (_IO_wfile_seekoff): Split out ftell logic.
12886 * libio/tst-ftell-active-handler.c: New test case.
12887 * libio/Makefile (tests): Add it.
12888
116f4d1a
RM
128892014-03-03 Roland McGrath <roland@hack.frob.com>
12890
12891 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12892 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12893
532a6035
SP
128942014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12895
12896 [BZ #16639]
12897 * nscd/connections.c (nscd_init): Call do_exit.
12898 (start_threads): Call do_exit and notify_parent.
12899 (begin_drop_privileges): Call do_exit.
12900 (finish_drop_privileges): Likewise.
12901 * nscd/selinux.c (preserve_capabilities): Likewise.
12902 (install_real_capabilities): Likewise.
12903 (nscd_selinux_enabled): Likewise.
12904 (avc_create_thread): Likewise.
12905 (avc_alloc_lock): Likewise.
12906 (nscd_avc_init): Likewise.
12907 * nscd/nscd.c (parent_fd): New static variable.
12908 (main): Create a pipe between parent and child processes.
12909 Skip closing parent_fd.
12910 (monitor_child): New function.
12911 (do_exit): Likewise.
12912 (notify_parent): Likewise.
12913 * nscd/nscd.h (notify_parent): Likewise.
12914 (do_exit): Likewise.
12915
d6285c9f
CD
129162014-03-03 Carlos O'Donell <carlos@redhat.com>
12917
12918 * malloc/malloc.c (__libc_calloc): Revert last change.
12919
2b85d2a0
AZ
129202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12921
12922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12923
c7debbdf
RS
129242014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12925
12926 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12928 implementation.
12929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12930 (__libc_ifunc_impl_list): Likewise.
12931 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12932 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12933 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12934 * string/strrchr.c: Define STRRCHR.
12935
235eed86
OB
129362014-02-28 Ondřej Bílka <neleai@seznam.cz>
12937
12938 * benchtest/bench-strtok.c (simple_strtok): Delete.
12939 (strtok_string): Use as benchmark.
12940 * string/strtok (STRTOK): New macro.
12941
8e25d1e7
CD
129422014-02-28 Carlos O'Donell <carlos@redhat.com>
12943
ef563f92
CD
12944 * manual/threads.texi: Add header and standard comments to all
12945 functions.
12946
8e25d1e7
CD
12947 * elf/dl-lookup.c (check_match): New function.
12948 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12949 (do_lookup_x): Remove nested function check_match. Use non-nested
12950 function check_match.
12951
ff71cc37
RM
129522014-02-28 Roland McGrath <roland@hack.frob.com>
12953
f08e9a26
RM
12954 * csu/Makefile (generated, before-compile): Use += rather than =.
12955 * catgets/Makefile (generated, generated-dirs): Likewise.
12956 * debug/Makefile (generated): Likewise.
12957 * dlfcn/Makefile (generated): Likewise.
12958 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12959 * iconvdata/Makefile (before-compile, generated): Likewise.
12960 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12961 * libio/Makefile (generated): Likewise.
12962 * malloc/Makefile (generated): Likewise.
12963 * manual/Makefile (generated, generated-dirs): Likewise.
12964 * misc/Makefile (generated): Likewise.
12965 * posix/Makefile (generated): Likewise.
12966 * resolv/Makefile (generated): Likewise.
12967 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12968 * timezone/Makefile (generated, generated-dirs): Likewise.
12969
ff71cc37
RM
12970 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12971
fe13a20c
AZ
129722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12973
57f41c40
AS
12974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12975 power8 implementation.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12977 file: POWER8 llround ifunc implementation.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12979 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12981 POWER8 llround implementation.
12982
57f41c40
AS
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12984 power8 implementation.
12985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12986 file: POWER8 llrint ifunc implementation.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12988 Add POWER8 implementation.
1ad8950a
AZ
12989 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12990 POWER8 llrint implementation.
12991
57f41c40
AS
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12993 power8 implementation.
12994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12995 file: POWER8 finite ifunc implementation.
12996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12997 Add POWER8 implementation.
cac626d6
AZ
12998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12999 Likewise.
13000 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13001 POWER8 finite implementation.
13002 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13003
57f41c40
AS
13004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13005 power8 implementation.
13006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13007 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13009 POWER8 implementation.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13011 Likewise.
57f41c40
AS
13012 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13013 isinf implementation.
4393fc11
AZ
13014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13015
57f41c40
AS
13016 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13017 (INIT_ARCH): Add hwcap2 initialization.
13018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13019 power8 implementation.
13020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13021 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13023 POWER8 implementation.
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13025 Likewise.
57f41c40
AS
13026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13027 isnan implementation.
487972ae
AZ
13028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13029
7d92b787
JY
130302014-02-27 Joey Ye <joey.ye@arm.com>
13031
13032 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13033 (_FP_NANFRAC_Q): Set to zero.
13034
1cadc858
SP
130352014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13036
13037 [BZ #16623]
13038 * math/auto-libm-test-in: New test inputs.
13039 * math/auto-libm-test-out: Regenerate.
13040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13041 and DA.
13042 (__cos): Likewise.
13043 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13044
f8c17e79
JM
130452014-02-27 Joseph Myers <joseph@codesourcery.com>
13046
13047 * scripts/evaluate-test.sh: Take new argument indicating whether
13048 failure is expected.
13049 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13050 indicating whether failure is expected.
13051 * conform/Makefile (test-xfail-run-conformtest): New variable.
13052 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13053 level.
13054 * posix/Makefile (test-xfail-annexc): New variable.
13055 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13056
a5f891ac
JM
130572014-02-26 Joseph Myers <joseph@codesourcery.com>
13058
13059 * argp/Makefile: Include Makeconfig immediately after defining
13060 subdir.
13061 * assert/Makefile: Likewise.
13062 * benchtests/Makefile: Likewise.
13063 * catgets/Makefile: Likewise.
13064 * conform/Makefile: Likewise.
13065 * crypt/Makefile: Likewise.
13066 * csu/Makefile: Likewise.
13067 (all): Remove target.
13068 * ctype/Makefile: Include Makeconfig immediately after defining
13069 subdir.
13070 * debug/Makefile: Likewise.
13071 * dirent/Makefile: Likewise.
13072 * dlfcn/Makefile: Likewise.
13073 * gmon/Makefile: Likewise.
13074 * gnulib/Makefile: Likewise.
13075 * grp/Makefile: Likewise.
13076 * gshadow/Makefile: Likewise.
13077 * hesiod/Makefile: Likewise.
13078 * hurd/Makefile: Likewise.
13079 (all): Remove target.
13080 * iconvdata/Makefile: Include Makeconfig immediately after
13081 defining subdir.
13082 * inet/Makefile: Likewise.
13083 * intl/Makefile: Likewise.
13084 * io/Makefile: Likewise.
13085 * libio/Makefile: Likewise.
13086 (all): Remove target.
13087 * locale/Makefile: Include Makeconfig immediately after defining
13088 subdir.
13089 * login/Makefile: Likewise.
13090 * mach/Makefile: Likewise.
13091 (all): Remove target.
13092 * malloc/Makefile: Include Makeconfig immediately after defining
13093 subdir.
13094 (all): Remove target.
13095 * manual/Makefile: Include Makeconfig immediately after defining
13096 subdir.
13097 * math/Makefile: Likewise.
13098 * misc/Makefile: Likewise.
13099 * nis/Makefile: Likewise.
13100 * nss/Makefile: Likewise.
13101 * po/Makefile: Likewise.
13102 (all): Remove target.
13103 * posix/Makefile: Include Makeconfig immediately after defining
13104 subdir.
13105 * pwd/Makefile: Likewise.
13106 * resolv/Makefile: Likewise.
13107 * resource/Makefile: Likewise.
13108 * rt/Makefile: Likewise.
13109 * setjmp/Makefile: Likewise.
13110 * shadow/Makefile: Likewise.
13111 * signal/Makefile: Likewise.
13112 * socket/Makefile: Likewise.
13113 * soft-fp/Makefile: Likewise.
13114 * stdio-common/Makefile: Likewise.
13115 * stdlib/Makefile: Likewise.
13116 * streams/Makefile: Likewise.
13117 * string/Makefile: Likewise.
13118 * sunrpc/Makefile: Likewise.
13119 (all): Remove target.
13120 * sysvipc/Makefile: Include Makeconfig immediately after defining
13121 subdir.
13122 * termios/Makefile: Likewise.
13123 * time/Makefile: Likewise.
13124 * timezone/Makefile: Likewise.
13125 (all): Remove target.
13126 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13127 subdir.
13128 * wctype/Makefile: Likewise.
13129
5b456e9d
SE
131302014-02-26 Steve Ellcey <sellcey@mips.com>
13131
13132 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13133 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13134 (libc_feholdexcept_setround_mips): Ditto.
13135 (libc_feholdsetround): New.
13136 (libc_feholdsetroundf): New.
13137 (libc_feholdsetroundl): New.
13138 (libc_feupdateenv_test_mips): New.
13139 (libc_feupdateenv_test): New.
13140 (libc_feupdateenv_testf): New.
13141 (libc_feupdateenv_testl): New.
13142 (libc_feresetround): New.
13143 (libc_feresetroundf): New.
13144 (libc_feresetroundl): New.
13145 (libc_fetestexcept_mips): New.
13146 (libc_fetestexcept): New.
13147 (libc_fetestexceptf): New.
13148 (libc_fetestexceptl): New.
13149 (HAVE_RM_CTX): New.
13150 (libc_feholdexcept_setround_mips_ctx): New.
13151 (libc_feholdexcept_setround_ctx): New.
13152 (libc_feholdexcept_setroundf_ctx): New.
13153 (libc_feholdexcept_setroundl_ctx): New.
13154 (libc_fesetenv_mips_ctx): New.
13155 (libc_fesetenv_ctx): New.
13156 (libc_fesetenv_ctxf): New.
13157 (libc_fesetenv_ctxl): New.
13158 (libc_feupdateenv_mips_ctx): New.
13159 (libc_feupdateenv_ctx): New.
13160 (libc_feupdateenvf_ctx): New.
13161 (libc_feupdateenvl_ctx): New.
13162 (libc_feholdsetround_mips_ctx): New.
13163 (libc_feholdsetround_ctx): New.
13164 (libc_feholdsetroundf_ctx): New.
13165 (libc_feholdsetroundl_ctx): New.
13166 (libc_feresetround_mips_ctx): New.
13167 (libc_feresetround_ctx): New.
13168 (libc_feresetroundf_ctx): New.
13169 (libc_feresetroundl_ctx): New.
13170
085d0e35
CD
131712014-02-26 Carlos O'Donell <carlos@redhat.com>
13172
f067bf1f
CD
13173 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13174
085d0e35
CD
13175 * manual/ipc.texi: New file.
13176 * manual/Makefile (chapters): Add ipc.
13177 * manual/job.texi: Add "Inter-Process Communication" to next.
13178 * manual/process.texi: Add "Inter-Process Communication" to prev.
13179
86e58c08
AZ
131802014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13181
13182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13183
4248f0da
OB
131842014-02-26 Ondřej Bílka <neleai@seznam.cz>
13185
13186 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13187
cf822e3c
OB
13188 * manual/arith.texi: Fix spaces after sentences.
13189 * manual/charset.texi: Likewise.
13190 * manual/errno.texi: Likewise.
13191 * manual/install.texi: Likewise.
13192 * manual/llio.texi: Likewise.
13193 * manual/locale.texi: Likewise.
13194 * manual/maint.texi: Likewise.
13195 * manual/math.texi: Likewise.
13196 * manual/memory.texi: Likewise.
13197 * manual/message.texi: Likewise.
13198 * manual/probes.texi: Likewise.
13199 * manual/resource.texi: Likewise.
13200 * manual/signal.texi: Likewise.
13201 * manual/socket.texi: Likewise.
13202 * manual/stdio.texi: Likewise.
13203 * manual/string.texi: Likewise.
13204 * manual/time.texi: Likewise.
13205 * manual/users.texi: Likewise.
13206
ade40b10
CD
132072014-02-25 Carlos O'Donell <carlos@redhat.com>
13208
13209 [BZ #16632]
13210 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13211 _DEFAULT_SOURCE is defined.
13212
d0503676
CD
132132014-02-25 Ulrich Drepper <drepper@gmail.com>
13214 Carlos O'Donell <carlos@redhat.com>
13215
13216 [BZ #16613]
13217 * elf/dl-tls.c (_dl_count_modids): New function.
13218 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13219 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13220 audit library and increment generation counter.
13221 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13222 * elf/tst-audit9.c: New file.
13223 * elf/tst-auditmod9a.c: New file.
13224 * elf/tst-auditmod9b.c: New file.
13225 * elf/Makefile: Add rules to build and run tst-audit9.
13226
4cbf380c
FW
132272014-02-25 Florian Weimer <fweimer@redhat.com>
13228
13229 [BZ #15347]
13230 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13231
80a56cc3
WN
132322014-02-25 Will Newton <will.newton@linaro.org>
13233
13234 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13235 (__longjmp): Restore sp and lr before restoring callee
13236 saved registers. Add longjmp and longjmp_target
13237 SystemTap probe point.
13238 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13239 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13240 Define to zero to match jmpbuf layout.
13241 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13242 (__sigsetjmp): Save sp and lr before saving callee
13243 saved registers. Add setjmp SystemTap probe point.
13244
3ea0f74e
SL
132452014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13246
13247 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13248
b04acb26
AS
132492014-02-24 Andreas Schwab <schwab@suse.de>
13250
13251 [BZ #15804]
13252 * elf/pldd.c (wait_for_ptrace_stop): New function.
13253 (main): Call it after attaching.
13254
098ad55c
RM
132552014-02-22 Roland McGrath <roland@hack.frob.com>
13256
d4ec6ae1
RM
13257 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13258 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13259 Versions files is now verboten.
13260 * hurd/Versions (libc: GLIBC_2.0):
13261 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13262 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13263 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13264 * mach/Versions: Likewise.
13265
098ad55c
RM
13266 * csu/Versions: Remove unused %include.
13267 * resolv/Versions: Likewise.
13268
acd7f096
JM
132692014-02-21 Joseph Myers <joseph@codesourcery.com>
13270
f0881698
JM
13271 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13272 ($(objpfx)check-local-headers.out): Likewise.
13273 ($(objpfx)begin-end-check.out): Likewise.
13274 * Makerules (check-abi-%.out): Likewise.
13275 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13276 ($(objpfx)test2.cat): Likewise.
13277 ($(objpfx)de/libc.cat): Likewise.
13278 ($(objpfx)test-gencat.out): Likewise.
13279 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13280 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13281 ($(objpfx)noload-mem): Likewise.
13282 ($(objpfx)tst-pathopt.out): Likewise.
13283 ($(objpfx)tst-rtld-load-self.out): Likewise.
13284 ($(objpfx)tst-array1-cmp.out): Likewise.
13285 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13286 ($(objpfx)tst-array2-cmp.out): Likewise.
13287 ($(objpfx)tst-array3-cmp.out): Likewise.
13288 ($(objpfx)tst-array4-cmp.out): Likewise.
13289 ($(objpfx)tst-array5-cmp.out): Likewise.
13290 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13291 ($(objpfx)check-textrel.out): Likewise.
13292 ($(objpfx)check-execstack.out): Likewise.
13293 ($(objpfx)check-localplt.out): Likewise.
13294 ($(objpfx)order2-cmp.out): Likewise.
13295 ($(objpfx)tst-leaks1-mem): Likewise.
13296 ($(objpfx)tst-leaks1-static-mem): Likewise.
13297 ($(objpfx)tst-initorder-cmp.out): Likewise.
13298 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13299 ($(objpfx)tst-unused-dep.out): Likewise.
13300 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13302 * iconv/Makefile (test-iconvconfig): Likewise.
13303 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13304 ($(objpfx)iconv-test.out): Likewise.
13305 ($(objpfx)tst-tables.out): Likewise.
13306 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13307 ($(objpfx)tst-gettext.out): Likewise.
13308 ($(objpfx)tst-translit.out): Likewise.
13309 ($(objpfx)tst-gettext2.out): Likewise.
13310 ($(objpfx)tst-gettext4.out): Likewise.
13311 ($(objpfx)tst-gettext6.out): Likewise.
13312 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13313 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13314 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13315 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13317 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13318 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13319 ($(objpfx)wordexp-tst.out): Likewise.
13320 ($(objpfx)annexc.out): Likewise.
13321 ($(objpfx)tst-fnmatch-mem): Likewise.
13322 ($(objpfx)bug-regex2-mem): Likewise.
13323 ($(objpfx)bug-regex14-mem): Likewise.
13324 ($(objpfx)bug-regex21-mem): Likewise.
13325 ($(objpfx)bug-regex31-mem): Likewise.
13326 ($(objpfx)tst-vfork3-mem): Likewise.
13327 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13328 ($(objpfx)tst-pcre-mem): Likewise.
13329 ($(objpfx)tst-boost-mem): Likewise.
13330 ($(objpfx)tst-getconf.out): Likewise.
13331 ($(objpfx)bug-ga2-mem): Likewise.
13332 ($(objpfx)bug-glob2-mem): Likewise.
13333 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13334 ($(objpfx)mtrace-tst-leaks2): Likewise.
13335 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13336 ($(objpfx)tst-printf.out): Likewise.
13337 ($(objpfx)tst-setvbuf1.out): Likewise.
13338 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13339 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13340 ($(objpfx)tst-fmtmsg.out): Likewise.
13341 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13342 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13343
acd7f096
JM
13344 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13345 * bits/sigaction.h [__USE_MISC]: Likewise.
13346 * bits/waitstatus.h: Update #endif comments.
13347 * ctype/ctype.h: Likewise.
13348 * dirent/dirent.h: Likewise.
13349 [__USE_MISC]: Remove redundant conditionals.
13350 * grp/grp.h: Update #endif comments.
13351 [__USE_GNU]: Remove redundant conditionals.
13352 [__USE_MISC]: Likewise.
13353 * inet/netinet/in.h [__USE_GNU]: Likewise.
13354 * io/sys/stat.h [__USE_MISC]: Likewise.
13355 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13356 * libio/bits/stdio.h: Update #endif comments.
13357 [__USE_MISC]: Remove redundant conditionals.
13358 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13359 * libio/stdio.h: Update #endif comments.
13360 [__USE_MISC]: Remove redundant conditionals.
13361 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13362 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13363 * math/math.h: Update #else and #endif comments.
13364 [__USE_MISC]: Remove redundant conditionals.
13365 * misc/sys/uio.h: Update #endif comments.
13366 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13367 * posix/glob.h [__USE_MISC]: Likewise.
13368 * posix/sys/types.h: Update #endif comments.
13369 [__USE_MISC]: Remove redundant conditionals.
13370 * posix/sys/wait.h: Update #endif comments.
13371 [__USE_MISC]: Remove redundant conditionals.
13372 * posix/unistd.h: Update #endif comments.
13373 [__USE_MISC]: Remove redundant conditionals.
13374 * pwd/pwd.h [__USE_GNU]: Likewise.
13375 [__USE_MISC]: Likewise.
13376 * resolv/netdb.h [__USE_GNU]: Likewise.
13377 * signal/signal.h: Update #endif comments.
13378 [__USE_MISC]: Remove redundant conditionals.
13379 * stdlib/stdlib.h: Update #else and #endif comments.
13380 [__USE_MISC]: Remove redundant conditionals.
13381 [__USE_GNU]: Likewise.
13382 * string/bits/string2.h [__USE_MISC]: Likewise.
13383 * string/string.h: Update #endif comments.
13384 [__USE_MISC]: Remove redundant conditionals.
13385 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13386 Likewise.
13387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13388 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13389 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13390 Likewise.
13391 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13392 Likewise.
13393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13394 comments.
13395 [__USE_MISC]: Remove redundant conditionals.
13396 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13397 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13398 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13399 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13400 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13401 Likewise.
13402 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13403 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13404 Likewise.
13405 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13407 Likewise.
13408 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13409 Likewise.
13410 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13412 Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13414 Likewise.
13415 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13416 * sysdeps/x86/bits/string.h: Update #endif comments.
13417 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13418 conditionals.
13419 * time/sys/time.h: Update #endif comments.
13420 * time/time.h: Likewise.
13421 [__USE_MISC]: Remove redundant conditionals.
13422
a5d82e4e
YG
134232014-02-21 Yury Gribov <y.gribov@samsung.com>
13424
13425 [BZ #16600]
13426 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13427
9a80491d
AS
134282014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13429
13430 * Versions.def (librt): Add GLIBC_2.17.
13431
105fa381
AC
134322014-02-21 Adam Conrad <adconrad@0c3.net>
13433
13434 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13435 synonym for _SYS_AUXV_H to allow direct inclusion.
13436 * sysdeps/sparc/bits/hwcap.h: Likewise.
13437 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13438 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13439 * sysdeps/sparc/sysdep.h: Likewise.
13440
b8cd1c4e
SP
134412014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13442
13443 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13444
bd939d23
RS
134452014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13446
13447 * benchtests/bench-strrchr.c: Print length instead of position.
13448
5d7b57ca
JM
134492014-02-20 Joseph Myers <joseph@codesourcery.com>
13450
bc688c10
JM
13451 [BZ #16611]
13452 * sysdeps/unix/sysv/linux/kernel-features.h
13453 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13454 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13455 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13456 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13457 Likewise.
13458 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13459 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13460 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13461 (__ASSUME_SENDMMSG): Define instead of using previous
13462 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13463 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13464 (__ASSUME_SENDMMSG_SYSCALL): Define.
13465 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13466 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13467 Likewise.
13468 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13469 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13470 Likewise.
13471 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13472 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13473 Likewise.
13474 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13475 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13476 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13477 [__ASSUME_SENDMMSG]: Change conditionals to
13478 [__ASSUME_SENDMMSG_SOCKETCALL].
13479 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13480 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13481 Define.
13482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13483 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13484 Likewise.
13485 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13486 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13487 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13488 [!__ASSUME_SENDMMSG]: Change conditional to
13489 [!__ASSUME_SENDMMSG_SOCKETCALL].
13490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13491 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13492 Define.
13493
0e31b18c
JM
13494 [BZ #16610]
13495 * sysdeps/unix/sysv/linux/kernel-features.h
13496 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13497 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13498 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13499 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13500 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13501 [__i386__ || __sparc__]
13502 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13503 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13504 (__ASSUME_RECVMMSG): Define instead of using previous
13505 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13506 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13507 (__ASSUME_RECVMMSG_SYSCALL): Define.
13508 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13510 Likewise.
13511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13513 Likewise.
13514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13515 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13516 Likewise.
13517 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13518 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13519 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13520 [__ASSUME_RECVMMSG]: Change condition to
13521 [__ASSUME_RECVMMSG_SOCKETCALL].
13522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13524 Define.
13525 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13527 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13528 Likewise.
13529 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13530 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13531 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13532 [!__ASSUME_RECVMMSG]: Change condition to
13533 [!__ASSUME_RECVMMSG_SOCKETCALL].
13534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13535 (__ASSUME_RECVMMSG_SYSCALL): Define.
13536
dd481ccf
JM
13537 [BZ #16609]
13538 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13539 __powerpc__ || __s390__ || __sh__ || __sparc__]
13540 (__ASSUME_SOCKETCALL): Define.
13541 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13542 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13543 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13544 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13545 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13546 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13547 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13548 (__ASSUME_ACCEPT4): Define instead of using previous
13549 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13550 __powerpc__ || __sparc__ || __s390__)] condition.
13551 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13552 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13553 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13554 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13555 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13556 [!__ASSUME_ACCEPT4]: Change condition to
13557 [!__ASSUME_ACCEPT4_SOCKETCALL].
13558 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13559 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13560 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13561 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13562 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13563 __ASSUME_ACCEPT4_SYSCALL.
13564 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13565 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13566 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13567 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13568 __ASSUME_ACCEPT4_SYSCALL.
13569 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13570 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13571 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13572 [__ASSUME_ACCEPT4]: Change condition to
13573 [__ASSUME_ACCEPT4_SOCKETCALL].
13574 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13575 (__ASSUME_SOCKETCALL): Define.
13576 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13578 (__ASSUME_SOCKETCALL): Define.
13579 (__ASSUME_ACCEPT4): Remove.
13580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13581 Define.
13582 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13583 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13584 Likewise.
13585 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13587
5d7b57ca
JM
13588 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13589 macro.
13590 (HWCAP_ARM_LPAE): Likewise.
13591 (HWCAP_ARM_EVTSTRM): Likewise.
13592 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13593 Add vpfd32, lpae and evtstrm.
13594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13595 Increase to 22.
13596
63689d61
JM
135972014-02-19 Joseph Myers <joseph@codesourcery.com>
13598
13599 * math/auto-libm-test-in: Add tests of clog10.
13600 * math/auto-libm-test-out: Regenerated.
13601 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13604
ab09bf61
AS
136052014-02-18 Andreas Schwab <schwab@suse.de>
13606
13607 [BZ #16574]
13608 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13609 Store non-zero if the second buffer was newly allocated.
13610 (send_dg): Likewise.
13611 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13612 to send_vc and send_dg.
13613 (res_nsend): Pass NULL for ansp2_malloced.
13614 * resolv/res_query.c (__libc_res_nquery): Add parameter
13615 answerp2_malloced and pass it down to __libc_res_nsend.
13616 (res_nquery): Pass additional NULL to __libc_res_nquery.
13617 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13618 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13619 second answer buffer if answerp2_malloced was set.
13620 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13621 (__libc_res_nquerydomain): Add parameter
13622 answerp2_malloced and pass it down to __libc_res_nquery.
13623 (res_nquerydomain): Pass additional NULL to
13624 __libc_res_nquerydomain.
13625 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13626 additional NULL to __libc_res_nsend and __libc_res_nquery.
13627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13628 additional NULL to __libc_res_nsearch.
13629 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13630 parameter of __libc_res_nsearch to check for separately allocated
13631 second buffer.
13632 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13633 __libc_res_nquery.
13634 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13635 additional NULL to __libc_res_nquery.
13636 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13637 __libc_res_nsearch.
13638 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13639 * include/resolv.h: Update prototypes of __libc_res_nquery,
13640 __libc_res_nsearch, __libc_res_nsend.
13641
a4fb7861
JM
136422014-02-18 Joseph Myers <joseph@codesourcery.com>
13643
c6af2d89
JM
13644 * math/auto-libm-test-in: Add tests of fma.
13645 * math/auto-libm-test-out: Regenerated.
13646 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13647 (fma_towardzero_test_data): Likewise.
13648 (fma_downward_test_data): Likewise.
13649 (fma_upward_test_data): Likewise.
13650 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13651 mpc_mode.
13652 (rounding_modes): Add values for new field.
13653 (func_calc_method): Add value mpfr_fff_f.
13654 (func_calc_desc): Add mpfr_fff_f union field.
13655 (test_function): Add field exact_args.
13656 (FUNC): Add macro argument EXACT_ARGS.
13657 (FUNC_mpfr_f_f): Update call to FUNC.
13658 (FUNC_mpfr_f_f): Likewise.
13659 (FUNC_mpfr_ff_f): Likewise.
13660 (FUNC_mpfr_if_f): Likewise.
13661 (FUNC_mpc_c_f): Likewise.
13662 (FUNC_mpc_c_c): Likewise.
13663 (test_functions): Add fma. Update calls to FUNC.
13664 (handle_input_arg): Add argument exact_args.
13665 (add_test): Update call to handle_input_arg.
13666 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13667 (output_for_one_input_case): Update call to calc_generic_results.
13668 Recalculate exact zero results in each rounding mode.
13669
a4fb7861
JM
13670 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13671 non-negative before setting low bit.
13672 * math/auto-libm-test-in: Mark one asin test possibly having
13673 spurious underflow.
13674 * math/auto-libm-test-out: Regenerated.
13675 * sysdeps/i386/fpu/libm-test-ulps: Update.
13676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13677
ef114eaf
DH
136782014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13679
2b7f4f2c
SP
13680 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13681 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13682 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13683 * README: Add missing listing for microblaze*-*-linux-gnu.
13684
8125aedc
AM
136852014-02-16 Ondřej Bílka <neleai@seznam.cz>
13686
13687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13688 duplicate code
13689
c70a4b1d
MF
136902014-02-16 Mike Frysinger <vapier@gentoo.org>
13691
13692 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13693 * sysdeps/unix/sysv/linux/ia64: Move directory from
13694 ports/sysdeps/unix/sysv/linux/ia64.
13695 * README: Update listing for ia64-*-linux-gnu.
13696
591aeaf7
TD
136972014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13698 Joseph Myers <joseph@codesourcery.com>
13699
13700 * Makeconfig (test-name): New variable.
13701 (evaluate-test): Likewise.
13702 * Makerules (do-test-clean): Remove .test-result files.
13703 (common-mostlyclean): Likewise.
13704 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13705 * scripts/evaluate-test.sh: New file.
13706
6e89caf1
JM
137072014-02-14 Joseph Myers <joseph@codesourcery.com>
13708
7f98f180
JM
13709 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13710 separate $(objpfx)tst-fopenloc-cmp.out and
13711 $(objpfx)tst-fopenloc-mem.out targets.
13712 (tests): Update dependencies.
13713 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13714 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13715 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13716 (tst-rxspencer-no-utf8-ARGS): New variable.
13717 (tst-rxspencer-no-utf8-ENV): Likewise.
13718 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13719 instead of $(objpfx)tst-rxspencer-mem.
13720 ($(objpfx)tst-rxspencer-mem): Change target to
13721 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13722 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13723 * posix/tst-rxspencer-no-utf8.c: New file.
13724
6e89caf1
JM
13725 * elf/Makefile ($(objpfx)order.out): Remove rule.
13726 [$(run-built-tests) = yes] (tests): Depend on
13727 $(objpfx)order-cmp.out.
13728 ($(objpfx)order-cmp.out): New rule.
13729 [$(run-built-tests) = yes] (tests): Depend on
13730 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13731 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13732 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13733 $(objpfx)tst-array5-static-cmp.out.
13734 ($(objpfx)tst-array1.out): Remove rule.
13735 ($(objpfx)tst-array1-cmp.out): New rule.
13736 ($(objpfx)tst-array1-static.out): Remove rule.
13737 ($(objpfx)tst-array1-static-cmp.out): New rule.
13738 ($(objpfx)tst-array2.out): Remove rule.
13739 ($(objpfx)tst-array2-cmp.out): New rule.
13740 ($(objpfx)tst-array3.out): Remove rule.
13741 ($(objpfx)tst-array3-cmp.out): New rule.
13742 ($(objpfx)tst-array4.out): Remove rule.
13743 ($(objpfx)tst-array4-cmp.out): New rule.
13744 ($(objpfx)tst-array5.out): Remove rule.
13745 ($(objpfx)tst-array5-cmp.out): New rule.
13746 ($(objpfx)tst-array5-static.out): Remove rule.
13747 ($(objpfx)tst-array5-static-cmp.out): New rule.
13748 [$(run-built-tests) = yes] (tests): Depend on
13749 $(objpfx)order2-cmp.out.
13750 ($(objpfx)order2.out): Remove rule.
13751 ($(objpfx)order2-cmp.out): New rule.
13752 ($(objpfx)tst-initorder.out): Remove rule.
13753 [$(run-built-tests) = yes] (tests): Depend on
13754 $(objpfx)tst-initorder-cmp.out.
13755 ($(objpfx)tst-initorder-cmp.out): New rule.
13756 ($(objpfx)tst-initorder2.out): Remove rule.
13757 [$(run-built-tests) = yes] (tests): Depend on
13758 $(objpfx)tst-initorder2-cmp.out.
13759 ($(objpfx)tst-initorder2-cmp.out): New rule.
13760 [$(run-built-tests) = yes] (tests): Depend on
13761 $(objpfx)tst-unused-dep-cmp.out.
13762 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13763 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13764 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13765 on $(objpfx)tst-setvbuf1-cmp.out.
13766 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13767 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13768 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13769 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13770 ($(objpfx)tst-svc.out): Remove rule.
13771 ($(objpfx)tst-svc-cmp.out): New rule.
13772
ed9a38e2
JM
137732014-02-13 Joseph Myers <joseph@codesourcery.com>
13774
13775 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13776 * ctype/ctype.h [__USE_MISC]: Likewise.
13777 * dirent/dirent.h [__USE_MISC]: Likewise.
13778 * grp/grp.h [__USE_MISC]: Likewise.
13779 * io/fcntl.h [__USE_MISC]: Likewise.
13780 * io/sys/stat.h [__USE_MISC]: Likewise.
13781 * libio/stdio.h [__USE_MISC]: Likewise.
13782 * posix/unistd.h [__USE_MISC]: Likewise.
13783 * pwd/pwd.h [__USE_MISC]: Likewise.
13784 * stdlib.h [__USE_MISC]: Likewise.
13785 * string/bits/string2.h [__USE_MISC]: Likewise.
13786 * string/string.h [__USE_MISC]: Likewise.
13787 * time/time.h [__USE_MISC]: Likewise.
13788
d6680619
AS
137892014-02-13 Andreas Schwab <schwab@suse.de>
13790
13791 [BZ #16574]
13792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13793 second answer buffer if it was separately allocated.
13794
ace614b8
JM
137952014-02-12 Joseph Myers <joseph@codesourcery.com>
13796
743151ae
JM
13797 * sysdeps/mips/math-tests.h: Include <features.h>.
13798 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13799 (ROUNDING_TESTS_long_double): Do not define.
13800 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13801 (EXCEPTION_TESTS_long_double): Likewise.
13802 * sysdeps/mips/mips64/libm-test-ulps: Update.
13803
498afc54
JM
13804 * include/features.h (__USE_BSD): Remove macro definitions.
13805 (__USE_SVID): Likewise.
13806 (_BSD_SOURCE): Likewise.
13807 (_SVID_SOURCE): Likewise.
13808 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13809 from definition of _DEFAULT_SOURCE.
13810 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13811 [_DEFAULT_SOURCE].
13812 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13813 * bits/mman.h [__USE_BSD]: Likewise.
13814 * bits/termios.h [__USE_BSD]: Likewise.
13815 * bits/waitstatus.h [__USE_BSD]: Likewise.
13816 * ctype/ctype.h [__USE_SVID]: Likewise.
13817 * dirent/dirent.h [__USE_BSD]: Likewise.
13818 * grp/grp.h [__USE_SVID]: Likewise.
13819 [__USE_BSD]: Likewise.
13820 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13821 * io/fcntl.h [__USE_BSD]: Likewise.
13822 * io/ftw.h [__USE_BSD]: Likewise.
13823 * io/sys/stat.h [__USE_BSD]: Likewise.
13824 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13825 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13826 * libio/stdio.h [__USE_SVID]: Likewise.
13827 [__USE_BSD]: Likewise.
13828 * math/math.h [__USE_SVID]: Likewise.
13829 [__USE_BSD]: Likewise.
13830 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13831 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13832 * misc/search.h [__USE_SVID]: Likewise.
13833 * misc/sys/mman.h [__USE_BSD]: Likewise.
13834 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13835 * misc/sys/uio.h [__USE_BSD]: Likewise.
13836 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13837 * posix/glob.h [__USE_BSD]: Likewise.
13838 * posix/regex.h [__USE_BSD]: Likewise.
13839 * posix/sys/types.h [__USE_BSD]: Likewise.
13840 [__USE_SVID]: Likewise.
13841 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13842 * posix/sys/wait.h [__USE_BSD]: Likewise.
13843 [__USE_SVID]: Likewise.
13844 * posix/unistd.h [__USE_BSD]: Likewise.
13845 [__USE_SVID]: Likewise.
13846 * pwd/pwd.h [__USE_SVID]: Likewise.
13847 * resolv/netdb.h [__USE_BSD]: Likewise.
13848 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13849 * signal/signal.h [__USE_BSD]: Likewise.
13850 [__USE_SVID]: Likewise.
13851 * socket/sys/socket.h [__USE_BSD]: Likewise.
13852 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13853 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13854 [__USE_SVID]: Likewise.
13855 * string/bits/string2.h [__USE_BSD]: Likewise.
13856 [__USE_SVID]: Likewise.
13857 * string/bits/string3.h [__USE_BSD]: Likewise.
13858 * string/endian.h [__USE_BSD]: Likewise.
13859 * string/string.h [__USE_SVID]: Likewise.
13860 [__USE_BSD]: Likewise.
13861 * string/strings.h [__USE_BSD]: Likewise.
13862 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13863 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13864 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13865 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13866 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13867 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13868 Likewise.
13869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13870 Likewise.
13871 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13872 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13873 Likewise.
13874 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13875 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13878 Likewise.
13879 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13880 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13882 Likewise.
13883 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13884 Likewise.
13885 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13886 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13887 * termios/termios.h [__USE_BSD]: Likewise.
13888 * time/sys/time.h [__USE_BSD]: Likewise.
13889 * time/time.h [__USE_BSD]: Likewise.
13890 [__USE_SVID]: Likewise.
13891
dd7b064c
JM
13892 * Makefile (subdir_targets): Remove subdir_lint.out.
13893
a2c4c199
JM
13894 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13895 (do-tst-printf): Likewise.
13896 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13897 $(objpfx)tst-printf.out.
13898
8756f740
JM
13899 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13900
1b6dd3f1
JM
13901 * Makerules (check-abi-%): Change target to
13902 $(objpfx)check-abi-%.out.
13903 (check-abi target): Update dependencies.
13904 (check-abi-pattern variable): Redirect output of diff to $@.
13905 (check-abi variable): Likewise.
13906 * elf/Makefile (check-abi): Update dependencies.
13907
ace614b8
JM
13908 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13909 unused.
13910 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13911 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13912 subnormal range.
13913 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13914 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13915 value has largest subnormal exponent.
13916 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13917 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13918 * sysdeps/aarch64/soft-fp/sfp-machine.h
13919 (_FP_TININESS_AFTER_ROUNDING): New macro.
13920 * sysdeps/alpha/soft-fp/sfp-machine.h
13921 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13922 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13923 Likewise.
13924 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13925 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13926 * sysdeps/mips/soft-fp/sfp-machine.h
13927 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13928 * sysdeps/powerpc/soft-fp/sfp-machine.h
13929 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13930 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13931 Likewise.
13932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13933 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13934 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13935 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13936 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13937 Likewise.
13938
fbfdf9cb
DAS
139392014-02-12 Dylan Alex Simon <dylan@dylex.net>
13940
13941 [BZ #16545]
13942 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13943 model 1.
13944
68b7efaa
RH
139452014-02-12 Richard Henderson <rth@redhat.com>
13946
c70a4b1d 13947 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13948 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13949 * sysdeps/unix/sysv/linux/alpha: Move directory from
13950 ports/sysdeps/unix/sysv/linux/alpha.
13951 * README: Update listing for alpha-*-linux-gnu.
13952
cb4a2928
JM
139532014-02-11 Joseph Myers <joseph@codesourcery.com>
13954
c941736c
JM
13955 * include/features.h: Update comment documenting feature test
13956 macros.
13957 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13958 _DEFAULT_SOURCE.
13959 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13960 (_SVID_SOURCE): Likewise.
13961 (_DEFAULT_SOURCE): Update description of default features.
13962 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13963 with _GNU_SOURCE.
13964 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13965 (S_ISVTX): Likewise.
13966 * manual/math.texi (Mathematical Constants): Likewise.
13967 * manual/signal.texi (Interrupted Primitives): Likewise.
13968 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13969 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13970 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13971 Don't refer to _SVID_SOURCE in warning text.
13972
e8d8d7ec
JM
13973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13974
cb4a2928
JM
13975 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13976 already defined.
13977 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13978 * sysdeps/mips/dl-lookup.c: Remove.
13979 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13980
7e6424e3
AK
139812014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13982
13983 [BZ #16447]
13984 * math/auto-libm-test-in: Add testcase for expl.
13985 * math/auto-libm-test-out: Regenerate.
13986 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13987 calculation of unsafe.
13988 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13989
75eff3fe
MS
139902014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13991
13992 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13993 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13994 ports/sysdeps/unix/sysv/linux/aarch64.
13995 * README: Update listing for aarch64*-*-linux-gnu.
13996
d35f1e80
WN
139972014-02-11 Will Newton <will.newton@linaro.org>
13998
13999 * manual/probes.texi (Mathematical Function Probes): Use
14000 "triggered" instead of "hit".
14001
7b3436d4
WN
14002 * manual/probes.texi (Internal Probes): Add documentation
14003 of setjmp, longjmp and longjmp_target probes.
14004
b4f12ca3
WN
14005 * include/stap-probe.h: Add comment about probe argument
14006 format.
14007
c13a72b7
WN
14008 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14009 definition. (tr_where, tr_freehook, tr_mallochook,
14010 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14011
195b8165
DM
140122014-02-11 David S. Miller <davem@davemloft.net>
14013
14014 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14015 processing int_tests.
14016
2ad7600b
JM
140172014-02-10 Joseph Myers <joseph@codesourcery.com>
14018
14019 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14020 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14021 * sysdeps/unix/sysv/linux/mips: Move directory from
14022 ports/sysdeps/unix/sysv/linux/mips.
14023 * README: Update listing for mips-*-linux-gnu and
14024 mips64-*-linux-gnu.
14025
73588a72
AS
140262014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14027
14028 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14029 * sysdeps/unix/sysv/linux/m68k: Move directory from
14030 ports/sysdeps/unix/sysv/linux/m68k.
14031 * README: Update listing for m68k-*-linux-gnu.
14032
4372980f
CM
140332014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14034
14035 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14036 * sysdeps/unix/sysv/linux/generic: Move directory from
14037 ports/sysdeps/unix/sysv/linux/generic.
14038 * sysdeps/unix/sysv/linux/tile: Move directory from
14039 ports/sysdeps/unix/sysv/linux/tile.
14040 * README: Update listing for tile*-*-linux-gnu.
14041
a1ffb40e
OB
140422014-02-10 Ondřej Bílka <neleai@seznam.cz>
14043
57f41c40
AS
14044 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14045 __builtin_expect.
a1ffb40e
OB
14046 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14047 * catgets/open_catalog.c (__open_catalog): Likewise.
14048 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14049 * debug/confstr_chk.c: Likewise.
14050 * debug/fread_chk.c (__fread_chk): Likewise.
14051 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14052 * debug/getgroups_chk.c: Likewise.
14053 * debug/mbsnrtowcs_chk.c: Likewise.
14054 * debug/mbsrtowcs_chk.c: Likewise.
14055 * debug/mbstowcs_chk.c: Likewise.
14056 * debug/memcpy_chk.c: Likewise.
14057 * debug/memmove_chk.c: Likewise.
14058 * debug/mempcpy_chk.c: Likewise.
14059 * debug/memset_chk.c: Likewise.
14060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14061 * debug/strcat_chk.c (__strcat_chk): Likewise.
14062 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14063 * debug/strncat_chk.c (__strncat_chk): Likewise.
14064 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14065 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14066 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14067 * debug/wcpncpy_chk.c: Likewise.
14068 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14069 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14070 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14071 * debug/wcsncpy_chk.c: Likewise.
14072 * debug/wcsnrtombs_chk.c: Likewise.
14073 * debug/wcsrtombs_chk.c: Likewise.
14074 * debug/wcstombs_chk.c: Likewise.
14075 * debug/wmemcpy_chk.c: Likewise.
14076 * debug/wmemmove_chk.c: Likewise.
14077 * debug/wmempcpy_chk.c: Likewise.
14078 * debug/wmemset_chk.c: Likewise.
14079 * dirent/scandirat.c (SCANDIRAT): Likewise.
14080 * dlfcn/dladdr1.c (dladdr1): Likewise.
14081 * dlfcn/dladdr.c (dladdr): Likewise.
14082 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14083 * dlfcn/dlerror.c (__dlerror): Likewise.
14084 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14085 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14086 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14087 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14088 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14089 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14090 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14091 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14092 Likewise.
14093 * elf/dl-conflict.c: Likewise.
14094 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14095 * elf/dl-dst.h: Likewise.
14096 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14097 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14098 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14099 * elf/dl-init.c (call_init, _dl_init): Likewise.
14100 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14101 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14102 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14103 Likewise.
a1ffb40e
OB
14104 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14105 Likewise.
14106 * elf/dl-minimal.c (__libc_memalign): Likewise.
14107 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14108 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14109 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14110 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14111 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14112 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14113 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14114 * elf/dl-writev.h (_dl_writev): Likewise.
14115 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14116 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14117 (dl_main): Likewise.
a1ffb40e
OB
14118 * elf/setup-vdso.h (setup_vdso): Likewise.
14119 * grp/compat-initgroups.c (compat_call): Likewise.
14120 * grp/fgetgrent.c (fgetgrent): Likewise.
14121 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14122 * grp/putgrent.c (putgrent): Likewise.
14123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14124 Likewise.
14125 * hurd/hurdinit.c: Likewise.
14126 * iconvdata/8bit-gap.c (struct): Likewise.
14127 * iconvdata/ansi_x3.110.c : Likewise.
14128 * iconvdata/big5.c : Likewise.
14129 * iconvdata/big5hkscs.c : Likewise.
14130 * iconvdata/cp1255.c: Likewise.
14131 * iconvdata/cp1258.c : Likewise.
14132 * iconvdata/cp932.c : Likewise.
14133 * iconvdata/euc-cn.c: Likewise.
14134 * iconvdata/euc-jisx0213.c : Likewise.
14135 * iconvdata/euc-jp.c: Likewise.
14136 * iconvdata/euc-jp-ms.c : Likewise.
14137 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14138 * iconvdata/gb18030.c : Likewise.
14139 * iconvdata/gbbig5.c (const): Likewise.
14140 * iconvdata/gbgbk.c: Likewise.
14141 * iconvdata/gbk.c : Likewise.
14142 * iconvdata/ibm1364.c : Likewise.
14143 * iconvdata/ibm930.c : Likewise.
14144 * iconvdata/ibm932.c: Likewise.
14145 * iconvdata/ibm933.c : Likewise.
14146 * iconvdata/ibm935.c : Likewise.
14147 * iconvdata/ibm937.c : Likewise.
14148 * iconvdata/ibm939.c : Likewise.
14149 * iconvdata/ibm943.c: Likewise.
14150 * iconvdata/iso_11548-1.c: Likewise.
14151 * iconvdata/iso-2022-cn.c : Likewise.
14152 * iconvdata/iso-2022-cn-ext.c : Likewise.
14153 * iconvdata/iso-2022-jp-3.c: Likewise.
14154 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14155 * iconvdata/iso-2022-kr.c : Likewise.
14156 * iconvdata/iso646.c (gconv_end): Likewise.
14157 * iconvdata/iso_6937-2.c : Likewise.
14158 * iconvdata/iso_6937.c : Likewise.
14159 * iconvdata/iso8859-1.c: Likewise.
14160 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14161 * iconvdata/shift_jisx0213.c : Likewise.
14162 * iconvdata/sjis.c : Likewise.
14163 * iconvdata/t.61.c : Likewise.
14164 * iconvdata/tcvn5712-1.c : Likewise.
14165 * iconvdata/tscii.c: Likewise.
14166 * iconvdata/uhc.c : Likewise.
14167 * iconvdata/unicode.c (gconv_end): Likewise.
14168 * iconvdata/utf-16.c (gconv_end): Likewise.
14169 * iconvdata/utf-32.c (gconv_end): Likewise.
14170 * iconvdata/utf-7.c (base64): Likewise.
14171 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14172 * iconv/gconv_close.c (__gconv_close): Likewise.
14173 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14174 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14175 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14176 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14177 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14178 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14179 * iconv/iconv.c (iconv): Likewise.
14180 * iconv/iconv_close.c: Likewise.
14181 * iconv/loop.c (SINGLE): Likewise.
14182 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14183 * include/atomic.h: Likewise.
14184 * inet/inet6_option.c (option_alloc): Likewise.
14185 * intl/bindtextdom.c (set_binding_values): Likewise.
14186 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14187 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14188 * intl/localealias.c (read_alias_file): Likewise.
14189 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14190 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14191 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14192 * libio/fmemopen.c (fmemopen): Likewise.
14193 * libio/iofgets.c (_IO_fgets): Likewise.
14194 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14195 * libio/iofgetws.c (fgetws): Likewise.
14196 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14197 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14198 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14199 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14200 * locale/findlocale.c (_nl_find_locale): Likewise.
14201 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14202 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14203 Likewise.
14204 * locale/setlocale.c (setlocale): Likewise.
14205 * login/programs/pt_chown.c (main): Likewise.
14206 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14207 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14208 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14209 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14210 * math/e_exp2l.c: Likewise.
14211 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14212 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14213 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14214 * math/s_catan.c (__catan): Likewise.
14215 * math/s_catanf.c (__catanf): Likewise.
14216 * math/s_catanh.c (__catanh): Likewise.
14217 * math/s_catanhf.c (__catanhf): Likewise.
14218 * math/s_catanhl.c (__catanhl): Likewise.
14219 * math/s_catanl.c (__catanl): Likewise.
14220 * math/s_ccosh.c (__ccosh): Likewise.
14221 * math/s_ccoshf.c (__ccoshf): Likewise.
14222 * math/s_ccoshl.c (__ccoshl): Likewise.
14223 * math/s_cexp.c (__cexp): Likewise.
14224 * math/s_cexpf.c (__cexpf): Likewise.
14225 * math/s_cexpl.c (__cexpl): Likewise.
14226 * math/s_clog10.c (__clog10): Likewise.
14227 * math/s_clog10f.c (__clog10f): Likewise.
14228 * math/s_clog10l.c (__clog10l): Likewise.
14229 * math/s_clog.c (__clog): Likewise.
14230 * math/s_clogf.c (__clogf): Likewise.
14231 * math/s_clogl.c (__clogl): Likewise.
14232 * math/s_csin.c (__csin): Likewise.
14233 * math/s_csinf.c (__csinf): Likewise.
14234 * math/s_csinh.c (__csinh): Likewise.
14235 * math/s_csinhf.c (__csinhf): Likewise.
14236 * math/s_csinhl.c (__csinhl): Likewise.
14237 * math/s_csinl.c (__csinl): Likewise.
14238 * math/s_csqrt.c (__csqrt): Likewise.
14239 * math/s_csqrtf.c (__csqrtf): Likewise.
14240 * math/s_csqrtl.c (__csqrtl): Likewise.
14241 * math/s_ctan.c (__ctan): Likewise.
14242 * math/s_ctanf.c (__ctanf): Likewise.
14243 * math/s_ctanh.c (__ctanh): Likewise.
14244 * math/s_ctanhf.c (__ctanhf): Likewise.
14245 * math/s_ctanhl.c (__ctanhl): Likewise.
14246 * math/s_ctanl.c (__ctanl): Likewise.
14247 * math/w_pow.c: Likewise.
14248 * math/w_powf.c: Likewise.
14249 * math/w_powl.c: Likewise.
14250 * math/w_scalb.c (sysv_scalb): Likewise.
14251 * math/w_scalbf.c (sysv_scalbf): Likewise.
14252 * math/w_scalbl.c (sysv_scalbl): Likewise.
14253 * misc/error.c (error_tail): Likewise.
14254 * misc/pselect.c (__pselect): Likewise.
14255 * nis/nis_callback.c (__nis_create_callback): Likewise.
14256 * nis/nis_call.c (__nisfind_server): Likewise.
14257 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14258 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14259 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14260 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14261 * nis/nis_lookup.c (nis_lookup): Likewise.
14262 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14263 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14264 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14265 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14266 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14267 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14268 * nis/nss_compat/compat-initgroups.c (add_group)
14269 (internal_getgrent_r): Likewise.
14270 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14271 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14272 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14273 (internal_getspnam_r): Likewise.
14274 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14275 (_nss_nis_getaliasbyname_r): Likewise.
14276 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14277 (_nss_nis_getntohost_r): Likewise.
14278 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14279 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14280 (_nss_nis_getgrgid_r): Likewise.
14281 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14282 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14283 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14284 (_nss_nis_gethostbyname4_r): Likewise.
14285 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14286 (initgroups_netid): Likewise.
a1ffb40e 14287 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14288 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14289 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14290 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14291 (_nss_nis_getprotobynumber_r): Likewise.
14292 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14293 (_nss_nis_getsecretkey): Likewise.
14294 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14295 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14296 (_nss_nis_getpwuid_r): Likewise.
14297 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14298 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14299 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14300 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14301 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14302 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14303 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14304 Likewise.
57f41c40
AS
14305 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14306 (_nss_nisplus_getntohost_r): Likewise.
14307 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14308 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14309 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14310 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14311 Likewise.
57f41c40
AS
14312 * nis/nss_nisplus/nisplus-initgroups.c
14313 (_nss_nisplus_initgroups_dyn): Likewise.
14314 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14315 (_nss_nisplus_getnetbyaddr_r): Likewise.
14316 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14317 (_nss_nisplus_getprotobynumber_r): Likewise.
14318 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14319 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14320 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14321 Likewise.
57f41c40
AS
14322 * nis/nss_nisplus/nisplus-service.c
14323 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14324 (_nss_nisplus_getservbyport_r): Likewise.
14325 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14326 (_nss_nisplus_getspnam_r): Likewise.
14327 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14328 Likewise.
a1ffb40e
OB
14329 * nscd/aicache.c (addhstaiX): Likewise.
14330 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14331 * nscd/connections.c (register_traced_file, send_ro_fd)
14332 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14333 (main_loop_epoll): Likewise.
a1ffb40e
OB
14334 * nscd/grpcache.c (addgrbyX): Likewise.
14335 * nscd/hstcache.c (addhstbyX): Likewise.
14336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14337 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14338 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14339 (addinnetgrX): Likewise.
14340 * nscd/nscd-client.h (__nscd_acquire_maplock)
14341 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14342 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14343 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14345 Likewise.
14346 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14347 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14348 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14349 (__nscd_get_map_ref): Likewise.
a1ffb40e 14350 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14351 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14352 Likewise.
a1ffb40e
OB
14353 * nscd/pwdcache.c (addpwbyX): Likewise.
14354 * nscd/selinux.c (preserve_capabilities): Likewise.
14355 * nscd/servicescache.c (addservbyX): Likewise.
14356 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14357 * posix/fnmatch.c (fnmatch): Likewise.
14358 * posix/getopt.c (_getopt_internal_r): Likewise.
14359 * posix/glob.c (glob, glob_in_dir): Likewise.
14360 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14361 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14362 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14363 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14364 * resolv/res_init.c: Likewise.
14365 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14366 * resolv/res_query.c (__libc_res_nquery): Likewise.
14367 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14368 Likewise.
14369 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14370 * stdio-common/perror.c (perror): Likewise.
14371 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14372 * stdio-common/tmpnam.c (tmpnam): Likewise.
14373 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14374 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14375 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14376 Likewise.
a1ffb40e
OB
14377 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14378 * stdlib/putenv.c (putenv): Likewise.
14379 * stdlib/setenv.c (__add_to_environ): Likewise.
14380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14381 * stdlib/strtol_l.c (INTERNAL): Likewise.
14382 * string/memmem.c (memmem): Likewise.
14383 * string/strerror.c (strerror): Likewise.
14384 * string/strnlen.c (__strnlen): Likewise.
14385 * string/test-memmem.c (simple_memmem): Likewise.
14386 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14387 * sunrpc/pm_getport.c (__get_socket): Likewise.
14388 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14389 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14390 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14391 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14392 Likewise.
14393 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14395 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14396 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14397 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14398 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14399 Likewise.
14400 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14401 Likewise.
a1ffb40e
OB
14402 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14403 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14405 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14406 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14408 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14409 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14410 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14411 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14412 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14413 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14414 Likewise.
14415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14416 Likewise.
14417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14418 Likewise.
14419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14423 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14424 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14425 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14430 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14431 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14435 Likewise.
a1ffb40e
OB
14436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14437 Likewise.
14438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14439 Likewise.
14440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14441 Likewise.
14442 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14444 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14445 Likewise.
14446 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14447 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14448 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14449 * sysdeps/posix/sleep.c: Likewise.
14450 * sysdeps/posix/tempname.c: Likewise.
14451 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14452 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14453 Likewise.
57f41c40
AS
14454 * sysdeps/powerpc/powerpc32/dl-machine.h
14455 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14456 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14458 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14459 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14460 Likewise.
14461 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14462 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14463 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14465 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14466 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14467 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14468 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14472 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14473 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14475 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14476 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14477 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14478 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14479 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14480 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14481 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14482 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14484 Likewise.
14485 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14486 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14487 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14488 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14489 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14490 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14491 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14492 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14493 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14494 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14495 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14496 Likewise.
14497 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14498 (__posix_fallocate64_l64): Likewise.
14499 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14500 (posix_fallocate): Likewise.
57f41c40
AS
14501 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14502 Likewise.
a1ffb40e 14503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14504 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14505 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14506 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14507 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14508 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14510 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14511 (__posix_fallocate64_l64): Likewise.
14512 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14513 Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14515 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14516 (__get_clockfreq): Likewise.
a1ffb40e
OB
14517 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14518 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14519 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14522 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14523 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14524 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14525 Likewise.
14526 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14527 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14528 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14529 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14530 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14531 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14532 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14533 Likewise.
14534 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14535 (posix_fallocate): Likewise.
14536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14537 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14538 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14539 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14540 (elf_machine_rela, elf_machine_rela_relative)
14541 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14542 * time/asctime.c (asctime_internal): Likewise.
14543 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14544 * time/tzset.c (__tzset_parse_tz): Likewise.
14545 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14546 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14547 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14548 * wcsmbs/wcsmbsload.h: Likewise.
14549
f3d338c9
OB
14550 [BZ #15894]
14551 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14552
57f41c40
AS
14553 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14554 (arena_get2): Remove THREAD_STATS conditionals.
14555 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14556 (__malloc_stats, int): Likewise.
bdfe308a 14557
d674667c
MF
145582014-02-08 Mike Frysinger <vapier@gentoo.org>
14559
14560 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14561 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14562
6349768c
MF
14563 * manual/setjmp.texi: Fix typos/grammar errors.
14564
0b7c7473
MF
14565 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14566 Only return early when n is <= 0. Delete unused return statement.
14567
ac8cc9e3
MF
14568 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14569 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14570 * debug/tst-longjmp_chk3.c: New file.
14571
c5bb8e23
MF
14572 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14573 (test_main): Replace code with set_fortify_handler call.
14574 * debug/test-strcpy_chk.c: Likewise.
14575 * debug/tst-chk1.c: Likewise.
14576 * debug/tst-longjmp_chk.c: Likewise.
14577 * test-skeleton.c: Include fcntl.h & paths.h
14578 (set_fortify_handler): Define.
14579
10444e42
MF
14580 * debug/tst-longjmp_chk.c: Add header comment and include
14581 ../test-skeleton.c.
14582 (do_test): Mark static.
14583 (TEST_FUNCTION): Define.
14584
1e805e8d
MF
14585 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14586 (IP_PMTUDISC_INTERFACE): Likewise.
14587 (IP_MULTICAST_IF): Likewise.
14588 (IP_MULTICAST_TTL): Likewise.
14589 (IP_MULTICAST_LOOP): Likewise.
14590 (IP_ADD_MEMBERSHIP): Likewise.
14591 (IP_DROP_MEMBERSHIP): Likewise.
14592 (IP_UNBLOCK_SOURCE): Likewise.
14593 (IP_BLOCK_SOURCE): Likewise.
14594 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14595 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14596 (IP_MSFILTER): Likewise.
14597 (MCAST_JOIN_GROUP): Likewise.
14598 (MCAST_BLOCK_SOURCE): Likewise.
14599 (MCAST_UNBLOCK_SOURCE): Likewise.
14600 (MCAST_LEAVE_GROUP): Likewise.
14601 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14602 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14603 (MCAST_MSFILTER): Likewise.
14604 (IP_MULTICAST_ALL): Likewise.
14605 (IP_UNICAST_IF): Likewise.
14606
73f79bb7
MF
14607 * timezone/Makefile: Delete $(have-ksh) check.
14608 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14609 * timezone/tzselect.ksh: Add +x mode bits.
14610
8da79b60
MF
14611 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14612 (ANON_INODE_FS_MAGIC): Likewise.
14613 (BDEVFS_MAGIC): Likewise.
14614 (BINFMTFS_MAGIC): Likewise.
14615 (BTRFS_TEST_MAGIC): Likewise.
14616 (CRAMFS_MAGIC_WEND): Likewise.
14617 (DEBUGFS_MAGIC): Likewise.
14618 (ECRYPTFS_SUPER_MAGIC): Likewise.
14619 (EXT3_SUPER_MAGIC): Likewise.
14620 (EXT4_SUPER_MAGIC): Likewise.
14621 (FUTEXFS_SUPER_MAGIC): Likewise.
14622 (HOSTFS_SUPER_MAGIC): Likewise.
14623 (HUGETLBFS_MAGIC): Likewise.
14624 (MINIX3_SUPER_MAGIC): Likewise.
14625 (MTD_INODE_FS_MAGIC): Likewise.
14626 (NILFS_SUPER_MAGIC): Likewise.
14627 (OPENPROM_SUPER_MAGIC): Likewise.
14628 (PIPEFS_MAGIC): Likewise.
14629 (PSTOREFS_MAGIC): Likewise.
14630 (QNX6_SUPER_MAGIC): Likewise.
14631 (RAMFS_MAGIC): Likewise.
14632 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14633 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14634 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14635 (SECURITYFS_MAGIC): Likewise.
14636 (SELINUX_MAGIC): Likewise.
14637 (SMACK_MAGIC): Likewise.
14638 (SOCKFS_MAGIC): Likewise.
14639 (SQUASHFS_MAGIC): Likewise.
14640 (STACK_END_MAGIC): Likewise.
14641 (TMPFS_MAGIC): Likewise.
14642 (USBDEVICE_SUPER_MAGIC): Likewise.
14643 (V9FS_MAGIC): Likewise.
14644 (XENFS_SUPER_MAGIC): Likewise.
14645 (CRAMFS_MAGIC): Fix typo in comment.
14646 (EXT2_SUPER_MAGIC): Update comment.
14647 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14648
464263cc
JM
146492014-02-08 Joseph Myers <joseph@codesourcery.com>
14650
c6bfe5c4
JM
14651 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14652 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14653 * sysdeps/unix/sysv/linux/arm: Move directory from
14654 ports/sysdeps/unix/sysv/linux/arm.
14655 * README: Update listing for arm-*-linux-gnueabi.
14656
464263cc
JM
14657 * README: Remove mention of am33.
14658
32749f6c
RM
146592014-02-07 Roland McGrath <roland@hack.frob.com>
14660
14661 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14662 than the comma operator, to avoid "rhs of comma has no effect"
14663 compiler warnings.
14664 (__sigfillset, __sigandset, __sigorset): Likewise.
14665 * include/signal.h (__sigemptyset): Likewise.
14666 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14667
d5b396c1
AM
146682014-02-07 Allan McRae <allan@archlinux.org>
14669
14670 * version.h (RELEASE): Set to "development".
14671 (VERSION): Set to "2.19.90"
14672 * NEWS: Add 2.20 section.
14673
3bfff2ed
CD
146742014-02-06 Carlos O'Donell <carlos@redhat.com>
14675
14676 [BZ #16529]
14677 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14678
ee7cc385
SP
146792014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14680
14681 * manual/contrib.texi: Update entry for Carlos O'Donell,
14682 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14683
f877c4f2
CD
146842014-02-05 Carlos O'Donell <carlos@rehdat.com>
14685
27e839f6
CD
14686 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14687
f877c4f2
CD
14688 * sysdeps/unix/sysv/linux/kernel-features.h
14689 [__LINUX_KERNEL_VERSION >= 0x020621]
14690 (__ASSUME_PROC_PID_TASK_COMM): Define.
14691
68159946
SP
146922014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14693
ba17cdbd
SP
14694 [BZ #16398]
14695 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14696 conversion when destination buffer does not have enough space.
14697 * libio/tst-ftell-partial-wide.c: New test case.
14698 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14699
68159946
SP
14700 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14701 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14702 Leonard and Allan McRae.
14703
2b528732
DM
147042014-02-04 David S. Miller <davem@davemloft.net>
14705
14706 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14707 32-bit.
14708
0ff82463
AZ
147092014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710
57f41c40
AS
14711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14712 New file
c01603f7
AZ
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14714 New file
57f41c40
AS
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14716 New file.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14718 New file.
c01603f7
AZ
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14720 New file.
57f41c40
AS
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14722 New file.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14724 New file.
c01603f7
AZ
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14726 New file.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14728 New file.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14730 New file.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14732 New file.
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14734 New file.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14736 New file.
14737
147382014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14739
0ff82463
AZ
14740 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14741 * shlib-versions: Likewise.
14742
1695c773
AZ
147432014-02-04 Roland McGrath <roland@hack.frob.com>
14744 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14745
14746 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14747 (abilist-pattern): New variable, set to %-le.abilist.
14748
14749 * Makerules (abilist-pattern): New variable.
14750 (vpath): Use $(abilist-pattern) in place of %.abilist.
14751 (check-abi-% pattern rule): Likewise.
14752 (check-abi, update-abi): Likewise.
14753
6c0ce4b4
EW
147542014-02-04 Eric Wong <normalperson@yhbt.net>
14755
14756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14757
481e3524
CD
147582014-02-03 Carlos O'Donell <carlos@redhat.com>
14759
14760 * manual/startup.texi: Add next, previous, and top entries for
14761 the `Program Arguments' and `Environment Variables' nodes.
14762
375592d3
AO
147632014-02-03 Alexandre Oliva <aoliva@redhat.com>
14764
14765 * manual/macros.texi: Add comments before MTASC-safety macros.
14766
f54838ba
AO
14767 * manual/users.texi: Document MTASC-safety properties.
14768
57f41c40
AS
14769 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14770 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14771 @deftypefun, and add @safety note.
14772 * manual/signal.texi: Move comments that analyze the above
14773 functions to their home place.
14774
fd3daba4
AM
147752014-02-03 Allan McRae <allan@archlinux.org>
14776
14777 * po/sl.po: Update Slovenian translation from translation project.
14778
597636d7
AO
147792014-02-02 Alexandre Oliva <aoliva@redhat.com>
14780
14781 * manual/time.texi (timegm): Add missing blank after @c.
14782 Reported by Joseph Myers <joseph@codesourcery.com>.
14783
ee196e3c
AO
147842014-02-01 Alexandre Oliva <aoliva@redhat.com>
14785
14786 * manual/check-safety.sh: New.
14787 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14788
f8d529d5
AO
14789 * manual/terminal.texi: Document MTASC-safety properties.
14790
de55fdf4
AO
14791 * manual/filesys.texi: Document MTASC-safety properties.
14792
c3299c08
AO
14793 * manual/errno.texi: Document MTASC-safety properties.
14794
06e90b14
AO
14795 * manual/intro.texi: Document safety identifiers and
14796 conditionals.
14797
1acd4371
AO
14798 * manual/string.texi (wcstok): Fix prototype.
14799 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14800
23e5b8cb
AO
14801 * manual/time.texi: Document MTASC-safety properties.
14802
11087373
AO
14803 * manual/string.texi: Document MTASC-safety properties.
14804
5da2c93d
AO
14805 * manual/threads.texi: Document MTASC-safety properties.
14806
171e9210
AO
14807 * manual/stdio.texi: Document MTASC-safety properties.
14808
d9e02532
AO
14809 * manual/syslog.texi: Document MTASC-safety properties.
14810
6af8bab7
AO
14811 * manual/sysinfo.texi: Document MTASC-safety properties.
14812
663b02d7
AO
14813 * manual/startup.texi: Document MTASC-safety properties.
14814
973f180b
AO
14815 * manual/socket.texi: Document MTASC-safety properties.
14816
8f3c25c8
AO
14817 * manual/signal.texi: Document MTASC-safety properties.
14818
542210fb
AO
148192014-01-31 Alexandre Oliva <aoliva@redhat.com>
14820
14821 * manual/setjmp.texi: Document MTASC-safety properties.
14822
433c45a2
AO
14823 * manual/search.texi: Document MTASC-safety properties.
14824
c8ce789c
AO
14825 * manual/resource.texi: Document MTASC-safety properties.
14826
19f5d29c
AO
14827 * manual/process.texi: Document MTASC-safety properties.
14828
e2dfb7f4
AO
14829 * manual/platform.texi: Document MTASC-safety properties.
14830
8c1413f5
AO
14831 * manual/pipe.texi: Document MTASC-safety properties.
14832
03483ada
AO
14833 * manual/pattern.texi: Document MTASC-safety properties.
14834
29e7e2df
AO
14835 * manual/message.texi: Document MTASC-safety properties.
14836
9f529d7c
AO
14837 [BZ #12751]
14838 * manual/memory.texi: Document MTASC-safety properties.
14839
27aaa791
AO
14840 * manual/math.texi: Document MTASC-safety properties.
14841
f2d58726
AO
14842 * manual/locale.texi: Document MTASC-safety properties.
14843
2cc3615c
AO
14844 * manual/llio.texi: Document MTASC-safety properties.
14845
d9f0ec97
AO
14846 * manual/libdl.texi: New.
14847
e7c4409a
AO
14848 * manual/lang.texi: Document MTASC-safety properties.
14849
27bdc63c
AO
14850 * manual/job.texi: Document MTASC-safety properties.
14851
a7b90ea9
AO
14852 * manual/getopt.texi: Document MTASC-safety properties.
14853
c49130e3
AO
14854 * manual/ctype.texi: Document MTASC-safety properties.
14855
0d23a5c1
MR
148562014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14857
14858 [BZ #16046]
14859 * csu/libc-tls.c (static_map): Remove variable.
14860 (__libc_setup_tls): Use main executable's link map for TLS data.
14861 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14862 casing for LM_ID_BASE and GL(dl_nns).
14863 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14864 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14865 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14866 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14867 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14868 member.
14869 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14870 l_phnum members.
14871
0037bb60
AO
148722014-01-30 Alexandre Oliva <aoliva@redhat.com>
14873
14874 * manual/debug.texi: Document MTASC-safety properties.
14875
409e00bd
L
148762014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14877
14878 [BZ #16510]
14879 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14880 of __x86_64__ when disabling x87 inline functions.
14881
86e60666
AO
148822014-01-29 Alexandre Oliva <aoliva@redhat.com>
14883
14884 * manual/charset.texi: Document MTASC-safety properties.
14885
76167637
AO
14886 * manual/crypt.texi: Document MTASC-safety properties.
14887
e567f2a0
AO
14888 * manual/conf.texi: Document MTASC-safety properties.
14889
b719dafd
AO
14890 * manual/arith.texi: Document MTASC-safety properties.
14891
4a16c662
AO
14892 * manual/argp.texi: Document MTASC-safety properties.
14893
0a57b83e
AO
14894 * manual/macros.texi: Introduce macros to document multi
14895 thread, asynchronous signal and asynchronous cancellation
14896 safety properties.
14897 * manual/intro.texi: Introduce the properties themselves.
14898
feab2397
KK
148992014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14900
14901 * sysdeps/sh/sh4/Makefile: New file.
14902
1c0d11bc
AS
149032014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14904
14905 * math/gen-libm-test.pl ($srcdir): New variable.
14906 ($auto_input): Use it.
14907
af37a8a3
SP
149082014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14909
d7b00f98
SP
14910 [BZ #16506]
14911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14912 access beyond array bounds when parsing netgroups file.
14913
af37a8a3
SP
14914 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14915 the old buffer before realloc.
14916
0c00f062
AM
149172014-01-27 Allan McRae <allan@archlinux.org>
14918
14919 * po/fr.po: Update French translation from translation project.
14920
7d69a1b0
KK
149212014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14922
14923 * sysdeps/sh/libm-test-ulps: Regenerate.
14924
6e697ff7
DM
149252014-01-24 David S. Miller <davem@davemloft.net>
14926
14927 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14928
9cadb35c
KK
149292014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14930
14931 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14932 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14933
5d41dadf
SP
149342013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14935
14936 [BZ #16474]
14937 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14938 string pointers after reallocation.
14939
0bad441c
KK
149402014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14941
14942 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14943 __SH4A__ instead of __SH_FPU_ANY__.
14944
7007c661
KK
149452014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14946
14947 * sysdeps/sh/fpu_control.h: New file.
14948 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14949 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14950 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14951 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14952 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14953 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14954 * sysdeps/sh/sys/ucontext.h: Remove.
14955 * sysdeps/sh/sys: Remove directory.
14956
0f0c35e4
AK
149572014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14958
14959 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14960 s390/sys/ucontext.h.
14961 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14962 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14963
4959e284
L
149642014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14965
14966 [BZ #15605]
14967 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14968
d98720e0
AZ
149692014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14970
14971 [BZ#16431]
14972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14973 Adjust the vDSO correctly for internal calls.
14974 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14975
91cbd0bc
AM
149762014-01-20 Allan McRae <allan@archlinux.org>
14977
14978 * po/ca.po: Update Catalan translation from translation project.
14979
7a02cfad
MF
149802014-01-16 Mike Frysinger <vapier@gentoo.org>
14981
14982 * sysdeps/s390/sotruss-lib.c: New file.
14983
736c304a
AZ
149842014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14985
14986 [BZ#16430]
6e077ee5 14987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14988 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14989 local calls issues by not having a PLT stub required for IFUNC calls.
14990 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14991
94d0cea0
JM
149922014-01-16 Joseph Myers <joseph@codesourcery.com>
14993
14994 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14995 * math/test-fpucw-static.c: Likewise.
14996
980cb518
SP
149972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14998
14999 [BZ #16453]
15000 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15001
2393fc01
AZ
150022014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15003
15004 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15005 implementation for powerpc.
15006
d359bcc2
OB
150072014-01-15 Ondřej Bílka <neleai@seznam.cz>
15008
15009 [BZ #14782]
15010 * sysdeps/posix/system.c (__libc_system): Do not enable
15011 asynchronous cancellation.
15012
7beb48cb
AK
150132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15014
15015 [BZ #16427]
15016 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15017 handling only for numbers special also in the IEEE case.
15018
c20d5bf5
AK
150192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15020
15021 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15022
e83bd4ee
AM
150232014-01-11 Allan McRae <allan@archlinux.org>
15024
76d0ea69
AM
15025 * po/bg.po: Update Bulgarian translation from translation project.
15026
e83bd4ee
AM
15027 * po/de.po: Update German translation from translation project.
15028
bc2ba20a
RM
150292014-01-10 Roland McGrath <roland@hack.frob.com>
15030
15031 * sysdeps/generic/gcc-compat.h: New file.
15032
649ecea2
SP
150332014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15034
15035 * benchtests/asin-inputs: Correct slow inputs.
15036 * benchtests/acos-inputs: Likewise.
15037
1b19c006
AM
150382014-01-10 Allan McRae <allan@archlinux.org>
15039
a46dab08
AM
15040 * po:sv.po: Update Swedish translation from translation project.
15041
421df74a
AM
15042 * po/vi.po: Update Vietnamese translation from translation project.
15043
d61c51a7
AM
15044 * po/eo.po: Update Esperanto translation from translation project.
15045
0339a319
AM
15046 * po/cs.po: Update Czech translation from translation project.
15047
94ad3e99
AM
15048 * po/nl.po: Update Dutch translation from translation project.
15049
e349ca71
AM
15050 * po/pl.po: Update Polish translation from translation project.
15051
ddf930c1
AM
15052 * po/ru.po: Update Russian translation from translation project.
15053
1b19c006
AM
15054 * po/uk.po: Update Ukrainian translation from translation project.
15055
9f236c49
BM
150562014-01-08 Brooks Moses <bmoses@google.com>
15057
15058 * elf/dl-load.c: Fix comment typo.
15059
cd6701cf
CD
150602014-01-08 Carlos O'Donell <carlos@redhat.com>
15061
15062 * po/header.pot: Rename to...
15063 * po/pot.header: ... this.
15064 * po/Makefile: Use pot.header.
15065
66671c84
YK
150662014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15067 Maxim Kuvyrkov <maxim@kugelworks.com>
15068
15069 [BZ #16394]
cd6701cf
CD
15070 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15071 SRC and DEST against LEN.
66671c84 15072
38f34581
AZ
150732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15074
15075 [BZ #16414]
15076 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15077 implementation.
15078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15079
150802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15081
15082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15083
4c327f2a
JM
150842014-01-08 Joseph Myers <joseph@codesourcery.com>
15085
15086 [BZ #16408]
15087 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15088 for large positive arguments.
15089
b821f414
JM
150902014-01-07 Joseph Myers <joseph@codesourcery.com>
15091
1f0f2067
JM
15092 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15093
a5a326f6
JM
15094 * math/auto-libm-test-in: Mark various tests with
15095 xfail-rounding:ldbl-128ibm.
15096 * math/auto-libm-test-out: Regenerated.
15097
b821f414
JM
15098 [BZ #16407]
15099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15100 Increase overflow threshold.
15101
94c8a4bc
OB
151022014-01-07 Ondřej Bílka <neleai@seznam.cz>
15103
15104 [BZ #14286]
15105 * stdio-common/vfprintf.c: Check for integer overflow.
15106
87ded0c3
AK
151072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15108
15109 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15110 the first argument and return value of __tls_get_addr_internal.
15111
c5eebdd0
AK
151122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15113
15114 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15115 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15116
05d138ef
AK
151172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15118
15119 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15120 * sysdeps/s390/rtld-global-offsets.sym: New file.
15121 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15122 GLIBC_2.19 symbol.
15123 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15126 ... this.
15127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15129 ... this.
15130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15131 Regenerate.
15132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15133 Regenerate.
15134 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15135 halfs of GPRs for high_gprs contexts.
15136 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15137 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15138 field.
15139 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15140 uc_flags field.
15141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15142 64 bit versions:
15143 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15144 for high GPRs (uc_high_gprs) and for future extensions
15145 (__reserved).
15146 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15147 for future extensions (__reserved).
15148 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15149 64 bit versions:
15150 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15151 SC_HIGHGPRS offset definition.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15153 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15154
93a45ff1
AK
15155 * Versions.def: Add GLIBC_2.19 for libpthread.
15156 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15157 siglongjmp for libpthread with GLIBC_2.19 symver.
15158 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15159 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15160 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15161 * sysdeps/s390/__longjmp.c: New file.
15162 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15163 * sysdeps/s390/longjmp.c: New file.
15164 * sysdeps/s390/setjmp.S: New file.
15165 * sysdeps/s390/sigjmp.S: New file.
15166 * sysdeps/s390/v1-longjmp.c: New file.
15167 * sysdeps/s390/v1-setjmp.h: New file.
15168 * sysdeps/s390/v1-sigjmp.c: New file.
15169 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15170 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15171 GLIBC_2.19 version.
15172 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15173 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15174 versioned symbols for ____longjmp_chk.
15175 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15178 Regenerate.
15179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15180 Regenerate.
15181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15182 Regenerate.
15183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15184 Regenerate.
15185 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15186 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15187 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15188 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15189 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15190 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15191 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15192 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15193 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15194 * sysdeps/s390/rtld-__longjmp.c: New file.
15195 * sysdeps/s390/rtld-setjmp.S: New file.
15196
eb3fc44b
JM
151972014-01-06 Joseph Myers <joseph@codesourcery.com>
15198
15199 [BZ #16400]
15200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15201 Return -__logl (x) for small positive arguments without evaluating
15202 a polynomial.
15203
9341dde4
MF
152042014-01-06 Mike Frysinger <vapier@gentoo.org>
15205
15206 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15207 Rename to ...
15208 (__ptrace_peeksiginfo_args): ... this.
15209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15212
4cff0293
AM
152132014-01-06 Allan McRae <allan@archlinux.org>
15214
15215 * inet/netinet/in.h: Fix typo in comment.
15216
75595dcf
AJ
152172014-01-05 Andreas Jaeger <aj@suse.de>
15218
15219 * sysdeps/i386/fpu/libm-test-ulps: Update.
15220
79c1e109
AM
152212014-01-05 Allan McRae <allan@archlinux.org>
15222
dd804818
AM
15223 * po/libc.pot: Regenerated.
15224
79c1e109
AM
15225 * malloc/memusagestat.c: Fix gettext call formatting.
15226
0c813d1f
SK
152272014-01-04 Sami Kerola <kerolasa@iki.fi>
15228
15229 * nscd/nscd.c: Improve usage() output.
15230
20f4a8d9
MF
152312014-01-04 Mike Frysinger <vapier@gentoo.org>
15232
15233 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15234 * sysdeps/unix/sysv/linux/configure: Regenerated.
15235 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15236 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15237
22562bb2
JM
152382014-01-03 Joseph Myers <joseph@codesourcery.com>
15239
15240 [BZ #16390]
15241 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15242 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15243
d7ad2d9b
AZ
152442014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245
15246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15247 extra tokens at end of #undef directive.
15248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15249 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15250 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15251
7dd009d8
JM
152522014-01-03 Joseph Myers <joseph@codesourcery.com>
15253
24db925a
JM
15254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15255
7dd009d8
JM
15256 * math/auto-libm-test-in: Mark various tests with
15257 xfail-rounding:ldbl-128ibm.
15258 * math/auto-libm-test-out: Regenerated.
15259
396e3ecf
JM
152602014-01-02 Joseph Myers <joseph@codesourcery.com>
15261
819e5d50
JM
15262 [BZ #16386]
15263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15264 numbers with subnormal high part when calculating exponent.
15265
90b6a1e5
JM
15266 [BZ #16385]
15267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15268 fabs.
15269
396e3ecf
JM
15270 [BZ #16384]
15271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15272 M_LN2l.
15273 (__ieee754_acoshl): Use __log1pl not __log1p.
15274
6c8dbf00
OB
152752013-01-02 Ondřej Bílka <neleai@seznam.cz>
15276
57f41c40
AS
15277 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15278 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15279 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15280 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15281 (reused_arena, arena_get2): Convert to GNU style.
15282 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15283 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15284 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15285 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15286 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15287 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15288 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15289 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15290 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15291 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15292 * malloc/malloc.h: Likewise.
57f41c40
AS
15293 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15294 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15295 * malloc/mcheck.h: Likewise.
57f41c40
AS
15296 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15297 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15298 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15299 * malloc/morecore.c (__default_morecore): Likewise.
15300 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15301 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15302 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15303 (print_and_abort): Likewise.
6c8dbf00
OB
15304 * malloc/obstack.h: Likewise.
15305 * malloc/set-freeres.c (__libc_freeres): Likewise.
15306 * malloc/tst-mallocstate.c (main): Likewise.
15307 * malloc/tst-mtrace.c (main): Likewise.
15308 * malloc/tst-realloc.c (do_test): Likewise.
15309
d4124212
SP
153102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15311
9a3c6a6f
SP
15312 [BZ #16366]
15313 * nscd/netgroupcache.c (do_notfound): New function.
15314 (addgetnetgrentX): Use it.
15315
d4124212
SP
15316 [BZ # 16365]
15317 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15318 NSS_STATUS_NOTFOUND.
15319
97b9a009
JM
153202014-01-01 Joseph Myers <joseph@codesourcery.com>
15321
15322 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324
d4697bc9
AM
153252014-01-01 Allan McRae <allan@archlinux.org>
15326
ddb3687f
AM
15327 * scripts/update-copyrights: Update configure input file suffix.
15328
88726d48
AM
15329 * NEWS: Update copyright year.
15330 * catgets/gencat.c: Likewise.
15331 * csu/version.c: Likewise.
15332 * debug/catchsegv.sh: Likewise.
15333 * debug/pcprofiledump.c: Likewise.
15334 * debug/xtrace.sh: Likewise.
15335 * elf/ldconfig.c: Likewise.
15336 * elf/ldd.bash.in: Likewise.
15337 * elf/pldd.c: Likewise.
15338 * elf/sotruss.ksh: Likewise.
15339 * elf/sprof.c: Likewise.
15340 * iconv/iconv_prog.c: Likewise.
15341 * iconv/iconvconfig.c: Likewise.
15342 * locale/programs/locale.c: Likewise.
15343 * locale/programs/localedef.c: Likewise.
15344 * login/programs/pt_chown.c: Likewise.
15345 * malloc/memusage.sh: Likewise.
15346 * malloc/memusagestat.c: Likewise.
15347 * malloc/mtrace.pl: Likewise.
15348 * manual/libc.texinfo: Likewise.
15349 * nscd/nscd.c: Likewise.
15350 * nss/getent.c: Likewise.
15351 * nss/makedb.c: Likewise.
15352 * posix/getconf.c: Likewise.
15353 * scripts/test-installation.pl: Likewise.
15354
d4697bc9
AM
15355 * All files with FSF copyright notices: Update copyright dates
15356 using scripts/update-copyrights.
15357 * intl/plural.c: Regenerated.
15358 * locale/programs/charmap-kw.h: Likewise.
15359 * locale/programs/locfile-kw.h: Likewise.
15360
c8590f9d
MF
153612013-12-31 Mike Frysinger <vapier@gentoo.org>
15362
15363 * sysdeps/unix/sysv/linux/configure: Regenerated.
15364 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15365 the linux/fanotify.h header.
15366 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15367 HAVE_LINUX_FANOTIFY_H is defined.
15368
b19221b9
SP
153692013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15370
dd1d85e5
SP
15371 * benchtests/cos-inputs: New inputs.
15372 * benchtests/sin-inputs: Likewise.
15373
1acbb90f
SP
15374 * benchtests/atan-inputs: New inputs. Fix name of multiple
15375 precision fallback inputs.
15376
4c012ed3
SP
15377 * benchtests/atanh-inputs: New inputs.
15378 * benchtests/tanh-inputs: Likewise.
15379
eff98324
SP
15380 * benchtests/acosh-inputs: New inputs.
15381 * benchtests/asinh-inputs: Likewise.
15382
ce641152
SP
15383 * benchtests/cosh-inputs: New inputs.
15384 * benchtests/sinh-inputs: Likewise.
15385
b19221b9
SP
15386 * benchtests/acos-inputs: Add more inputs.
15387 * benchtests/asin-inputs: Likewise.
15388
030a4976 153892013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15390
030a4976 15391 [BZ #16375]
9dcc8f11
VS
15392 * manual/arith.texi: Fix spelling.
15393 * manual/charset.texi: Likewise.
15394 * manual/errno.texi: Likewise.
15395 * manual/filesys.texi: Likewise.
15396 * manual/lang.texi: Likewise.
15397 * manual/llio.texi: Likewise.
15398 * manual/locale.texi: Likewise.
15399 * manual/message.texi: Likewise.
15400 * manual/resource.texi: Likewise.
15401 * manual/search.texi: Likewise.
15402 * manual/setjmp.texi: Likewise.
15403 * manual/stdio.texi: Likewise.
15404 * manual/string.texi: Likewise.
15405 * manual/sysinfo.texi: Likewise.
15406 * manual/time.texi: Likewise.
15407
11520a57
CD
154082013-12-27 Carlos O'Donell <carlos@redhat.com>
15409
15410 * po/sl.po: New file.
15411
471103ae
MF
154122013-12-27 Mike Frysinger <vapier@gentoo.org>
15413
15414 * .gitignore: Add core/.gdbinit/.gdb_history.
15415
6c9642ed
AM
154162013-12-27 Allan McRae <allan@archlinux.org>
15417
15418 [BZ #16369]
15419 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15420 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15421
3f637079
BM
154222013-12-24 Brooks Moses <bmoses@google.com>
15423
15424 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15425 all compilers that claim C++98 compliance, not just GCC.
15426 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15427 Likewise.
15428
abc26e99
MK
154292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15430
15431 * NEWS: Restore accidentally deleted bug-fix entries.
15432
362b47fe
MK
154332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15434 Ondřej Bílka <neleai@seznam.cz>
15435
15436 [BZ #15073]
15437 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15438 have_lock.
362b47fe 15439
b9bcbbcb
OB
154402013-12-23 Ondřej Bílka <neleai@seznam.cz>
15441
15442 [BZ #12986]
15443 * manual/stdio.texi (String Input Conversions): Clarify that character
15444 classes are not supported.
15445
fb55fcd2
AZ
154462013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15447
15448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15449
ef7344f0
JM
154502013-12-22 Joseph Myers <joseph@codesourcery.com>
15451
4f40e4b3
JM
15452 [BZ #16337]
15453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15454 Calculate results for small negative arguments directly rather
15455 than using reflection formula with special underflow handling.
15456
ef7344f0
JM
15457 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15458 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15459 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15460 (fchflags): Likewise.
15461 (revoke): Likewise.
15462 (setlogin): Likewise.
15463 (sigaltstack): Likewise.
15464 (wait4): Likewise.
15465 (sigblock): Remove.
15466 (sigsetmask): Likewise.
15467 (wait3): Likewise.
15468 (waitpid): Likewise.
15469 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15470 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15471 file.
15472 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15473 * sysdeps/unix/bsd/Makefile: ... here.
15474 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15475 * sysdeps/unix/bsd/Versions: ... here.
15476 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15477 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15478 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15479 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15480 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15481 * sysdeps/unix/bsd/sigblock.c: ... here.
15482 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15483 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15484 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15485 * sysdeps/unix/bsd/sigvec.c: ... here.
15486 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15487 * sysdeps/unix/bsd/tcdrain.c: ... here.
15488 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15489 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15490 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15491 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15492 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15493 * sysdeps/unix/bsd/wait.c: ... here.
15494 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15495 * sysdeps/unix/bsd/wait3.c: ... here.
15496 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15497 * sysdeps/unix/bsd/waitpid.c: ... here.
15498
5b0626b9
JM
154992013-12-21 Joseph Myers <joseph@codesourcery.com>
15500
15501 [BZ #16356]
15502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15503 round-to-nearest for [!USE_AS_EXPM1L].
15504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15505 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15506 more tests of exp and exp10. Expect some exp10 tests to miss
15507 exceptions or fail in directed rounding modes.
15508 * math/auto-libm-test-out: Regenerated.
15509 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15510 (exp10_test_tonearest): New function.
15511 (exp10_towardzero_test_data): New array.
15512 (exp10_test_towardzero): New function.
15513 (exp10_downward_test_data): New array.
15514 (exp10_test_downward): New function.
15515 (exp10_upward_test_data): New array.
15516 (exp10_test_upward): New function.
15517 (main): Call the new functions.
15518 * sysdeps/i386/fpu/libm-test-ulps: Update.
15519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15520
7fda5682
JM
155212013-12-20 Joseph Myers <joseph@codesourcery.com>
15522
31e3a405
JM
15523 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15524 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15525 * math/auto-libm-test-out: Regenerated.
15526 * math/libm-test.inc (acosh_test_data): Add more tests.
15527 (atanh_test_data): Likewise.
15528 (ceil_test_data): Likewise.
15529 (copysign_test_data): Likewise.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update.
15531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532
85bff96a
JM
15533 * timezone/checktab.awk: Update from tzcode 2013i.
15534 * timezone/private.h: Likewise.
15535 * timezone/scheck.c: Likewise.
15536 * timezone/tzfile.h: Likewise.
15537 * timezone/tzselect.ksh: Likewise.
15538 * timezone/zdump.c: Likewise.
15539 * timezone/zic.c: Likewise.
15540
b7867a3b
JM
15541 * math/auto-libm-test-in: Add tests of cpow.
15542 * math/auto-libm-test-out: Regenerated.
15543 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15544 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15545 mpc_cc_c.
15546 (func_calc_desc): Add mpc_cc_c union field.
15547 (test_functions): Add cpow.
15548 (special_fill_2pi): New function.
15549 (special_real_inputs): Add 2pi.
15550 (calc_generic_results): Handle mpc_cc_c.
15551 * sysdeps/i386/fpu/libm-test-ulps: Update.
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15553
7fda5682
JM
15554 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15555 csqrt, ctan and ctanh.
15556 * math/auto-libm-test-out: Regenerated.
15557 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15558 (TEST_COND_x86): Likewise.
15559 (ccos_test_data): Use AUTO_TESTS_c_c.
15560 (ccosh_test_data): Likewise.
15561 (cexp_test_data): Likewise.
15562 (clog_test_data): Likewise.
15563 (csqrt_test_data): Likewise.
15564 (ctan_test_data): Likewise.
15565 (ctan_tonearest_test_data): Likewise.
15566 (ctan_towardzero_test_data): Likewise.
15567 (ctan_downward_test_data): Likewise.
15568 (ctan_upward_test_data): Likewise.
15569 (ctanh_test_data): Likewise.
15570 (ctanh_tonearest_test_data): Likewise.
15571 (ctanh_towardzero_test_data): Likewise.
15572 (ctanh_downward_test_data): Likewise.
15573 (ctanh_upward_test_data): Likewise.
15574 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15575 mpc_c_c.
15576 (func_calc_desc): Add mpc_c_c union field.
15577 (FUNC_mpc_c_c): New macro.
15578 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15579 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15580 ctanh.
15581 (special_fill_min_subnorm_p120): New function.
15582 (special_real_inputs): Add min_subnorm_p120.
15583 (calc_generic_results): Handle mpc_c_c.
15584 * sysdeps/i386/fpu/libm-test-ulps: Update.
15585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15586
5ff8d60e
SP
155872013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15588
57f41c40
AS
15589 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15590 (do_sin_slow): New functions.
15591 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15592 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15593
84ba214c
SP
15594 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15595 Use M to change sign of result instead of X. Assume X is
15596 positive.
15597 (csloww1): Likewise.
15598 (__sin): Adjust.
15599 (__cos): Adjust.
15600
975195e4
SP
15601 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15602 arguments A and DA.
15603 (__sin): Adjust.
15604 (__cos): Likewise.
15605
5ff8d60e
SP
15606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15607 (__cos): Likewise.
15608 (sloww1): Don't adjust sign of DX.
15609 (csloww1): Likewise.
15610 (sloww2): Use X directly and don't adjust sign of DX.
15611 (csloww2): Likewise.
15612
eb983568
JM
156132013-12-19 Joseph Myers <joseph@codesourcery.com>
15614
64a17f1a
JM
15615 * math/auto-libm-test-in: Add tests of cabs and carg.
15616 * math/auto-libm-test-out: Regenerated.
15617 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15618 (carg_test_data): Likewise.
15619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15620 mpc_c_f.
15621 (func_calc_desc): Add mpc_c_f union field.
15622 (test_functions): Add cabs and carg.
15623 (calc_generic_results): Handle mpc_c_f.
15624
eb983568
JM
15625 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15626 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15627 as a macro and a compat symbol.
15628 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15629 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15630 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15631 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15632 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15633 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15634 not use .hidden.
15635 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15636 Likewise.
15637 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15638 Likewise.
15639 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15640 Likewise.
15641 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15642 Likewise.
15643 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15644 Likewise.
15645 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15646 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15647 from GLIBC_2.3.2.
15648
6eeb678a
AZ
156492013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15650
15651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15652
6f6fc482
JM
156532013-12-19 Joseph Myers <joseph@codesourcery.com>
15654
21fea2e2
JM
15655 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15656 trailing whitespace removed.
15657 * scripts/config.guess: Update to version 2013-11-29.
15658 * scripts/config.sub: Update to version 2013-10-01.
15659
6f6fc482
JM
15660 * math/auto-libm-test-in: Add tests of sincos.
15661 * math/auto-libm-test-out: Regenerated.
15662 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15664 mpfr_f_11.
15665 (func_calc_desc): Add mpfr_f_11 union field.
15666 (test_functions): Add sincos.
15667 (calc_generic_results): Handle mpfr_f_11.
15668 * sysdeps/i386/fpu/libm-test-ulps: Update.
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15670
83f5c32d
AS
156712013-12-19 Andreas Schwab <schwab@suse.de>
15672
15673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15674 CALL_MCOUNT.
15675 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15676 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15677 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15678
c688b419
JM
156792013-12-19 Joseph Myers <joseph@codesourcery.com>
15680
335ee092
JM
15681 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15682 * sysdeps/i386/fpu/libm-test-ulps: Update.
15683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15684
f88acd39
JM
15685 [BZ #16293]
15686 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15687 round-to-nearest mode when using frndint.
15688 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15689 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15690 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15691 Likewise.
15692 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15693 sinh test to fail.
15694 * math/auto-libm-test-out: Regenerated.
15695 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15696 (TEST_COND_x86): Likewise.
15697 (expm1_tonearest_test_data): New array.
15698 (expm1_test_tonearest): New function.
15699 (expm1_towardzero_test_data): New array.
15700 (expm1_test_towardzero): New function.
15701 (expm1_downward_test_data): New array.
15702 (expm1_test_downward): New function.
15703 (expm1_upward_test_data): New array.
15704 (expm1_test_upward): New function.
15705 (main): Run the new test functions.
15706 * sysdeps/i386/fpu/libm-test-ulps: Update.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708
c688b419
JM
15709 * include/features.h: Update comment documenting feature test
15710 macros. Mention _DEFAULT_SOURCE in comment.
15711 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15712 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15713 _BSD_SOURCE and _SVID_SOURCE.
15714 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15715 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15716 !_SVID_SOURCE]: Likewise.
15717 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15718 (__USE_POSIX_IMPLICITLY): Define.
15719 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15720 (_POSIX_SOURCE): Undefine and redefine.
15721 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15722 (_POSIX_C_SOURCE): Likewise.
15723 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15724 (Feature Test Macros): Update documentation of default features.
15725
9f6e964c
RS
157262013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15727
15728 * benchtests/Makefile: Add bench-strtok.
15729 * benchtests/bench-strtok.c: New file: strtok benchtest.
15730
ee0a148a
AM
157312013-12-19 Allan McRae <allan@archlinux.org>
15732
15733 * manual/install.texi: Suppress menu for plain text output.
15734 * INSTALL: Regenerated.
15735
b9ab448f
BM
157362013-12-18 Brooks Moses <bmoses@google.com>
15737
15738 [BZ #15846]
15739 * misc/getauxval.c: Include errno.h.
15740 (__getauxval): Set errno to ENOENT if the requested type is not
15741 found.
15742 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15743 don't declare with __attribute_const__.
15744 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15745 * manual/startup.texi: Document that getauxval sets errno.
15746
23776487
JM
157472013-12-18 Joseph Myers <joseph@codesourcery.com>
15748
f889953b
JM
15749 * math/auto-libm-test-in: Add tests of jn and yn.
15750 * math/auto-libm-test-out: Regenerated.
15751 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15752 (yn_test_data): Likewise.
15753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15754 mpfr_if_f.
15755 (func_calc_desc): Add mpfr_if_f union field.
15756 (FUNC_mpfr_if_f): New macro.
15757 (test_functions): Add jn and yn.
15758 (calc_generic_results): Assert type of second input for
15759 mpfr_ff_f. Handle mpfr_if_f.
15760 (output_for_one_input_case): Disable all checking for arguments
15761 fitting floating-point types in case of an integer argument.
15762 * sysdeps/i386/fpu/libm-test-ulps: Update.
15763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15764
23776487
JM
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15766 Don't expect fegetround reference in libm.so.
15767
cb756c6d
MS
157682013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15769
15770 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15771 $(config-cflags-nofma).
15772
2dec468f
JM
157732013-12-18 Joseph Myers <joseph@codesourcery.com>
15774
5953eb3a
JM
15775 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15776 * math/auto-libm-test-out: Regenerated.
15777
2dec468f
JM
15778 [BZ #16338]
15779 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15780 to determine exponent and adjust argument to have exponent of -1.
15781 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15782 log2.
15783 * math/auto-libm-test-out: Regenerated.
15784 * sysdeps/i386/fpu/libm-test-ulps: Update.
15785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15786
4d84e6ad
OB
157872013-12-18 Ondřej Bílka <neleai@seznam.cz>
15788
15789 * manual/probes.texi: Remove cases when per-thread arenas are
15790 disabled.
15791
1818483b
AS
157922013-12-18 Andreas Schwab <schwab@suse.de>
15793
15794 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15795 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15796 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15797 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15798 * sysdeps/i386/i686/multiarch/Makefile: Update.
15799 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15800
25de95bf
JM
158012013-12-17 Joseph Myers <joseph@codesourcery.com>
15802
15803 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15804 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15805
674762d9
PE
158062013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15807
ed27ed83 15808 [BZ #15968]
0748546f
PE
15809 Support TZ transition times < 00:00:00.
15810 This is needed for version-3 tz-format files; it supports time
15811 stamps past 2037 for America/Godthab (the only entry in the tz
15812 database for which this change is relevant).
15813 * manual/time.texi (TZ Variable): Document transition times
15814 from -167:59:59 through -00:00:01.
15815 * time/tzset.c (tz_rule): Time of day is now signed.
15816 (__tzset_parse_tz): Parse negative time of day.
15817
4480e934
PE
15818 Document TZ transition times >= 25:00:00.
15819 * manual/time.texi (TZ Variable): Document transition times from
15820 25:00:00 through 167:59:59. These are already supported, and this
15821 support will help with version-3 tz-format files.
15822
69947401
PE
15823 * manual/time.texi (TZ Variable): Modernize North America example
15824 to reflect current (i.e., 2007-and-later) daylight saving rules.
15825
674762d9
PE
15826 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15827
7011c262
JM
158282013-12-17 Joseph Myers <joseph@codesourcery.com>
15829
2fc6557e
JM
15830 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15831 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15834 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15835 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15836 * sysdeps/unix/bsd/clock.c: Likewise.
15837 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15838 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15839 * sysdeps/unix/bsd/init-posix.c: Likewise.
15840 * sysdeps/unix/bsd/poll.c: Likewise.
15841 * sysdeps/unix/bsd/ptsname.c: Likewise.
15842 * sysdeps/unix/bsd/seekdir.c: Likewise.
15843 * sysdeps/unix/bsd/setegid.c: Likewise.
15844 * sysdeps/unix/bsd/seteuid.c: Likewise.
15845 * sysdeps/unix/bsd/setgid.c: Likewise.
15846 * sysdeps/unix/bsd/setrgid.c: Likewise.
15847 * sysdeps/unix/bsd/setruid.c: Likewise.
15848 * sysdeps/unix/bsd/setsid.c: Likewise.
15849 * sysdeps/unix/bsd/setuid.c: Likewise.
15850 * sysdeps/unix/bsd/sigaction.c: Likewise.
15851 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15852 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15853 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15854 * sysdeps/unix/bsd/telldir.c: Likewise.
15855 * sysdeps/unix/bsd/times.c: Likewise.
15856 * sysdeps/unix/bsd/usleep.c: Likewise.
15857
029c7b25
JM
15858 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15859 ($(objpfx)libbsd-compat.a): Remove rule.
15860
7011c262
JM
15861 * include/features.h (__FAVOR_BSD): Do not define.
15862 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15863 features conflicting with POSIX.
15864 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15865 (_BSD_SOURCE): Remove description of not being a subset of other
15866 feature test macros.
15867 * manual/job.texi (getpgrp): Do not document BSD version.
15868 (getpgid): Do not document by reference to BSD getpgrp.
15869 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15870 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15871 * signal/signal.h [__FAVOR_BSD]: Likewise.
15872 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15873 instead of making contents conditional on [__FAVOR_BSD].
15874 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15875
affb6f78
AZ
158762013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15877
15878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15879
c88769dd
JM
158802013-12-17 Joseph Myers <joseph@codesourcery.com>
15881
6432a540
JM
15882 [BZ #16314]
15883 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15884 values below 2**-450, not 2**-500.
15885 * math/auto-libm-test-in: Don't allow spurious underflow from
15886 hypot.
15887 * math/auto-libm-test-out: Regenerated.
15888
c88769dd
JM
15889 [BZ #16316]
15890 [BZ #16330]
15891 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15892 values of ha and hb and sort them after adjusting subnormal
15893 arguments.
15894 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15895 Likewise.
15896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15897 values of ea and eb and sort them after adjusting subnormal
15898 arguments.
15899 * math/auto-libm-test-in: Do not expect some hypot tests of
15900 subnormals to fail. Add more hypot tests.
15901 * math/auto-libm-test-out: Regenerated.
15902
29618f6b
KK
159032013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15904
15905 [BZ #13304]
15906 * sysdeps/sh/s_fma.c: New file.
15907 * sysdeps/sh/s_fmaf.c: New file.
15908 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15909 version.
15910 * sysdeps/sh/Implies: Add sh/soft-fp.
15911
eacfdfbf
RM
159122013-12-16 Roland McGrath <roland@hack.frob.com>
15913
15914 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15915 level of indirection to members `objname', `errstring', `malloced'.
15916 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15917 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15918 it as the __longjmp argument (just pass 1 instead).
15919 (_dl_catch_error): Initialize C with argument pointers and address of
15920 volatile local ERRCODE rather than copying values out of C at return.
15921
ff362e5b
JM
159222013-12-16 Joseph Myers <joseph@codesourcery.com>
15923
15924 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15925 * math/auto-libm-test-out: Regenerated.
15926 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15927 (hypot_test_data): Likewise.
15928 (pow_test_data): Likewise.
15929 (pow_tonearest_test_data): Likewise.
15930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15931 mpfr_ff_f.
15932 (func_calc_desc): Add mpfr_ff_f union field.
15933 (FUNC_mpfr_ff_f): New macro.
15934 (test_functions): Add atan2, hypot and pow.
15935 (special_fill_min): New function.
15936 (special_fill_minus_min): Likewise.
15937 (special_fill_min_subnorm): Likewise.
15938 (special_fill_minus_min_subnorm): Likewise.
15939 (special_real_inputs): Add min, -min, min_subnorm and
15940 -min_subnorm.
15941 (calc_generic_results): Handle mpfr_ff_f.
15942 * sysdeps/i386/fpu/libm-test-ulps: Update.
15943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15944
5764c27f
WN
159452013-12-16 Will Newton <will.newton@linaro.org>
15946
15947 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15948 (Aligned Memory Blocks): Add documentation for aligned_alloc
15949 and suggest it as an alternative to posix_memalign.
15950 (Hooks for Malloc): Document __memalign_hook is also called
15951 for aligned_alloc. (Summary of Malloc): Add summary for
15952 aligned alloc. Document __memalign_hook is also called
15953 for aligned_alloc.
15954
0a096e44
WN
159552013-12-16 Will Newton <will.newton@linaro.org>
15956
15957 * manual/memory.texi (Malloc Examples): Clarify default
15958 alignment documentation. Suggest posix_memalign rather
15959 than memalign or valloc.
15960 (Aligned Memory Blocks): Remove suggestion to use memalign
15961 or valloc. Remove obsolete comment about BSD.
15962 Document memalign errno values and mark the function obsolete.
15963 Document posix_memalign returned error codes. Mark valloc
15964 as obsolete. (Hooks for Malloc): __memalign_hook is also
15965 called for posix_memalign and valloc.
15966 (Summary of Malloc): Add posix_memalign to function summary.
15967 __memalign_hook is also called for posix_memalign and valloc.
15968
8d561986
SP
159692013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15970
15971 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15972 TAYLOR_SIN.
15973 (__sin): Adjust.
15974 (__cos): Likewise.
15975 (sloww): Use mynumber union. Expand ternary operator into
15976 if-else statements.
15977 (cslow): use mynumber union.
15978
73616a74
AM
159792013-12-16 Allan McRae <allan@archlinux.org>
15980
9e8ac24b
AM
15981 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15982 * configure: Regenerated.
15983
6f8e37eb
AM
15984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15985
8894bad3
AM
15986 [BZ #14120]
15987 * configure.ac: Added --enable-maintainer-mode. Check for
15988 autoconf when enabled.
15989 * configure: Regenerated.
15990
73616a74
AM
15991 * nscd/nscd.service: New file.
15992 * nscd/nscd.tmpfiles: New file.
15993
584b18eb
OB
159942013-12-14 Ondřej Bílka <neleai@seznam.cz>
15995
15996 [BZ #12100]
15997 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15998 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15999 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16000 (strstr): Add __strstr_sse2_unaligned ifunc.
16001 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16002 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16003 (strcasestr): Remove __strcasestr_sse42 ifunc.
16004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16007
8a5c7897
KK
160082013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16009
16010 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16011 * sysdeps/sh/bits/fenv.h: ... here.
16012 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16013
fd712ef3
AZ
160142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16015
16016 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16017
42fcb46c
AZ
16018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16019 hypotf multiarch implementations.
16020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16023 multiarch hypot for PPC64.
16024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16027 multiarch hypotf for PPC64.
16028
83efded4
AZ
16029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16030 modff multiarch implementations.
16031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16034 multiarch modf for PPC64.
16035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16038 multiarch modff for PPC64.
16039
43e246d2
AZ
16040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16041 and logl multiarch implementations.
16042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16045 multiarch logb for PPC64.
16046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16049 multiarch logb for PPC64.
16050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16053 multiarch logb for PPC64.
16054
8fdad123
AZ
16055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16056 isinff multiarch implementation.
16057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16058 file.
16059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16061 multiarch isinf for PPC64.
16062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16063 file.
16064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16065 multiarch isinff for PPC64.
16066
1481d706
AZ
16067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16068 finitef multiarch implementation.
16069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16070 file.
16071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16073 multiarch finite for PPC64.
16074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16075 file.
16076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16077 multiarch finitef for PPC64.
16078
5ccd5fc8
AZ
16079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16080 lrint multiarch implementation.
16081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16082 file.
16083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16085 multiarch llrint for PPC64.
16086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16087 multiarch lrint for PPC64.
16088
2568f3fa
AZ
16089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16090 copysignf multiarch implementation.
16091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16092 file.
16093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16094 file.
16095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16096 multiarch copysign for PPC64.
16097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16098 multiarch copysignf for PPC64.
16099
1cb341fd
AZ
16100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16101 multiarch implementation.
16102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16103 file.
16104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16105 file.
16106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16107 file.
16108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16109 file.
16110 multiarch llround for PPC64.
16111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16112 multiarch trunc for PPC64.
16113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16114 multiarch truncf for PPC64.
16115
59a3e194
AZ
16116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16117 multiarch implementation.
16118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16119 file.
16120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16121 file.
16122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16123 file.
16124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16125 file.
16126 multiarch llround for PPC64.
16127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16128 multiarch round for PPC64.
16129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16130 multiarch roundf for PPC64.
16131
357fd3b4
AZ
16132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16133 multiarch implementation.
16134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16135 file.
16136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16137 file.
16138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16139 file.
16140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16141 file.
16142 multiarch llround for PPC64.
16143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16144 multiarch floor for PPC64.
16145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16146 multiarch floorf for PPC64.
16147
96770f12
AZ
16148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16149 multiarch implementation.
16150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16151 file.
16152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16153 file.
16154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16155 file.
16156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16157 file.
16158 multiarch llround for PPC64.
16159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16160 multiarch ceil for PPC64.
16161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16162 multiarch ceilf for PPC64.
16163
c3627f6e
AZ
16164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16165 multiarch implementation.
16166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16167 file.
16168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16169 file.
16170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16171 file.
16172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16173 multiarch llround for PPC64.
16174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16175 multiarch lround for PPC64.
16176
b2284ad7
AZ
16177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16178 multiarch implementation.
16179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16182 file.
16183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16186 multiarch isnan for PPC64.
16187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16188 multiarch isnanf for PPC64.
16189
69bbc63d
AZ
16190 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16191 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16192 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16193 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16194 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16196
c24517c9
AZ
16197 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16201
a52374e8
AZ
16202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16203 multiarch implementations.
16204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16205 (__libc_ifunc_impl_list): Likewise.
16206 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16207 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16208 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16209 multiarch stpcpy for PPC64.
16210
7f5ec113
AZ
16211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16212 multiarch implementations.
16213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16214 (__libc_ifunc_impl_list): Likewise.
16215 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16217 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16218 multiarch strcpy for PPC64.
16219
e28bcd42
AZ
16220 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16221 redefine function name.
16222 (_wordcopy_fwd_dest_aligned): Likewise.
16223 (_wordcopy_bwd_aligned): Likewise.
16224 (_wordcopy_bwd_dest_aligned): Likewise.
16225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16226 multiarch implementations.
16227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16228 (__libc_ifunc_impl_list): Likewise.
16229 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16230 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16233 multiarch wcscpy for PPC64.
16234
92cacfce
AZ
16235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16236 multiarch implementations.
16237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16238 (__libc_ifunc_impl_list): Likewise.
16239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16240 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16243 multiarch wcscpy for PPC64.
16244
7b714620
AZ
16245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16246 multiarch implementations.
16247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16248 (__libc_ifunc_impl_list): Likewise.
16249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16251 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16253 multiarch wcsrchr for PPC64.
16254
16fd2ae3
AZ
16255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16256 multiarch implementations.
16257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16258 (__libc_ifunc_impl_list): Likewise.
16259 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16260 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16261 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16262 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16263 multiarch wcschr for PPC64.
16264
9ee2969b
AZ
16265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16266 multiarch implementations.
16267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16268 (__libc_ifunc_impl_list): Likewise.
16269 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16270 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16271 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16272 multiarch strchrnul for PPC64.
16273
372dc060
AZ
16274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16275 implementations.
16276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16277 (__libc_ifunc_impl_list): Likewise.
16278 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16279 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16280 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16281 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16282 strchr for PPC64.
16283
24c2c3b9
AZ
16284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16285 implementations.
16286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16287 (__libc_ifunc_impl_list): Likewise.
16288 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16291 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16292 strncmp for PPC64.
16293
1c92d9a0
AZ
16294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16295 multiarch implementations.
16296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16297 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16299 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16300 strncasecmp for PPC64.
16301 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16302 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16303 multiarch strncasecmp_l for PPC64.
16304
17de3ee3
AZ
16305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16306 multiarch implementations.
16307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16308 (__libc_ifunc_impl_list): Likewise.
16309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16311 multiarch strcasecmp for PPC64.
16312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16313 file.
16314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16315 multiarch strcasecmp_l for PPC64.
16316
62982bf9
AZ
16317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16318 implementations.
16319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16320 (__libc_ifunc_impl_list): Likewise.
16321 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16322 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16323 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16324 strnlen for PPC64.
16325
a65f4904
AZ
16326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16327 implementations.
16328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16329 (__libc_ifunc_impl_list): Likewise.
16330 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16331 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16332 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16333 strlen for PPC64.
16334
1fd005ad
AZ
16335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16336 implementations.
16337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16338 (__libc_ifunc_impl_list): Likewise.
16339 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16340 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16341 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16342 rawmemrchr for PPC64.
16343
cd05ba91
AZ
16344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16345 implementation.
16346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16347 (__libc_ifunc_impl_list): Likewise.
16348 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16349 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16350 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16351 memrchr for PPC64.
16352
870f8676
AZ
16353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16354 implementation.
16355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16356 (__libc_ifunc_impl_list): Likewise.
16357 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16358 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16359 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16360 memchr for PPC64.
16361
f00be62b
AZ
16362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16363 implementation.
16364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16365 (__libc_ifunc_impl_list): Likewise.
16366 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16367 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16368 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16369 mempcpy for PPC64.
16370
8a29a3d0
AZ
16371 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16372 avoid cretion of __bzero symbol.
16373 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16374 Likewise.
16375 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16376 Likewise.
16377 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16378 Likewise.
16379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16380 multiarch implementations.
16381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16382 (__libc_ifunc_impl_list): Likewise.
16383 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16384 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16385 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16386 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16387 bzero for PPC32.
16388 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16389 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16390 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16391 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16392 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16393 memset for PPC64.
16394 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16395
07253fcf
AZ
16396 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16398 implementations.
16399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16400 (__libc_ifunc_impl_list): Likewise.
16401 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16402 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16403 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16404 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16405 memcmp for PPC64.
16406
b5beafbc
AZ
16407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16408 multiarch for POWER/PPC64.
16409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16410 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16414 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16415 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16417 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16418 memcpy for PPC64.
16419
5e6a4d4b
AZ
16420 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16421 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16422 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16424 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16425 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16426 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16427 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16428 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16429 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16430 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16431 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16432 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16433 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16434 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16442
ddfab6dc
KK
164432013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16444
16445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16446
19b5525e
SP
164472013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16448
16449 * benchtests/Makefile (bench): Add exp2 and log2.
16450 (LDLIBS-bench-exp2): Add -lm.
16451 (LDLIBS-bench-log2): Likewise.
16452 * benchtests/exp2-inputs: New inputs file.
16453 * benchtests/log2-inputs: New inputs file.
16454 * benchtests/log-inputs: Add new inputs.
16455 * benchtests/tan-inputs: Likewise.
16456
196f7f5d
SP
164572013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16458
7a74607f
SP
16459 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16460 definition...
57f41c40
AS
16461 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16462 (csloww2): ... from here.
7a74607f 16463
196f7f5d
SP
16464 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16465 instead of structures.
16466 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16467 (POLYNOMIAL): Likewise.
16468 (TAYLOR_SLOW): Likewise.
16469 (__sin): Likewise.
16470 (__cos): Likewise.
16471 (slow1): Likewise.
16472 (slow2): Likewise.
16473 (sloww): Likewise.
16474 (sloww1); Likewise.
16475 (sloww2): Likewise.
16476 (bsloww1): Likewise.
16477 (bsloww2): Likewise.
16478 (cslow2): Likewise.
16479 (csloww): Likewise.
16480 (csloww1): Likewise.
16481 (csloww2): Likewise.
16482
0dfa665c
OB
164832013-12-10 Ondřej Bílka <neleai@seznam.cz>
16484
16485 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16486 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16487 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16488 * malloc/hooks.c (realloc_check): Likewise.
16489
5782a80f
OB
16490 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16491 * malloc/arena.c: Remove PER_THREAD conditional.
16492 [!PER_THREAD]: Remove code.
16493 (ptmalloc_unlock_all2): Likewise.
16494 (ptmalloc_init): Likewise.
16495 (_int_new_arena): Likewise.
16496 (arena_get2): Likewise.
16497 * malloc/hooks.c (__malloc_get_state): Likewise.
16498 (__malloc_set_state): Likewise.
16499 * malloc/malloc.c: Likewise.
16500 (struct malloc_state): Likewise.
16501 (struct malloc_par): Likewise.
16502 (__libc_realloc): Likewise.
16503 (__libc_mallopt): Likewise.
16504
aeb95445
AZ
165052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16506
16507 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16508
e8349efd
OB
165092013-12-09 Ondřej Bílka <neleai@seznam.cz>
16510
16511 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16512 macro to a function. Check for zero perturb_byte.
16513 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16514
f3eeb3fc 16515 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16516 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16517 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16518 force_reg by atomic_forced_read.
16519 * malloc/arena.c (ptmalloc_init): Likewise.
16520 * malloc/hooks.c (top_check): Likewise.
16521
be2f9009
AZ
165222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16523
16524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16525
e7b914bd
MT
165262013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16527
16528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16529
9f0be4f8
JM
165302013-12-08 Joseph Myers <joseph@codesourcery.com>
16531
16532 * math/auto-libm-test-in: Add tests of lgamma.
16533 * math/auto-libm-test-out: Regenerated.
16534 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16535 (M_LOG_2_SQRT_PIl): Likewise.
16536 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16537 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16538 mpfr_f_f1.
16539 (func_calc_desc): Add mpfr_f_f1 union field.
16540 (ARGS1): New macro.
16541 (ARGS2): Likewise.
16542 (ARGS3): Likewise.
16543 (ARGS4): Likewise.
16544 (RET1): Likewise.
16545 (RET2): Likewise.
16546 (CALC): Likewise.
16547 (FUNC): Likewise.
16548 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16549 (test_functions): Add lgamma.
16550 (calc_generic_results): Handle mpfr_f_f1.
16551 * sysdeps/i386/fpu/libm-test-ulps: Update.
16552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16553
24eeafdb
AZ
165542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16555
16556 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16557 __mpn_add_n for PowerPC64/POWER7.
16558 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16559 __mpn_sub_n for PowerPC64/POWER7.
16560
4a2c0fd4
AZ
16561 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16562 __mpn_addmul_1 for PowerPC64.
16563 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16564 __mpn_submul_1 for PowerPC64.
16565 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16566 for PowerPC64.
16567 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16568 for PowerPC64.
16569
4b5b548c
FS
165702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16571
16572 [BZ #15089]
16573 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16574
0a3ac0aa
AZ
165752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576
16577 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16578
ccdc8438
AZ
16579 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16580 add multiarch folders.
16581 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16582 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16583 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16584 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16585 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16586 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16587 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16588 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16589 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16590 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16591 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16598
2e973d99
AZ
16599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16600 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16602 New file.
16603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16604 New file.
16605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16606 multiarch __ieee754_hypot for PowerPC32.
16607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16608 New file.
16609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16610 New file.
16611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16612 multiarch __ieee754_hypotf for PowerPC32.
16613
2d9470b2
AZ
16614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16615 long_double_symbol only if __logbl is defined.
16616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16617 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16619 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16620 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16621 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16623 path for implementation.
16624 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16627 logb, and logbl multiarch implementations for PowerPC32.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16629 file.
16630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16631 file.
16632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16633 multiarch logb for PowerPC32.
16634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16635 file.
16636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16637 file.
16638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16639 multiarch logbf for PowerPC32.
16640 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16642 file.
16643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16644 multiarch logbl implementation for PowerPC32.
16645
5212ffce
AZ
16646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16647 and modff multiarch implementations.
16648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16649 New file.
16650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16651 New file.
16652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16653 multiarch modf for PowerPC32.
16654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16655 New file.
16656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16657 New file.
16658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16659 multiarch modff for PowerPC32.
16660
79dccf31
AZ
16661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16662 and lrintf multiarch implementations.
16663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16664 New file.
16665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16666 New file.
16667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16668 multiarch lrint for PowerPC32.
16669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16670 file: multiarch lrintf for PowerPC32.
16671
deb66480
AZ
16672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16673 and lroundf multiarch implementations.
16674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16675 New file.
16676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16677 New file.
16678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16679 New file.
16680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16681 multiarch lround for PowerPC32.
16682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16683 file: multiarch lroundf for PowerPC32.
16684
264b036b
AZ
16685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16686 copysign and copysignf multiarch implementations.
16687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16688 New file.
16689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16690 New file.
16691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16692 file: multiarch copysign for PowerPC32.
16693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16694 file: multiarch copysignf for PowerPC32.
16695
d47db6c9
AZ
16696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16697 and truncf multiarch implementations.
16698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16699 New file.
16700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16701 file.
16702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16703 multiarch trunc for PowerPC32.
16704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16705 New file.
16706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16707 New file.
16708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16709 multiarch truncf for PowerPC32.
16710
ddb60b5a
AZ
16711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16712 and roundf multiarch implementations.
16713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16714 New file.
16715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16716 file.
16717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16718 multiarch round for PowerPC32.
16719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16720 New file.
16721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16722 New file.
16723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16724 multiarch roundf for PowerPC32.
16725
bedcf49b
AZ
16726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16727 and floorf multiarch implementations.
16728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16729 New file.
16730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16731 file.
16732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16733 multiarch floor for PowerPC32.
16734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16735 New file.
16736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16737 New file.
16738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16739 multiarch floorf for PowerPC32.
16740
35ae5b40
AZ
16741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16742 and ceilf multiarch implementations.
16743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16744 New file.
16745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16746 file.
16747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16748 multiarch ceil for PowerPC32.
16749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16750 New file.
16751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16752 file.
16753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16754 multiarch ceilf for PowerPC32.
16755
ae1a4cd9
AZ
16756 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16757 is defined.
16758 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16759 FINITEF is defined.
16760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16761 and finitef multiarch implementations.
16762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16763 New file.
16764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16765 file.
16766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16767 multiarch finite for PowerPC32.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16769 New file.
16770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16771 file: multiarch finitef for PowerPC32.
16772
64fffd65
AZ
16773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16774 and isinff multiarch implementations.
16775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16776 file.
16777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16778 file.
16779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16780 multiarch isinf for PowerPC32.
16781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16782 New file.
16783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16784 multiarch isinff for PowerPC32.
16785
8e4e7ba2
AZ
16786 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16787 alias when __isnan is defined.
16788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16789 and isnanf multiarch implementations.
16790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16791 file.
16792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16793 file.
16794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16795 file.
16796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16797 file.
16798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16799 multiarch isnan for PowerPC32.
16800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16801 New file.
16802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16803 New file.
16804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16805 multiarch isnanf for PowerPC32.
16806
ddba588e
AZ
16807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16808 and sqrtf multiarch implementations.
16809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16810 file.
16811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16812 file.
16813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16814 multiarch sqrt for PowerPC32.
16815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16816 file.
16817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16818 file.
16819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16820 multiarch sqrtf for PowerPC32.
16821
0f96a2f0
AZ
16822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16823 and llroundf multiarch implementations.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16825 New file.
16826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16827 New file.
16828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16829 New file.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16831 file: multiarch llround for PowerPC32.
16832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16833 file: multiarch llroundf for PowerPC32.
16834
c9b5d79e
AZ
16835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16836 multiarch PowerPC32 fpu implementations.
16837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16838 New file.
16839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16840 New file.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16842 multiarch llrint for PowerPC32.
16843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16844 New file.
16845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16846 New file.
16847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16848 file.
16849
9cbb3aab
AZ
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16851
ea5a72f8
AZ
16852 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16853 file.
16854 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16855 file.
16856 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16857 file.
16858 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16859 multiarch wordcopy for PPC32.
16860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16861 wordcopy objects.
16862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16863 (__libc_ifunc_impl_list): Likewise.
16864 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16865 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16867 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16869 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16870
93be09e7
AZ
16871 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16873 file.
16874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16875 file.
16876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16877 file.
16878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16879 multiarch wcscpy for PPC32.
16880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16881 multiarch objects.
16882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16883 (__libc_ifunc_impl_list): Likewise.
16884 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16885 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16886 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16887 sysdeps/powerpc/power6/wcscpy.c.
16888
bb04e529
AZ
16889 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16891 file.
16892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16893 file.
16894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16895 file.
16896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16897 multiarch wcsrchr for PPC32.
16898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16899 multiarch objects.
16900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16901 (__libc_ifunc_impl_list): Likewise.
16902 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16903 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16904 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16905 sysdeps/powerpc/power6/wcsrchr.c.
16906
05b5cd1c
AZ
16907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16908 file.
16909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16910 file.
16911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16913 multiarch wcschr for PPc32.
16914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16915 multiarch objects.
16916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16917 (__libc_ifunc_impl_list): Likewise.
16918 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16919 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16920 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16921 sysdeps/powerpc/power6/wcschr.c.
16922
ba964147
AZ
16923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16924 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16925 file.
16926 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16927 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16928 file: multiarch strchr for PPC32.
16929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16930 multiarch objects.
16931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16932 (__libc_ifunc_impl_list): Likewise.
16933
31c81aaa
AZ
16934 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16935 name.
16936 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16937 file.
16938 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16939 file.
16940 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16941 multiarch strchrnul for PPC32.
16942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16943 multiarch objects.
16944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16945 (__libc_ifunc_impl_list): Likewise.
16946
0d0607d9
AZ
16947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16948 file.
16949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16950 multiarch strncasecmp for PPC32.
16951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16952 file.
16953 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16954 multiarch strncasecmp_l for PPC32.
16955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16956 strncasecmp multiarch objects.
16957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16958 (__libc_ifunc_impl_list): Likewise.
16959
4dfd5c86
AZ
16960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16961 file.
16962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16963 multiarch strncasecmp for PPC32.
16964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16965 New file.
16966 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16967 multiarch strcasecmp_l for PPC32.
16968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16969 multiarch objects.
16970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16971 (__libc_ifunc_impl_list): Likewise.
16972
a19e01a3
AZ
16973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16974 file.
16975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16976 file.
16977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16978 multiarch strncmp for PPC32.
16979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16980 multiarch objects.
16981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16982 (__libc_ifunc_impl_list): Likewise.
16983
ae9cf7a2
AZ
16984 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16985 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16986 file.
16987 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16988 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16990 multiarch objects.
16991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16992 (__libc_ifunc_impl_list): Likewise.
16993
3148bb7d
AZ
16994 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16995 file.
16996 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16997 file.
16998 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17000 multiarch objects.
17001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17002 (__libc_ifunc_impl_list): Likewise.
17003
7af8b946
AZ
17004 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17005 file.
17006 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17007 file.
17008 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17009 multiarch rawmemchr for PPC32.
17010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17011 multiarch objects.
17012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17013 (__libc_ifunc_impl_list): Likewise.
17014
03a6aa6a
AZ
17015 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17016 file.
17017 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17018 file.
17019 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17020 file: memrchr multiarch for PPC32.
17021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17022 multiarch objects.
17023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17024 (__libc_ifunc_impl_list): Likewise.
17025
1c62e6d9
AZ
17026 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17027 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17028 file.
17029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17031 multiarch memchr for PPC32.
17032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17033 multiarch objects.
17034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17035 (__libc_ifunc_impl_list): Likewise.
17036
87da8bdb
AZ
17037 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17038 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17039 file.
17040 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17041 file.
17042 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17043 file: multiarch mempcpy for PPC32.
17044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17045 multiarch objects.
17046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17047 (__libc_ifunc_impl_list): Likewise.
17048
20ed4714
AZ
17049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17050 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17051 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17052 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17053 multiarch bzero for PPC32.
17054 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17055 file.
17056 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17057 file.
17058 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17059 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17060 file: multiarch memset for PPC32.
17061 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17063 memset multiarch objects.
17064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17065 (__libc_ifunc_impl_list): Likewise.
17066
ab3e3a46
AZ
17067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17068 file.
17069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17071 memcmp for PPC32.
17072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17074 multiarch objects.
17075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17076 (__libc_ifunc_impl_list): Likewise.
17077
930de6f0
AZ
17078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17081 file.
17082 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17083 file.
17084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17085 file.
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17087 multiarch memcpy for PPC32.
17088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17089 multiarch objects.
17090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17091 (__libc_ifunc_impl_list): Likewise.
17092
4c628e00
AZ
17093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17094 support multiarch for POWER/PPC32.
17095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17096 Likewise.
17097 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17099 Implies file to make multiarch folder appers before the fpu and
17100 default folder for power4 configuration.
17101
f4479220
SP
171022013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17103
17104 * scripts/bench.pl: Append volatile keyword to type.
17105
8517800f
KK
171062013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17107
17108 * sysdeps/sh/sotruss-lib.c: New file.
17109 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17110
180138f1
AZ
171112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17112
17113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17114
bbf37bdc
JM
171152013-12-05 Joseph Myers <joseph@codesourcery.com>
17116
e47cc4e0
JM
17117 [BZ #6810]
17118 * math/w_tgamma.c: Include <errno.h>.
17119 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17120 * math/w_tgammaf.c: Include <errno.h>.
17121 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17122 * math/w_tgammal.c: Include <errno.h>.
17123 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17124 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17125 underflow. Add more tgamma tests.
17126 * math/auto-libm-test-out: Regenerated.
17127 * sysdeps/i386/fpu/libm-test-ulps: Update.
17128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17129
bbf37bdc
JM
17130 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17131 sin, sinh, tan, tanh, tgamma, y0 and y1.
17132 * math/auto-libm-test-out: Regenerated.
17133 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17134 (TEST_COND_x86): Likewise.
17135 (M_E2l): Remove macro.
17136 (M_E3l): Likewise.
17137 (M_2_SQRT_PIl): Likewise.
17138 (M_SQRT_PIl): Likewise.
17139 (M_1_DIV_El): Likewise.
17140 (log_test_data): Use AUTO_TESTS_f_f.
17141 (log10_test_data): Likewise.
17142 (log1p_test_data): Likewise.
17143 (log2_test_data): Likewise.
17144 (sin_test_data): Likewise.
17145 (sin_tonearest_test_data): Likewise.
17146 (sin_towardzero_test_data): Likewise.
17147 (sin_downward_test_data): Likewise.
17148 (sin_upward_test_data): Likewise.
17149 (sinh_test_data): Likewise.
17150 (sinh_tonearest_test_data): Likewise.
17151 (sinh_towardzero_test_data): Likewise.
17152 (sinh_downward_test_data): Likewise.
17153 (sinh_upward_test_data): Likewise.
17154 (tan_test_data): Likewise.
17155 (tan_tonearest_test_data): Likewise.
17156 (tan_towardzero_test_data): Likewise.
17157 (tan_downward_test_data): Likewise.
17158 (tan_upward_test_data): Likewise.
17159 (tanh_test_data): Likewise.
17160 (tgamma_test_data): Likewise.
17161 (y0_test_data): Likewise.
17162 (y1_test_data): Likewise.
17163 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17164 (special_real_inputs): Add pi/4.
17165 * sysdeps/i386/fpu/libm-test-ulps: Update.
17166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17167
eb5ad6b9
AZ
171682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17169
17170 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17171 "longjmp_target" static probes.
17172 (__longjmp): Rename to __longjmp_symbol.
17173 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17174 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17175 on which longjmp to generate.
17176 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17178 probe.
17179 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17180 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17181 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17182 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17183 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17184 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17186 __longjmp_symbol based on which __longjmp to generate.
17187 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17188 probe.
17189 (setjmp): Rename to setjmp_symbol.
17190 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17191 (_setjmp): Rename to _setjmp_symbol.
17192 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17193 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17194 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17195 which setjmp to generate.
17196 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17197 "longjmp_target" static probes.
17198
d136c6dc
SP
171992013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17200
9298ecba
SP
17201 * benchtests/README: Add note about output arguments.
17202 * benchtests/bench-sincos.c: Remove file.
17203 * benchtests/sincos-inputs: New file.
17204 * scripts/bench.pl: Identify output arguments and define
17205 static variables for them.
17206
232983e9
SP
17207 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17208
d136c6dc
SP
17209 [BZ #15941]
17210 * Makefile (INSTALL): Add install-plain.texi as the primary
17211 dependency.
17212 * manual/install-plain.texi: New file.
17213 * manual/install.texi: Include node directive only for
17214 non-plaintext output.
17215
699ff837
JM
172162013-12-04 Joseph Myers <joseph@codesourcery.com>
17217
ab07cea8
JM
17218 * stdlib/longlong.h: Update from GCC.
17219
699ff837
JM
17220 [BZ #6807]
17221 [BZ #15901]
17222 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17223 * math/w_j0f.c (y0f): Likewise.
17224 * math/w_j0l.c (__y0l): Likewise.
17225 * math/w_j1.c (y1): Likewise.
17226 * math/w_j1f.c (y1f): Likewise.
17227 * math/w_j1l.c (__y1l): Likewise
17228 * math/w_jn.c (yn): Likewise.
17229 * math/w_jnf.c (ynf): Likewise.
17230 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17231 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17232 value for Bessel function domain errors outside _SVID_ mode.
17233 Adjust sign of return value for yn (negative integer, 0).
17234 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17235 by zero in return for negative x and set sign appropriately for
17236 negative n.
17237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17239 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17240 expectations in error cases.
17241 (y1_test_data): Likewise.
17242 (yn_test_data): Likewise.
17243 * sysdeps/i386/fpu/libm-test-ulps: Update.
17244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17245
5b118558
UW
172462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17247
17248 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17249 "64" to "64-v1". Add "64-v2".
17250 (abi-64-options): Rename to ...
17251 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17252 (abi-64-condition): Rename to ...
17253 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17254 (abi-64-ld-soname): Rename to ...
17255 (abi-64-v1-ld-soname): ... this.
17256 (abi-64-v2-options): Define.
17257 (abi-64-v2-condition): Likewise.
17258 (abi-64-v2-ld-soname): Likewise.
17259 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17260 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17264
61cd8fe4
UW
172652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17266 Alan Modra <amodra@gmail.com>
17267
17268 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17269 New versions for use with the ELFv2 ABI.
17270 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17271 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17272 declaration.
17273 (struct La_ppc64v2_retval): Likewise.
17274 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17275 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17276 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17277 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17278 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17280 Do not save or restore CR.
17281 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17282 (_dl_profile_resolve): Do no save or restore CR. Support extended
17283 return values for ELFv2 ABI. Fix location of FPR return registers.
17284 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17285 updated values for _CALL_ELF == 2.
17286 (La_regs, La_retval, int_retval): Likewise.
17287
8b8a692c
UW
172882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17289
17290 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17291 (FRAME_MIN_SIZE_PARM): Likewise.
17292 (FRAME_BACKCHAIN): Likewise.
17293 (FRAME_CR_SAVE): Likewise.
17294 (FRAME_LR_SAVE): Likewise.
17295 (FRAME_TOC_SAVE): Likewise.
17296 (FRAME_PARM_SAVE): Likewise.
17297 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17298 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17299 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17300 (call_mcount_parm_offset): New macro.
17301 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17302 (PROF): Use symbolic stack frame offsets.
17303 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17305 Redefine in terms of FRAME_MIN_SIZE.
17306 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17307 (_dl_profile_resolve): Likewise. Update comment.
17308 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17309 symbols stack frame offsets.
17310 (__sigsetjmp): Likewise.
17311 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17312 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17313 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17314 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17315
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17317 (FRAME_BACKCHAIN): Remove.
17318 (FRAME_CR_SAVE): Likewise.
17319 (FRAME_LR_SAVE): Likewise.
17320 (FRAME_COMPILER_DW): Likewise.
17321 (FRAME_LINKER_DW): Likewise.
17322 (FRAME_TOC_SAVE): Likewise.
17323 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17324 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17325 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17326 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17328 (CHECK_SP): Use symbolic stack frame offsets.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17330 zone" instead of caller's parameter save area for temp storage.
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17332 Likewise. Also, use symbolic stack frame offsets.
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17334 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17335 our own stack frame instead of the caller's.
17336 (__socket): Use symbolic stack frame offsets.
17337
122b66de
UW
173382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17339 Alan Modra <amodra@gmail.com>
17340
17341 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17342 Define.
57f41c40
AS
17343 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17344 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17345 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17346 New function.
17347 (elf_machine_fixup_plt): Call it.
17348 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17349 reloc arguments.
17350 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17351 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17352 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17353 r2 before calling target.
17354
696caf1d
UW
173552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17356 Alan Modra <amodra@gmail.com>
17357
17358 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17359 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17360 versions of macros to support ELFv2 ABI.
17361 (LOCALENTRY): New macro.
17362 (ENTRY, EALIGN): Use it.
17363 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17364 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17365 fall through into ENTRY entry point.
17366 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17367 Only define if _CALL_ELF != 2.
17368
17369 (elf_machine_matches_host): Verify ABI version matches.
17370 (RTLD_START): Use LOCALENTRY.
17371 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17372 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17373 (PLT_ENTRY_WORDS): New macro.
17374 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17375 (elf_machine_runtime_setup): Support ELFv2 ABI.
17376 (elf_machine_fixup_plt): Likewise.
17377 (elf_machine_plt_conflict): Likewise.
17378 (resolve_ifunc): Likewise.
17379 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17381 Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17383 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17385 (makecontext): Support ELFv2 ABI.
17386 * elf/elf.h (EF_PPC64_ABI): Define.
17387
d31beafa
UW
173882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17389
57f41c40
AS
17390 * sysdeps/powerpc/powerpc64/sysdep.h
17391 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17392 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17393 (ENTRY) [ASSEMBLER]: ... but instead here ...
17394 (EALIGN) [ASSEMBLER]: ... and here.
17395 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17396 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17397 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17398 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17399 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17400 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17401 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17402 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17404 Use PPC64_LOAD_FUNCPTR.
17405
b525166b
UW
17406 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17407
7ec07d9a
AM
174082013-12-04 Alan Modra <amodra@gmail.com>
17409
17410 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17411 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17412 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17413 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17414
17415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17416 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17417 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17418 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17419 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17420 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17421
5162e7dd
UW
174222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17423
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17425 (__makecontext): Fix incorrect CFI when backtracing out of
17426 context created via makecontext.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17428 (__setcontext): Fix incorrect CFI during switch to new context.
17429 (__novec_setcontext): Likewise.
17430
19e3372b
OB
174312013-12-04 Ondřej Bílka <neleai@seznam.cz>
17432
17433 [BZ #4772]
17434 * time/strptime_l.c (__strptime_internal): Allow modifiers
17435 in strptime.
17436 * time/tst-strptime.c (day_tests): Add testcase.
17437
ecaf142d
SP
174382013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17439
17440 * scripts/bench.pl: Skip over blank lines.
17441
fbf964ae
PE
174422013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17443
17444 [BZ #926]
17445 * manual/time.texi (Calendar Time): Clarify what timezone functions
17446 use.
17447
fa60a674
AZ
174482013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17449
17450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17451
d674f0ef
OB
174522013-12-04 Ondřej Bílka <neleai@seznam.cz>
17453
17454 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17455 implementation.
17456 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17457 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17458 * debug/memset_chk.c (__memset_chk): Likewise.
17459 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17460 * debug/strncpy_chk.c: Likewise.
17461
17dea188
JM
174622013-12-03 Joseph Myers <joseph@codesourcery.com>
17463
749008ff
JM
17464 [BZ #15268]
17465 [BZ #15425]
17466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17467 (__ieee754_exp): For possibly underflowing results, check size of
17468 result and force underflow exception if required.
17469 * math/auto-libm-test-in: Add more tests of exp.
17470 * math/auto-libm-test-out: Regenerated.
17471 * sysdeps/i386/fpu/libm-test-ulps: Update.
17472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17473
17dea188
JM
17474 [BZ #16283]
17475 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17476 * math/w_exp2f.c (__exp2f): Likewise.
17477 * math/w_exp2l.c (__exp2l): Likewise.
17478 * math/auto-libm-test-in: Do not allow missing errno on exp2
17479 underflow.
17480 * math/auto-libm-test-out: Regenerated.
17481
b20de2c3
OB
174822013-12-03 Ondřej Bílka <neleai@seznam.cz>
17483
17484 [BZ #16274]
17485 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17486 handle filename validation.
17487 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17488 (do_open): Delete.
17489
d8e2dbe3
JM
174902013-12-03 Joseph Myers <joseph@codesourcery.com>
17491
34e16df5
JM
17492 [BZ #6786]
17493 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17494 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17495 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17496 <float.h>.
17497 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17499 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17501 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17503 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17504 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17505 Add more erfc tests.
17506 * math/auto-libm-test-out: Regenerated.
17507 * sysdeps/i386/fpu/libm-test-ulps: Update.
17508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17509
d8e2dbe3
JM
17510 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17511 exp2, expm1, j0 and j1.
17512 * math/auto-libm-test-out: Regenerated.
17513 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17514 (erfc_test_data): Likewise.
17515 (exp_test_data): Likewise.
17516 (exp_tonearest_test_data): Likewise.
17517 (exp_towardzero_test_data): Likewise.
17518 (exp_downward_test_data): Likewise.
17519 (exp_upward_test_data): Likewise.
17520 (exp10_test_data): Likewise.
17521 (exp2_test_data): Likewise.
17522 (expm1_test_data): Likewise.
17523 (j0_test_data): Likewise.
17524 (j1_test_data): Likewise.
17525 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17526 (input_flag_type): Add flag_xfail_rounding.
17527 (input_flags): Add xfail-rounding.
17528 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17529 (output_for_one_input_case): Handle flag_xfail_rounding.
17530 * sysdeps/i386/fpu/libm-test-ulps: Update.
17531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17532
18d14251
AJ
175332013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17534
3d2e6075 17535 [BZ #16289]
18d14251
AJ
17536 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17537 division by 0.
17538
520d437b
SP
175392013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17540
17541 [BZ #16195]
17542 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17543 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17544 (STAP_PROBE0): New macro.
17545 (STAP_PROBE1): Likewise.
17546 (STAP_PROBE2): Likewise.
17547 (STAP_PROBE3): Likewise.
17548 (STAP_PROBE4): Likewise.
17549
416e0145
OB
175502013-12-02 Ondřej Bílka <neleai@seznam.cz>
17551
17552 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17553
9d17796a
SE
175542013-12-02 Steve Ellcey <sellcey@mips.com>
17555
17556 * benchtests/Makefile (bench): Add sqrt.
17557 (LDLIBS-bench-sqrt): New.
17558 * benchtests/sqrt-input: New.
17559
f524d6a8
PS
175602013-12-02 Pavel Simerda <psimerda@redhat.com>
17561
639a0ef8
PS
17562 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17563 (GAIH_EAI): Likewise.
17564 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17565 (gaih_inet): Likewise.
17566 (getaddrinfo): Don't use GAIH_EAI.
17567
f524d6a8
PS
17568 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17569 (struct gaih): Remove definition.
17570
df3aedaf
SP
175712013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17572
17573 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17574 Use HERRNOP directly.
17575
1ab19dec
AZ
175762013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17577
b42ad38d 17578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17579
176b0c79
JM
175802013-11-30 Joseph Myers <joseph@codesourcery.com>
17581
17582 * math/gen-auto-libm-tests.c (test_functions): Add more
17583 single-argument functions.
17584 (special_fill_pi_2): New function.
17585 (special_fill_minus_pi_2): Likewise.
17586 (special_fill_pi_6): Likewise.
17587 (special_fill_minus_pi_6): Likewise.
17588 (special_fill_pi_3): Likewise.
17589 (special_fill_2pi_3): Likewise.
17590 (special_fill_e): Likewise.
17591 (special_fill_1_e): Likewise.
17592 (special_fill_e_minus_1): Likewise.
17593 (special_real_inputs): Add more special inputs.
17594 (output_for_one_input_case): Do not require ERANGE on underflow to
17595 zero if round-to-nearest result does not underflow to zero, unless
17596 exact results required.
17597 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17598 atan, atanh, cbrt, cos and cosh.
17599 * math/auto-libm-test-out: Regenerated.
17600 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17601 (acos_tonearest_test_data): Likewise.
17602 (acos_towardzero_test_data): Likewise.
17603 (acos_downward_test_data): Likewise.
17604 (acos_upward_test_data): Likewise.
17605 (acosh_test_data): Likewise.
17606 (asin_test_data): Likewise.
17607 (asin_tonearest_test_data): Likewise.
17608 (asin_towardzero_test_data): Likewise.
17609 (asin_upward_test_data): Likewise.
17610 (asinh_test_data): Likewise.
17611 (atan_test_data): Likewise.
17612 (atanh_test_data): Likewise.
17613 (cbrt_test_data): Likewise.
17614 (cos_test_data): Likewise.
17615 (cos_tonearest_test_data): Likewise.
17616 (cos_towardzero_test_data): Likewise.
17617 (cos_downward_test_data): Likewise.
17618 (cos_upward_test_data): Likewise.
17619 (cosh_test_data): Likewise.
17620 (cosh_tonearest_test_data): Likewise.
17621 (cosh_towardzero_test_data): Likewise.
17622 (cosh_downward_test_data): Likewise.
17623 (cosh_upward_test_data): Likewise.
17624 * sysdeps/i386/fpu/libm-test-ulps: Update.
17625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17626
ffb536d0
JM
176272013-11-29 Joseph Myers <joseph@codesourcery.com>
17628
2a77a467
JM
17629 [BZ #6787]
17630 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17631 * math/w_exp10f.c (__exp10f): Likewise.
17632 * math/w_exp10l.c (__exp10l): Likewise.
17633 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17634 errno settings in existing tests.
17635
ea3bc4e8
JM
17636 [BZ #14032]
17637 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17638 precision control set to double precision.
17639 * sysdeps/i386/fpu/w_sqrt.c: New file.
17640 * math/auto-libm-test-in: Add more tests.
17641 * math/auto-libm-test-out: Update.
17642
0712c9d8
JM
17643 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17644 (sqrt_test_tonearest): New function.
17645 (sqrt_towardzero_test_data): New variable.
17646 (sqrt_test_towardzero): New function.
17647 (sqrt_downward_test_data): New variable.
17648 (sqrt_test_downward): New function.
17649 (sqrt_upward_test_data): New variable.
17650 (sqrt_test_upward): New function.
17651 (main): Call the new functions.
17652
ffb536d0
JM
17653 * math/gen-auto-libm-tests.c: New file.
17654 * math/auto-libm-test-in: Likewise.
17655 * math/auto-libm-test-out: New generated file.
17656 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17657 variables.
17658 (%beautify): Add generated representations of zero.
17659 (top level): Set $auto_input and call parse_auto_input.
17660 (beautify): Remove trailing "f" from hex float constants.
17661 (parse_args): Handle XFAIL_TEST.
17662 (convert_condition): New function.
17663 (or_value): Likewise.
17664 (or_cond_value): Likewise.
17665 (generate_testfile): Handle AUTO_TESTS_* lines.
17666 (parse_auto_input): New function.
17667 * math/libm-test.inc (XFAIL_TEST): New macro.
17668 (ERRNO_UNCHANGED): Update value.
17669 (ERRNO_EDOM): Likewise.
17670 (ERRNO_ERANGE): Likewise.
17671 (IGNORE_RESULT): Likewise.
17672 (TEST_COND_flt_32): New macro.
17673 (TEST_COND_dbl_64): Likewise.
17674 (TEST_COND_ldbl_96_intel): Likewise.
17675 (TEST_COND_ldbl_96_m68k): Likewise.
17676 (TEST_COND_ldbl_128): Likewise.
17677 (TEST_COND_ldbl_128ibm): Likewise.
17678 (TEST_COND_long32): Likewise.
17679 (TEST_COND_long64): Likewise.
17680 (TEST_COND_before_rounding): Likewise.
17681 (TEST_COND_after_rounding): Likewise.
17682 (enable_test): Handle XFAIL_TEST flag.
17683 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17684 with finite results.
17685 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17686 auto-libm-test-out.
17687
acd98a8e
AK
176882013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17689 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17690
17691 [BZ #16214]
17692 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17693 __tls_get_addr_internal instead of __tls_get_offset in order to
17694 avoid GOT pointer dependency. Make rtld export
17695 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17696 __tls_get_addr since we are a __tls_get_offset platform.
17697 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17698 GOT pointer being set up before.
17699 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17700
3c1c46a6
JM
177012013-11-28 Joseph Myers <joseph@codesourcery.com>
17702
7475aef5
JM
17703 * manual/math.texi (Errors in Math Functions): Document accuracy
17704 goals.
17705
8bca7cd8
JM
17706 [BZ #15004]
17707 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17708 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17723
91a1f3fe
JM
17724 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17725 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17726 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17727 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17728 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17729 Likewise.
17730 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17731 Likewise.
17732 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17733 Likewise.
17734 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17735 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17736 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17737 atomic-feupdateenv and flt-rounds.
17738 * sysdeps/powerpc/nofpu/Versions (libc): Add
17739 __atomic_feholdexcept, __atomic_feclearexcept,
17740 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17741 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17742 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17743 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17744 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17745 here.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17747 Update.
17748
c5df7609
JM
17749 * manual/arith.texi (FP Exceptions): Document that exceptions may
17750 not be raised when matherr is used.
17751 (Math Error Reporting): Document overflow in directed rounding
17752 modes. Document that errno may not be set when finite values are
17753 returned on overflow. Document intent to set errno on underflow
17754 only for underflow to zero.
17755
3c1c46a6
JM
17756 [BZ #16271]
17757 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17758 round-to-nearest then adjust result for other rounding modes.
17759 * include/fenv.h (fegetround): Use libm_hidden_proto.
17760 * math/fegetround.c (fegetround): Use libm_hidden_def.
17761 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17762 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17763 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17765 Likewise.
17766 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17767 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17768 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17769 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17770
5a4c6d53
SP
177712013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17772
17773 [BZ #16077]
17774 * nss/Versions (libnss_files): Add
17775 _nss_files_gethostbyname3_r.
17776 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17777 New function.
17778 (HOST_DB_LOOKUP): Remove macro.
17779 (_nss_files_gethostbyname_r): Implement function without the
17780 HOST_DB_LOOKUP macro.
17781 (_nss_files_gethostbyname2_r): Likewise.
17782
897b98ba
OB
177832013-11-28 Ondřej Bílka <neleai@seznam.cz>
17784
17785 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17786
6f476861
UB
177872013-11-26 Uros Bizjak <ubizjak@gmail.com>
17788
17789 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17790 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17791 warning.
17792
bd12ab55
AZ
177932013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17794
17795 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17796 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17797 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17798 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17799 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17800 __fe_nomask_env_priv and attribute_hidden.
17801 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17802 (libc_feupdateenv_test_ppc): Likewise.
17803 (libc_feresetround_ppc): Likewise.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17805 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17806 compat_symbol macro.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17808 (__fe_nomask_env): Likewise.
17809 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17810
52bb6543
OB
178112013-11-26 Ondřej Bílka <neleai@seznam.cz>
17812
17813 * string/Makefile: Remove ifunc tests.
17814 * string/test-string.h: Define TEST_IFUNC.
17815 * string/test-bcopy-ifunc.c: Remove.
17816 * string/test-bzero-ifunc.c: Likewise.
17817 * string/test-memccpy-ifunc.c: Likewise.
17818 * string/test-memchr-ifunc.c: Likewise.
17819 * string/test-memcmp-ifunc.c: Likewise.
17820 * string/test-memcpy-ifunc.c: Likewise.
17821 * string/test-memmem-ifunc.c: Likewise.
17822 * string/test-memmove-ifunc.c: Likewise.
17823 * string/test-mempcpy-ifunc.c: Likewise.
17824 * string/test-memrchr-ifunc.c: Likewise.
17825 * string/test-memset-ifunc.c: Likewise.
17826 * string/test-rawmemchr-ifunc.c: Likewise.
17827 * string/test-stpcpy-ifunc.c: Likewise.
17828 * string/test-stpncpy-ifunc.c: Likewise.
17829 * string/test-strcasecmp-ifunc.c: Likewise.
17830 * string/test-strcasestr-ifunc.c: Likewise.
17831 * string/test-strcat-ifunc.c: Likewise.
17832 * string/test-strchr-ifunc.c: Likewise.
17833 * string/test-strchrnul-ifunc.c: Likewise.
17834 * string/test-strcmp-ifunc.c: Likewise.
17835 * string/test-strcpy-ifunc.c: Likewise.
17836 * string/test-strcspn-ifunc.c: Likewise.
17837 * string/test-strlen-ifunc.c: Likewise.
17838 * string/test-strncasecmp-ifunc.c: Likewise.
17839 * string/test-strncat-ifunc.c: Likewise.
17840 * string/test-strncmp-ifunc.c: Likewise.
17841 * string/test-strncpy-ifunc.c: Likewise.
17842 * string/test-strnlen-ifunc.c: Likewise.
17843 * string/test-strpbrk-ifunc.c: Likewise.
17844 * string/test-strrchr-ifunc.c: Likewise.
17845 * string/test-strspn-ifunc.c: Likewise.
17846 * string/test-strstr-ifunc.c: Likewise.
17847
ab260039 178482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17849
17850 * benchtests/Makefile: Remove ifunc tests.
17851 * benchtests/bench-string.h: Define TEST_IFUNC.
17852 * benchtests/bench-bcopy-ifunc.c: Remove.
17853 * benchtests/bench-bzero-ifunc.c: Likewise.
17854 * benchtests/bench-memccpy-ifunc.c: Likewise.
17855 * benchtests/bench-memchr-ifunc.c: Likewise.
17856 * benchtests/bench-memcmp-ifunc.c: Likewise.
17857 * benchtests/bench-memcpy-ifunc.c: Likewise.
17858 * benchtests/bench-memmem-ifunc.c: Likewise.
17859 * benchtests/bench-memmove-ifunc.c: Likewise.
17860 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17861 * benchtests/bench-memrchr-ifunc.c: Likewise.
17862 * benchtests/bench-memset-ifunc.c: Likewise.
17863 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17864 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17865 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17866 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17867 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17868 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17869 * benchtests/bench-strcat-ifunc.c: Likewise.
17870 * benchtests/bench-strchr-ifunc.c: Likewise.
17871 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17872 * benchtests/bench-strcmp-ifunc.c: Likewise.
17873 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17874 * benchtests/bench-strcpy-ifunc.c: Likewise.
17875 * benchtests/bench-strcspn-ifunc.c: Likewise.
17876 * benchtests/bench-strlen-ifunc.c: Likewise.
17877 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17878 * benchtests/bench-strncat-ifunc.c: Likewise.
17879 * benchtests/bench-strncmp-ifunc.c: Likewise.
17880 * benchtests/bench-strncpy-ifunc.c: Likewise.
17881 * benchtests/bench-strnlen-ifunc.c: Likewise.
17882 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17883 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17884 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17885 * benchtests/bench-strspn-ifunc.c: Likewise.
17886 * benchtests/bench-strstr-ifunc.c: Likewise.
17887
178882013-11-26 Ondřej Bílka <neleai@seznam.cz>
17889
ab260039
OB
17890 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17891
d1d9eaf4 178922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17893
d1d9eaf4
OB
17894 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17895 * rt/aio.h: Likewise.
17896 * sysdeps/gnu/bits/utmp.h: Likewise.
17897 * sysdeps/gnu/bits/utmpx.h: Likewise.
17898 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17899 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17900 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17901 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17902 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17903 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17904 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17905 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17906 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17907 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17908 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17909 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17910 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17912 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17913 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17914 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17915 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17916 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17917 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17918 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17919 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17920 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17921 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17922 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17924 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17926 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17927 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17928 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17929 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17930 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17932 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17933 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17934 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17935 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17936 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17937 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17938 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17939 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17940
a7624ed9
CD
179412013-11-25 Carlos O'Donell <carlos@redhat.com>
17942
17943 [BZ #16245]
17944 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17945 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17946
63cfe52b
JM
179472013-11-25 Joseph Myers <joseph@codesourcery.com>
17948
17949 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17950 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17951 Likewise.
17952
41e8926a
AZ
179532013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17954
17955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17956 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17957 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17958 (__fesetround): Remove define.
17959 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17960 rounding and exceptions handling.
17961 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17962 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17963 (__fe_nomask_env): Likewise.
17964 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17965 __fegetround instead of fegetround.
17966 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17968
6851bd4d
RM
179692013-11-21 Roland McGrath <roland@hack.frob.com>
17970
070906ff
RM
17971 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17972 it's there.
17973
6851bd4d
RM
17974 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17975
84ae135d
MI
179762013-11-21 Meador Inge <meadori@codesourcery.com>
17977
17978 [BZ #11157]
17979 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17980 (encrypt_r): Likewise.
17981 * malloc/obstack.h (obstack_free): Likewise.
17982 * posix/unistd.h (encrypt): Likewise.
17983
daf75146
GM
179842013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17985
17986 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17987 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17988 DL_CALL_DT_FINI() that call the functions directly.
17989 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17990 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17991 * elf/dl-fini.c: Likewise.
17992
10ad46bc
OB
179932013-11-20 Ondřej Bílka <neleai@seznam.cz>
17994
17995 * malloc/hooks.c (memalign_check): Add alignment rounding.
17996 * malloc/malloc.c (_mid_memalign): New function.
17997 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17998 Implement by calling _mid_memalign.
17999 * manual/probes.texi (Memory Allocation Probes): Remove
18000 memory_valloc_retry and memory_pvalloc_retry.
18001
f3fd2628
SP
180022013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18003
4712799f
SP
18004 * locale/programs/locarchive.c (open_archive): Add const
18005 qualifier to ARCHIVEFNAME and copy default fname to
18006 DEFAULT_FNAME.
18007
0417b20f
SP
18008 [BZ #15601]
18009 * libio/tst-widetext.input: Rename Oriya to Odia.
18010 * locale/iso-639.def: Likewise.
18011
f3fd2628
SP
18012 * manual/probes.texi (Mathematical Function Probes): Add
18013 documentation for sin, cos, asin and acos probes.
18014 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18015 (__sin32): Add slowasin probe.
18016 (__cos32): Add slowacos probe.
18017 (__mpsin): Add slowsin probe.
18018 (__mpcos): Add slowcos probe.
18019
73c1ce4f
JM
180202013-11-19 Joseph Myers <joseph@codesourcery.com>
18021
18022 [BZ #15483]
18023 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18024 thread-local __sim_exceptions_thread and global
18025 __sim_exceptions_global.
18026 (__sim_disabled_exceptions): Change to thread-local
18027 __sim_disabled_exceptions_thread and global
18028 __sim_disabled_exceptions_global.
18029 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18030 and global __sim_round_mode_global.
18031 (__simulate_exceptions): Use thread-local floating-point state and
18032 set global state from it as needed.
18033 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18034 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18035 __sim_round_mode_thread.
18036 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18037 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18038 and global __sim_exceptions_global.
18039 (__sim_disabled_exceptions): Change to thread-local
18040 __sim_disabled_exceptions_thread and global
18041 __sim_disabled_exceptions_global.
18042 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18043 and global __sim_round_mode_global.
18044 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18045 (SIM_SET_GLOBAL): Likewise.
18046 * sysdeps/powerpc/soft-fp/sfp-machine.h
18047 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18048 __sim_round_mode_thread.
18049 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18050 __sim_disabled_exceptions_thread.
18051 (__sim_exceptions): Change to __sim_exceptions_thread.
18052 (__sim_disabled_exceptions): Change to
18053 __sim_disabled_exceptions_thread.
18054 (__sim_round_mode): Change to __sim_round_mode_thread.
18055 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18056 thread-local floating-point state and set global state from it as
18057 needed.
18058 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18059 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18060 (__sim_disabled_exceptions): Remove extern declaration.
18061 (feenableexcept): Use thread-local floating-point state and set
18062 global state from it as needed.
18063 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18064 extern declaration.
18065 (__sim_disabled_exceptions): Likewise.
18066 (__sim_round_mode): Likewise.
18067 (__fegetenv): Use thread-local floating-point state.
18068 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18069 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18070 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18071 floating-point state and set global state from it as needed.
18072 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18073 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18074 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18075 Likewise.
18076 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18077 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18078 Likewise.
18079 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18080 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18081 Use __sim_round_mode_thread.
18082 * math/test-fenv-tls.c: New file.
18083 * math/Makefile (tests): Add test-fenv-tls.
18084 ($(objpfx)test-fenv-tls): Depend on
18085 $(common-objpfx)nptl/libpthread.so.
18086
b5449b12
AS
180872013-11-19 Andreas Schwab <schwab@suse.de>
18088
18089 * locale/programs/locale.c (show_info): Decode wordarray elements.
18090 * locale/categories.def (LC_MONETARY): Add element for
18091 _NL_MONETARY_CRNCYSTR.
18092 * locale/C-monetary.c (conversion_rate): New variable.
18093 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18094 element.
18095
e186536b
CM
180962013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18097
18098 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18099 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18100
5c349950
PP
181012013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18102
18103 * elf/Makefile (tst-auxv): New test.
18104 * elf/tst-auxv.c: New
18105 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18106
699df45b
JM
181072013-11-18 Joseph Myers <joseph@codesourcery.com>
18108
18109 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18110 (hidden_proto): Caller changed.
18111 (hidden_tls_proto): New macro.
18112 (libc_hidden_tls_proto): Likewise.
18113 (rtld_hidden_tls_proto): Likewise.
18114 (libm_hidden_tls_proto): Likewise.
18115 (libresolv_hidden_tls_proto): Likewise.
18116 (librt_hidden_tls_proto): Likewise.
18117 (libdl_hidden_tls_proto): Likewise.
18118 (libnss_files_hidden_tls_proto): Likewise.
18119 (libnsl_hidden_tls_proto): Likewise.
18120 (libnss_nisplus_hidden_tls_proto): Likewise.
18121 (libutil_hidden_tls_proto): Likewise.
18122
b7589107
OB
181232013-11-18 Ondřej Bílka <neleai@seznam.cz>
18124
18125 [BZ #10253]
18126 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18127 (decompose_rpath): Defer expansion to fillin_rpath.
18128 (_dl_init_paths): Pass linkmap to fillin_rpath.
18129
250c23bd
RS
181302013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18131
18132 * benchtests/Makefile: Add strsep.
18133 * benchtests/bench-strsep.c: New file: strsep benchtest.
18134 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18135
a7931fcf
AS
181362013-11-18 Andreas Schwab <schwab@suse.de>
18137
18138 * locale/programs/locale.c (show_info) [case byte]: Check for
18139 '\377' instead of '\177'.
18140 * locale/C-monetary.c (not_available): Always use "\377".
18141 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18142 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18143 detect unavailable sign_posn locale elements.
18144 * locale/localeconv.c (__localeconv): For grouping and
18145 mon_grouping handle "\177" and "\377" like no grouping.
18146 (INT_ELEM): New macro. Use it to set all numeric members.
18147 * locale/programs/ld-monetary.c (monetary_read)
18148 <tok_mon_grouping>: Normalize single -1 to the empty string.
18149 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18150 Likewise.
18151
728dab0e
OB
181522013-11-07 Ondřej Bílka <neleai@seznam.cz>
18153
18154 [BZ #16055]
18155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18156 when we match (nil).
18157 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18158
66294491
JM
181592013-11-16 Joseph Myers <joseph@codesourcery.com>
18160
ce665817
JM
18161 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18162 (NO_TEST_INLINE): Update value.
18163 (ERRNO_UNCHANGED): Likewise.
18164 (ERRNO_EDOM): Likewise.
18165 (ERRNO_ERANGE): Likewise.
18166 (IGNORE_RESULT): Likewise.
18167 (check_float_internal): Check signs of NaN results if
18168 TEST_NAN_SIGN used.
18169 (check_complex): Pass TEST_NAN_SIGN flag through to second
18170 check_float_internal call.
18171 (copysign_test_data): Add tests with quiet NaNs as second
18172 argument. Use TEST_NAN_SIGN.
18173 (fabs_test_data): Add test of negative quiet NaN argument. Use
18174 TEST_NAN_SIGN.
18175 (signbit_test_data): Add tests of quiet NaN argument.
18176 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18177
ee1466a9
JM
18178 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18179 $ignore_result.
18180 (parse_args): Handle function results specified as IGNORE.
18181 * math/libm-test.inc (IGNORE_RESULT): New macro.
18182 (check_float_internal): Do not check numerical result if flag
18183 IGNORE_RESULT set.
18184 (check_complex): Pass through IGNORE_RESULT to second
18185 check_float_internal call.
18186 (check_int): Do not check numerical result if flag IGNORE_RESULT
18187 set.
18188 (check_long): Likewise.
18189 (check_bool): Likewise.
18190 (check_longlong): Likewise.
18191 (lrint_test_data): Add tests of infinite and NaN arguments.
18192 (lrint_tonearest_test_data): Likewise.
18193 (lrint_towardzero_test_data): Likewise.
18194 (lrint_downward_test_data): Likewise.
18195 (lrint_upward_test_data): Likewise.
18196 (llrint_test_data): Likewise.
18197 (llrint_tonearest_test_data): Likewise.
18198 (llrint_towardzero_test_data): Likewise.
18199 (llrint_downward_test_data): Likewise.
18200 (llrint_upward_test_data): Likewise.
18201 (lround_test_data): Likewise.
18202 (llround_test_data): Likewise.
18203
14407b7e
JM
18204 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18205 (ERRNO_UNCHANGED): Update value.
18206 (ERRNO_EDOM): Likewise.
18207 (ERRNO_ERANGE): Likewise.
18208 (NO_TEST_INLINE_FLOAT): New macro.
18209 (NO_TEST_INLINE_DOUBLE): Likewise.
18210 (enable_test): New function.
18211 (RUN_TEST_f_f): Check enable_test before running test.
18212 (RUN_TEST_2_f): Likewise.
18213 (RUN_TEST_fff_f): Likewise.
18214 (RUN_TEST_c_f): Likewise.
18215 (RUN_TEST_f_f1): Likewise.
18216 (RUN_TEST_fF_f1): Likewise.
18217 (RUN_TEST_fI_f1): Likewise.
18218 (RUN_TEST_ffI_f1): Likewise.
18219 (RUN_TEST_c_c): Likewise.
18220 (RUN_TEST_cc_c): Likewise.
18221 (RUN_TEST_f_i): Likewise.
18222 (RUN_TEST_f_i_tg): Likewise.
18223 (RUN_TEST_ff_i_tg): Likewise.
18224 (RUN_TEST_f_b): Likewise.
18225 (RUN_TEST_f_b_tg): Likewise.
18226 (RUN_TEST_f_l): Likewise.
18227 (RUN_TEST_f_L): Likewise.
18228 (RUN_TEST_fFF_11): Likewise.
18229 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18230 conditionals.
18231 (cosh_test_data): Likewise.
18232 (exp_test_data): Likewise.
18233 (expm1_test_data): Likewise.
18234 (hypot_test_data): Likewise.
18235 (pow_test_data): Likewise.
18236 (sinh_test_data): Likewise.
18237 (tanh_test_data): Likewise.
18238 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18239 flags argument.
18240
ca07f197
JM
18241 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18242 tests with quiet NaN input and output.
18243 (acosh_test_data): Likewise.
18244 (asin_test_data): Likewise.
18245 (asinh_test_data): Likewise.
18246 (atan_test_data): Likewise.
18247 (atanh_test_data): Likewise.
18248 (atan2_test_data): Likewise.
18249 (cbrt_test_data): Likewise.
18250 (cos_test_data): Likewise.
18251 (cosh_test_data): Likewise.
18252 (erf_test_data): Likewise.
18253 (erfc_test_data): Likewise.
18254 (exp_test_data): Likewise.
18255 (exp10_test_data): Likewise.
18256 (exp2_test_data): Likewise.
18257 (expm1_test_data): Likewise.
18258 (hypot_test_data): Likewise.
18259 (j0_test_data): Likewise.
18260 (j1_test_data): Likewise.
18261 (jn_test_data): Likewise.
18262 (lgamma_test_data): Likewise.
18263 (log_test_data): Likewise.
18264 (log10_test_data): Likewise.
18265 (log1p_test_data): Likewise.
18266 (log2_test_data): Likewise.
18267 (pow_test_data): Likewise.
18268 (scalb_test_data): Likewise.
18269 (sin_test_data): Likewise.
18270 (sincos_test_data): Likewise.
18271 (sinh_test_data): Likewise.
18272 (tan_test_data): Likewise.
18273 (tanh_test_data): Likewise.
18274 (tgamma_test_data): Likewise.
18275 (y0_test_data): Likewise.
18276 (y1_test_data): Likewise.
18277 (yn_test_data): Likewise.
18278
66294491
JM
18279 [BZ #16167]
18280 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18281 argument being NaN and avoid computations with second argument in
18282 that case.
18283 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18284 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18285 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18286
1820b143
CL
182872013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18288
18289 * locale/iso-639.def: Add Chitwani Tharu (the).
18290
714bd261
AS
182912013-11-14 Andreas Schwab <schwab@suse.de>
18292
18293 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18294 word instead of empty string.
18295
7ab44563
AZ
182962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18297
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18299 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18301 (__fe_nomask_env): Likewise.
18302
e8470ea2
SE
183032013-11-13 Steve Ellcey <sellcey@mips.com>
18304
18305 * benchtests/bench-timing.h: Include time.h.
18306
17c1d9f0
L
183072013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18308
18309 [BZ #15997]
18310 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18311 to 3.4.0 for x32.
18312 * sysdeps/unix/sysv/linux/configure: Regenerated.
18313
9310c284
JM
183142013-11-13 Joseph Myers <joseph@codesourcery.com>
18315
18316 [BZ #16151]
18317 * stdlib/strtod_l.c (round_and_return): Do not consider
18318 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18319 exponent one less than half the least subnormal exponent.
18320 * stdlib/test-strtod-round-data: Add more tests.
18321 * stdlib/tst-strtod-round.c (tests): Regenerated.
18322
7a2ad8cf
AZ
183232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18324
18325 [BZ #14143]
18326 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18327 (__fe_mask_env): Likewise.
18328 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18329 libm_hidden_proto and add function prototype.
18330 (__fe_mask_env): Add function prototype.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18332 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18334 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18336 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18337
50727aa7
MS
183382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18339
b2f386c1 18340 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18341 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18342
a615be46
MS
183432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18344
18345 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18346 of htab_find_slot().
18347
7ddace62
DM
183482013-11-11 David S. Miller <davem@davemloft.net>
18349
18350 [BZ #16150]
18351 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18352 symbol in the non-vis3 case in static builds.
18353 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18354 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18355 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18356 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18357
9182aa67
JK
183582013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18359
18360 [BZ #387]
18361 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18362 it is empty.
18363
450a2e2d
AZ
183642013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18365
b2f386c1
SP
18366 * benchtests/Makefile: Add bench-strtod.
18367 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18368
8ec3f656
AS
183692013-11-11 Andreas Schwab <schwab@suse.de>
18370
18371 [BZ #16153]
18372 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18373 terminating NUL in key length.
18374
76a9b998
AZ
183752013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18376
18377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18378 Add artificial ODP entry for vDSO symbol for PPC64.
18379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18380 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18381
e4368156
OB
183822013-11-07 Ondřej Bílka <neleai@seznam.cz>
18383
18384 [BZ #15374]
18385 * nss/getent.c (services_keys): Recognize services starting with digit.
18386
8d6bb57c
DM
183872013-11-06 David S. Miller <davem@davemloft.net>
18388
18389 [BZ #15985]
18390 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18391 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18392
e256c421
WN
183932013-11-06 Will Newton <will.newton@linaro.org>
18394
18395 * manual/memory.texi (Malloc Examples): Remove register
18396 keyword from examples.
18397
f6e12daa 183982013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18399
f6e12daa 18400 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18401
9d880655
AS
184022013-11-04 Joseph Myers <joseph@codesourcery.com>
18403
fd2f9486 18404 [BZ #6981]
9d880655
AS
18405 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18406 depending on [__GCC_IEC_559 > 0].
18407 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18408 depending on [__GCC_IEC_559_COMPLEX > 0].
18409
ae129d3c
CL
184102013-11-03 Chris Leonard <cjl@sugarlabs.org>
18411
18412 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18413 to iso-639.def.
18414
4a15c2a4 184152013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18416
18417 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18418
8b35e35d
OB
184192013-11-01 Ondřej Bílka <neleai@seznam.cz>
18420
18421 [BZ #16112]
18422 * malloc/malloc (malloc_info): Do not handle first bin as
18423 special case.
18424
1d70fd6c
CL
184252013-11-01 Chris Leonard <cjl@sugarlabs.org>
18426
18427 * locale/iso-639.def: Add Central Nahuatl (nhn).
18428
8c5c2600
BH
184292013-11-01 Bruno Haible <bruno@clisp.org>
18430
18431 [BZ #7003]
18432 * manual/math.texi (BSD Random): Specify range upper bound as
18433 in POSIX.
18434
da5579c2
CL
184352013-10-31 Chris Leonard <cjl@sugarlabs.org>
18436
18437 * locale/iso-639.def: Add Meadow Mari (mhr).
18438
5d30d853
OB
184392013-10-31 Ondřej Bílka <neleai@seznam.cz>
18440
18441 [BZ #14752], [BZ #15763]
18442 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18443 Validate name.
18444 * rt/tst_shm.c: Add test for escaping directory.
18445
a4966c61
AS
184462013-10-31 Andreas Schwab <schwab@suse.de>
18447
8a43e768 18448 [BZ #15917]
a4966c61
AS
18449 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18450 followed by 'x' as part of digit sequence.
18451 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18452
28d708c4
MAP
184532013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18454
18455 [BZ #16037]
18456 * configure.ac: allow GNU Make 4.0 and greater.
18457 * configure: Regenerated.
18458
a56ee40b
WN
184592013-10-30 Will Newton <will.newton@linaro.org>
18460
18461 [BZ #16038]
18462 * malloc/hooks.c (memalign_check): Limit alignment to the
18463 maximum representable power of two.
18464 * malloc/malloc.c (__libc_memalign): Likewise.
18465 * malloc/tst-memalign.c (do_test): Add test for very
18466 large alignment values.
18467 * malloc/tst-posix_memalign.c (do_test): Likewise.
18468
c6e4925d
OB
184692013-10-30 Ondřej Bílka <neleai@seznam.cz>
18470
18471 [BZ #11087]
18472 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18473 (munmap_chunk): Likewise.
18474 (mremap_chunk): Likewise.
18475
184762013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18477
8a43e768 18478 [BZ #15799]
bbea82f7
OB
18479 * stdlib/div.c (div): Remove obsolete code.
18480 * stdlib/ldiv.c (ldiv): Likewise.
18481 * stdlib/lldiv.c (lldiv): Likewise.
18482
977f4b31
SP
184832013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18484
18485 [BZ #16071]
18486 * nss/nss_files/files-XXX.c (get_contents_ret): New
18487 enumerator.
18488 (get_contents): New function.
18489 (internal_getent): Use it. Expand size of LINEBUFLEN.
18490
cb8a6dbd
MF
184912013-10-30 Mike Frysinger <vapier@gentoo.org>
18492
18493 * configure.in: Moved to ...
18494 * configure.ac: ... here. Change reference to configure.in
18495 to configure.ac.
18496 * sysdeps/arm/preconfigure.ac: ... here.
18497 configure.in to configure.ac.
18498 * sysdeps/gnu/configure.in: Moved to ...
18499 * sysdeps/gnu/configure.ac: ... here.
18500 * sysdeps/i386/configure.in: Moved to ...
18501 * sysdeps/i386/configure.ac: ... here.
18502 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18503 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18504 * sysdeps/mach/configure.in: Moved to ...
18505 * sysdeps/mach/configure.ac: ... here.
18506 * sysdeps/mach/hurd/configure.in: Moved to ...
18507 * sysdeps/mach/hurd/configure.ac: ... here.
18508 * sysdeps/powerpc/configure.in: Moved to ...
18509 * sysdeps/powerpc/configure.ac: ... here.
18510 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18511 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18512 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18513 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18514 * sysdeps/s390/s390-32/configure.in: Moved to ...
18515 * sysdeps/s390/s390-32/configure.ac: ... here.
18516 * sysdeps/s390/s390-64/configure.in: Moved to ...
18517 * sysdeps/s390/s390-64/configure.ac: ... here.
18518 * sysdeps/sh/configure.in: Moved to ...
18519 * sysdeps/sh/configure.ac: ... here.
18520 * sysdeps/sparc/configure.in: Moved to ...
18521 * sysdeps/sparc/configure.ac: ... here.
18522 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18523 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18524 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18525 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18526 * sysdeps/x86_64/configure.in: Moved to ...
18527 * sysdeps/x86_64/configure.ac: ... here.
18528 * sysdeps/x86_64/preconfigure.in: Moved to ...
18529 * sysdeps/x86_64/preconfigure.ac: ... here.
18530 * aclocal.m4: Change reference to configure.in to configure.ac.
18531 * config.h.in: Likewise.
18532 * manual/install.texi: Likewise.
18533 * manual/maint.texi: Likewise.
18534 * Makefile: Likewise.
18535 * malloc/Makefile: Likewise.
18536 * nscd/Makefile: Likewise.
18537 * Makeconfig: Change reference to configure.in and
18538 preconfigure.in to configure.ac and preconfigure.ac
18539 respectively.
18540 * INSTALL: Regenerated.
18541 * configure: Likewise.
18542 * sysdeps/gnu/configure: Likewise.
18543 * sysdeps/i386/configure: Likewise.
18544 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18545 * sysdeps/mach/configure: Likewise.
18546 * sysdeps/mach/hurd/configure: Likewise.
18547 * sysdeps/powerpc/configure: Likewise.
18548 * sysdeps/powerpc/powerpc32/configure: Likewise.
18549 * sysdeps/powerpc/powerpc64/configure: Likewise.
18550 * sysdeps/s390/s390-32/configure: Likewise.
18551 * sysdeps/s390/s390-64/configure: Likewise.
18552 * sysdeps/sh/configure: Likewise.
18553 * sysdeps/sparc/configure: Likewise.
18554 * sysdeps/unix/sysv/linux/configure: Likewise.
18555 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18556 * sysdeps/x86_64/configure: Likewise.
18557 * sysdeps/x86_64/preconfigure: Likewise.
18558
36a4953a
AS
185592013-10-29 Andreas Schwab <schwab@suse.de>
18560
18561 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18562
c79a1204
SP
185632013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18564
dfa1b402
SP
18565 * benchtests/pow-inputs: Add new inputs.
18566
54f73d9c
SP
18567 * benchtests/exp-inputs: Add new inputs.
18568
c79a1204
SP
18569 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18570 conditional check for return value.
18571 (__cos32): Likewise.
18572
67beb545 185732013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18574
18575 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18576 to provide a boost for large inputs with word alignment.
18577 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18578 implementation based on optimized PPC64 strcpy.
18579 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18580 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18581 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18582 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18583
151659f6
OB
185842013-10-25 Ondřej Bílka <neleai@seznam.cz>
18585
482a077e 18586 [BZ #2801]
151659f6
OB
18587 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18588
10b0f26b
OB
185892013-10-25 Ondřej Bílka <neleai@seznam.cz>
18590
18591 [BZ #14876]
18592 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18593 * time/tst-strptime.c (day_tests): Add testcase.
18594
ca42d35e
OB
185952013-10-25 Ondřej Bílka <neleai@seznam.cz>
18596
482a077e 18597 [BZ #14029]
ca42d35e
OB
18598 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18599
52e6d801
FB
186002013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18601
18602 [BZ #16074]
18603 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18604 MAP_FAILED on error.
18605
7cbcdb36
SP
186062013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18607
18608 [BZ #16072]
18609 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18610 heap for large requests.
18611
894f3f10
AM
186122013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18613
18614 [BZ #9954]
18615 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18616 result if the result has no associated interface.
18617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18618 interface for all 127.X.Y.Z addresses.
18619
b85545a6
CL
186202013-10-24 Chris Leonard <cjl@sugarlabs.org>
18621
18622 * locale/iso-639.def: Add Ligurian (lij)
18623
d1f23d46
OB
186242013-10-21 Ondřej Bílka <neleai@seznam.cz>
18625
18626 [BZ #15825]
18627 * sunrpc/rpc_main.c: Document rpcgen -5.
18628
4db5b08f
MS
186292013-10-19 Michael Stahl <mstahl@redhat.com>
18630
18631 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18632
a471e96a
OB
186332013-10-19 Ondřej Bílka <neleai@seznam.cz>
18634
d1f23d46 18635 [BZ #10278]
a471e96a
OB
18636 * posix/glob.c: Match only directories when trailing slash is present.
18637 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18638 (main): Add testcase.
18639
45c30c61
OB
186402013-10-19 Ondřej Bílka <neleai@seznam.cz>
18641
18642 [BZ #15670]
18643 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18644
484c12fb
CD
186452013-10-18 Carlos O'Donell <carlos@redhat.com>
18646
3d7dc513
CD
18647 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18648 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18649 AUTH_DES and cindex for FIPS 140-2.
18650 (DES Encryption): Add cindex FIPS 46-3.
18651
484c12fb
CD
18652 * locale/locarchive.h (struct locarhandle): Add fname.
18653 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18654 if an optional argument was specified to --list-archive,
18655 otherwise NULL.
18656 * locale/programs/locarchive.c (show_archive_content): Take new
18657 argument fname and pass it via ah.fname to open_archive.
18658 * locale/programs/localedef.h: Update decl.
18659 (open_archive): If AH->fname is non-null, open that file
18660 rather than the default file name, and don't ignore ENOENT.
18661 (create_archive): Set AH.fname to NULL.
18662 (delete_locales_from_archive): Likewise.
18663 (add_locales_to_archive): Likewise.
18664 * locale/programs/locfile.c (write_all_categories): Likewise.
18665
3c8325fb
JM
186662013-10-18 Joseph Myers <joseph@codesourcery.com>
18667 Aldy Hernandez <aldyh@redhat.com>
18668
18669 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18670 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18671 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18672 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18673 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18674 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18676 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18677 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18678 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18679 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18680 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18681 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18682 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18683 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18684 Likewise.
18685 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18686 Likewise.
18687 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18688 Likewise.
18689 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18690 Likewise.
18691 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18692 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18693 Likewise.
18694 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18695 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18696 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18697 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18698 Likewise.
18699 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18700 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18701 * sysdeps/powerpc/preconfigure: Likewise.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18703 Likewise.
18704 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18705 Replace contents of file by #include of <fenv_libc.h>.
18706 * sysdeps/powerpc/soft-fp/sfp-machine.h
18707 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18708 and <sys/prctl.h>.
18709 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18722 Allow copysignl PLT reference to be missing.
18723
5abe0682
RS
187242013-10-18 Richard Sandiford <richard@codesourcery.com>
18725 Joseph Myers <joseph@codesourcery.com
18726
18727 [BZ #15948]
18728 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18729 single character.
18730 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18731
c7738d08
SP
187322013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18733
18734 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18735 * elf/tst-tls1.c: Likewise.
18736 * elf/tst-tls10.h: Likewise.
18737 * elf/tst-tls14.c: Likewise.
18738 * elf/tst-tls2.c: Likewise.
18739 * elf/tst-tls3.c: Likewise.
18740 * elf/tst-tls4.c: Likewise.
18741 * elf/tst-tls5.c: Likewise.
18742 * elf/tst-tls6.c: Likewise.
18743 * elf/tst-tls7.c: Likewise.
18744 * elf/tst-tls8.c: Likewise.
18745 * elf/tst-tls9.c: Likewise.
18746 * elf/tst-tlsmod1.c: Likewise.
18747 * elf/tst-tlsmod13.c: Likewise.
18748 * elf/tst-tlsmod13a.c: Likewise.
18749 * elf/tst-tlsmod14a.c: Likewise.
18750 * elf/tst-tlsmod16a.c: Likewise.
18751 * elf/tst-tlsmod16b.c: Likewise.
18752 * elf/tst-tlsmod2.c: Likewise.
18753 * elf/tst-tlsmod3.c: Likewise.
18754 * elf/tst-tlsmod4.c: Likewise.
18755 * elf/tst-tlsmod5.c: Likewise.
18756 * elf/tst-tlsmod6.c: Likewise.
18757
0bfcf2c7
OB
187582013-10-18 Ondřej Bílka <neleai@seznam.cz>
18759
18760 [BZ #12486]
18761 * malloc/malloc.c: remove checks for statistics.
18762
264aad1e
OB
187632013-10-17 Ondřej Bílka <neleai@seznam.cz>
18764
18765 [BZ #15277]
18766 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18767 * inet/tst-network.c: Add testcase.
18768
b957ced8
AS
187692013-10-17 Andreas Schwab <schwab@suse.de>
18770
18771 [BZ #15218]
18772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18773 to determine canonical name.
18774
c5d5d574
OB
187752013-10-17 Ondřej Bílka <neleai@seznam.cz>
18776
18777 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18778 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18801 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18802 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18835
e5c2c2d0
JM
188362013-10-17 Joseph Myers <joseph@codesourcery.com>
18837
18838 [BZ #16041]
18839 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18840 make result into a quiet NaN.
18841
51ca9e29
JM
188422013-10-16 Joseph Myers <joseph@codesourcery.com>
18843
18844 * soft-fp/adddf3.c: Fix horizontal whitespace.
18845 * soft-fp/addsf3.c: Likewise.
18846 * soft-fp/addtf3.c: Likewise.
18847 * soft-fp/divdf3.c: Likewise.
18848 * soft-fp/divsf3.c: Likewise.
18849 * soft-fp/divtf3.c: Likewise.
18850 * soft-fp/double.h: Likewise.
18851 * soft-fp/eqdf2.c: Likewise.
18852 * soft-fp/eqsf2.c: Likewise.
18853 * soft-fp/eqtf2.c: Likewise.
18854 * soft-fp/extenddftf2.c: Likewise.
18855 * soft-fp/extended.h: Likewise.
18856 * soft-fp/extendsfdf2.c: Likewise.
18857 * soft-fp/extendsftf2.c: Likewise.
18858 * soft-fp/extendxftf2.c: Likewise.
18859 * soft-fp/fixdfdi.c: Likewise.
18860 * soft-fp/fixdfsi.c: Likewise.
18861 * soft-fp/fixdfti.c: Likewise.
18862 * soft-fp/fixsfdi.c: Likewise.
18863 * soft-fp/fixsfsi.c: Likewise.
18864 * soft-fp/fixsfti.c: Likewise.
18865 * soft-fp/fixtfdi.c: Likewise.
18866 * soft-fp/fixtfsi.c: Likewise.
18867 * soft-fp/fixtfti.c: Likewise.
18868 * soft-fp/fixunsdfdi.c: Likewise.
18869 * soft-fp/fixunsdfsi.c: Likewise.
18870 * soft-fp/fixunsdfti.c: Likewise.
18871 * soft-fp/fixunssfdi.c: Likewise.
18872 * soft-fp/fixunssfsi.c: Likewise.
18873 * soft-fp/fixunssfti.c: Likewise.
18874 * soft-fp/fixunstfdi.c: Likewise.
18875 * soft-fp/fixunstfsi.c: Likewise.
18876 * soft-fp/fixunstfti.c: Likewise.
18877 * soft-fp/floatdidf.c: Likewise.
18878 * soft-fp/floatdisf.c: Likewise.
18879 * soft-fp/floatditf.c: Likewise.
18880 * soft-fp/floatsidf.c: Likewise.
18881 * soft-fp/floatsisf.c: Likewise.
18882 * soft-fp/floatsitf.c: Likewise.
18883 * soft-fp/floattidf.c: Likewise.
18884 * soft-fp/floattisf.c: Likewise.
18885 * soft-fp/floattitf.c: Likewise.
18886 * soft-fp/floatundidf.c: Likewise.
18887 * soft-fp/floatundisf.c: Likewise.
18888 * soft-fp/floatunditf.c: Likewise.
18889 * soft-fp/floatunsidf.c: Likewise.
18890 * soft-fp/floatunsisf.c: Likewise.
18891 * soft-fp/floatunsitf.c: Likewise.
18892 * soft-fp/floatuntidf.c: Likewise.
18893 * soft-fp/floatuntisf.c: Likewise.
18894 * soft-fp/floatuntitf.c: Likewise.
18895 * soft-fp/fmadf4.c: Likewise.
18896 * soft-fp/fmasf4.c: Likewise.
18897 * soft-fp/fmatf4.c: Likewise.
18898 * soft-fp/gedf2.c: Likewise.
18899 * soft-fp/gesf2.c: Likewise.
18900 * soft-fp/getf2.c: Likewise.
18901 * soft-fp/ledf2.c: Likewise.
18902 * soft-fp/lesf2.c: Likewise.
18903 * soft-fp/letf2.c: Likewise.
18904 * soft-fp/muldf3.c: Likewise.
18905 * soft-fp/mulsf3.c: Likewise.
18906 * soft-fp/multf3.c: Likewise.
18907 * soft-fp/negdf2.c: Likewise.
18908 * soft-fp/negsf2.c: Likewise.
18909 * soft-fp/negtf2.c: Likewise.
18910 * soft-fp/op-1.h: Likewise.
18911 * soft-fp/op-2.h: Likewise.
18912 * soft-fp/op-4.h: Likewise.
18913 * soft-fp/op-8.h: Likewise.
18914 * soft-fp/op-common.h: Likewise.
18915 * soft-fp/quad.h: Likewise.
18916 * soft-fp/single.h: Likewise.
18917 * soft-fp/soft-fp.h: Likewise.
18918 * soft-fp/sqrtdf2.c: Likewise.
18919 * soft-fp/sqrtsf2.c: Likewise.
18920 * soft-fp/sqrttf2.c: Likewise.
18921 * soft-fp/subdf3.c: Likewise.
18922 * soft-fp/subsf3.c: Likewise.
18923 * soft-fp/subtf3.c: Likewise.
18924 * soft-fp/truncdfsf2.c: Likewise.
18925 * soft-fp/trunctfdf2.c: Likewise.
18926 * soft-fp/trunctfsf2.c: Likewise.
18927 * soft-fp/trunctfxf2.c: Likewise.
18928 * soft-fp/unorddf2.c: Likewise.
18929 * soft-fp/unordsf2.c: Likewise.
18930 * soft-fp/unordtf2.c: Likewise.
18931
9ebb0332
JM
189322013-10-15 Joseph Myers <joseph@codesourcery.com>
18933
18934 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18935 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18936
4b1a6d8b
OB
189372013-10-15 Ondřej Bílka <neleai@seznam.cz>
18938
18939 * elf/dl-libc.c: Clear initfini list after freeing.
18940
1e145589
JM
189412013-10-14 Joseph Myers <joseph@codesourcery.com>
18942
18943 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18944 * soft-fp/addsf3.c: Likewise.
18945 * soft-fp/addtf3.c: Likewise.
18946 * soft-fp/divdf3.c: Likewise.
18947 * soft-fp/divsf3.c: Likewise.
18948 * soft-fp/divtf3.c: Likewise.
18949 * soft-fp/double.h: Likewise.
18950 * soft-fp/eqdf2.c: Likewise.
18951 * soft-fp/eqsf2.c: Likewise.
18952 * soft-fp/eqtf2.c: Likewise.
18953 * soft-fp/extenddftf2.c: Likewise.
18954 * soft-fp/extended.h: Likewise.
18955 * soft-fp/extendsfdf2.c: Likewise.
18956 * soft-fp/extendsftf2.c: Likewise.
18957 * soft-fp/extendxftf2.c: Likewise.
18958 * soft-fp/fixdfdi.c: Likewise.
18959 * soft-fp/fixdfsi.c: Likewise.
18960 * soft-fp/fixdfti.c: Likewise.
18961 * soft-fp/fixsfdi.c: Likewise.
18962 * soft-fp/fixsfsi.c: Likewise.
18963 * soft-fp/fixsfti.c: Likewise.
18964 * soft-fp/fixtfdi.c: Likewise.
18965 * soft-fp/fixtfsi.c: Likewise.
18966 * soft-fp/fixtfti.c: Likewise.
18967 * soft-fp/fixunsdfdi.c: Likewise.
18968 * soft-fp/fixunsdfsi.c: Likewise.
18969 * soft-fp/fixunsdfti.c: Likewise.
18970 * soft-fp/fixunssfdi.c: Likewise.
18971 * soft-fp/fixunssfsi.c: Likewise.
18972 * soft-fp/fixunssfti.c: Likewise.
18973 * soft-fp/fixunstfdi.c: Likewise.
18974 * soft-fp/fixunstfsi.c: Likewise.
18975 * soft-fp/fixunstfti.c: Likewise.
18976 * soft-fp/floatdidf.c: Likewise.
18977 * soft-fp/floatdisf.c: Likewise.
18978 * soft-fp/floatditf.c: Likewise.
18979 * soft-fp/floatsidf.c: Likewise.
18980 * soft-fp/floatsisf.c: Likewise.
18981 * soft-fp/floatsitf.c: Likewise.
18982 * soft-fp/floattidf.c: Likewise.
18983 * soft-fp/floattisf.c: Likewise.
18984 * soft-fp/floattitf.c: Likewise.
18985 * soft-fp/floatundidf.c: Likewise.
18986 * soft-fp/floatundisf.c: Likewise.
18987 * soft-fp/floatunsidf.c: Likewise.
18988 * soft-fp/floatunsisf.c: Likewise.
18989 * soft-fp/floatuntidf.c: Likewise.
18990 * soft-fp/floatuntisf.c: Likewise.
18991 * soft-fp/floatuntitf.c: Likewise.
18992 * soft-fp/fmadf4.c: Likewise.
18993 * soft-fp/fmasf4.c: Likewise.
18994 * soft-fp/fmatf4.c: Likewise.
18995 * soft-fp/gedf2.c: Likewise.
18996 * soft-fp/gesf2.c: Likewise.
18997 * soft-fp/getf2.c: Likewise.
18998 * soft-fp/ledf2.c: Likewise.
18999 * soft-fp/lesf2.c: Likewise.
19000 * soft-fp/letf2.c: Likewise.
19001 * soft-fp/muldf3.c: Likewise.
19002 * soft-fp/mulsf3.c: Likewise.
19003 * soft-fp/multf3.c: Likewise.
19004 * soft-fp/negdf2.c: Likewise.
19005 * soft-fp/negsf2.c: Likewise.
19006 * soft-fp/negtf2.c: Likewise.
19007 * soft-fp/op-1.h: Likewise.
19008 * soft-fp/op-2.h: Likewise.
19009 * soft-fp/op-4.h: Likewise.
19010 * soft-fp/op-8.h: Likewise.
19011 * soft-fp/op-common.h: Likewise.
19012 * soft-fp/quad.h: Likewise.
19013 * soft-fp/single.h: Likewise.
19014 * soft-fp/soft-fp.h: Likewise.
19015 * soft-fp/sqrtdf2.c: Likewise.
19016 * soft-fp/sqrtsf2.c: Likewise.
19017 * soft-fp/sqrttf2.c: Likewise.
19018 * soft-fp/subdf3.c: Likewise.
19019 * soft-fp/subsf3.c: Likewise.
19020 * soft-fp/subtf3.c: Likewise.
19021 * soft-fp/truncdfsf2.c: Likewise.
19022 * soft-fp/trunctfdf2.c: Likewise.
19023 * soft-fp/trunctfsf2.c: Likewise.
19024 * soft-fp/trunctfxf2.c: Likewise.
19025 * soft-fp/unorddf2.c: Likewise.
19026 * soft-fp/unordsf2.c: Likewise.
19027 * soft-fp/unordtf2.c: Likewise.
19028
17c48a60
OB
190292013-10-14 Ondřej Bílka <neleai@seznam.cz>
19030
19031 [BZ #15672]
19032 * misc/error.c (error_tail): Fix possible buffer overflow.
19033
cabba934
OB
190342013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19035
19036 [BZ #13028]
19037 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19038 address.
19039
94bf958a
PM
190402013-10-14 P. J. McDermott <pj@pehjota.net>
19041
19042 [BZ #832]
19043 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19044 testing pipefail option.
19045
71b4dea7
JM
190462013-10-12 Joseph Myers <joseph@codesourcery.com>
19047
19048 * soft-fp/double.h: Indent preprocessor directives inside #if.
19049 * soft-fp/extended.h: Likewise.
19050 * soft-fp/op-2.h: Likewise.
19051 * soft-fp/op-4.h: Likewise.
19052 * soft-fp/op-common.h: Likewise.
19053 * soft-fp/quad.h: Likewise.
19054 * soft-fp/single.h: Likewise.
19055 * soft-fp/soft-fp.h: Likewise.
19056
55602758
YC
190572013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19058
19059 * iconv/iconv_prog.c: Fix typos.
19060 * stdio-common/psiginfo-data.h: Likewise.
19061
9cd83302
RT
190622013-10-12 Reuben Thomas <rrt@sc3d.org>
19063
19064 [BZ #15764]
19065 * locale/setlocale.c: Fix typo.
19066
99fd9f47
JM
190672013-10-12 Joseph Myers <joseph@codesourcery.com>
19068
b7ea74f0
JM
19069 [BZ #16036]
19070 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19071 signaling NaN arguments.
19072 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19073 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19074
8a509447
JM
19075 [BZ #14910]
19076 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19077 unordered operands.
19078 * soft-fp/gesf2.c (__gesf2): Likewise.
19079 * soft-fp/getf2.c (__getf2): Likewise.
19080 * soft-fp/ledf2.c (__ledf2): Likewise.
19081 * soft-fp/lesf2.c (__lesf2): Likewise.
19082 * soft-fp/letf2.c (__letf2): Likewise.
19083
98998e9f
JM
19084 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19085 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19086 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19087 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19088 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19089 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19090 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19091 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19092 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19093 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19094 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19095 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19096 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19097 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19098 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19099 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19100 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19101 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19102 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19103 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19104 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19105 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19106 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19107 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19108 * soft-fp/floattidf.c (__floattidf): Likewise.
19109 * soft-fp/floattisf.c (__floattisf): Likewise.
19110 * soft-fp/floattitf.c (__floattitf): Likewise.
19111 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19112 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19113 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19114 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19115 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19116 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19117 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19118 * soft-fp/gesf2.c (__gesf2): Likewise.
19119 * soft-fp/getf2.c (__getf2): Likewise.
19120 * soft-fp/ledf2.c (__ledf2): Likewise.
19121 * soft-fp/lesf2.c (__lesf2): Likewise.
19122 * soft-fp/letf2.c (__letf2): Likewise.
19123
8edc4a11
JM
19124 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19125 Undefine and redefine.
19126 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19127 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19128 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19129 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19130 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19131 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19132 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19133 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19134 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19135 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19136 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19137 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19138 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19139 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19140 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19141
8399acaf
JM
19142 [BZ #16032]
19143 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19144 without decrementing exponent if mantissa >= that for the
19145 denominator, not >.
19146 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19147 denominator, not >. Decrement exponent in < case instead of
19148 incrementing in >= case.
19149 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19150 without decrementing exponent if mantissa >= that for the
19151 denominator, not >.
19152
99fd9f47
JM
19153 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19154 computing saturated result for unsigned overflow.
19155
10e1cf6b
SP
191562013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19157 Jeff Law <law@redhat.com>
19158
19159 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19160 (atan2Mp): Add systemtap probe marker.
19161 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19162 (__ieee754_log): Add systemtap probe marker.
19163 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19164 (atanMp): Add systemtap probe marker.
19165 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19166 (tanMp): Add systemtap probe marker.
19167 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19168 (__slowexp): Add systemtap probe marker.
19169 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19170 (__slowpow): Add systemtap probe marker.
19171 * manual/probes.texi: Document probes.
19172
3d110c7c
EB
191732013-10-11 Eric Biggers <ebiggers3@gmail.com>
19174
19175 [BZ #15362]
19176 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19177 written.
19178 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19179 written.
19180 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19181 written to buffer but not flushed.
19182 * libio/iofwrite_u.c: Likewise.
19183 * libio/iopadn.c: Return bytes returned even if EOF was
19184 encountered.
19185 * libio/iowpadn.c: Likewise.
19186 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19187 if _IO_padn does not write the whole buffer.
19188 [!COMPILE_WPRINTF] (PAD): Likewise.
19189
75b4202a
DM
191902013-10-10 David S. Miller <davem@davemloft.net>
19191
19192 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19193 directory block.
19194
6c6352e6
JM
191952013-10-10 Joseph Myers <joseph@codesourcery.com>
19196
33b853c3
JM
19197 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19198 instead of FSF address.
19199 * soft-fp/fixdfti.c: Likewise.
19200 * soft-fp/fixsfti.c: Likewise.
19201 * soft-fp/fixtfti.c: Likewise.
19202 * soft-fp/fixunsdfti.c: Likewise.
19203 * soft-fp/fixunssfti.c: Likewise.
19204 * soft-fp/fixunstfti.c: Likewise.
19205 * soft-fp/floattidf.c: Likewise.
19206 * soft-fp/floattisf.c: Likewise.
19207 * soft-fp/floattitf.c: Likewise.
19208 * soft-fp/floatuntidf.c: Likewise.
19209 * soft-fp/floatuntisf.c: Likewise.
19210 * soft-fp/floatuntitf.c: Likewise.
19211 * soft-fp/trunctfxf2.c: Likewise.
19212
6c6352e6
JM
19213 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19214 * soft-fp/fixdfti.c: Likewise.
19215 * soft-fp/fixsfti.c: Likewise.
19216 * soft-fp/fixtfti.c: Likewise.
19217 * soft-fp/fixunsdfti.c: Likewise.
19218 * soft-fp/fixunssfti.c: Likewise.
19219 * soft-fp/fixunstfti.c: Likewise.
19220 * soft-fp/floattidf.c: Likewise.
19221 * soft-fp/floattisf.c: Likewise.
19222 * soft-fp/floattitf.c: Likewise.
19223 * soft-fp/floatuntidf.c: Likewise.
19224 * soft-fp/floatuntisf.c: Likewise.
19225 * soft-fp/floatuntitf.c: Likewise.
19226 * soft-fp/trunctfxf2.c: Likewise.
19227
3bf78b71
DM
192282013-10-10 David S. Miller <davem@davemloft.net>
19229
19230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19231
6f10289e
JM
192322013-10-10 Joseph Myers <joseph@codsourcery.com>
19233
bd878fc0
JM
19234 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19235 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19236 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19237 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19238 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19239 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19240 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19241
6f10289e
JM
19242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19243 for NaNs before doing comparisons on argument.
19244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19245 Likewise.
19246
321e2684
WN
192472013-10-10 Will Newton <will.newton@linaro.org>
19248
19249 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19250 passed to _int_memalign does not overflow.
19251
40fefba1
TR
192522013-10-10 Torvald Riegel <triegel@redhat.com>
19253
19254 * scripts/bench.pl: Add include-sources directive.
19255 * benchtests/README: Update documentation.
19256
2ae21ed2
JM
192572013-10-10 Joseph Myers <joseph@codesourcery.com>
19258
dcc2dd3f
JM
19259 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19260 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19261 instead of FP_INIT_ROUNDMODE.
19262 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19263 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19264
2ae21ed2
JM
19265 [BZ #16034]
19266 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19267 copy class of input value.
19268 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19269 not handle exceptions.
19270 * soft-fp/negsf2.c (__negsf2): Likewise.
19271 * soft-fp/negtf2.c (__negtf2): Likewise.
19272 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19273
cb8f9562
JM
192742013-10-09 Joseph Myers <joseph@codesourcery.com>
19275
19276 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19277 semicolon. From Linux kernel.
19278
5b60c59d
AB
192792013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19280
19281 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19282
b86835ca
YC
192832013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19284
19285 [BZ #156]
19286 * manual/socket.texi: Added statement about buffer
19287 for gethostbyname2_r.
19288
e7044ea7
OB
192892013-10-08 Ondřej Bílka <neleai@seznam.cz>
19290
19291 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19292 Use .p2align directive instead, throughout.
19293 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19294 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19295 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19298 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19299 * sysdeps/x86_64/strchr.S: Likewise.
19300 * sysdeps/x86_64/strrchr.S: Likewise.
19301
09544cbc
SP
193022013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19303
88576635
SP
19304 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19305
e7b2d1dd
SP
19306 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19307
09544cbc
SP
19308 * sysdeps/generic/math_private.h (__mpsin1): Remove
19309 declaration.
19310 (__mpcos1): Likewise.
19311 (__mpsin): New argument __range_reduce.
19312 (__mpcos): Likewise.
19313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19314 (slow): Use __mpsin and __mpcos.
19315 (slow1): Likewise.
19316 (slow2): Likewise.
19317 (sloww): Likewise.
19318 (sloww1): Likewise.
19319 (sloww2): Likewise.
19320 (bsloww): Likewise.
19321 (bsloww1): Likewise.
19322 (bsloww2): Likewise.
19323 (cslow2): Likewise.
19324 (csloww): Likewise.
19325 (csloww1): Likewise.
19326 (csloww2): Likewise.
19327 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19328 range_reduce. Merge in __mpsin1.
19329 (__mpcos): Likewise.
19330 (__mpsin1): Remove.
19331 (__mpcos1): Likewise.
19332
7602d070
JM
193332013-10-07 Joseph Myers <joseph@codesourcery.com>
19334
19335 * locale/loadlocale.c (_nl_intern_locale_data): Use
19336 LOCFILE_ALIGNED_P.
19337 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19338 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19339 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19340 obstack data is appropriately aligned.
19341 (obstack_int32_grow_fast): Likewise.
19342 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19343 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19344 (add_locale_uint32_array): Likewise.
19345
a357259b
SP
193462013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19347
19348 * benchtests/Makefile: Remove ARGLIST and RET variables.
19349 ($(objpfx)bench-%.c): Pass only function name to the script.
19350 * benchtests/README: Update documentation.
19351 * benchtests/acos-inputs: Add new directives.
19352 * benchtests/acosh-inputs: Likewise.
19353 * benchtests/asin-inputs: Likewise.
19354 * benchtests/asinh-inputs: Likewise.
19355 * benchtests/atan-inputs: Likewise.
19356 * benchtests/atanh-inputs: Likewise.
19357 * benchtests/cos-inputs: Likewise.
19358 * benchtests/cosh-inputs: Likewise.
19359 * benchtests/exp-inputs: Likewise.
19360 * benchtests/log-inputs: Likewise.
19361 * benchtests/pow-inputs: Likewise.
19362 * benchtests/rint-inputs: Likewise.
19363 * benchtests/sin-inputs: Likewise.
19364 * benchtests/sinh-inputs: Likewise.
19365 * benchtests/tan-inputs: Likewise.
19366 * benchtests/tanh-inputs: Likewise.
19367 * scripts/bench.pl: Add support for new directives.
19368
9ec1b13d
AM
193692013-10-07 Alan Modra <amodra@gmail.com>
19370
19371 * README: Fix careless merge.
19372
8b7d57cd
AM
193732013-10-05 Alan Modra <amodra@gmail.com>
19374
19375 * NEWS: Mention powerpc64le support and bugs fixed.
19376 * README: Both big-endian and little-endian powerpc64 supported.
19377
7b7bab13
ST
193782013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19379
57f41c40
AS
19380 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19381 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19382 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19383 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19384
d39baad1
RA
193852013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19386
19387 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19388 match prototype.
19389
cd78f7e7
JM
193902013-10-04 Joseph Myers <joseph@codesourcery.com>
19391
29d73d86
JM
19392 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19393 Move -mhard-float appending from
19394 ports/sysdeps/powerpc/powerpc32/Makefile.
19395 [$(with-fp) = yes] (ASFLAGS): Likewise.
19396 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19397 * sysdeps/powerpc/nofpu: Move directory from
19398 ports/sysdeps/powerpc/nofpu.
19399 * sysdeps/powerpc/soft-fp: Move directory from
19400 ports/sysdeps/powerpc/soft-fp.
19401 * sysdeps/powerpc/powerpc32/405: Move directory from
19402 ports/sysdeps/powerpc/powerpc32/405.
19403 * sysdeps/powerpc/powerpc32/440: Move directory from
19404 ports/sysdeps/powerpc/powerpc32/440.
19405 * sysdeps/powerpc/powerpc32/464: Move directory from
19406 ports/sysdeps/powerpc/powerpc32/464.
19407 * sysdeps/powerpc/powerpc32/476: Move directory from
19408 ports/sysdeps/powerpc/powerpc32/476.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19410 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19412 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19414 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19416 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19418 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19419 * README: Update for powerpc-*-linux-gnu software floating point
19420 support in libc.
19421
e246b347
JM
19422 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19423 case to powerpc/powerpc32*.
19424 * sysdeps/unix/sysv/linux/configure: Regenerated.
19425
89c2003e
JM
19426 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19427 (_FPU_MASK_OM): Define as 0x04.
19428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19430 0x00c10080.
19431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19432 0x0000003c.
19433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19434
cd78f7e7
JM
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19437 getcontext_e500.
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19440 setcontext_e500.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19442 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19443 and setcontext_e500.
19444
c755294d
CL
194452013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19446
19447 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19448
e16d221c
SP
194492013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19450
19451 * manual/threads.texi (Default Thread Attributes): Fix typo.
19452
215c7d43
WN
194532013-10-04 Will Newton <will.newton@linaro.org>
19454
19455 * malloc/Makefile: Add tst-memalign.
19456 * malloc/tst-memalign.c: New file.
19457
27d0461b
WN
19458 * malloc/tst-posix_memalign.c: Add comments.
19459 (do_test): Add comments and call free on all potentially
19460 allocated pointers. Add space after cast.
19461
1bc92709
WN
19462 * malloc/tst-pvalloc.c: Add comments.
19463 (do_test): Add comments and call free on all potentially
19464 allocated pointers. Remove duplicate check for NULL pointer.
19465 Add space after cast.
19466
66a9be9d
WN
19467 * malloc/tst-valloc.c: Add comments.
19468 (do_test): Add comments and call free on all potentially
19469 allocated pointers. Remove duplicate check for NULL pointer.
19470 Add space after cast.
19471
4cb81307
AM
194722013-10-04 Alan Modra <amodra@gmail.com>
19473
19474 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19475 Use stdint types in rather than __attribute__((mode())).
19476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19477
f8e3e9f3
AM
194782013-10-04 Alan Modra <amodra@gmail.com>
19479
19480 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19481 Correct handling of unaligned relocs for little-endian.
19482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19483
8f9ebb08
AM
194842013-10-04 Alan Modra <amodra@gmail.com>
19485
19486 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19487 * configure: Regenerate.
19488 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19489 * shlib-versions: Likewise.
19490
0edf96c2
AM
194912013-10-04 Alan Modra <amodra@gmail.com>
19492
19493 * string/tester.c (test_memrchr): Increment reported test cycle.
19494
e0f7a380
AM
194952013-10-04 Alan Modra <amodra@gmail.com>
19496
19497 * string/test-memcpy.c (do_one_test): When reporting errors, print
19498 string address and don't overrun end of string.
19499
466b0393
AM
195002013-10-04 Alan Modra <amodra@gmail.com>
19501
19502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19503 insrdi. Make better use of reg selection to speed exit slightly.
19504 Schedule entry path a little better. Remove useless "are we done"
19505 checks on entry to main loop. Handle wrapping around zero address.
19506 Correct main loop count. Handle single left-over word from main
19507 loop inline rather than by using loop_small. Remove extra word
19508 case in loop_small caused by wrong loop count. Add little-endian
19509 support.
19510 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19512 cache hint.
19513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19514 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19515 support. Avoid rlwimi.
19516 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19517
3be87c77
AM
195182013-10-04 Alan Modra <amodra@gmail.com>
19519
19520 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19521 insrdi. Formatting.
3be87c77
AM
19522 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19523 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19525 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19526 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19527 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19528
759cfef3
AM
195292013-10-04 Alan Modra <amodra@gmail.com>
19530
19531 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19533 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19534 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19535 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19539 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19540 use of regs. Use power7 mtocrf. Tidy function tails.
19541
fe6e95d7
AM
195422013-10-04 Alan Modra <amodra@gmail.com>
19543
19544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19545 Formatting. Consistently use rXXX register defines or rN defines.
19546 Use early exit labels that avoid restoring unused non-volatile regs.
19547 Make cr field use more consistent with rWORDn compares. Rename
19548 regs used as shift registers for unaligned loop, using rN defines
19549 for short lifetime/multiple use regs.
19550 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19552 addi 1,1,64 to pop stack frame. Simplify return value code.
19553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19554
664318c3
AM
195552013-10-04 Alan Modra <amodra@gmail.com>
19556
19557 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19558 support. Correct typos, formatting. Optimize tail. Use insrdi
19559 rather than rlwimi.
19560 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19561 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19562 little-endian support. Correct typos.
19563 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19564 rather than rlwimi.
19565 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19566 in loop and entry code to keep "and." results.
19567 (strchr): Add little-endian support. Comment. Move cntlzd
19568 earlier in tail.
19569 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19570
43b84013
AM
195712013-10-04 Alan Modra <amodra@gmail.com>
19572
19573 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19574 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19575 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19576 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19577
8a7413f9
AM
195782013-10-04 Alan Modra <amodra@gmail.com>
19579
19580 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19581 (rTMP): Define as r11.
19582 (strcmp): Add little-endian support. Optimise tail.
19583 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19584 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19585 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19586 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19590
33ee81de
AM
195912013-10-04 Alan Modra <amodra@gmail.com>
19592
19593 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19594 little-endian support. Remove unnecessary "are we done" tests.
19595 Handle "s" wrapping around zero and extremely large "size".
19596 Correct main loop count. Handle single left-over word from main
19597 loop inline rather than by using small_loop. Correct comments.
19598 Delete "zero" tail, use "end_max" instead.
19599 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19600
db9b4570
AM
196012013-10-04 Alan Modra <amodra@gmail.com>
19602
19603 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19604 support. Don't branch over align.
19605 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19607 support. Rearrange tmp reg use to suit. Comment.
19608 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19609
f7c399cf
AM
196102013-10-04 Alan Modra <amodra@gmail.com>
19611
19612 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19613
0b2c2ace
AM
196142013-10-04 Alan Modra <amodra@gmail.com>
19615
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19617 conditional form of branch and link when obtaining pc.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19619
02f04a6c
AM
196202013-10-04 Alan Modra <amodra@gmail.com>
19621
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19623 HIWORD/LOWORD.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19626
9b874b2f
AM
196272013-10-04 Alan Modra <amodra@gmail.com>
19628
19629 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19630 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19631 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19632 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19633 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19634 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19635 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19636 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19637 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19638 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19639
be1e5d31
AB
196402013-10-04 Anton Blanchard <anton@au1.ibm.com>
19641 Alistair Popple <alistair@ozlabs.au.ibm.com>
19642 Alan Modra <amodra@gmail.com>
19643
19644 [BZ #15723]
19645 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19646 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19647 _dl_hwcap access for little-endian.
19648 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19649 destroy vmx regs when saving unaligned.
19650 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19652 destroy vmx regs when saving unaligned.
19653
fef13a78
AM
196542013-10-04 Alan Modra <amodra@gmail.com>
19655
19656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19657 Don't use a union to pack hi/low value.
19658
76a66d51
AB
196592013-10-04 Anton Blanchard <anton@au1.ibm.com>
19660
19661 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19662 for little-endian.
19663 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19664 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19666 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19667 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19668
6a31fe7f
AM
196692013-10-04 Alan Modra <amodra@gmail.com>
19670
19671 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19672 constants to usual value for .cst8 section, and remove redundant
19673 high address load.
19674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19675 constant for 0x1p52. Load little-endian words of double from
19676 correct stack offsets.
19677
7b88401f
AM
196782013-10-04 Alan Modra <amodra@gmail.com>
19679
19680 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19681 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19682 words of double from correct stack offsets.
19683 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19684 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19685 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19686 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19689 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19690 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19691 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19695 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19696 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19697 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19699 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19700
9c008155
AM
197012013-10-04 Alan Modra <amodra@gmail.com>
19702
19703 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19704 64-bit int/double union.
19705 (_FPU_SETCW): Likewise.
19706 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19707 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19708
da13146d
AM
197092013-10-04 Alan Modra <amodra@gmail.com>
19710
19711 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19712 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19713
603e8410
AM
197142013-10-04 Alan Modra <amodra@gmail.com>
19715
19716 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19717 use vector int constants.
19718 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19719
4a28b3ca
AB
197202013-10-04 Anton Blanchard <anton@au1.ibm.com>
19721
19722 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19723 array with long long.
19724 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19725 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19726 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19727 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19728 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19729 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19730 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19731 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19732 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19733 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19734 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19735 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19736 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19737
2ca85d2b
AB
197382013-10-04 Anton Blanchard <anton@au1.ibm.com>
19739
19740 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19741 (__signbit): Likewise. Correct for little-endian.
19742 (__signbitl): Call __signbit.
19743 (lrint): Correct for little-endian.
19744 (lrintf): Call lrint.
19745
62a728ae
AM
197462013-10-04 Alan Modra <amodra@gmail.com>
19747
19748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19749 union 32-bit int array member with 64-bit int array.
19750 (t515, tm256): Double rather than long double.
19751 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19752
32c301df
AM
197532013-10-04 Alan Modra <amodra@gmail.com>
19754
19755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19756 Delete.
19757 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19759 version of math_ldbl.h.
19760
650ef4bd
AM
197612013-10-04 Alan Modra <amodra@gmail.com>
19762
19763 [BZ #15734], [BZ #15735]
19764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19765 all uses of ieee875 long double macros and unions. Simplify test
19766 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19767 ldbl_extract_mantissa value for ix,iy exponents. Properly
19768 normalize after ldbl_extract_mantissa, and don't add hidden bit
19769 already handled. Don't treat low word of ieee854 mantissa like
19770 low word of IBM long double and mask off bit when testing for
19771 zero.
19772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19773 all uses of ieee875 long double macros and unions. Simplify tests
19774 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19775 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19776 two1022, instead use their values. Recognise that tests for large
19777 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19778 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19779 Rewrite all uses of ieee875 long double macros and unions. Simplify
19780 test for 0.0L and nan. Correct negation.
19781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19782 ieee875 long double macros and unions. Correct output for large
19783 magnitude x. Correct absolute value calculation.
19784 (__erfcl): Likewise.
19785 * math/libm-test.inc: Add tests for errors discovered in IBM long
19786 double versions of fmodl, remainderl, erfl and erfcl.
19787
765714ca
AM
197882013-10-04 Alan Modra <amodra@gmail.com>
19789
19790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19791 all uses of ieee854 long double macros and unions. Simplify tests
19792 for long doubles that are fully specified by the high double.
19793 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19794 Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19796 Remove dead code too.
19797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19798 (__ieee754_ynl): Likewise.
19799 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19802 Remove dead code too.
19803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19807 Simplify.
19808 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19809 Simplify.
19810 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19813 Comment on variable precision.
19814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19816 Likewise.
19817 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19819 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19820 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19821 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19822
4ebd120c
AM
198232013-10-04 Alan Modra <amodra@gmail.com>
19824
19825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19827 all uses of ieee854 long double macros and unions.
19828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19832 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19834 Likewise.
19835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19840 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19841 Simplify sign and nan test too.
19842 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19843 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19844 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19845 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19846 Likewise.
19847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19848 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19849 Likewise.
19850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19851 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19852 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19856
1b6adf88
AM
198572013-10-04 Alan Modra <amodra@gmail.com>
19858
19859 * stdio-common/printf_size.c (__printf_size): Don't use
19860 union ieee854_long_double in fpnum union.
19861 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19862 signbit macro to retrieve sign from long double.
19863 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19864 retrieve sign from long double.
19865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19866 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19867 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19868 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19869 * math/test-misc.c (main): Don't use union ieee854_long_double.
19870
4cf69995
AM
198712013-10-04 Alan Modra <amodra@gmail.com>
19872
19873 [BZ #15680]
19874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19875 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19876 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19877 calculation. Remove unnecessary test for denormal exponent.
19878 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19879 Correct handling of denormals. Avoid undefined shift behaviour.
19880 Correct normalisation of low mantissa when low double is denormal.
19881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19882 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19883 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19884 Correct normalisation of low mantissa. Test for overflow of high
19885 mantissa and normalise.
19886 (ldbl_nearbyint): Use more readable constant for two52.
19887 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19888 (__mpn_construct_long_double): Fix test for overflow of high
19889 mantissa and correct normalisation. Avoid undefined shift.
19890
9605ca6c
AM
198912013-10-04 Alan Modra <amodra@gmail.com>
19892
19893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19894 (union ibm_extended_long_double): Define as an array of ieee754_double.
19895 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19897 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19906
975569d0
JM
199072013-10-03 Joseph Myers <joseph@codesourcery.com>
19908
d3d23756
JM
19909 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19910 page size instead of calling getpagesize.
19911
975569d0
JM
19912 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19913 (LOCFILE_ALIGN_MASK): Likewise.
19914 (LOCFILE_ALIGN_UP): Likewise.
19915 (LOCFILE_ALIGNED_P): Likewise.
19916 * locale/programs/ld-collate.c (collate_output): Use the new
19917 macros instead of __alignof__ (int32_t).
19918 * locale/weight.h (findidx): Likewise.
19919
b1fe1f2b
OB
199202013-10-03 Ondřej Bílka <neleai@seznam.cz>
19921
19922 [BZ #431]
19923 * manual/string.texi: Fix strncat and wcsncat.
19924
5f855e35
BM
199252013-10-03 Brooks Moses <bmoses@google.com>
19926
19927 [BZ #15915]
19928 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19929 * Makerules: ...here, and adjust associated comments.
19930
3cef6009
WN
199312013-10-02 Will Newton <will.newton@linaro.org>
19932
19933 * malloc/Makefile: Add tst-pvalloc.
19934 * malloc/tst-pvalloc.c: New file.
19935
7815420b
WN
199362013-10-02 Will Newton <will.newton@linaro.org>
19937
19938 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19939 improve test coverage.
19940
4868b204
WN
199412013-10-02 Will Newton <will.newton@linaro.org>
19942
19943 * malloc/Makefile: Add tst-posix_memalign.
19944 * malloc/tst-posix_memalign.c: New file.
19945
29c793b3
EB
199462013-10-01 Eric Blake <eblake@redhat.com>
19947
19948 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19949 Use __THROWNL rather than __THROW on static functions.
19950
fd967522
PM
199512013-09-30 Petr Machata <pmachata@redhat.com>
19952
19953 * elf/elf.h (R_AARCH64_ABS16): New macro.
19954 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19955 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19956 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19957 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19958 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19959 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19960 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19961 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19962 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19963 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19964 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19965 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19966 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19967 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19968 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19969 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19970 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19971 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19972 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19973 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19974 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19975 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19976 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19977 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19978 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19979 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19980 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19981 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19982 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19983 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19984 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19985 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19986 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19987 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19988 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19989 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19990 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19991 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19992 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19993 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19994 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19995 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19996 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19997 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19998 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19999 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20000 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20001 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20002 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20003 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20004 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20005 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20006 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20007 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20008 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20009 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20010 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20011 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20012 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20013 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20014 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20015 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20016 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20017 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20018 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20019 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20020 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20021 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20022 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20023 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20024 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20025 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20026 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20027 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20028 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20029 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20030 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20031 (R_AARCH64_TLSDESC_LDR): Likewise.
20032 (R_AARCH64_TLSDESC_ADD): Likewise.
20033 (R_AARCH64_TLSDESC_CALL): Likewise.
20034
b2179107
AS
200352013-09-30 Andreas Schwab <schwab@suse.de>
20036
20037 [BZ #15048]
20038 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20039 the nss database lookup.
20040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20042
47f28d0a
MF
200432013-09-28 Mike Frysinger <vapier@gentoo.org>
20044
20045 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20046
200472013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20048
20049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20050 ${Bash-specific parameter/pattern/string} parameter expansion.
20051 * sysdeps/unix/make-syscalls.sh: Likewise.
20052
f4518a17
KK
200532013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20054
20055 * sysdeps/sh/stackguard-macros.h: New file.
20056
dc1a95c7
OB
200572013-09-26 Ondřej Bílka <neleai@seznam.cz>
20058
20059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20061 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20062 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20064 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20065
5ebbff8f
AZ
200662013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20067
20068 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20069 Fix thread ID register.
20070
4fd2cf9f
JM
200712013-09-25 Joseph Myers <joseph@codesourcery.com>
20072
20073 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20074 [POSIX || UNIX98]: Require rather than permitting all symbols from
20075 <time.h>.
20076 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20077 element of struct sched_param.
20078 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20079 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20080 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20081 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20082 constant.
20083
12c22bc4
OL
200842013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20085
20086 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20087 argument calculation.
20088
a03d8ea7
JM
200892013-09-24 Joseph Myers <joseph@codesourcery.com>
20090
20091 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20092 Expect macro.
20093 [POSIX] (pthread_attr_t): Do not require type.
20094 [POSIX] (pthread_cond_t): Likewise.
20095 [POSIX] (pthread_condattr_t): Likewise.
20096 [POSIX] (pthread_key_t): Likewise.
20097 [POSIX] (pthread_mutex_t): Likewise.
20098 [POSIX] (pthread_mutexattr_t): Likewise.
20099 [POSIX] (pthread_once_t): Likewise.
20100 [POSIX] (pthread_t): Likewise.
20101 [POSIX-based standards] (pthread_atfork): Expect function.
20102
6055173a
JM
201032013-09-24 Joseph Myers <joseph@codesourcery.com>
20104 Richard Sandiford <richard@codesourcery.com>
20105
20106 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20107 (swap_endianness_p): New extern variable.
20108 (set_big_endian): New inline function.
20109 (maybe_swap_uint32): Likewise.
20110 (maybe_swap_uint32_array): Likewise.
20111 (maybe_swap_uint32_obstack): Likewise.
20112 * locale/programs/locfile.c: Include <stdbool.h>.
20113 (swap_endianness_p): New variable.
20114 (add_locale_uint32): Call maybe_swap_uint32.
20115 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20116 (write_locale_data): Call maybe_swap_uint32_array.
20117 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20118 maybe_swap_uint32.
20119 (obstack_int32_grow_fast): Likewise.
20120 (output_weightwc): Call maybe_swap_uint32_obstack.
20121 (collate_output): Likewise.
20122 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20123 (OPT_LITTLE_ENDIAN): Likewise.
20124 (options): Add --little-endian and --big-endian options.
20125 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20126 * locale/programs/locarchive.c: Include "locfile.h".
20127 (GET): New macro.
20128 (SET): Likewise.
20129 (INC): Likewise.
20130 (create_archive): Use the new macros to access fields of
20131 structures directly mapped from or written to locale archives.
20132 (oldlocrecentcmp): Likewise.
20133 (enlarge_archive): Likewise.
20134 (insert_name): Likewise.
20135 (add_alias): Likewise.
20136 (add_locale): Likewise.
20137 (delete_locales_from_archive): Likewise.
20138 (show_archive_content): Likewise.
20139 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20140 locale data.
20141
39bf0bb4
RM
201422013-09-24 Roland McGrath <roland@hack.frob.com>
20143
20144 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20145 http://www.gnu.org/doc/freemanuals.texi.
20146 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20147
f02eed10
WN
201482013-09-24 Will Newton <will.newton@linaro.org>
20149
20150 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20151 macro.
20152
a3a6c312
JM
201532013-09-23 Joseph Myers <joseph@codesourcery.com>
20154
20155 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20156 unsigned char.
20157
107375ac
MR
201582013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20159
20160 * manual/threads.texi (POSIX Threads): Fix a typo.
20161
141f3a77
SP
201622013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20163
303e567a
SP
20164 [BZ #14547]
20165 * string/tst-strcoll-overflow.c: New test case.
20166 * string/Makefile (xtests): Add tst-strcoll-overflow.
20167 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20168 cache if string sizes may cause integer overflow.
20169
141f3a77
SP
20170 [BZ #14547]
20171 * string/strcoll_l.c (coll_seq): New members rule, idx,
20172 save_idx and back_us.
20173 (get_next_seq_nocache): New function.
20174 (do_compare_nocache): New function.
20175 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20176 when malloc fails.
20177
c61b4d41
CD
201782013-09-23 Carlos O'Donell <carlos@redhat.com>
20179
0b1f8e35
CD
20180 [BZ #15754]
20181 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20182 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20183 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20184
c61b4d41
CD
20185 [BZ #15754]
20186 * elf/Makefile (tests): Add tst-ptrguard1.
20187 (tests-static): Add tst-ptrguard1-static.
20188 (tst-ptrguard1-ARGS): Define.
20189 (tst-ptrguard1-static-ARGS): Define.
20190 * elf/tst-ptrguard1.c: New file.
20191 * elf/tst-ptrguard1-static.c: New file.
20192 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20193 * sysdeps/i386/stackguard-macros.h: Likewise.
20194 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20195 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20196 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20197 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20198 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20199 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20200
202012013-09-23 Hector Marco <hecmargi@upv.es>
20202 Ismael Ripoll <iripoll@disca.upv.es>
20203 Carlos O'Donell <carlos@redhat.com>
20204
20205 [BZ #15754]
20206 * sysdeps/generic/stackguard-macros.h: Define
20207 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20208 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20209 Define __pointer_chk_guard_local.
20210 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20211 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20212
f5f4e7b4
VV
202132013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20214
20215 [BZ #15859]
20216 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20217
5bb43a43
AS
202182013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20219
20220 * include/string.h (__ffs): Declare as hidden.
20221 * string/ffs.c (__ffs): Define as hidden.
20222 * sysdeps/i386/ffs.c (__ffs): Likewise.
20223 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20224 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20225 * sysdeps/s390/ffs.c (__ffs): Likewise.
20226 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20227
3ea5be54
AO
202282013-09-20 Alexandre Oliva <aoliva@redhat.com>
20229
ffb89e53
AO
20230 * NEWS: Mention malloc probes.
20231
322dea08
AO
20232 * malloc/arena.c (new_heap): New memory_heap_new probe.
20233 (grow_heap): New memory_heap_more probe.
20234 (shrink_heap): New memory_heap_less probe.
20235 (heap_trim): New memory_heap_free probe.
20236 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20237 (systrim): New memory_sbrk_less probe.
20238 * manual/probes.texi: Document them.
20239
655673f3
AO
20240 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20241 * manual/probes.texi: Document it.
20242
35fed6f1
AO
20243 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20244 (__libc_realloc): Add memory_realloc_retry probe.
20245 (__libc_memalign): Add memory_memalign_retry probe.
20246 (__libc_valloc): Add memory_valloc_retry probe.
20247 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20248 (__libc_calloc): Add memory_calloc_retry probe.
20249 * manual/probes.texi: Document them.
20250
6999d38c
AO
20251 * malloc/arena.c (get_free_list): Add probe
20252 memory_arena_reuse_free_list.
20253 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20254 and memory_arena_reuse.
20255 (arena_get2) [!PER_THREAD]: Likewise.
20256 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20257 memory_arena_reuse_realloc.
20258 * manual/probes.texi: Document them.
20259
0653427f
AO
20260 * malloc/malloc.c (__libc_free): Add
20261 memory_mallopt_free_dyn_thresholds probe.
20262 (__libc_mallopt): Add multiple memory_mallopt probes.
20263 * manual/probes.texi: Document them.
20264
3ea5be54
AO
20265 * malloc/malloc.c: Include stap-probe.h.
20266 (__libc_mallopt): Add memory_mallopt probe.
20267 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20268 * manual/probes.texi: New.
20269 * manual/Makefile (chapters): Add probes.
20270 * manual/threads.texi: Set next node.
20271
e35696c3 202722013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20273
e35696c3
CL
20274 [BZ #15963, #13985]
20275 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20276 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20277 Add `Chinese' to `nan' entry name.
20278
4aafb73c
SP
202792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20280
20281 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20282 (POLYNOMIAL): Likewise.
20283 (TAYLOR_SINCOS): Likewise.
20284 (TAYLOR_SLOW): Likewise.
20285 (__sin): Use TAYLOR_SINCOS.
20286 (__cos): Likewise.
20287 (slow): Use TAYLOR_SLOW.
20288 (sloww): Likewise.
20289 (bsloww): Likewise.
20290 (csloww): Likewise.
20291
d84f25c7
LD
202922013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20293
20294 * stdlib/strtod_l.c: Fix buffer overrun.
20295
5eea0404
SP
202962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20297
7849ff93
SP
20298 * benchtests/Makefile (bench): Add sincos.
20299 * benchtests/bench-sincos.c: New file.
20300
cfa3c886
SP
20301 * math/libm-test.inc (cos_test_data): New test inputs.
20302 (sin_test_data): Likewise.
20303
b348e1e3
SP
20304 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20305 macro.
20306 (__sin): Use it.
20307 (__cos): Likewise.
20308 (slow1): Likewise.
20309 (slow2): Likewise.
20310 (sloww1): Likewise.
20311 (sloww2): Likewise.
20312 (bsloww1): Likewise.
20313 (bsloww2): Likewise.
20314 (cslow2): Likewise.
20315 (csloww1): Likewise.
20316 (csloww2): Likewise.
20317
6cce25f8
SP
20318 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20319 function.
20320 (__sin): Use it.
20321 (__cos): Likewise.
20322
5eea0404
SP
20323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20324 gotos.
20325 (__cos): Likewise.
20326
9c21573c
MR
203272013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20328
20329 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20330 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20331 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20332 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20333 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20334 * elf/cache.c (print_entry): Handle the new cache flags.
20335
24d22e65
JM
203362013-09-18 Joseph Myers <joseph@codesourcery.com>
20337 Aldy Hernandez <aldyh@redhat.com>
20338
20339 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20340 Change condition to [_SOFT_FLOAT].
20341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20353 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20356 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20357 declaration.
20358
d13ef066
JM
203592013-09-18 Joseph Myers <joseph@codesourcery.com>
20360
2e071de0
JM
20361 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20362 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20363 (__longjmp): Use LOAD_GP to load saved GPRs.
20364 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20365 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20366 (__sigsetjmp): Use SAVE_GP to save GPRs.
20367
d13ef066
JM
20368 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20369 Do not append -msoft-float.
20370 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20371
97a0650b
SP
203722013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20373
20374 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20375
11ca09e9
JM
203762013-09-17 Joseph Myers <joseph@codesourcery.com>
20377
20378 [BZ #15966]
20379 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20380 (_FPU_GETCW): Use initial "__" on variable and field names but not
20381 on macro parameter name.
20382 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20383 parentheses around reference to macro parameter.
20384
08ffcf34
RS
203852013-09-13 Richard Sandiford <richard@codesourcery.com>
20386
20387 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20388 prototype.
20389 (ctype_startup): Use uint32_t in cast and sizeof for
20390 ctype->charnames.
20391
ae7080d3
JL
203922013-09-11 Jia Liu <proljc@gmail.com>
20393
20394 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20395 __daddr_t_defined.
20396 [__FreeBSD__]: Likewise.
20397
5905e7b3
OB
203982013-09-11 Ondřej Bílka <neleai@seznam.cz>
20399
20400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20401 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20402 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20403 (strchr): Remove __strchr_sse42 ifunc selection.
20404 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20405 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20406
b987c776
WN
204072013-09-11 Will Newton <will.newton@linaro.org>
20408
20409 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20410 parameter to RES. Remove hardcoded 1000 value.
20411 * benchtests/bench-skeleton.c (main): Pass RES parameter
20412 to TIMING_INIT and multiply result by 1000.
20413
ddf985af
AZ
204142013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20415
20416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20417
ffdd3181
AS
204182013-09-11 Andreas Schwab <schwab@suse.de>
20419
20420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20421 if not defined.
20422 (O_TMPFILE) [__USE_GNU]: Define.
20423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20424 Define.
20425
b73ed247
WN
204262013-09-11 Will Newton <will.newton@linaro.org>
20427
20428 [BZ #15857]
20429 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20430 does not overflow.
20431
55e17aad
WN
204322013-09-11 Will Newton <will.newton@linaro.org>
20433
20434 [BZ #15856]
20435 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20436 does not overflow.
20437
1159a193
WN
204382013-09-11 Will Newton <will.newton@linaro.org>
20439
20440 [BZ #15855]
20441 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20442 does not overflow.
20443
5905e7b3 204442013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20445
20446 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20447 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20451
cdfc721b
AM
204522013-09-10 Allan McRae <allan@archlinux.org>
20453
aa04af00
AM
20454 [BZ #15748]
20455 * manual/arith.texi (Parsing of Floats): Clarify
20456 cross-reference.
20457
cdfc721b
AM
20458 [BZ #15849]
20459 * manual/install.texi (Running make install): Mention
20460 --enable-pt-chown.
20461 * INSTALL: Regenerated.
20462
95e7cf29
MR
204632013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20464
20465 * csu/init-first.c (_init): Remove the !SHARED condition around
20466 FPU control word initialization.
20467 * elf/dl-support.c (_dl_fpu_control): New variable.
20468 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20469 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20470 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20471 * math/test-fpucw-static.c: New file.
20472 * math/test-fpucw-ieee.c: New file.
20473 * math/test-fpucw-ieee-static.c: New file.
20474 * math/Makefile (tests): Add `test-fpucw-ieee' and
20475 `$(tests-static)'.
20476 (tests-static): New variable.
20477 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20478 dependency to...
20479 [($(build-shared),yes)]
20480 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20481 ... this.
20482 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20483 New dependency.
20484
83e43bf0
AM
204852013-09-09 Allan McRae <allan@archlinux.org>
20486
a9f5ce09
AM
20487 [BZ #15939]
20488 * manual/string.texi (Collation Functions): Fix typo in
20489 strcoll example.
20490 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20491
34829bc2
AM
20492 [BZ #15893]
20493 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20494
3932737d
AM
20495 [BZ #15892]
20496 * libio/memstream.c (open_memstream): Fix memory leak.
20497 * libio/wmemstream.c (open_wmemstream): Likewise.
20498
83e43bf0
AM
20499 [BZ #15895]
20500 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20501
0c66b8e9
WN
205022013-09-09 Will Newton <will.newton@linaro.org>
20503
20504 * malloc/Makefile: Add tst-realloc to tests.
20505 * malloc/tst-realloc.c: New file.
20506
f6b00fd1
AM
205072013-09-09 Allan McRae <allan@archlinux.org>
20508
20509 [BZ #15844]
20510 * COPYING: Update from GNU website to fix FSF address.
20511 * COPYING.LIB: Likewise.
20512
eec55e16
DM
205132013-09-06 David S. Miller <davem@davemloft.net>
20514
20515 * po/zh_TW.po: Update Chinese (traditional) translation from
20516 translation project.
20517
1ecbb381
RS
205182013-09-06 Richard Sandiford <richard@codesourcery.com>
20519 Joseph Myers <joseph@codesourcery.com>
20520
20521 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20522 "localeinfo.h".
20523 (obstack_chunk_alloc): New macro.
20524 (obstack_chunk_free): Likewise.
20525 (record_offset): New function.
20526 (init_locale_data): Likewise.
20527 (align_locale_data): Likewise.
20528 (add_locale_empty): Likewise.
20529 (add_locale_raw_data): Likewise.
20530 (add_locale_raw_obstack): Likewise.
20531 (add_locale_string): Likewise.
20532 (add_locale_wstring): Likewise.
20533 (add_locale_uint32): Likewise.
20534 (add_locale_uint32_array): Likewise.
20535 (add_locale_char): Likewise.
20536 (start_locale_structure): Likewise.
20537 (end_locale_structure): Likewise.
20538 (start_locale_prelude): Likewise.
20539 (end_locale_prelude): Likewise.
20540 (write_locale_data): Take locale_file structure rather than an
20541 iovec.
20542 * locale/programs/locfile.h: Include "obstack.h".
20543 (struct locale_file): Change to store locale file contents instead
20544 of header.
20545 (init_locale_data): New prototype.
20546 (align_locale_data): Likewise.
20547 (add_locale_empty): Likewise.
20548 (add_locale_raw_data): Likewise.
20549 (add_locale_raw_obstack): Likewise.
20550 (add_locale_string): Likewise.
20551 (add_locale_wstring): Likewise.
20552 (add_locale_uint32): Likewise.
20553 (add_locale_uint32_array): Likewise.
20554 (add_locale_char): Likewise.
20555 (start_locale_structure): Likewise.
20556 (end_locale_structure): Likewise.
20557 (start_locale_prelude): Likewise.
20558 (end_locale_prelude): Likewise.
20559 (write_locale_data): Update prototype.
20560 * locale/programs/3level.h (struct TABLE): Remove result field.
20561 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20562 Use new locale_file interface.
20563 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20564 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20565 * locale/programs/ld-address.c (address_output): Use new
20566 locale_file interface.
20567 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20568 NO_ADD_LOCALE.
20569 (collate_finish): Don't call collseq_table_finalize.
20570 (collate_output): Use new locale_file interface.
20571 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20572 in file.
20573 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20574 (TABLE): Move defines earlier in file.
20575 (ELEMENT): Likewise.
20576 (DEFAULT): Likewise.
20577 (wctrans_table_add): Move macro and inline function earlier in
20578 file.
20579 (struct wctype_table): Move type earlier in file.
20580 (add_locale_wctype_table): New static prototype.
20581 (struct locale_ctype_t): Use logical types instead of struct iovec
20582 pointers for members.
20583 (ctype_output): Use new locale_file interface.
20584 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20585 new locale_file interface.
20586 (allocate_arrays): Update for use of new locale_file interface.
20587 * locale/programs/ld-identification.c (identification_output): Use
20588 new locale_file interface.
20589 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20590 * locale/programs/ld-messages.c (messages_output): Likewise.
20591 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20592 * locale/programs/ld-name.c (name_output): Likewise.
20593 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20594 * locale/programs/ld-paper.c (paper_output): Likewise.
20595 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20596 * locale/programs/ld-time.c (time_output): Likewise.
20597
e029e2e5
AZ
205982013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20599
20600 * benchtests/Makefile: Add memrchr benchmark.
20601 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20602 benchmark as memrchr.
20603 * benchtests/bench-memrchr-ifunc.c: New file.
20604 * benchtests/bench-memrchr.c: New file.
20605
bbf6e8e4
WN
206062013-09-06 Will Newton <will.newton@linaro.org>
20607
20608 * benchtests/Makefile (string-bench): Add memcpy.
20609
6c82a2f8
CD
206102013-09-05 Carlos O'Donell <carlos@redhat.com>
20611 Cong Wang <amwang@redhat.com>
20612
e732c5f0 20613 [BZ #15850]
6c82a2f8
CD
20614 * sysdeps/unix/sysv/linux/bits/in.h
20615 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20616 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20617 before __USE_KERNEL_IPV6_DEFS uses.
20618 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20619 IPPROTO_BEETPH.
20620 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20621 sockaddr_in6, or ipv6_mreq.
20622
5430fc65
AZ
206232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20624
20625 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20626 memory access for final bytes in some large inputs.
20627 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20628
4660856c
AZ
206292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20630
20631 * string/test-memrchr.c: New file.
20632 * string/test-memrchr-ifunc.c: New file.
20633 * string/Makefile: Add new memrchr testcase.
20634
bb8ea713
MF
206352013-09-05 Mike Frysinger <vapier@gentoo.org>
20636
20637 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20638 fanotify_init returns EPERM.
20639
b92a20b5
JM
206402013-09-04 Joseph Myers <joseph@codesourcery.com>
20641
20642 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20643 errors.
20644 (top level): Treat second token from macro or constant entries for
20645 allowed headers as allowed.
20646 * include/complex.h: Condition internal declarations on
20647 [!_ISOMAC].
20648 * include/fenv.h: Condition include of <stdbool.h> and internal
20649 declarations on [!_ISOMAC].
7447ccd9
CL
20650
206512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20652
3e181dda 20653 [BZ #15923]
7447ccd9
CL
20654 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20655
3f2e46a4
JM
206562013-09-04 Joseph Myers <joseph@codesourcery.com>
20657
20658 * configure.in (--enable-versioning): Remove configure option.
20659 (libc_cv_asm_symver_directive): Remove configure test.
20660 (libc_cv_ld_version_script_option): Likewise.
20661 (VERSIONING): Remove variable and AC_SUBST.
20662 (DO_VERSIONING): Remove AC_DEFINE.
20663 * configure: Regenerated.
20664 * config.h.in (DO_VERSIONING): Remove macro.
20665 * Makerules [$(versioning) = yes]: Change conditionals to
20666 [$(build-shared) = yes].
20667 * config.make.in (versioning): Remove variable.
20668 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20669 [$(build-shared) = yes].
20670 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20671 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20672 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20673 [$(build-shared) = yes].
20674 * extra-lib.mk [$(versioning) = yes]: Likewise.
20675 * hurd/Makefile [$(versioning) = yes]: Likewise.
20676 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20677 [SHARED].
20678 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20679 [SHARED].
20680 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20681 [SHARED && !NO_HIDDEN].
20682 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20683 [SHARED].
20684 [SHARED && DO_VERSIONING]: Likewise..
20685 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20686 [$(build-shared) = yes].
20687 * manual/install.texi (--disable-versioning): Remove
20688 documentation.
20689 * INSTALL: Regenerated.
20690 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20691 to [SHARED].
20692 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20693 [$(build-shared) = yes].
20694 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20695 * sysdeps/i386/i686/multiarch/strstr-c.c
20696 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20697 [SHARED && !NO_HIDDEN].
20698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20699 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20700 * sysdeps/powerpc/powerpc32/dl-machine.c
20701 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20702 * sysdeps/powerpc/powerpc32/sysdep.h
20703 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20704 to [SHARED && PIC && !NO_HIDDEN].
20705 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20706 conditional to [SHARED].
20707
44558701
WN
207082013-09-04 Will Newton <will.newton@linaro.org>
20709
20710 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20711 * benchtests/bench-string.h: Include bench-timing.h instead
20712 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20713 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20714 call to HP_TIMING_DIFF_INIT.
20715 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20716 instead of hp-timing.h macros.
20717 * benchtests/bench-memchr.c: Likewise.
20718 * benchtests/bench-memcmp.c: Likewise.
20719 * benchtests/bench-memcpy.c: Likewise.
20720 * benchtests/bench-memmem.c: Likewise.
20721 * benchtests/bench-memmove.c: Likewise.
20722 * benchtests/bench-memset.c: Likewise.
20723 * benchtests/bench-rawmemchr.c: Likewise.
20724 * benchtests/bench-strcasecmp.c: Likewise.
20725 * benchtests/bench-strcasestr.c: Likewise.
20726 * benchtests/bench-strcat.c: Likewise.
20727 * benchtests/bench-strchr.c: Likewise.
20728 * benchtests/bench-strcmp.c: Likewise.
20729 * benchtests/bench-strcpy.c: Likewise.
20730 * benchtests/bench-strcpy_chk.c: Likewise.
20731 * benchtests/bench-strlen.c: Likewise.
20732 * benchtests/bench-strncasecmp.c: Likewise.
20733 * benchtests/bench-strncat.c: Likewise.
20734 * benchtests/bench-strncmp.c: Likewise.
20735 * benchtests/bench-strncpy.c: Likewise.
20736 * benchtests/bench-strnlen.c: Likewise.
20737 * benchtests/bench-strpbrk.c: Likewise.
20738 * benchtests/bench-strrchr.c: Likewise.
20739 * benchtests/bench-strspn.c: Likewise.
20740 * benchtests/bench-strstr.c: Likewise.
20741
cae16d66
WN
207422013-09-04 Will Newton <will.newton@linaro.org>
20743
20744 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20745
ffa3cd7f
JM
207462013-09-03 Joseph Myers <joseph@codesourcery.com>
20747
20748 [BZ #15427]
20749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20750 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20751 * math/libm-test.inc (lgamma_test_data): Add more tests.
20752 * sysdeps/i386/fpu/libm-test-ulps: Update.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20754
8f02859f
OB
207552013-09-03 Ondřej Bílka <neleai@seznam.cz>
20756
20757 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20759 Add ifunc.
20760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20761 Add strcmp-sse2-unaligned
20762 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20763
18d43716
MF
207642013-09-02 Mike Frysinger <vapier@gentoo.org>
20765
20766 * Versions.def (libc): Add GLIBC_2.19.
20767
ac444012
MF
207682013-09-02 Mike Frysinger <vapier@gentoo.org>
20769
20770 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20771 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20772
b7835e32
JM
207732013-09-02 Joseph Myers <joseph@codesourcery.com>
20774
20775 [BZ #14155]
20776 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20777 intermediate calculations in recurrence.
20778 (__ieee754_ynf): Likewise.
20779 * math/libm-test.inc (jn_test_data): Do not allow spurious
20780 underflow exception. Add more tests.
20781 (yn_test_data): Add more tests.
20782 * sysdeps/i386/fpu/libm-test-ulps: Update.
20783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20784
8220f4f0
OB
207852013-09-02 Ondřej Bílka <neleai@seznam.cz>
20786
20787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20788
f24a6d08
OB
207892013-08-30 Ondřej Bílka <neleai@seznam.cz>
20790
20791 * csu/init-first.c: Fix then/than typos.
20792 * locale/programs/ld-collate.c: Likewise.
20793 * locale/programs/linereader.h: Likewise.
20794 * manual/charset.texi: Likewise.
20795 * manual/filesys.texi: Likewise.
20796 * manual/stdio.texi: Likewise.
20797 * manual/string.texi: Likewise.
20798 * stdlib/fmtmsg.c: Likewise.
20799 * sysdeps/i386/stpncpy.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20803 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20804
382466e0
OB
208052013-08-30 Ondřej Bílka <neleai@seznam.cz>
20806
20807 * elf/dl-open.c: Fix typos.
20808 * iconvdata/gbbig5.c: Likewise.
20809 * iconvdata/iso-2022-jp.c: Likewise.
20810 * iconv/gconv_int.h: Likewise.
20811 * iconv/loop.c: Likewise.
20812 * nis/rpcsvc/nis.h: Likewise.
20813 * resolv/ns_name.c: Likewise.
20814 * stdio-common/vfscanf.c: Likewise.
20815 * streams/stropts.h: Likewise.
20816 * sunrpc/rpc_thread.c: Likewise.
20817 * sysdeps/i386/strpbrk.S: Likewise.
20818 * sysdeps/ieee754/k_standard.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20821 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20822 * sysdeps/mach/hurd/profil.c: Likewise.
20823 * sysdeps/s390/dl-procinfo.h: Likewise.
20824 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20825 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20826 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20827 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20829
0186c6e9
OB
208302013-08-30 Ondřej Bílka <neleai@seznam.cz>
20831
20832 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20834
d4e16af1
OB
208352013-08-29 Ondřej Bílka <neleai@seznam.cz>
20836
20837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20838 aix specific files.
20839 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20840 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20841 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20842 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20843 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20844 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20845 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20846 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20847
88335980
TS
208482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20849 Roland McGrath <roland@hack.frob.com>
20850
20851 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20852 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20853
ed479b02
ST
208542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20855
20856 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20857 __executable_start symbol instead of _start.
20858
f1cc4c86
TS
208592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20860
d821f07c
TS
20861 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20862 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20863 Move macros to...
20864 * sysdeps/gnu/ldsodefs.h: ... this new file.
20865
c54290cf
TS
20866 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20867 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20868 instead of ELFOSABI_LINUX.
20869
0007fc9b 20870 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20871 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20872 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20873 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20874 Likewise.
20875 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20876 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20877 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20878 Likewise.
20879 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20880 (ibm_extended_long_double): Add ieee_nan member.
20881 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20882 (do_test): New function.
20883
f1cc4c86
TS
20884 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20885 TEST_TRUNC.
20886 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20887 functions, renamed from truncdfsf_test, trunctfsf_test,
20888 trunctfdf_test.
20889 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20890 functions.
20891 (do_test): Run all these.
20892
6f65e668
OB
208932013-08-29 Ondřej Bílka <neleai@seznam.cz>
20894
20895 * argp/argp-help.c: Fix typos.
20896 * argp/argp-parse.c: Likewise.
20897 * debug/backtracesyms.c: Likewise.
20898 * elf/elf.h: Likewise.
20899 * malloc/malloc.c: Likewise.
20900 * nis/nis_print.c: Likewise.
20901 * resolv/res_comp.c: Likewise.
20902 * stdlib/stdlib.h: Likewise.
20903 * sunrpc/clnt_tcp.c: Likewise.
20904 * sunrpc/clnt_udp.c: Likewise.
20905 * sunrpc/clnt_unix.c: Likewise.
20906 * sysdeps/unix/bsd/ptsname.c: Likewise.
20907 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20908 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20910 Likewise.
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20912 Likewise.
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20914 Likewise.
6f65e668
OB
20915 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20916
3a309239
SP
209172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20918
20919 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20921
3b813b29
MF
209222013-08-27 Mike Frysinger <vapier@gentoo.org>
20923
20924 [BZ #15897]
20925 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20926 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20927 ($(objpfx)bug-dl-leaf): New rule.
20928 ($(objpfx)bug-dl-leaf.so): Likewise.
20929 ($(objpfx)bug-dl-leaf.out): Likewise.
20930 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20931 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20932 * dlfcn/bug-dl-leaf.c: New test.
20933 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20934 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20935 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20936 (dlclose): Likewise.
20937 (dlmopen): Likewise.
20938
8cc3269f
RM
209392013-08-27 Roland McGrath <roland@hack.frob.com>
20940
7f9d0034
RM
20941 * include/netdb.h [!_ISOMAC]:
20942 Don't include <tls.h>.
20943 (h_errno, __libc_h_errno): Move declaration and macros out of
20944 [_LIBC_REENTRANT].
20945
fb431262
RM
20946 * include/resolv.h [_RESOLV_H_]:
20947 Don't include <tls.h>.
20948 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20949 * resolv/res_libc.c: Don't include <tls.h>.
20950 (_res): Use __attribute__ ((nocommon)) in place of
20951 __attribute__ ((section (".bss"))).
20952
bd81123a
RM
20953 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20954 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20955
c4e42566
RM
20956 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20957
f890a59b
RM
20958 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20959 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20960
20961 * resolv/res_mkquery.c: Include <sys/time.h>.
20962
5d1f0a09
RM
20963 * inet/ifreq.c: Moved to ...
20964 * sysdeps/unix/ifreq.c: ... here.
20965 * inet/ifreq.c: New file, true stub version.
20966
6fcf28b3
RM
20967 * socket/sa_len.c: New file.
20968 * socket/Makefile (aux): Add it.
20969 * sysdeps/unix/sysv/linux/Makefile
20970 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20971 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20972 and #include <socket/sa_len.c>.
20973 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20974 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20975
e041fb8b
RM
20976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20977 * bits/socket.h: ... here.
20978
8cc3269f
RM
20979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20980 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20981 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20982
5d228a43
AS
209832013-08-27 Andreas Schwab <schwab@suse.de>
20984
45b8accc
AS
20985 [BZ #15736]
20986 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20987 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20988 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20989 * string/test-strcasecmp.c (test_main): Run tests in several
20990 locales.
20991 * string/test-strncasecmp.c (test_main): Likewise.
20992
5d228a43
AS
20993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20994 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20995 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20997 (__strncasecmp_ssse3) [PIC]: Likewise.
20998
59d112a4
RM
209992013-08-26 Roland McGrath <roland@hack.frob.com>
21000
53234cc3
RM
21001 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21002
59d112a4
RM
21003 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21004 instead of explicitly declaring xdecrypt.
21005 * nis/nss_nis/nis-publickey.c: Likewise.
21006
595aba70
SP
210072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21008
21009 [BZ #15890]
21010 * nscd/aicache.c: Include res_hconf.h.
21011 (addhstaiX): Initialize res_hconf.
21012
ffabd393
AS
210132013-08-26 Andreas Schwab <schwab@suse.de>
21014
21015 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21016 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21017
e0a69f5c
SP
210182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21019
21020 * nscd/aicache.c (addhstaiX): Fix indentation.
21021
8c12f01d
MF
210222013-08-25 Mike Frysinger <vapier@gentoo.org>
21023
21024 * configure.ac: Quote $build_pt_chown test.
21025 * configure: Regenerated.
21026
8fe89494
JM
210272013-08-23 Joseph Myers <joseph@codesourcery.com>
21028
21029 [BZ #15532]
21030 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21031 * math/s_cexpf.c (__cexpf): Likewise.
21032 * math/s_cexpl.c (__cexpl): Likewise.
21033 * math/libm-test.inc (cexp_test_data): Correct expected return
21034 value for NaN + i0. Add another test.
21035
75b181d6
DM
210362013-08-22 David S. Miller <davem@davemloft.net>
21037
21038 * po/ca.po: Update Catalan translation from translation project.
936241e4 21039 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21040
acd06bb1
JM
210412013-08-21 Joseph Myers <joseph@codesourcery.com>
21042
21043 [BZ #15797]
21044 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21045 is infinite, not alongside NaN test.
21046 * math/s_fdimf.c (__fdimf): Likewise.
21047 * math/s_fdiml.c (__fdiml): Likewise.
21048 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21049 errno is unchanged.
21050
c0c3f78a
OB
210512013-08-21 Ondřej Bílka <neleai@seznam.cz>
21052
21053 * argp/argp-help.c: Fix typos.
21054 * crypt/speeds.c: Likewise.
21055 * csu/check_fds.c: Likewise.
21056 * elf/dl-load.c: Likewise.
21057 * elf/dl-open.c: Likewise.
21058 * elf/reldep3.c: Likewise.
21059 * elf/reldep.c: Likewise.
21060 * elf/sprof.c: Likewise.
21061 * iconv/iconv_charmap.c: Likewise.
21062 * iconv/skeleton.c: Likewise.
21063 * iconv/strtab.c: Likewise.
21064 * io/lockf64.c: Likewise.
21065 * libio/libioP.h: Likewise.
21066 * resolv/gai_notify.c: Likewise.
21067 * resolv/ns_name.c: Likewise.
21068 * resolv/ns_samedomain.c: Likewise.
21069 * resolv/res_send.c: Likewise.
21070 * stdlib/random.c: Likewise.
21071 * sunrpc/rpc/xdr.h: Likewise.
21072 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21080 * sysdeps/mach/hurd/check_fds.c: Likewise.
21081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21082 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21084 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21085 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21086 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21087 * sysdeps/pthread/aio_notify.c: Likewise.
21088 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21089 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21090 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21092 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21093
46ed1038
LD
210942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21095
21096 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21097 version if bit_Slow_SSE4_2 is set.
21098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21100
d400dcac
AZ
211012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102
21103 [BZ #15867]
21104 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21105 trampoline stack frame information.
21106 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21108 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21109 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21110 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21111 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21112 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21113 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21114 sa_flags value.
21115 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21116 interrupting a syscall and set with option SA_SIGINFO.
21117
42c8fdd8
JM
211182013-08-20 Joseph Myers <joseph@codesourcery.com>
21119
c980f2f4
JM
21120 [BZ #15531]
21121 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21122 argument is infinite.
21123 * math/s_cprojf.c (__cprojf): Likewise.
21124 * math/s_cprojl.c (__cprojl): Likewise.
21125 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21126 * math/libm-test.inc (cproj_test_data): Add more tests.
21127
0716c4fc
JM
21128 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21129
42c8fdd8
JM
21130 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21131 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21132 size. Use __ffs to determine corresponding shift.
21133
b31469d0
JM
211342013-08-20 Joseph Myers <joseph@codesourcery.com>
21135 Roland McGrath <roland@hack.frob.com>
21136
21137 * Makefile (INSTALL): Remove trailing blank lines from output of
21138 makeinfo.
21139
4e39af6e
AK
211402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21141
21142 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21143 Align 32 bit compat elf_greg to 8 bytes.
21144
f315524e
AA
211452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21146
21147 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21148
1326ba1a
SP
211492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21150
21151 * string/strcoll_l.c (coll_seq): New structure.
21152 (get_next_seq_cached): New function.
21153 (get_next_seq): New function.
21154 (do_compare): New function.
21155 (STRCOLL): Use GNU style definition. Simplify implementation
21156 by using get_next_seq, get_next_seq_cached and do_compare.
21157
91ce4085
FW
211582013-08-16 Florian Weimer <fweimer@redhat.com>
21159
21160 [BZ #14699]
21161 CVE-2013-4237
21162 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21163 member.
21164 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21165 member.
21166 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21167 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21168 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21169 conditional.
21170 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21171 GETDENTS_64BIT_ALIGNED.
21172 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21173 * manual/filesys.texi (Reading/Closing Directory): Document
21174 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21175 strongly.
21176 * manual/conf.texi (Limits for Files): Add portability note to
21177 NAME_MAX, PATH_MAX.
21178 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21179
ca0a6bc4
AS
211802013-08-13 Andreas Schwab <schwab@suse.de>
21181
21182 [BZ #15749]
21183 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21184 of fabs.
21185 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21186 LDBL_MAX_EXP >= 16384]: Add tests for it.
21187
6c1fd795
DM
211882013-08-12 David S. Miller <davem@davemloft.net>
21189
21190 * version.h (RELEASE): Set to "development".
21191 (VERSION): Set to "2.18.90".
21192 * NEWS: Add 2.19 section.
21193
31ad488d
DM
211942013-08-03 David S. Miller <davem@davemloft.net>
21195
21196 * po/ko.po: Update Korean translation from translation project.
21197
db24e684
DM
211982013-08-01 David S. Miller <davem@davemloft.net>
21199
21200 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21201 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21202 Bilka.
21203
f723285b
DM
212042013-07-30 David S. Miller <davem@davemloft.net>
21205
21206 * po/fr.po: Update French translation from translation project.
21207
3cbc52db
DM
212082013-07-28 David S. Miller <davem@davemloft.net>
21209
30bbc0cc
DM
21210 * po/cs.po: Update Czech translation from translation project.
21211
3cbc52db
DM
21212 * po/sv.po: Update Swedish translation from translation project.
21213
d492e6d0
DM
212142013-07-27 David S. Miller <davem@davemloft.net>
21215
f1a7f492
DM
21216 * po/eo.po: Update Esperanto translation from translation project.
21217
90e62a4a
DM
21218 * po/vi.po: Update Vietnamese translation from translation project.
21219
d492e6d0
DM
21220 * po/de.po: Update German translation from translation project.
21221
d4baa62d
DM
212222013-07-26 David S. Miller <davem@davemloft.net>
21223
641aa7b4
DM
21224 * po/bg.po: Update Bulgarian translation from translation project.
21225
d4baa62d
DM
21226 * po/nl.po: Update Dutch translation from translation project.
21227 * po/pl.po: Update Polish translation from translation project.
21228 * po/ru.po: Update Russian translation from translation project.
21229
61a9dcb9
DM
212302013-07-24 David S. Miller <davem@davemloft.net>
21231
21232 * po/libc.pot: Update.
21233
7b1f8b58
AZ
212342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21235
21236 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21237 variable page size.
21238 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21241
a8fc7a03
AK
212422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21243
21244 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21245
e4608715
CD
212462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21247 Andreas Schwab <schwab@suse.de>
21248 Roland McGrath <roland@hack.frob.com>
21249 Joseph Myers <joseph@codesourcery.com>
21250 Carlos O'Donell <carlos@redhat.com>
21251
21252 [BZ #15755]
21253 * config.h.in: Define HAVE_PT_CHOWN.
21254 * config.make.in (build-pt-chown): New variable.
21255 * configure.in (--enable-pt_chown): New configure option.
21256 * configure: Regenerate.
21257 * login/Makefile: Include Makeconfig. Build pt_chown only if
21258 build-pt-chown is enabled.
21259 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21260 pt_chown to fix pty ownership.
21261 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21262 CLOSE_ALL_FDS.
21263 * manual/install.texi (Configuring and compiling): Mention
21264 --enable-pt_chown. Add @findex for grantpt.
21265 * INSTALL: Regenerate.
21266
da2d62df
DM
212672013-07-20 David S. Miller <davem@davemloft.net>
21268
21269 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21270 difference between 32-bit and 64-bit.
21271
d7e06450
CD
212722013-07-15 Carlos O'Donell <carlos@redhat.com>
21273
21274 [BZ #15711]
21275 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21276 Avoid system header dependency with -ffreestanding.
21277 ($(objpfx)bits/syscall%d): Likewise.
21278
f959cfd7
DM
212792013-07-13 David S. Miller <davem@davemloft.net>
21280
21281 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21282 underflows from atanl/atan2l due to bug 15319.
21283 (casinh_test_data): Likewise.
21284
c61f8513
DM
212852013-07-07 David S. Miller <davem@davemloft.net>
21286
21287 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21288
72c90ed0
JA
212892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21290
21291 * sysdeps/i386/fpu/libm-test-ulps: Update.
21292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21293
52dfbe13
SP
212942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21295
21296 * configure.in (--enable-lock-elision): Fix message text.
21297 * INSTALL: Regenerate.
21298 * configure: Regenerate.
21299
3f169543
AZ
213002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21301
21302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21303
521c6785
AJ
213042013-07-03 Andreas Jaeger <aj@suse.de>
21305
21306 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21307 define.
21308 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21309 (ptrace_peeksiginfo_args): Add.
21310 (__ptrace_peeksiginfo_flags): Add.
21311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21314
d2cc15cb
AM
213152013-07-03 Allan McRae <allan@archlinux.org>
21316
21317 * sysdeps/i386/fpu/libm-test-ulps: Update.
21318
3aaeeca7
DM
213192013-07-02 David S. Miller <davem@davemloft.net>
21320
21321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21322
5314ed1a
MT
213232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21324
21325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21326
67338156
JM
213272013-07-02 Joseph Myers <joseph@codesourcery.com>
21328
21329 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21331
1717da59
AK
213322013-07-02 Andi Kleen <ak@linux.intel.com>
21333
21334 * config.h.in (ENABLE_LOCK_ELISION): Add.
21335 * configure.in (--enable-lock-elision): Add option.
21336 * manual/install.texi: Document --enable lock elision.
21337 * configure: Regenerate
21338 * INSTALL: Regenerate.
21339
1c81621c
L
213402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21341
21342 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21343 SSE4.2 strcasecmp for libc.a.
21344 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21345
77f01ab5
JM
213462013-07-02 Joseph Myers <joseph@codesourcery.com>
21347
21348 [BZ #13304]
21349 * soft-fp/op-common.h (_FP_FMA): New macro.
21350 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21351 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21352 (_FP_MUL_MEAT_1_imm): ... here.
21353 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21354 (_FP_MUL_MEAT_1_wide): ... here.
21355 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21356 (_FP_MUL_MEAT_1_hard): ... here.
21357 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21358 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21359 (_FP_MUL_MEAT_2_wide): ... here.
21360 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21361 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21362 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21363 (_FP_MUL_MEAT_2_gmp): ... here.
21364 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21365 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21366 (_FP_MUL_MEAT_4_wide): ... here.
21367 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21368 (_FP_MUL_MEAT_4_gmp): ... here.
21369 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21370 (_FP_WFRACBITS_DW_S): Likewise.
21371 (_FP_WFRACXBITS_DW_S): Likewise.
21372 (_FP_HIGHBIT_DW_S): Likewise.
21373 (FP_FMA_S): Likewise.
21374 (_FP_FRAC_HIGH_DW_S): Likewise.
21375 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21376 (_FP_WFRACBITS_DW_D): Likewise.
21377 (_FP_WFRACXBITS_DW_D): Likewise.
21378 (_FP_HIGHBIT_DW_D): Likewise.
21379 (FP_FMA_D): Likewise.
21380 (_FP_FRAC_HIGH_DW_D): Likewise.
21381 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21382 (_FP_WFRACBITS_DW_E): Likewise.
21383 (_FP_WFRACXBITS_DW_E): Likewise.
21384 (_FP_HIGHBIT_DW_E): Likewise.
21385 (FP_FMA_E): Likewise.
21386 (_FP_FRAC_HIGH_DW_E): Likewise.
21387 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21388 (_FP_WFRACBITS_DW_Q): Likewise.
21389 (_FP_WFRACXBITS_DW_Q): Likewise.
21390 (_FP_HIGHBIT_DW_Q): Likewise.
21391 (FP_FMA_Q): Likewise.
21392 (_FP_FRAC_HIGH_DW_Q): Likewise.
21393 * soft-fp/fmasf4.c: New file.
21394 * soft-fp/fmadf4.c: Likewise.
21395 * soft-fp/fmatf4.c: Likewise.
21396
6308fd9a
LD
213972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21398
21399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21400 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21401 Silvermont.
21402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21403 macro.
21404 (index_Slow_SSE4_2): Likewise.
21405 (index_Prefer_PMINUB_for_stringop): Likewise.
21406 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21407 bit_Slow_SSE4_2 is set.
21408 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21410
89cd9569
RA
214112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21412
21413 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21414 rtld_global._dl_hwcap2.
21415 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21416 POWER8.
21417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21418 POWER8 feature descriptions defined in _dl_hwcap2.
21419 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21420 string handling for POWER8 feature bits.
21421 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21422 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21423 _dl_powerpc_cap_flags.
21424 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21425 * sysdeps/powerpc/rtld-global-offsets.sym
21426 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21427 _dl_hwcap2 in the rtld_global_ro structure.
21428
1ae8bfe0
RA
214292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21430
21431 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21432 hardware capabilities in support of AT_HWCAP2.
21433 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21434 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21435 GLRO(dl_hwcap2).
21436 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21437 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21438 explicitly the unknown a_type display mechanism is used.
21439 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21440 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21441 struct member.
21442 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21443 to macro prototype for AT_HWCAP2 support.
21444 * sysdeps/i386/dl-procinfo.h: Likewise.
21445 * sysdeps/s390/dl-procinfo.h: Likewise.
21446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21447 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21448 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21449 return -1 for unknown a_type display fallback.
21450 * sysdeps/sparc/dl-procinfo.h: Likewise.
21451 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21452 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21453
8fbec010
JM
214542013-06-28 Joseph Myers <joseph@codesourcery.com>
21455
21456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21457 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21458
0432680e
PY
214592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21460
21461 [BZ #12492]
21462 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21463 mprotect making __stack_prot writable.
21464
ce61a2ad
NF
214652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21466 Joseph Myers <joseph@codesourcery.com>
21467
21468 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21469 as being properly aligned.
21470
f91f1c0f
MR
214712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21472
3d0f5d0c
MR
21473 * dlfcn/modstatic5.c: New file.
21474 * dlfcn/tststatic5.c: New file.
21475 * dlfcn/Makefile (tests): Add tststatic5.
21476 (tests-static): Likewise.
21477 (modules-names): Add modstatic5.
21478 (tststatic5-ENV): New variable.
21479 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21480
f91f1c0f
MR
21481 [BZ #15022]
21482 * elf/dl-support.c (_dl_main_map): New variable.
21483 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21484 (_dl_nns, _dl_load_adds): Set to 1.
21485 (_dl_initial_searchlist): Refer to _dl_main_map.
21486 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21487 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21488 call to _dl_get_origin.
21489 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21490 around call_map.
21491 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21492 * dlfcn/modstatic3.c: New file.
21493 * dlfcn/tststatic3.c: New file.
21494 * dlfcn/tststatic4.c: New file.
21495 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21496 (tests-static): Likewise.
21497 (modules-names): Add modstatic3.
21498 (tststatic3-ENV, tststatic4-ENV): New variables.
21499 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21500 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21501
cbe7d24b
JM
215022013-06-26 Joseph Myers <joseph@codesourcery.com>
21503
21504 * configure.in (CC): Require GCC version 4.4 or later.
21505 * configure: Regenerated.
21506 * manual/install.texi (Tools for Compilation): Update GCC version
21507 requirement.
21508 * INSTALL: Regenerated.
21509
11b8a0e1
LD
215102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21511
21512 [BZ #15674]
bb5bb87c
L
21513 * string/test-memcmp.c (check2): New.
21514 (main): Call check2.
21515
11b8a0e1
LD
21516 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21517
b0037103
MR
215182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21519
21520 [BZ #15022]
21521 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21522 over to...
21523 (dl_open_worker) [!SHARED]: ... here.
21524
c18c701d
RA
215252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21526
21527 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21528
1d17fa5f
RH
215292013-06-25 Richard Henderson <rth@redhat.com>
21530
21531 * locale/programs/locarchive.c: Include <libc-internal.h>
21532
8fcb833a
JM
215332013-06-25 Joseph Myers <joseph@codesourcery.com>
21534
21535 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21536 trailing whitespace removed.
21537
17db6e8d
MF
215382013-06-24 Mike Frysinger <vapier@gentoo.org>
21539
21540 [BZ #10283]
17db6e8d
MF
21541 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21542 * locale/programs/locarchive.c: Include libc-mmap.h.
21543 (prepare_address_space): Take two new outputs (the mmap base and len).
21544 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21545 values.
21546 (create_archive): Declare new mmap base and len values for
21547 prepare_address_space, and store the result in ah.
21548 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21549 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21550 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21551 Declare new mmap base and len values for
21552 prepare_address_space, and store the result in new_ah.
21553 (open_archive): Declare new mmap base and len values for
21554 prepare_address_space, and store the result in ah.
21555 (close_archive): If ah->mmap_base is not NULL, use that and
21556 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21557 * sysdeps/generic/libc-mmap.h: New file.
21558
d605071e
MF
215592013-06-24 Mike Frysinger <vapier@gentoo.org>
21560
21561 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21562 (ALIGN_UP): Likewise.
21563 (PTR_ALIGN_DOWN): Likewise.
21564 (PTR_ALIGN_UP): Likewise.
21565
2f063a6e
RA
215662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21567
21568 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21569 entry mapped to PPC_PLATFORM_POWER8.
21570 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21571 POWER8.
21572 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21573 (_dl_string_platform): Add case for exporting platform position for
21574 POWER8.
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21576 search path to sysdeps/powerpc/powerpc32/power8 directory.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21578 search path to sysdeps/powerpc/powerpc64/power8 directory.
21579 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21580 power7 directories.
21581 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21582 power7 directories.
21583
a31ee4b3
SP
215842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21585
a74ca98f
SP
21586 * INSTALL: Regenerate.
21587
a31ee4b3
SP
21588 * nscd/connections.c (nscd_init): Fix comment.
21589
695c378f
JM
215902013-06-22 Joseph Myers <joseph@codesourcery.com>
21591
d8412221
JM
21592 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21593
695c378f
JM
21594 [BZ #15667]
21595 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21596 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21597
d1d54715
MR
215982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21599
21600 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21601 DL_DST_REQ_STATIC.
21602 (DL_DST_REQ_STATIC): Remove macro.
21603
8fdda7af
JM
216042013-06-21 Joseph Myers <joseph@codesourcery.com>
21605
21606 [BZ #7006]
21607 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21608 with a shift of 0 bits.
21609
f3bc5e5a
MR
216102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21611
21612 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21613 $(tststatic-ENV).
21614
be09e8c9
KK
216152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21616
21617 [BZ #15655]
21618 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21619
85c2e611
AZ
216202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21621
21622 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21623 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21624 accepts -fno-tree-loop-distribute-patterns.
21625 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21626 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21627 recursive call.
21628 * string/memset.c (memset): Likewise.
21629 * string/test-memmove.c (simple_memmove): Disable loop transformation
21630 to library calls.
21631 * string/test-memset.c (simple_memset): Likewise.
21632 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21633 * benchtests/bench-memset.c (simple_memset): Likewise.
21634 * configure: Regenerated.
21635
c91e0825
JM
216362013-06-20 Joseph Myers <joseph@codesourcery.com>
21637
b8c792af
JM
21638 * math/test-misc.c (main): Ignore fesetround failure when failures
21639 of subsequent rounding tests would be ignored.
21640
c91e0825
JM
21641 [BZ #15654]
21642 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21643 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21644 * math/fegetenv.c (__fegetenv): Return 0.
21645 * math/fegetexcept.c (fegetexcept): Return 0.
21646 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21647 FE_TONEAREST.
21648 * math/feholdexcpt.c (feholdexcept): Return 0.
21649 * math/fesetenv.c (__fesetenv): Return 0.
21650 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21651 argument FE_TONEAREST.
21652 * math/feupdateenv.c (__feupdateenv): Return 0.
21653 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21654
bfcacbde
RM
216552013-06-18 Roland McGrath <roland@hack.frob.com>
21656
21657 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21658 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21659 ($(objpfx)rtld-%.os rules): Use them.
21660
e55a9b25
AZ
216612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21662
21663 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21664 fields.
21665
346d65b3
RM
216662013-06-17 Roland McGrath <roland@hack.frob.com>
21667
12086fb4
RM
21668 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21669 length of target pattern, then descending length of dependency pattern.
21670 * configure.in (AWK): Require gawk 3.1.2 or newer.
21671 * manual/install.texi (Tools for Compilation): Say that we do.
21672 * configure: Regenerated.
21673
346d65b3
RM
21674 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21675 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21676 * scripts/sysd-rules.awk: ... this new script.
21677 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21678 than a glob-style pattern.
21679
1a846317
JM
216802013-06-17 Joseph Myers <joseph@codesourcery.com>
21681
21682 * math/test-misc.c (main): Do not treat incorrectly rounded
21683 conversions as failure unless ROUNDING_TESTS passes.
21684
8fc75e6f
JM
216852013-06-15 Joseph Myers <joseph@codesourcery.com>
21686
3711a167
JM
21687 [BZ #15631]
21688 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21689 restore exception state around main square root computation, then
21690 check for inexactness explicitly.
21691
8fc75e6f
JM
21692 * math/libm-test.inc (fma_test_data): Add another test.
21693
61dd6208
SP
216942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21695
adf23d2c
SP
21696 * manual/threads.texi (Non-POSIX Extensions): New document
21697 node. Document pthread_getattr_default_np and
21698 pthread_setattr_default_np.
21699
61dd6208
SP
21700 * Versions.def (libpthread): Add GLIBC_2.18.
21701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21703 Likewise.
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21705 Likewise.
21706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21707 Likewise.
21708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21709 Likewise.
21710 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21711 Likewise.
21712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21713 Likewise.
21714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21715 Likewise.
21716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21717 Likewise.
21718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21719 Likewise.
21720
d086fc7b
LD
217212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21722
21723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21724 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21725
747ef469
SP
217262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21727 H.J. Lu <hjl.tools@gmail.com>
21728
21729 [BZ #15627]
21730 * sysdeps/x86_64/rtld-memset.c: Remove file.
21731 * sysdeps/x86_64/rtld-memset.S: New file.
21732
1b2feed2
JM
217332013-06-14 Joseph Myers <joseph@codesourcery.com>
21734
21735 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21736 (test_in_one_mode): Take arguments for whether the rounding mode
21737 is supported for each floating-point type.
21738 (do_test): Pass new arguments to test_in_one_mode using
21739 ROUNDING_TESTS.
21740
a58ad3f8
RM
217412013-06-13 Roland McGrath <roland@hack.frob.com>
21742
21743 * posix/tst-waitid.c (do_test): Distinguish different instances of
21744 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21745 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21746 before entering the kernel for waitpid.
21747
c204ab28
SP
217482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21749
21750 * NEWS: Fix note on clock function precision. Text by Roland
21751 McGrath.
21752
f4a29fba
RM
217532013-06-13 Roland McGrath <roland@hack.frob.com>
21754
21755 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21756 it into place only when and if the sanity check passes.
21757
1f24b9ad
JM
217582013-06-13 Joseph Myers <joseph@codesourcery.com>
21759
21760 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21761 output for whether conversion result is exact. Take argument
21762 indicating whether type is IBM long double.
21763 (round_for_all): Change need_exact field to ibm_ld.
21764 * stdlib/tst-strtod-round.c (struct exactness): New type.
21765 (struct test): Change bool ld_ok field to struct exactness exact.
21766 (TEST): Update all definitions for change to field.
21767 (tests): Regenerate array contents.
21768 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21769 field value. Check for IBM long double here.
21770 (do_test): Update calls to test_in_one_mode.
21771
58206c68
SP
217722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21773
21774 [BZ #12515]
21775 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21776 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21777
2d6f4c5b 217782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21779
21780 [BZ #15605]
21781 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21782 generated by the compiler on loop optimizations.
21783 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21784 general definitions.
21785
94f2c076
JM
217862013-06-12 Joseph Myers <joseph@codesourcery.com>
21787
21788 * math/bug-nextafter.c: Include <math-tests.h>.
21789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21790 the relevant type.
21791 * math/bug-nexttoward.c: Include <math-tests.h>.
21792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21793 the relevant type.
21794 * math/test-misc.c: Include <math-tests.h>.
21795 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21796 the relevant type.
21797
e0e50a0a
AJ
217982013-06-12 Andreas Jaeger <aj@suse.de>
21799
21800 * po/ia.po: Update Interlingua translation from translation
21801 project.
21802
25061094
SP
218032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21804
21805 * include/fenv.h: Include stdbool.h.
21806 (struct rm_ctx): New structure.
21807 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21808 Define macro.
21809 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21810 (SET_RESTORE_ROUNDF): Likewise.
21811 (SET_RESTORE_ROUNDL): Likewise.
21812 (SET_RESTORE_ROUND_NOEX): Likewise.
21813 (SET_RESTORE_ROUND_NOEXF): Likewise.
21814 (SET_RESTORE_ROUND_NOEXL): Likewise.
21815 (SET_RESTORE_ROUND_53BIT): Likewise.
21816 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21817 (libc_feresetround_noexf_ctx): Likewise.
21818 (libc_feresetround_noexl_ctx): Likewise.
21819 (libc_feholdsetround_53bit_ctx): Likewise.
21820 (libc_feresetround_53bit_ctx): Likewise.
21821 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21822 (libc_feholdexcept_setround_sse_ctx): New function.
21823 (libc_fesetenv_sse_ctx): Likewise.
21824 (libc_feupdateenv_sse_ctx): Likewise.
21825 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21826 (libc_feholdexcept_setround_387_ctx): Likewise.
21827 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21828 (libc_feholdsetround_387_prec_ctx): Likewise.
21829 (libc_feholdsetround_387_ctx): Likewise.
21830 (libc_feholdsetround_387_53bit_ctx): Likewise.
21831 (libc_feholdsetround_sse_ctx): Likewise.
21832 (libc_feresetround_sse_ctx): Likewise.
21833 (libc_feresetround_387_ctx): Likewise.
21834 (libc_feupdateenv_387_ctx): Likewise.
21835 (libc_feholdexcept_setroundf_ctx): Define macro.
21836 (libc_fesetenvf_ctx): Likewise.
21837 (libc_feupdateenvf_ctx): Likewise.
21838 (libc_feholdsetroundf_ctx): Likewise.
21839 (libc_feresetroundf_ctx): Likewise.
21840 (libc_feholdexcept_setround_ctx): Likewise.
21841 (libc_fesetenv_ctx): Likewise.
21842 (libc_feupdateenv_ctx): Likewise.
21843 (libc_feholdsetround_ctx): Likewise.
21844 (libc_feresetround_ctx): Likewise.
21845 (libc_feholdexcept_setroundl_ctx): Likewise.
21846 (libc_feupdateenvl_ctx): Likewise.
21847 (libc_feholdsetroundl_ctx): Likewise.
21848 (libc_feresetroundl_ctx): Likewise.
21849 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21850 (libc_feresetround_53bit_ctx): Likewise.
21851
59b30555
SP
218522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21853
21854 * locale/iso-639.def: Convert to UTF-8.
21855
f1d73d30
JM
218562013-06-11 Joseph Myers <joseph@codesourcery.com>
21857
21858 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21859 (EXCEPTION_TESTS_double): Likewise.
21860 (EXCEPTION_TESTS_long_double): Likewise.
21861 (EXCEPTION_TESTS): Likewise.
21862 * math/libm-test.inc (test_exceptions): Only test exceptions if
21863 EXCEPTION_TESTS (FLOAT).
21864
94aca5e7
SP
218652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21866
21867 * benchtests/Makefile (string-bench): Add strcpy_chk and
21868 stpcpy_chk.
21869 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21870 * benchtests/bench-stpcpy_chk.c: New file.
21871 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21872 * benchtests/bench-strcpy_chk.c: New file.
21873 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21874 code.
21875 (do_test): Likewise.
21876
fac0c5f2
RA
218772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21878
21879 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21880 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21881 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21882 with tabs where appropriate.
21883 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21884 dl-procinfo.h.
21885 [PPC_PLATFORM_PPC440]: Likewise.
21886 [PPC_PLATFORM_PPC464]: Likewise.
21887 [PPC_PLATFORM_PPC476]: Likewise.
21888 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21889 ppc464, and ppc476 platform strings merging from ports/
21890 dl-procinfo.h.
21891
f22bc486
AS
218922013-06-11 Andreas Schwab <schwab@suse.de>
21893
21894 [BZ #14991]
21895 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21896 (from_ucs4_idx): Regenerate.
21897 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21898 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21899 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21900 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21901 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21902 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21903 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21904 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21905 from FROM_LOOP and TO_LOOP specific macros.
21906 (BODY): Handle combining characters.
21907 * iconvdata/BIG5HKSCS.irreversible: Update.
21908 * iconvdata/BIG5HKSCS.precomposed: New file.
21909 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21910 characters.
21911 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21912
c1f75dc3
SP
219132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21914
4eacded2
SP
21915 * include/sys/time.h: Fix indentation and add copyright header.
21916
fec799f8
SP
21917 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21918 (do_test): Likewise.
21919 * string/test-memchr.c (do_one_test): Likewise.
21920 (do_test): Likewise.
21921 * string/test-memcmp.c (do_one_test): Likewise.
21922 (do_test): Likewise.
21923 * string/test-memcpy.c (do_one_test): Likewise.
21924 (do_test): Likewise.
21925 * string/test-memmem.c (do_one_test): Likewise.
21926 (do_test): Likewise.
21927 (do_random_tests): Likewise.
21928 * string/test-memmove.c (do_one_test): Likewise.
21929 (do_test): Likewise.
21930 * string/test-memset.c (do_one_test): Likewise.
21931 (do_test): Likewise.
21932 * string/test-rawmemchr.c (do_one_test): Likewise.
21933 (do_test): Likewise.
21934 * string/test-strcasecmp.c (do_one_test): Likewise.
21935 (do_test): Likewise.
21936 * string/test-strcasestr.c (do_one_test): Likewise.
21937 (do_test): Likewise.
21938 * string/test-strcat.c (do_one_test): Likewise.
21939 (do_test): Likewise.
21940 * string/test-strchr.c (do_one_test): Likewise.
21941 (do_test): Likewise.
21942 * string/test-strcmp.c (do_one_test): Likewise.
21943 (do_test): Likewise.
21944 * string/test-strcpy.c (do_one_test): Likewise.
21945 (do_test): Likewise.
21946 * string/test-string.h: Likewise.
21947 (test_init): Likewise.
21948 * string/test-strlen.c (do_one_test): Likewise.
21949 (do_test): Likewise.
21950 * string/test-strncasecmp.c (do_one_test): Likewise.
21951 (do_test): Likewise.
21952 * string/test-strncat.c (do_one_test): Likewise.
21953 (do_test): Likewise.
21954 * string/test-strncmp.c (do_one_test): Likewise.
21955 (do_test_limit): Likewise.
21956 (do_test): Likewise.
21957 * string/test-strncpy.c (do_one_test): Likewise.
21958 (do_test): Likewise.
21959 * string/test-strnlen.c (do_one_test): Likewise.
21960 (do_test): Likewise.
21961 * string/test-strpbrk.c (do_one_test): Likewise.
21962 (do_test): Likewise.
21963 * string/test-strrchr.c (do_one_test): Likewise.
21964 (do_test): Likewise.
21965 * string/test-strspn.c (do_one_test): Likewise.
21966 (do_test): Likewise.
21967 * string/test-strstr.c (do_one_test): Likewise.
21968 (do_test): Likewise.
21969
97020474
SP
21970 * benchtests/Makefile (string-bench): Add string benchmarks.
21971 * benchtests/bench-bcopy-ifunc.c: New file.
21972 * benchtests/bench-bcopy.c: New file.
21973 * benchtests/bench-bzero-ifunc.c: New file.
21974 * benchtests/bench-bzero.c: New file.
21975 * benchtests/bench-memccpy-ifunc.c: New file.
21976 * benchtests/bench-memccpy.c: New file.
21977 * benchtests/bench-memchr-ifunc.c: New file.
21978 * benchtests/bench-memchr.c: New file.
21979 * benchtests/bench-memcmp-ifunc.c: New file.
21980 * benchtests/bench-memcmp.c: New file.
21981 * benchtests/bench-memmem-ifunc.c: New file.
21982 * benchtests/bench-memmem.c: New file.
21983 * benchtests/bench-memmove-ifunc.c: New file.
21984 * benchtests/bench-memmove.c: New file.
21985 * benchtests/bench-mempcpy-ifunc.c: New file.
21986 * benchtests/bench-mempcpy.c: New file.
21987 * benchtests/bench-memset-ifunc.c: New file.
21988 * benchtests/bench-memset.c: New file.
21989 * benchtests/bench-rawmemchr-ifunc.c: New file.
21990 * benchtests/bench-rawmemchr.c: New file.
21991 * benchtests/bench-stpcpy-ifunc.c: New file.
21992 * benchtests/bench-stpcpy.c: New file.
21993 * benchtests/bench-stpncpy-ifunc.c: New file.
21994 * benchtests/bench-stpncpy.c: New file.
21995 * benchtests/bench-strcasecmp-ifunc.c: New file.
21996 * benchtests/bench-strcasecmp.c: New file.
21997 * benchtests/bench-strcasestr-ifunc.c: New file.
21998 * benchtests/bench-strcasestr.c: New file.
21999 * benchtests/bench-strcat-ifunc.c: New file.
22000 * benchtests/bench-strcat.c: New file.
22001 * benchtests/bench-strchr-ifunc.c: New file.
22002 * benchtests/bench-strchr.c: New file.
22003 * benchtests/bench-strchrnul-ifunc.c: New file.
22004 * benchtests/bench-strchrnul.c: New file.
22005 * benchtests/bench-strcmp-ifunc.c: New file.
22006 * benchtests/bench-strcmp.c: New file.
22007 * benchtests/bench-strcpy-ifunc.c: New file.
22008 * benchtests/bench-strcpy.c: New file.
22009 * benchtests/bench-strcspn-ifunc.c: New file.
22010 * benchtests/bench-strcspn.c: New file.
22011 * benchtests/bench-strlen-ifunc.c: New file.
22012 * benchtests/bench-strlen.c: New file.
22013 * benchtests/bench-strncasecmp-ifunc.c: New file.
22014 * benchtests/bench-strncasecmp.c: New file.
22015 * benchtests/bench-strncat-ifunc.c: New file.
22016 * benchtests/bench-strncat.c: New file.
22017 * benchtests/bench-strncmp-ifunc.c: New file.
22018 * benchtests/bench-strncmp.c: New file.
22019 * benchtests/bench-strncpy-ifunc.c: New file.
22020 * benchtests/bench-strncpy.c: New file.
22021 * benchtests/bench-strnlen-ifunc.c: New file.
22022 * benchtests/bench-strnlen.c: New file.
22023 * benchtests/bench-strpbrk-ifunc.c: New file.
22024 * benchtests/bench-strpbrk.c: New file.
22025 * benchtests/bench-strrchr-ifunc.c: New file.
22026 * benchtests/bench-strrchr.c: New file.
22027 * benchtests/bench-strspn-ifunc.c: New file.
22028 * benchtests/bench-strspn.c: New file.
22029 * benchtests/bench-strstr-ifunc.c: New file.
22030 * benchtests/bench-strstr.c: New file.
22031
c1f75dc3
SP
22032 * benchtests/Makefile: Disable parallel execution of targets.
22033 (string-bench): Add memcpy.
22034 (benchset): New variable to store a list of benchmark sets.
22035 (bench-func): Renamed from bench.
22036 (bench-set): New target.
22037 (bench): Depend on bench-func and bench-set.
22038 * benchtests/README: Add section on benchmark sets.
22039 * benchtests/bench-memcpy-ifunc.c: New file.
22040 * benchtests/bench-memcpy.c: New file.
22041 * benchtests/bench-string.h: New file.
22042
50fd745b
AS
220432013-06-11 Andreas Schwab <schwab@suse.de>
22044
22045 [BZ #15577]
22046 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22047 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22048 values in the triple.
22049 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22050 terminator in the group key.
22051
3ee7e9fe
AJ
220522013-06-11 Andreas Jaeger <aj@suse.de>
22053
22054 * po/zh_TW.po: Update Chinese (traditional) translation from
22055 translation project.
22056
89fb6835
SP
220572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22058
22059 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22060 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22061 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22063 (clock_getcpuclockid): Likewise.
22064 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22065 Add weak_alias and libc_hidden_def.
22066 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22067 * rt/clock_gettime.c (clock_gettime): Rename to
22068 __clock_gettime. Add weak_alias and libc_hidden_def.
22069 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22070 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22071 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22072 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22073 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22074 Likewise.
22075 * rt/clock_settime.c (clock_settime): Rename to
22076 __clock_settime. Add weak_alias and libc_hidden_def.
22077 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22078
0efa6f8b
JM
220792013-06-10 Joseph Myers <joseph@codesourcery.com>
22080
b8c61b4b
JM
22081 * mach/err_boot.sub: Remove trailing whitespace.
22082 * mach/err_ipc.sub: Likewise.
22083 * mach/err_mach.sub: Likewise.
22084
0efa6f8b
JM
22085 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22086 (ROUNDING_TESTS_double): Likewise.
22087 (ROUNDING_TESTS_long_double): Likewise.
22088 (ROUNDING_TESTS): Likewise.
22089 * math/libm-test.inc: Include <math-tests.h>.
22090 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22091 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22092 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22093 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22094
50b818bf
SP
220952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22096
22097 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22098 of assigning.
22099
60d2f8f3
JM
221002013-06-08 Joseph Myers <joseph@codesourcery.com>
22101
4902d2c3
JM
22102 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22103 otherwise empty TRANS lines.
22104 * sysdeps/gnu/errlist.c: Regenerated.
22105
60d2f8f3
JM
22106 * catgets/gencat.c (error_print): Use (void) in function
22107 definition.
22108 * crypt/crypt_util.c (__init_des): Likewise.
22109 * crypt/speeds.c (Stop): Likewise.
22110 (main): Likewise.
22111 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22112 * inet/ruserpass.c (token): Likewise.
22113 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22114 * intl/localealias.c (extend_alias_table): Likewise.
22115 * intl/plural-exp.c (init_germanic_plural): Likewise.
22116 * libio/fcloseall.c (__fcloseall): Likewise.
22117 * libio/genops.c (_IO_flush_all): Likewise.
22118 (_IO_flush_all_linebuffered): Likewise.
22119 (_IO_cleanup): Likewise.
22120 (_IO_iter_begin): Likewise.
22121 (_IO_iter_end): Likewise.
22122 (_IO_list_lock): Likewise.
22123 (_IO_list_unlock): Likewise.
22124 (_IO_list_resetlock): Likewise.
22125 * libio/getchar.c (getchar): Likewise.
22126 * libio/getchar_u.c (getchar_unlocked): Likewise.
22127 * libio/getwchar.c (getwchar): Likewise.
22128 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22129 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22130 * login/getpt.c (__getpt): Likewise.
22131 * login/tst-utmp.c (main): Likewise.
22132 * malloc/hooks.c (__malloc_check_init): Likewise.
22133 * malloc/malloc.c (__malloc_stats): Likewise.
22134 * malloc/mtrace.c (tr_break): Likewise.
22135 (mtrace): Likewise.
22136 (muntrace): Likewise.
22137 * misc/fstab.c (endfsent): Likewise.
22138 * misc/getclktck.c (__getclktck): Likewise.
22139 * misc/getdtsz.c (__getdtablesize): Likewise.
22140 * misc/gethostid.c (gethostid): Likewise.
22141 * misc/getpagesize.c (__getpagesize): Likewise.
22142 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22143 (__get_nprocs): Likewise.
22144 (__get_phys_pages): Likewise.
22145 (__get_avphys_pages): Likewise.
22146 * misc/getttyent.c (getttyent): Likewise.
22147 (setttyent): Likewise.
22148 (endttyent): Likewise.
22149 * misc/getusershell.c (getusershell): Likewise.
22150 (endusershell): Likewise.
22151 (setusershell): Likewise.
22152 (initshells): Likewise.
22153 * misc/hsearch.c (__hdestroy): Likewise.
22154 * misc/sync.c (sync): Likewise.
22155 * misc/syslog.c (closelog_internal): Likewise.
22156 (closelog): Likewise.
22157 * misc/ttyslot.c (ttyslot): Likewise.
22158 * misc/vhangup.c (vhangup): Likewise.
22159 * posix/fork.c (__fork): Likewise.
22160 * posix/getegid.c (__getegid): Likewise.
22161 * posix/geteuid.c (__geteuid): Likewise.
22162 * posix/getgid.c (__getgid): Likewise.
22163 * posix/getpid.c (__getpid): Likewise.
22164 * posix/getppid.c (__getppid): Likewise.
22165 * posix/getuid.c (__getuid): Likewise.
22166 * posix/pause.c (pause): Likewise.
22167 * posix/setpgrp.c (setpgrp): Likewise.
22168 * posix/setsid.c (__setsid): Likewise.
22169 * posix/test-vfork.c (noop): Likewise.
22170 * resolv/gethnamaddr.c (_endhtent): Likewise.
22171 (_gethtent): Likewise.
22172 (ht_endhostent): Likewise.
22173 (gethostent): Likewise.
22174 (dns_service): Likewise.
22175 * stdlib/drand48.c (drand48): Likewise.
22176 * stdlib/lrand48.c (lrand48): Likewise.
22177 * stdlib/mrand48.c (mrand48): Likewise.
22178 * stdlib/rand.c (rand): Likewise.
22179 * stdlib/random.c (__random): Likewise.
22180 * stdlib/setenv.c (clearenv): Likewise.
22181 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22182 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22183 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22185 (__get_nprocs): Likewise.
22186 (__get_phys_pages): Likewise.
22187 (__get_avphys_pages): Likewise.
22188 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22189 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22190 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22191 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22192 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22193 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22194 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22195 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22196 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22197 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22198 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22199 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22200 * sysdeps/posix/clock.c (clock): Likewise.
22201 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22202 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22203 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22204 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22205 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22207 (__get_nprocs_conf): Likewise.
22208 (__get_phys_pages): Likewise.
22209 (__get_avphys_pages): Likewise.
22210 * time/clock.c (clock): Likewise.
22211 * time/tzset.c (__tzname_max): Likewise.
22212
2e09a79a
JM
222132013-06-07 Joseph Myers <joseph@codesourcery.com>
22214
22215 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22216 (__bswap_32): Do not use "register".
22217 * crypt/crypt.c (_ufc_doit_r): Likewise.
22218 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22219 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22220 * gmon/gmon.c (__monstartup): Likewise.
22221 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22222 * hurd/hurdmalloc.c (more_memory): Likewise.
22223 (malloc): Likewise.
22224 (free): Likewise.
22225 (realloc): Likewise.
22226 (malloc_fork_prepare): Likewise.
22227 (malloc_fork_parent): Likewise.
22228 (malloc_fork_child): Likewise.
22229 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22230 (_svcauth_des): Likewise.
22231 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22232 * inet/inet_net.c (inet_network): Likewise.
22233 * inet/inet_netof.c (inet_netof): Likewise.
22234 * inet/rcmd.c (__validuser2_sa): Likewise.
22235 * io/fts.c (fts_open): Likewise.
22236 (fts_load): Likewise.
22237 (fts_close): Likewise.
22238 (fts_read): Likewise.
22239 (fts_children): Likewise.
22240 (fts_build): Likewise.
22241 (fts_stat): Likewise.
22242 (fts_sort): Likewise.
22243 (fts_alloc): Likewise.
22244 (fts_lfree): Likewise.
22245 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22246 (_IO_file_xsgetn): Likewise.
22247 (_IO_file_xsgetn_mmap): Likewise.
22248 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22249 (_IO_cookie_write): Likewise.
22250 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22251 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22252 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22253 * malloc/obstack.c (_obstack_begin): Likewise.
22254 (_obstack_begin_1): Likewise.
22255 (_obstack_newchunk): Likewise.
22256 (_obstack_allocated_p): Likewise.
22257 (obstack_free): Likewise.
22258 (_obstack_memory_used): Likewise.
22259 * misc/getttyent.c (getttynam): Likewise.
22260 (getttyent): Likewise.
22261 (skip): Likewise.
22262 (value): Likewise.
22263 * misc/getusershell.c (initshells): Likewise.
22264 * misc/syslog.c (__vsyslog_chk): Likewise.
22265 * misc/ttyslot.c (ttyslot): Likewise.
22266 * nis/nis_hash.c (__nis_hash): Likewise.
22267 * posix/fnmatch_loop.c (FCT): Likewise.
22268 * posix/getconf.c (print_all): Likewise.
22269 (main): Likewise.
22270 * posix/getopt.c (exchange): Likewise.
22271 * posix/glob.c (globfree): Likewise.
22272 (prefix_array): Likewise.
22273 (__glob_pattern_type): Likewise.
22274 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22275 (NS_GET32): Likewise.
22276 (NS_PUT16): Likewise.
22277 (NS_PUT32): Likewise.
22278 * resolv/gethnamaddr.c (getanswer): Likewise.
22279 (gethostbyname2): Likewise.
22280 (gethostbyaddr): Likewise.
22281 (_gethtent): Likewise.
22282 (_gethtbyname2): Likewise.
22283 (_gethtbyaddr): Likewise.
22284 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22285 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22286 * resolv/res_init.c (__res_vinit): Likewise.
22287 (net_mask): Likewise.
22288 * resolv/res_mkquery.c (outchar): Likewise.
22289 (PRINT): Likewise.
22290 * stdio-common/printf_fp.c (outchar): Likewise.
22291 (PRINT): Likewise.
22292 * stdio-common/printf_fphex.c (outchar): Likewise.
22293 (PRINT): Likewise.
22294 * stdio-common/printf_size.c (outchar): Likewise.
22295 (PRINT): Likewise.
22296 * stdio-common/test_rdwr.c (main): Likewise.
22297 * stdio-common/tfformat.c (matches): Likewise.
22298 * stdio-common/vfprintf.c (outchar): Likewise.
22299 (printf_unknown): Likewise.
22300 (buffered_vfprintf): Likewise.
22301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22302 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22303 (ReadFile): Likewise.
22304 * stdlib/qsort.c (SWAP): Likewise.
22305 (_quicksort): Likewise.
22306 * stdlib/setenv.c (__add_to_environ): Likewise.
22307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22308 * stdlib/strtol_l.c (__strtol_l): Likewise.
22309 * stdlib/tst-strtod.c (main): Likewise.
22310 * stdlib/tst-strtol.c (main): Likewise.
22311 * stdlib/tst-strtoll.c (main): Likewise.
22312 * string/bits/string2.h (__strcmp_cc): Likewise.
22313 (__strcmp_cg): Likewise.
22314 (__strcspn_c1): Likewise.
22315 (__strcspn_c2): Likewise.
22316 (__strcspn_c3): Likewise.
22317 (__strspn_c1): Likewise.
22318 (__strspn_c2): Likewise.
22319 (__strspn_c3): Likewise.
22320 (__strsep_1c): Likewise.
22321 (__strsep_2c): Likewise.
22322 (__strsep_3c): Likewise.
22323 * string/memccpy.c (__memccpy): Likewise.
22324 * string/stpcpy.c (__stpcpy): Likewise.
22325 * string/strcmp.c (strcmp): Likewise.
22326 * string/strrchr.c (strrchr): Likewise.
22327 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22328 Likewise.
22329 * sysdeps/mach/hurd/getcwd.c
22330 (_hurd_canonicalize_directory_name_internal): Likewise.
22331 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22332 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22333 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22334 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22335 Likewise, in both definitions.
22336 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22337 definitions.
22338 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22339 64] (__bswap_64): Likewise.
22340 * time/test_time.c (main): Likewise.
22341 * time/tzfile.c (__tzfile_read): Likewise.
22342 (__tzfile_compute): Likewise.
22343 * time/tzset.c (__tzset_parse_tz): Likewise.
22344 (tzset_internal): Likewise.
22345 (compute_change): Likewise.
22346 * wcsmbs/wcscat.c (__wcscat): Likewise.
22347 * wcsmbs/wcschr.c (wcschr): Likewise.
22348 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22349 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22350 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22351 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22352 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22353 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22354 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22355 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22356 * wcsmbs/wmemset.c (wmemset): Likewise.
22357
9e54314b
JM
223582013-06-06 Joseph Myers <joseph@codesourcery.com>
22359
22360 * scripts/config.guess: Update to version 2013-05-16.
22361 * scripts/config.sub: Update to version 2013-04-24.
22362 * scripts/install-sh: Update to version 2011-11-20.07.
22363 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22364 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22365
350635a5
OB
223662013-06-06 Ondřej Bílka <neleai@seznam.cz>
22367
22368 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22369 * elf/sln.c: Likewise.
22370 * hurd/hurd/ioctl.h: Likewise.
22371 * hurd/hurdmalloc.c: Likewise.
22372 * hurd/xattr.c: Likewise.
22373 * include/shlib-compat.h: Likewise.
22374 * inet/ruserpass.c: Likewise.
22375 * libio/iofgets_u.c: Likewise.
22376 * libio/iofgetws_u.c: Likewise.
22377 * locale/programs/ld-identification.c: Likewise.
22378 * locale/programs/ld-time.c: Likewise.
22379 * mach/msg-destroy.c: Likewise.
22380 * nss/nss_files/files-netgrp.c: Likewise.
22381 * resolv/res_data.c: Likewise.
22382 * soft-fp/op-1.h: Likewise.
22383 * soft-fp/op-2.h: Likewise.
22384 * soft-fp/op-4.h: Likewise.
22385 * soft-fp/op-common.h: Likewise.
22386 * stdio-common/printf_fphex.c: Likewise.
22387 * stdlib/strtod_l.c: Likewise.
22388 * sunrpc/rpc/clnt.h: Likewise.
22389 * sysdeps/generic/framestate.c: Likewise.
22390 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22391 * sysdeps/i386/bsd-setjmp.S: Likewise.
22392 * sysdeps/i386/__longjmp.S: Likewise.
22393 * sysdeps/i386/setjmp.S: Likewise.
22394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22395 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22396 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22412 * sysdeps/ieee754/support.c: Likewise.
22413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22414 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22415 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22416 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22417 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22418 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22419 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22420 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22421 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22422 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22423 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22424 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22425 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22427 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22428 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22431
44a988af
OB
224322013-06-05 Ondřej Bílka <neleai@seznam.cz>
22433
25506f09 22434 * posix/transbug.c: Remove executable mode.
44a988af 22435
9c84384c
JM
224362013-06-05 Joseph Myers <joseph@codesourcery.com>
22437
22438 * crypt/speeds.c: Remove trailing whitespace.
22439 * dlfcn/default.c: Likewise.
22440 * elf/ifuncdep2.c: Likewise.
22441 * elf/ifuncmain1.c: Likewise.
22442 * elf/ifuncmain1vis.c: Likewise.
22443 * elf/testobj.h: Likewise.
22444 * elf/tst-stackguard1.c: Likewise.
22445 * gmon/sys/gmon.h: Likewise.
22446 * hurd/hurdmsg.c: Likewise.
22447 * hurd/new-fd.c: Likewise.
22448 * hurd/ports-get.c: Likewise.
22449 * iconvdata/ibm1008_420.c: Likewise.
22450 * inet/tst-getni1.c: Likewise.
22451 * inet/tst-getni2.c: Likewise.
22452 * libio/ioungetc.c: Likewise.
22453 * libio/wfiledoalloc.c: Likewise.
22454 * manual/libm-err-tab.pl: Likewise.
22455 * math/w_dremf.c: Likewise.
22456 * misc/ftruncate.c: Likewise.
22457 * posix/bug-glob2.c: Likewise.
22458 * posix/tst-pcre.c: Likewise.
22459 * posix/wait4.c: Likewise.
22460 * resolv/README: Likewise.
22461 * resolv/res_debug.h: Likewise.
22462 * resolv/tst-inet_ntop.c: Likewise.
22463 * setjmp/bug269-setjmp.c: Likewise.
22464 * soft-fp/extended.h: Likewise.
22465 * soft-fp/op-1.h: Likewise.
22466 * soft-fp/op-2.h: Likewise.
22467 * soft-fp/op-4.h: Likewise.
22468 * soft-fp/op-8.h: Likewise.
22469 * soft-fp/testit.c: Likewise.
22470 * stdio-common/bug16.c: Likewise.
22471 * stdlib/random.c: Likewise.
22472 * sunrpc/rpcsvc/rquota.x: Likewise.
22473 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22481 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22502 * sysdeps/ieee754/s_lib_version.c: Likewise.
22503 * sysdeps/mach/hurd/check_fds.c: Likewise.
22504 * sysdeps/mach/hurd/getsockname.c: Likewise.
22505 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22506 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22507 * sysdeps/powerpc/bits/link.h: Likewise.
22508 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22509 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22510 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22511 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22513 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22514 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22515 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22516 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22517 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22518 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22519 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22520 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22521 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22522 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22523 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22524 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22526 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22529 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22531 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22532 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22535 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22537 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22538 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22539 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22541 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22542 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22543 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22544 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22545 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22546 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22547 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22548 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22549 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22550 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22551 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22552 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22553 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22554 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22556 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22557 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22562 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22563 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22564 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22568 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22571 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22572 * sysdeps/powerpc/sysdep.h: Likewise.
22573 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22574 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22575 * sysdeps/sh/dl-trampoline.S: Likewise.
22576 * sysdeps/sh/memset.S: Likewise.
22577 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22578 * sysdeps/sh/strlen.S: Likewise.
22579 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22580 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22581 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22582 * sysdeps/sparc/sparc32/rem.S: Likewise.
22583 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22585 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22586 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22587 * sysdeps/sparc/sparc32/urem.S: Likewise.
22588 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22589 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22590 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22591 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22593 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22594 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22595 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22596 * sysdeps/unix/bsd/times.c: Likewise.
22597 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22598 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22602 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22604 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22606 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22614 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22615 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22616 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22617 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22618 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22619 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22620 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22621 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22622 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22623 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22625 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22626 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22627 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22628 * sysdeps/x86_64/strcspn.S: Likewise.
22629
869378a5
RA
226302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22631
22632 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22633 generated file. Regenerate properly from gen-translit.pl.
22634 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22635 locale/C-translit.h.
22636
840e2943
AS
226372013-06-05 Andreas Schwab <schwab@suse.de>
22638
22639 [BZ #15100]
22640 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22641 week as 6 instead of -1.
22642 * time/tst-strptime.c (day_tests): Add test case.
22643
4c60cb0c
SP
226442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22645
22646 * sysdeps/generic/math_private.h
22647 (libc_feholdexcept_setround_53bit): Replace with
22648 libc_feholdsetround_53bit.
22649 (libc_feupdateenv_53bit): Replace with
22650 libc_feresetround_53bit.
22651 (SET_RESTORE_ROUND_53BIT): Adjust.
22652
d180203e
SP
226532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22654
96df079a
SP
22655 * string/test-strchrnul.c: Add copyright header.
22656
d180203e
SP
22657 * posix/tst-getaddrinfo4.c: Increase test timeout.
22658
8b0ccb2d
CD
226592013-06-03 Carlos O'Donell <carlos@redhat.com>
22660
22661 [BZ #15536]
22662 * math/libm-test.inc (MAX_EXP): Remove
22663 (MIN_EXP): Define.
22664 (ulp): Use MIN_EXP - MANT_DIG.
22665 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22666
3b3c4d40
CD
226672013-05-31 Carlos O'Donell <carlos@redhat.com>
22668
22669 * po/be.po: Revert last change.
22670 * po/zh_CN.po: Likewise.
22671 * po/header.pot: Likewise.
22672
fab7ce3f
JM
226732013-05-31 Joseph Myers <joseph@codesourcery.com>
22674
22675 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22676 link-libc-deps to empty as target-specific variable.
22677 * Makerules (link-libc-args): New variable.
22678 (libc-for-link): Likewise.
22679 (link-libc-deps): Likewise.
22680 (lib%.so): Depend on $(link-libc-deps). Link with
22681 $(link-libc-args).
22682 (build-module): Link with $(link-libc-args).
22683 (build-module-asneeded): Likewise.
22684 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22685 list of objects.
22686 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22687 target-specific variable.
22688 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22689 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22690 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22691 libc.
22692 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22693 libc and ld.so.
22694 ($(objpfx)libpcprofile.so): Likewise.
22695 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22696 libc_nonshared.a.
22697 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22698 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22699 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22700 $(link-libc-deps).
22701 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22702 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22703 * login/Makefile ($(objpfx)libutil.so): Likewise.
22704 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22705 * math/Makefile ($(objpfx)libm.so): Likewise.
22706 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22707 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22708 variable instead of depending directly on libc.
22709 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22710 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22711 $(link-libc-deps).
22712 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22713 libc.
22714 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22715 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22716 ($(objpfx)libanl.so): Likewise.
22717 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22718 ld.so.
22719 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22720 $(link-libc-deps).
22721 * sysdeps/i386/fpu/Makefile: Remove file.
22722 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22723 ($(objpfx)libm.so): Remove dependency on ld.so.
22724
eca5920c
PF
227252013-05-30 Patsy Franklin <pfrankli@redhat.com>
22726
22727 [BZ # 15553]
22728 * nis/yp_xdr.c (XDRMAXNAME): Define.
22729 (XDRMAXRECORD): Define.
22730 (xdr_domainname): Use XDRMAXNAME.
22731 (xdr_mapname): Likewise.
22732 (xdr_peername): Likewise.
22733 (xdr_keydat): Use XDRMAXRECORD.
22734 (xdr_valdat): Likewise.
22735
227362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22737
22738 [BZ #14256]
22739 * manual/errno.texi (ESTALE): Update to account for more than
22740 just NFS file systems.
22741 * sysdeps/gnu/errlist.c: Regenerated.
22742
b9375348
SP
227432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22744
22745 [BZ #15465]
22746 * elf/Makefile (tests): Add tst-null-argv.
22747 (modules-names): Add tst-null-argv-lib.
22748 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22749 (tst-null-argv-ENV): Set environment for tst-null-argv.
22750 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22751 (RTLD_PROGNAME): New macro.
22752 * elf/tst-null-argv.c: New test case.
22753 * elf/tst-null-argv-lib.c: Library for test case.
22754 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22755 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22756 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22757 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22758 * elf/dl-init.c (call_init): Likewise.
22759 (_dl_init): Likewise.
22760 * elf/dl-load.c (print_search_path): Likewise.
22761 (_dl_map_object): Likewise.
22762 * elf/dl-lookup.c (do_lookup_x): Likewise.
22763 (add_dependency): Likewise.
22764 (_dl_lookup_symbol_x): Likewise.
22765 (_dl_debug_bindings): Likewise.
22766 * elf/dl-open.c (_dl_show_scope): Likewise.
22767 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22768 * elf/dl-version.c (match_symbol): Likewise.
22769 (_dl_check_map_versions): Likewise.
22770 * elf/rtld.c (dl_main): Likewise.
22771 (print_unresolved): Use RTLD_PROGNAME.
22772 (print_missing_version): Likewise.
22773 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22774 (elf_machine_rela): Likewise.
22775 * sysdeps/powerpc/powerpc32/dl-machine.c
22776 (__process_machine_rela): Likewise.
22777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22778 Likewise.
22779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22780 Likewise.
22781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22782 Likewise.
22783 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22785 Likewise.
22786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22787 Likewise.
22788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22789
8a9f20c8
CD
227902013-05-28 Carlos O'Donell <carlos@redhat.com>
22791
22792 * po/be.po: Add descriptive title.
22793 * po/zh_CN.po: Likewise.
22794 * po/header.pot: Likewise.
22795
0e60d68e
MF
227962013-05-28 Mike Frysinger <vapier@gentoo.org>
22797
22798 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22799 error message.
22800 (enlarge_archive): Likewise.
22801
56b672e9
BN
228022013-05-28 Ben North <ben@redfrontdoor.org>
22803
22804 * manual/arith.texi (frexp): It is the magnitude of the return
22805 value which lies in [0.5, 1), not the return value itself.
22806
5e056687
AZ
228072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22808
22809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22810
2b66ef5d
TS
228112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22812
528c2405
TS
22813 * stdio-common/bug26.c (main): Correct fscanf template.
22814
07b4c13d
TS
22815 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22816 declare _dl_skip_args.
22817
ec9dd97c
TS
22818 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22819 Don't declare.
22820
2b66ef5d
TS
22821 * manual/platform.texi: Add missing @end deftypefun.
22822
4f8dfe27
JM
228232013-05-24 Joseph Myers <joseph@codesourcery.com>
22824
0323d086
JM
22825 [BZ #15529]
22826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22827 bit of mantissa of 2^16382.
22828 * math/libm-test.inc (hypot_test_data): Add more tests.
22829
dd4259b9
JM
22830 * math/libm-test.inc: Add drem and pow10 to list of tested
22831 functions.
22832 (pow10_test): New function.
22833 (drem_test): Likewise.
22834 (drem_test_tonearest): Likewise.
22835 (drem_test_towardzero): Likewise.
22836 (drem_test_downward): Likewise.
22837 (drem_test_upward): Likewise.
22838 (main): Call the new functions.
22839
4f8dfe27
JM
22840 * math/libm-test.inc (finite_test_data): Remove.
22841 (finite_test): Run tests from isfinite_test_data.
22842 (gamma_test_data): Remove.
22843 (gamma_test): Run tests from lgamma_test_data.
22844 * sysdeps/i386/fpu/libm-test-ulps: Update.
22845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22846
d116b7c4
AZ
228472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22848
22849 * manual/platform.texi: Add PowerPC PPR function set documentation.
22850 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22851 implementation.
22852
e96e3767
CD
228532013-05-24 Carlos O'Donell <carlos@redhat.com>
22854
22855 * math/libm-test.inc (MAX_EXP): Define.
22856 (ULPDIFF): Define.
22857 (ulp): New function.
22858 (check_float_internal): Use ULPDIFF.
22859 (cpow_test): Disable failing test.
22860 (check_ulp): Test ulp() implemetnation.
22861 (main): Call check_ulp before starting tests.
22862
b679a606
JM
228632013-05-24 Joseph Myers <joseph@codesourcery.com>
22864
e8bdba36
JM
22865 * math/gen-libm-test.pl (generate_testfile): Do not handle
22866 START_DATA and END_DATA.
22867 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22868 END_DATA.
22869 (acos_tonearest_test_data): Likewise.
22870 (acos_towardzero_test_data): Likewise.
22871 (acos_downward_test_data): Likewise.
22872 (acos_upward_test_data): Likewise.
22873 (acosh_test_data): Likewise.
22874 (asin_test_data): Likewise.
22875 (asin_tonearest_test_data): Likewise.
22876 (asin_towardzero_test_data): Likewise.
22877 (asin_downward_test_data): Likewise.
22878 (asin_upward_test_data): Likewise.
22879 (asinh_test_data): Likewise.
22880 (atan_test_data): Likewise.
22881 (atanh_test_data): Likewise.
22882 (atan2_test_data): Likewise.
22883 (cabs_test_data): Likewise.
22884 (cacos_test_data): Likewise.
22885 (cacosh_test_data): Likewise.
22886 (carg_test_data): Likewise.
22887 (casin_test_data): Likewise.
22888 (casinh_test_data): Likewise.
22889 (catan_test_data): Likewise.
22890 (catanh_test_data): Likewise.
22891 (cbrt_test_data): Likewise.
22892 (ccos_test_data): Likewise.
22893 (ccosh_test_data): Likewise.
22894 (ceil_test_data): Likewise.
22895 (cexp_test_data): Likewise.
22896 (cimag_test_data): Likewise.
22897 (clog_test_data): Likewise.
22898 (clog10_test_data): Likewise.
22899 (conj_test_data): Likewise.
22900 (copysign_test_data): Likewise.
22901 (cos_test_data): Likewise.
22902 (cos_tonearest_test_data): Likewise.
22903 (cos_towardzero_test_data): Likewise.
22904 (cos_downward_test_data): Likewise.
22905 (cos_upward_test_data): Likewise.
22906 (cosh_test_data): Likewise.
22907 (cosh_tonearest_test_data): Likewise.
22908 (cosh_towardzero_test_data): Likewise.
22909 (cosh_downward_test_data): Likewise.
22910 (cosh_upward_test_data): Likewise.
22911 (cpow_test_data): Likewise.
22912 (cproj_test_data): Likewise.
22913 (creal_test_data): Likewise.
22914 (csin_test_data): Likewise.
22915 (csinh_test_data): Likewise.
22916 (csqrt_test_data): Likewise.
22917 (ctan_test_data): Likewise.
22918 (ctan_tonearest_test_data): Likewise.
22919 (ctan_towardzero_test_data): Likewise.
22920 (ctan_downward_test_data): Likewise.
22921 (ctan_upward_test_data): Likewise.
22922 (ctanh_test_data): Likewise.
22923 (ctanh_tonearest_test_data): Likewise.
22924 (ctanh_towardzero_test_data): Likewise.
22925 (ctanh_downward_test_data): Likewise.
22926 (ctanh_upward_test_data): Likewise.
22927 (erf_test_data): Likewise.
22928 (erfc_test_data): Likewise.
22929 (exp_test_data): Likewise.
22930 (exp_tonearest_test_data): Likewise.
22931 (exp_towardzero_test_data): Likewise.
22932 (exp_downward_test_data): Likewise.
22933 (exp_upward_test_data): Likewise.
22934 (exp10_test_data): Likewise.
22935 (exp2_test_data): Likewise.
22936 (expm1_test_data): Likewise.
22937 (fabs_test_data): Likewise.
22938 (fdim_test_data): Likewise.
22939 (finite_test_data): Likewise.
22940 (floor_test_data): Likewise.
22941 (fma_test_data): Likewise.
22942 (fma_towardzero_test_data): Likewise.
22943 (fma_downward_test_data): Likewise.
22944 (fma_upward_test_data): Likewise.
22945 (fmax_test_data): Likewise.
22946 (fmin_test_data): Likewise.
22947 (fmod_test_data): Likewise.
22948 (fpclassify_test_data): Likewise.
22949 (frexp_test_data): Likewise.
22950 (gamma_test_data): Likewise.
22951 (hypot_test_data): Likewise.
22952 (ilogb_test_data): Likewise.
22953 (isfinite_test_data): Likewise.
22954 (isgreater_test_data): Likewise.
22955 (isgreaterequal_test_data): Likewise.
22956 (isinf_test_data): Likewise.
22957 (isless_test_data): Likewise.
22958 (islessequal_test_data): Likewise.
22959 (islessgreater_test_data): Likewise.
22960 (isnan_test_data): Likewise.
22961 (isnormal_test_data): Likewise.
22962 (issignaling_test_data): Likewise.
22963 (isunordered_test_data): Likewise.
22964 (j0_test_data): Likewise.
22965 (j1_test_data): Likewise.
22966 (jn_test_data): Likewise.
22967 (ldexp_test_data): Likewise.
22968 (lgamma_test_data): Likewise.
22969 (lrint_test_data): Likewise.
22970 (lrint_tonearest_test_data): Likewise.
22971 (lrint_towardzero_test_data): Likewise.
22972 (lrint_downward_test_data): Likewise.
22973 (lrint_upward_test_data): Likewise.
22974 (llrint_test_data): Likewise.
22975 (llrint_tonearest_test_data): Likewise.
22976 (llrint_towardzero_test_data): Likewise.
22977 (llrint_downward_test_data): Likewise.
22978 (llrint_upward_test_data): Likewise.
22979 (log_test_data): Likewise.
22980 (log10_test_data): Likewise.
22981 (log1p_test_data): Likewise.
22982 (log2_test_data): Likewise.
22983 (logb_test_data): Likewise.
22984 (logb_downward_test_data): Likewise.
22985 (lround_test_data): Likewise.
22986 (llround_test_data): Likewise.
22987 (modf_test_data): Likewise.
22988 (nearbyint_test_data): Likewise.
22989 (nextafter_test_data): Likewise.
22990 (nexttoward_test_data): Likewise.
22991 (pow_test_data): Likewise.
22992 (pow_tonearest_test_data): Likewise.
22993 (pow_towardzero_test_data): Likewise.
22994 (pow_downward_test_data): Likewise.
22995 (pow_upward_test_data): Likewise.
22996 (remainder_test_data): Likewise.
22997 (remainder_tonearest_test_data): Likewise.
22998 (remainder_towardzero_test_data): Likewise.
22999 (remainder_downward_test_data): Likewise.
23000 (remainder_upward_test_data): Likewise.
23001 (remquo_test_data): Likewise.
23002 (rint_test_data): Likewise.
23003 (rint_tonearest_test_data): Likewise.
23004 (rint_towardzero_test_data): Likewise.
23005 (rint_downward_test_data): Likewise.
23006 (rint_upward_test_data): Likewise.
23007 (round_test_data): Likewise.
23008 (scalb_test_data): Likewise.
23009 (scalbn_test_data): Likewise.
23010 (scalbln_test_data): Likewise.
23011 (signbit_test_data): Likewise.
23012 (sin_test_data): Likewise.
23013 (sin_tonearest_test_data): Likewise.
23014 (sin_towardzero_test_data): Likewise.
23015 (sin_downward_test_data): Likewise.
23016 (sin_upward_test_data): Likewise.
23017 (sincos_test_data): Likewise.
23018 (sinh_test_data): Likewise.
23019 (sinh_tonearest_test_data): Likewise.
23020 (sinh_towardzero_test_data): Likewise.
23021 (sinh_downward_test_data): Likewise.
23022 (sinh_upward_test_data): Likewise.
23023 (sqrt_test_data): Likewise.
23024 (tan_test_data): Likewise.
23025 (tan_tonearest_test_data): Likewise.
23026 (tan_towardzero_test_data): Likewise.
23027 (tan_downward_test_data): Likewise.
23028 (tan_upward_test_data): Likewise.
23029 (tanh_test_data): Likewise.
23030 (tgamma_test_data): Likewise.
23031 (trunc_test_data): Likewise.
23032 (y0_test_data): Likewise.
23033 (y1_test_data): Likewise.
23034 (yn_test_data): Likewise.
23035 (significand_test_data): Likewise.
23036
b679a606
JM
23037 * math/gen-libm-test.pl (@functions): Remove variable.
23038 (generate_testfile): Don't handle START and END lines.
23039 * math/libm-test.inc (START): New macro.
23040 (END): Likewise.
23041 (END_COMPLEX): Likewise.
23042 (acos_test): Use END macro without arguments.
23043 (acos_test_tonearest): Likewise.
23044 (acos_test_towardzero): Likewise.
23045 (acos_test_downward): Likewise.
23046 (acos_test_upward): Likewise.
23047 (acosh_test): Likewise.
23048 (asin_test): Likewise.
23049 (asin_test_tonearest): Likewise.
23050 (asin_test_towardzero): Likewise.
23051 (asin_test_downward): Likewise.
23052 (asin_test_upward): Likewise.
23053 (asinh_test): Likewise.
23054 (atan_test): Likewise.
23055 (atanh_test): Likewise.
23056 (atan2_test): Likewise.
23057 (cabs_test): Likewise.
23058 (cacos_test): Use END_COMPLEX macro without arguments.
23059 (cacosh_test): Likewise.
23060 (carg_test): Use END macro without arguments.
23061 (casin_test): Use END_COMPLEX macro without arguments.
23062 (casinh_test): Likewise.
23063 (catan_test): Likewise.
23064 (catanh_test): Likewise.
23065 (cbrt_test): Use END macro without arguments.
23066 (ccos_test): Use END_COMPLEX macro without arguments.
23067 (ccosh_test): Likewise.
23068 (ceil_test): Use END macro without arguments.
23069 (cexp_test): Use END_COMPLEX macro without arguments.
23070 (cimag_test): Use END macro without arguments.
23071 (clog_test): Use END_COMPLEX macro without arguments.
23072 (clog10_test): Likewise.
23073 (conj_test): Likewise.
23074 (copysign_test): Use END macro without arguments.
23075 (cos_test): Likewise.
23076 (cos_test_tonearest): Likewise.
23077 (cos_test_towardzero): Likewise.
23078 (cos_test_downward): Likewise.
23079 (cos_test_upward): Likewise.
23080 (cosh_test): Likewise.
23081 (cosh_test_tonearest): Likewise.
23082 (cosh_test_towardzero): Likewise.
23083 (cosh_test_downward): Likewise.
23084 (cosh_test_upward): Likewise.
23085 (cpow_test): Use END_COMPLEX macro without arguments.
23086 (cproj_test): Likewise.
23087 (creal_test): Use END macro without arguments.
23088 (csin_test): Use END_COMPLEX macro without arguments.
23089 (csinh_test): Likewise.
23090 (csqrt_test): Likewise.
23091 (ctan_test): Likewise.
23092 (ctan_test_tonearest): Likewise.
23093 (ctan_test_towardzero): Likewise.
23094 (ctan_test_downward): Likewise.
23095 (ctan_test_upward): Likewise.
23096 (ctanh_test): Likewise.
23097 (ctanh_test_tonearest): Likewise.
23098 (ctanh_test_towardzero): Likewise.
23099 (ctanh_test_downward): Likewise.
23100 (ctanh_test_upward): Likewise.
23101 (erf_test): Use END macro without arguments.
23102 (erfc_test): Likewise.
23103 (exp_test): Likewise.
23104 (exp_test_tonearest): Likewise.
23105 (exp_test_towardzero): Likewise.
23106 (exp_test_downward): Likewise.
23107 (exp_test_upward): Likewise.
23108 (exp10_test): Likewise.
23109 (exp2_test): Likewise.
23110 (expm1_test): Likewise.
23111 (fabs_test): Likewise.
23112 (fdim_test): Likewise.
23113 (finite_test): Likewise.
23114 (floor_test): Likewise.
23115 (fma_test): Likewise.
23116 (fma_test_towardzero): Likewise.
23117 (fma_test_downward): Likewise.
23118 (fma_test_upward): Likewise.
23119 (fmax_test): Likewise.
23120 (fmin_test): Likewise.
23121 (fmod_test): Likewise.
23122 (fpclassify_test): Likewise.
23123 (frexp_test): Likewise.
23124 (gamma_test): Likewise.
23125 (hypot_test): Likewise.
23126 (ilogb_test): Likewise.
23127 (isfinite_test): Likewise.
23128 (isgreater_test): Likewise.
23129 (isgreaterequal_test): Likewise.
23130 (isinf_test): Likewise.
23131 (isless_test): Likewise.
23132 (islessequal_test): Likewise.
23133 (islessgreater_test): Likewise.
23134 (isnan_test): Likewise.
23135 (isnormal_test): Likewise.
23136 (issignaling_test): Likewise.
23137 (isunordered_test): Likewise.
23138 (j0_test): Likewise.
23139 (j1_test): Likewise.
23140 (jn_test): Likewise.
23141 (ldexp_test): Likewise.
23142 (lgamma_test): Likewise.
23143 (lrint_test): Likewise.
23144 (lrint_test_tonearest): Likewise.
23145 (lrint_test_towardzero): Likewise.
23146 (lrint_test_downward): Likewise.
23147 (lrint_test_upward): Likewise.
23148 (llrint_test): Likewise.
23149 (llrint_test_tonearest): Likewise.
23150 (llrint_test_towardzero): Likewise.
23151 (llrint_test_downward): Likewise.
23152 (llrint_test_upward): Likewise.
23153 (log_test): Likewise.
23154 (log10_test): Likewise.
23155 (log1p_test): Likewise.
23156 (log2_test): Likewise.
23157 (logb_test): Likewise.
23158 (logb_test_downward): Likewise.
23159 (lround_test): Likewise.
23160 (llround_test): Likewise.
23161 (modf_test): Likewise.
23162 (nearbyint_test): Likewise.
23163 (nextafter_test): Likewise.
23164 (nexttoward_test): Likewise.
23165 (pow_test): Likewise.
23166 (pow_test_tonearest): Likewise.
23167 (pow_test_towardzero): Likewise.
23168 (pow_test_downward): Likewise.
23169 (pow_test_upward): Likewise.
23170 (remainder_test): Likewise.
23171 (remainder_test_tonearest): Likewise.
23172 (remainder_test_towardzero): Likewise.
23173 (remainder_test_downward): Likewise.
23174 (remainder_test_upward): Likewise.
23175 (remquo_test): Likewise.
23176 (rint_test): Likewise.
23177 (rint_test_tonearest): Likewise.
23178 (rint_test_towardzero): Likewise.
23179 (rint_test_downward): Likewise.
23180 (rint_test_upward): Likewise.
23181 (round_test): Likewise.
23182 (scalb_test): Likewise.
23183 (scalbn_test): Likewise.
23184 (scalbln_test): Likewise.
23185 (signbit_test): Likewise.
23186 (sin_test): Likewise.
23187 (sin_test_tonearest): Likewise.
23188 (sin_test_towardzero): Likewise.
23189 (sin_test_downward): Likewise.
23190 (sin_test_upward): Likewise.
23191 (sincos_test): Likewise.
23192 (sinh_test): Likewise.
23193 (sinh_test_tonearest): Likewise.
23194 (sinh_test_towardzero): Likewise.
23195 (sinh_test_downward): Likewise.
23196 (sinh_test_upward): Likewise.
23197 (sqrt_test): Likewise.
23198 (tan_test): Likewise.
23199 (tan_test_tonearest): Likewise.
23200 (tan_test_towardzero): Likewise.
23201 (tan_test_downward): Likewise.
23202 (tan_test_upward): Likewise.
23203 (tanh_test): Likewise.
23204 (tgamma_test): Likewise.
23205 (trunc_test): Likewise.
23206 (y0_test): Likewise.
23207 (y1_test): Likewise.
23208 (yn_test): Likewise.
23209 (significand_test): Likewise.
23210
bae143d2
OB
232112013-05-24 Ondřej Bílka <neleai@seznam.cz>
23212
23213 [BZ #15381]
23214 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23215
9323d39b
EM
232162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23217
d4ea44a0 23218 [BZ #14894]
9323d39b
EM
23219 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23220 __ppc_mdoio and __ppc_mdoom.
23221 * manual/platform.texi: Document new functions __ppc_yield,
23222 __ppc_mdoio and __ppc_mdoom.
23223
13e23af7
CD
232242013-05-22 Carlos O'Donell <carlos@redhat.com>
23225
23226 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23227 (main): Mention "tls" pseudo-hwcap is legacy.
23228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23229
351fe550
JM
232302013-05-22 Joseph Myers <joseph@codesourcery.com>
23231
23232 * math/gen-libm-test.pl (parse_args): Output only string of
23233 arguments as text for test name, not full call or descriptions of
23234 tests for extra outputs.
23235 (generate_testfile): Do not pass function name to parse_args.
23236 Generate this_func variable from START.
23237 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23238 field to arg_str.
23239 (struct test_ff_f_data): Likewise.
23240 (test_ff_f_data_nexttoward): Likewise.
23241 (struct test_fi_f_data): Likewise.
23242 (struct test_fl_f_data): Likewise.
23243 (struct test_if_f_data): Likewise.
23244 (struct test_fff_f_data): Likewise.
23245 (struct test_c_f_data): Likewise.
23246 (struct test_f_f1_data): Likewise. Remove field extra_name.
23247 (struct test_fF_f1_data): Likewise.
23248 (struct test_ffI_f1_data): Likewise.
23249 (struct test_c_c_data): Rename test_name field to arg_str.
23250 (struct test_cc_c_data): Likewise.
23251 (struct test_f_i_data): Likewise.
23252 (struct test_ff_i_data): Likewise.
23253 (struct test_f_l_data): Likewise.
23254 (struct test_f_L_data): Likewise.
23255 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23256 and extra2_name.
23257 (COMMON_TEST_SETUP): New macro.
23258 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23259 (COMMON_TEST_CLEANUP): Likewise.
23260 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23261 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23262 macros.
23263 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23264 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23265 macros.
23266 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23267 (RUN_TEST_fff_f): Take argument string. Call new setup and
23268 cleanup macros.
23269 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23270 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23271 macros.
23272 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23273 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23274 macros.
23275 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23276 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23277 cleanup macros.
23278 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23279 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23280 cleanup macros.
23281 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23282 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23283 cleanup macros.
23284 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23285 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23286 macros.
23287 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23288 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23289 macros.
23290 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23291 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23292 macros.
23293 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23294 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23295 cleanup macros.
23296 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23297 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23298 cleanup macros.
23299 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23300 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23301 macros.
23302 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23303 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23304 cleanup macros.
23305 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23306 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23307 macros.
23308 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23309 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23310 macros.
23311 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23312 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23313 cleanup macros.
23314 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23315
85118d4d
EBM
233162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23317
23318 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23319 to _sifields.sigfault.
23320 (si_addr_lsb): Define new macro.
23321 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23323 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23324
7a44c18f
CD
233252013-05-03 Carlos O'Donell <carlos at redhat.com>
23326
23327 [BZ #15441]
23328 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23329 returns -1.
23330 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23331 null return -1.
23332 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23333 loading the domain.
23334
b50a7181
JM
233352013-05-22 Joseph Myers <joseph@codesourcery.com>
23336
23337 * math/gen-libm-test.pl (parse_args): Do not include expected
23338 result in test name.
23339 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23342 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23343 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23345
051063c8
SP
233462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23347
3ce9e010
SP
23348 * benchtests/Makefile: Sort function entries.
23349
051063c8
SP
23350 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23351 tanh, asinh, acosh, atanh.
23352 * benchtests/acos-inputs: New file.
23353 * benchtests/acosh-inputs: New file.
23354 * benchtests/asin-inputs: New file.
23355 * benchtests/asinh-inputs: New file.
23356 * benchtests/atanh-inputs: New file.
23357 * benchtests/cosh-inputs: New file.
23358 * benchtests/log-inputs: New file.
23359 * benchtests/sinh-inputs: New file.
23360 * benchtests/tanh-inputs: New file.
23361
47c22455
DL
233622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23363
23364 [BZ #15339]
23365 * posix/tst-getaddrinfo4.c: New test.
23366 * posix/Makefile (tests): Add it.
23367
3d04f5db
SP
233682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23369
23370 [BZ #15339]
23371 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23372 when no services were used.
23373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23374 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23375
d5dd6189
AS
233762013-05-21 Andreas Schwab <schwab@suse.de>
23377
23378 [BZ #15014]
23379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23380 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23381 successful.
23382 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23383 redundant variable declarations and reallocation of buffer when
23384 parsing as IPv6 address. Always set NSS status when called from
23385 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23386 buffer too small. Correct computation of needed size.
23387 * nss/Makefile (tests): Add test-digits-dots.
23388 * nss/test-digits-dots.c: New test.
23389
fef94eab
SP
233902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23391
23392 * benchtests/Makefile: Remove instructions for adding
23393 benchmark tests.
23394 * benchtests/README: New file to explain how to execute and
23395 enhance the benchmark tests.
23396
e39adf43
AS
233972013-05-21 Andreas Schwab <schwab@suse.de>
23398
23399 [BZ #15493]
23400 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23401 * setjmp/tst-sigsetjmp.c: New test.
23402
b2b671b6
OB
234032013-05-20 Ondřej Bílka <neleai@seznam.cz>
23404
23405 * sysdeps/x86_64/memset.S (memset): New implementation.
23406 (__bzero): Likewise.
23407 (__memset_tail): New function.
23408
2d48b41c
OB
234092013-05-20 Ondřej Bílka <neleai@seznam.cz>
23410
23411 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23412 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23413 __memcpy_sse2_unaligned ifunc selection.
23414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23415 Add memcpy-sse2-unaligned.S.
23416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23417 Add: __memcpy_sse2_unaligned.
23418
f16cc3eb
JM
234192013-05-19 Joseph Myers <joseph@codesourcery.com>
23420
3e694268
JM
23421 [BZ #15490]
23422 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23423 math_force_eval before restoring floating-point envrionment.
23424 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23426 Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23428 <math_private.h>.
23429 (__nearbyintl): Use math_force_eval before restoring
23430 floating-point environment.
23431 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23432
db62a907
JM
23433 * math/gen-libm-test.pl (special_functions): Remove.
23434 (parse_args): Don't handle TEST_extra. Handle functions with no
23435 return value.
23436 * math/libm-test.inc (struct test_sincos_data): Replace with
23437 struct test_fFF_11_data.
23438 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23439 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23440 (sincos_test_data): Change element type to struct
23441 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23442 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23443 RUN_TEST_LOOP_sincos.
23444 * math/README.libm-test: Don't mention special handling of
23445 individual functions.
23446 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23447 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23448 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23450 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23452
f16cc3eb
JM
23453 * math/gen-libm-test.pl (get_variable): Remove function.
23454 (parse_args): Don't show pointer parameters to call in test
23455 names. Use "extra output N" in test names for extra outputs
23456 rather than naming variables.
23457
3779b5b6
JM
234582013-05-18 Joseph Myers <joseph@codesourcery.com>
23459
2ee094ff
JM
23460 [BZ #15488]
23461 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23462 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23463 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23464 double tests.
23465 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23466 disable.
23467 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23468 check_long_double.
23469
3779b5b6
JM
23470 * math/gen-libm-test.pl (@tests): Remove variable.
23471 ($count): Likewise.
23472 (new_test): Remove function.
23473 (show_exceptions): New function.
23474 (special_functions): Use show_exceptions instead of new_test.
23475 (parse_args): Likewise.
23476 (generate_testfile): Pass only function name in generated call to
23477 print_max_error or print_complex_max_error.
23478 (get_ulps): Do not handle complex tests specially.
23479 (output_test): Rename to ...
23480 (get_all_ulps_for_test): ... this. Return a string rather than
23481 printing to a file. Require ulps to be present.
23482 (output_ulps): Generate arrays rather than #defines.
23483 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23484 (struct ulp_data): New type.
23485 (BUILD_COMPLEX_ULP): Remove macro.
23486 (compare_ulp_data): New function.
23487 (find_ulps): Likewise.
23488 (find_test_ulps): Likewise.
23489 (find_function_ulps): Likewise.
23490 (find_complex_function_ulps): Likewise.
23491 (print_max_error): Determine allowed ulps using
23492 find_function_ulps.
23493 (print_complex_max_error): Determine allowed ulps using
23494 find_complex_function_ulps.
23495 (check_float_internal): Determine max ulps using find_test_ulps.
23496 (check_float): Do not take max_ulp parameter. Update call to
23497 check_float_internal.
23498 (check_complex): Likewise.
23499 (check_int): Do not take max_ulp parameter.
23500 (check_long): Likewise.
23501 (check_bool): Likewise.
23502 (check_longlong): Likewise.
23503 (struct test_f_f_data): Remove max_ulp field.
23504 (struct test_ff_f_data): Likewise.
23505 (struct test_ff_f_data_nexttoward): Likewise.
23506 (struct test_fi_f_data): Likewise.
23507 (struct test_fl_f_data): Likewise.
23508 (struct test_if_f_data): Likewise.
23509 (struct test_fff_f_data): Likewise.
23510 (struct test_c_f_data): Likewise.
23511 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23512 (struct test_fF_f1_data): Likewise.
23513 (struct test_ffI_f1_data): Likewise.
23514 (struct test_c_c_data): Remove max_ulp field.
23515 (struct test_cc_c_data): Likewise.
23516 (struct test_f_i_data): Likewise.
23517 (struct test_ff_i_data): Likewise.
23518 (struct test_f_l_data): Likewise.
23519 (struct test_f_L_data): Likewise.
23520 (struct test_sincos_data): Likewise.
23521 (RUN_TEST_f_f): Do not handle ulps.
23522 (RUN_TEST_LOOP_f_f): Likewise.
23523 (RUN_TEST_2_f): Likewise.
23524 (RUN_TEST_LOOP_2_f): Likewise.
23525 (RUN_TEST_fff_f): Likewise.
23526 (RUN_TEST_LOOP_fff_f): Likewise.
23527 (RUN_TEST_c_f): Likewise.
23528 (RUN_TEST_LOOP_c_f): Likewise.
23529 (RUN_TEST_f_f1): Likewise.
23530 (RUN_TEST_LOOP_f_f1): Likewise.
23531 (RUN_TEST_fF_f1): Likewise.
23532 (RUN_TEST_LOOP_fF_f1): Likewise.
23533 (RUN_TEST_fI_f1): Likewise.
23534 (RUN_TEST_LOOP_fI_f1): Likewise.
23535 (RUN_TEST_ffI_f1): Likewise.
23536 (RUN_TEST_LOOP_ffI_f1): Likewise.
23537 (RUN_TEST_c_c): Likewise.
23538 (RUN_TEST_LOOP_c_c): Likewise.
23539 (RUN_TEST_cc_c): Likewise.
23540 (RUN_TEST_LOOP_cc_c): Likewise.
23541 (RUN_TEST_f_i): Likewise.
23542 (RUN_TEST_LOOP_f_i): Likewise.
23543 (RUN_TEST_f_i_tg): Likewise.
23544 (RUN_TEST_LOOP_f_i_tg): Likewise.
23545 (RUN_TEST_ff_i_tg): Likewise.
23546 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23547 (RUN_TEST_f_b): Likewise.
23548 (RUN_TEST_LOOP_f_b): Likewise.
23549 (RUN_TEST_f_b_tg): Likewise.
23550 (RUN_TEST_LOOP_f_b_tg): Likewise.
23551 (RUN_TEST_f_l): Likewise.
23552 (RUN_TEST_LOOP_f_l): Likewise.
23553 (RUN_TEST_f_L): Likewise.
23554 (RUN_TEST_LOOP_f_L): Likewise.
23555 (RUN_TEST_sincos): Likewise.
23556 (RUN_TEST_LOOP_sincos): Likewise.
23557
8269107f
JM
235582013-05-17 Joseph Myers <joseph@codesourcery.com>
23559
bb38759d
JM
23560 [BZ #15480]
23561 [BZ #15485]
23562 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23563 main case of finite arguments, set rounding mode to FE_TONEAREST
23564 and discard exceptions.
23565 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23566 exceptions.
23567 (remainder_tonearest_test_data): New variable.
23568 (remainder_test_tonearest): New function.
23569 (remainder_towardzero_test_data): New variable.
23570 (remainder_test_towardzero): New function.
23571 (remainder_downward_test_data): New variable.
23572 (remainder_test_downward): New function.
23573 (remainder_upward_test_data): New variable.
23574 (remainder_test_upward): New function.
23575 (main): Call the new test functions.
23576
a00bdcf0
JM
23577 * math/libm-test.inc (struct test_f_f1_data): Remove field
23578 extra_init.
23579 (struct test_fF_f1_data): Likewise.
23580 (struct test_ffI_f1_data): Likewise.
23581 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23582 based on value of EXTRA_EXPECTED.
23583 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23584 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23585 EXTRA_VAR based on value of EXTRA_EXPECTED.
23586 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23587 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23588 EXTRA_VAR based on value of EXTRA_EXPECTED.
23589 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23590 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23591 EXTRA_VAR based on value of EXTRA_EXPECTED.
23592 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23593 * math/gen-libm-test.pl (parse_args): Don't output initializers
23594 for extra output values.
23595
de407f79
JM
23596 * math/libm-test.inc (check_int): Expect result to be exactly
23597 equal to expected value and do not handle ulps.
23598 (check_long): Likewise.
23599 (check_longlong): Likewise.
23600
8269107f
JM
23601 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23602 exceptions.
23603 (cimag_test_data): Likewise.
23604 (conj_test_data): Likewise.
23605 (copysign_test_data): Likewise.
23606 (cproj_test_data): Likewise.
23607 (creal_test_data): Likewise.
23608 (fabs_test_data): Likewise.
23609 (fdim_test_data): Likewise.
23610 (finite_test_data): Likewise.
23611 (floor_test_data): Likewise.
23612 (fmax_test_data): Likewise.
23613 (fmin_test_data): Likewise.
23614 (fmod_test_data): Likewise.
23615 (fpclassify_test_data): Likewise.
23616 (frexp_test_data): Likewise.
23617 (ilogb_test_data): Likewise.
23618 (isfinite_test_data): Likewise.
23619 (isgreater_test_data): Likewise.
23620 (isgreaterequal_test_data): Likewise.
23621 (isinf_test_data): Likewise.
23622 (isless_test_data): Likewise.
23623 (islessequal_test_data): Likewise.
23624 (islessgreater_test_data): Likewise.
23625 (isnan_test_data): Likewise.
23626 (isnormal_test_data): Likewise.
23627 (issignaling_test_data): Likewise.
23628 (isunordered_test_data): Likewise.
23629 (ldexp_test_data): Likewise.
23630 (lrint_test_data): Likewise.
23631 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23632 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23633 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23634 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23635 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23636 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23637 test input.
23638 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23639 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23640 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23641 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23642 that test input.
23643 (lrint_downward_test_data): Test for "inexact" exceptions.
23644 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23645 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23646 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23647 test input.
23648 (lrint_upward_test_data): Test for "inexact" exceptions.
23649 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23650 test input.
23651 (llrint_test_data): Test for "inexact" exceptions.
23652 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23653 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23654 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23655 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23656 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23657 (llrint_downward_test_data): Test for "inexact" exceptions.
23658 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23659 (llrint_upward_test_data): Test for "inexact" exceptions.
23660 (logb_test_data): Likewise.
23661 (logb_downward_test_data): Likewise.
23662 (nextafter_test_data): Likewise.
23663 (nexttoward_test_data): Likewise.
23664 (remainder_test_data): Likewise.
23665 (remquo_test_data): Likewise.
23666 (scalbn_test_data): Likewise.
23667 (scalbln_test_data): Likewise.
23668 (signbit_test_data): Likewise.
23669 (sqrt_test_data): Likewise.
23670 (significand_test_data): Likewise.
23671
48a18de1
SP
236722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23673
23674 [BZ #15424]
23675 * benchtests/bench-modf.c (struct args): Mark arg0 as
23676 volatile.
23677 * scripts/bench.pl: Mark members of struct args as volatile.
23678
13d3b41a
AZ
236792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23680
68191c1d 23681 [BZ # 15497]
13d3b41a
AZ
23682 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23683 negative infinity on POWER6 or lower.
23684 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23685
2848b105
MR
236862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23687
23688 [BZ #15442]
23689 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23690 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23691 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23692 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23693 (_FP_SETQNAN): New macro.
23694 (_FP_SETQNAN_SEMIRAW): Likewise.
23695 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23696 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23697 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23698 (FP_EXTEND): Use _FP_FRAC_SNANP.
23699 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23700 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23701 into account.
23702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23703 New macro.
23704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23705 Likewise.
23706
323e5cb7
JM
237072013-05-16 Joseph Myers <joseph@codesourcery.com>
23708
c58b274f
JM
23709 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23710 with DIVIDE_BY_ZERO_EXCEPTION.
23711 (gamma_test_data): Likewise.
23712 (lgamma_test_data): Likewise.
23713 (log_test_data): Likewise.
23714 (log10_test_data): Likewise.
23715 (log2_test_data): Likewise.
23716 (tgamma_test_data): Likewise.
23717
0ab34904
JM
23718 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23719 (acos_test_tonearest): Likewise.
23720 (acos_test_towardzero): Likewise.
23721 (acos_test_downward): Likewise.
23722 (acos_test_upward): Likewise.
23723 (acosh_test): Likewise.
23724 (asin_test): Likewise.
23725 (asin_test_tonearest): Likewise.
23726 (asin_test_towardzero): Likewise.
23727 (asin_test_downward): Likewise.
23728 (asin_test_upward): Likewise.
23729 (asinh_test): Likewise.
23730 (atan_test): Likewise.
23731 (atanh_test): Likewise.
23732 (atan2_test): Likewise.
23733 (cabs_test): Likewise.
23734 (cacos_test): Likewise.
23735 (cacosh_test): Likewise.
23736 (casin_test): Likewise.
23737 (casinh_test): Likewise.
23738 (catan_test): Likewise.
23739 (catanh_test): Likewise.
23740 (cbrt_test): Likewise.
23741 (ccos_test): Likewise.
23742 (ccosh_test): Likewise.
23743 (cexp_test): Likewise.
23744 (clog_test): Likewise.
23745 (clog10_test): Likewise.
23746 (cos_test): Likewise.
23747 (cos_test_tonearest): Likewise.
23748 (cos_test_towardzero): Likewise.
23749 (cos_test_downward): Likewise.
23750 (cos_test_upward): Likewise.
23751 (cosh_test): Likewise.
23752 (cosh_test_tonearest): Likewise.
23753 (cosh_test_towardzero): Likewise.
23754 (cosh_test_downward): Likewise.
23755 (cosh_test_upward): Likewise.
23756 (cpow_test): Likewise.
23757 (csin_test): Likewise.
23758 (csinh_test): Likewise.
23759 (csqrt_test): Likewise.
23760 (ctan_test): Likewise.
23761 (ctan_test_tonearest): Likewise.
23762 (ctan_test_towardzero): Likewise.
23763 (ctan_test_downward): Likewise.
23764 (ctan_test_upward): Likewise.
23765 (ctanh_test): Likewise.
23766 (ctanh_test_tonearest): Likewise.
23767 (ctanh_test_towardzero): Likewise.
23768 (ctanh_test_downward): Likewise.
23769 (ctanh_test_upward): Likewise.
23770 (erf_test): Likewise.
23771 (erfc_test): Likewise.
23772 (exp_test): Likewise.
23773 (exp_test_tonearest): Likewise.
23774 (exp_test_towardzero): Likewise.
23775 (exp_test_downward): Likewise.
23776 (exp_test_upward): Likewise.
23777 (exp10_test): Likewise.
23778 (exp2_test): Likewise.
23779 (expm1_test): Likewise.
23780 (fmod_test): Likewise.
23781 (gamma_test): Likewise.
23782 (hypot_test): Likewise.
23783 (j0_test): Likewise.
23784 (j1_test): Likewise.
23785 (jn_test): Likewise.
23786 (lgamma_test): Likewise.
23787 (log_test): Likewise.
23788 (log10_test): Likewise.
23789 (log1p_test): Likewise.
23790 (log2_test): Likewise.
23791 (logb_test_downward): Likewise.
23792 (pow_test): Likewise.
23793 (pow_test_tonearest): Likewise.
23794 (pow_test_towardzero): Likewise.
23795 (pow_test_downward): Likewise.
23796 (pow_test_upward): Likewise.
23797 (remainder_test): Likewise.
23798 (remquo_test): Likewise.
23799 (sin_test): Likewise.
23800 (sin_test_tonearest): Likewise.
23801 (sin_test_towardzero): Likewise.
23802 (sin_test_downward): Likewise.
23803 (sin_test_upward): Likewise.
23804 (sincos_test): Likewise.
23805 (sinh_test): Likewise.
23806 (sinh_test_tonearest): Likewise.
23807 (sinh_test_towardzero): Likewise.
23808 (sinh_test_downward): Likewise.
23809 (sinh_test_upward): Likewise.
23810 (sqrt_test): Likewise.
23811 (tan_test): Likewise.
23812 (tan_test_tonearest): Likewise.
23813 (tan_test_towardzero): Likewise.
23814 (tan_test_downward): Likewise.
23815 (tan_test_upward): Likewise.
23816 (tanh_test): Likewise.
23817 (tgamma_test): Likewise.
23818 (y0_test): Likewise.
23819 (y1_test): Likewise.
23820 (yn_test): Likewise.
23821
323e5cb7
JM
23822 * math/gen-libm-test.pl (adjust_arg): Remove function.
23823 (special_function): Remove argument $in_func. Only handle
23824 generating output for tables of tests, not inside functions.
23825 (parse_args): Likewise.
23826 (generate_testfile): Remove variable $in_func. Update call to
23827 parse_args.
23828 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23829 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23830 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23831 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23832 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23833 (MAX_VALUE_INIT): Rename macro to max_value.
23834 (MIN_VALUE_INIT): Rename macro to min_value.
23835 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23836 (plus_zero): Remove variable.
23837 (minus_zero): Likewise.
23838 (plus_infty): Likewise.
23839 (minus_infty): Likewise.
23840 (qnan_value): Likewise.
23841 (max_value): Likewise.
23842 (min_value): Likewise.
23843 (min_subnorm_value): Likewise.
23844
e054f494
RA
238452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23846
23847 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23848 uint64_t or uint32_t usage.
23849 * crypt/sha256-block.c: Likewise.
23850 * crypt/sha256-crypt.c: Likewise.
23851 * crypt/sha256.c: Likewise.
23852 * crypt/sha512-block.c: Likewise.
23853 * crypt/sha512-crypt.c: Likewise.
23854 * crypt/sha512.c: Likewise.
23855 * debug/backtrace-tst.c: Likewise.
23856 * debug/pcprofiledump.c: Likewise.
23857 * elf/cache.c: Likewise.
23858 * elf/dl-cache.c: Likewise.
23859 * elf/dl-misc.c: Likewise.
23860 * elf/dl-profile.c: Likewise.
23861 * elf/dl-support.c: Likewise.
23862 * elf/ldconfig.c: Likewise.
23863 * elf/sprof.c: Likewise.
23864 * iconv/dummy-repertoire.c: Likewise.
23865 * iconv/iconv_charmap.c: Likewise.
23866 * iconv/skeleton.c: Likewise.
23867 * iconvdata/8bit-generic.c: Likewise.
23868 * iconvdata/cp737.h: Likewise.
23869 * iconvdata/cp775.h: Likewise.
23870 * iconvdata/ibm1008.h: Likewise.
23871 * iconvdata/ibm1025.h: Likewise.
23872 * iconvdata/ibm1046.h: Likewise.
23873 * iconvdata/ibm1097.h: Likewise.
23874 * iconvdata/ibm1112.h: Likewise.
23875 * iconvdata/ibm1122.h: Likewise.
23876 * iconvdata/ibm1123.h: Likewise.
23877 * iconvdata/ibm1124.h: Likewise.
23878 * iconvdata/ibm1129.h: Likewise.
23879 * iconvdata/ibm1130.h: Likewise.
23880 * iconvdata/ibm1132.h: Likewise.
23881 * iconvdata/ibm1133.h: Likewise.
23882 * iconvdata/ibm1137.h: Likewise.
23883 * iconvdata/ibm1140.h: Likewise.
23884 * iconvdata/ibm1141.h: Likewise.
23885 * iconvdata/ibm1142.h: Likewise.
23886 * iconvdata/ibm1143.h: Likewise.
23887 * iconvdata/ibm1144.h: Likewise.
23888 * iconvdata/ibm1145.h: Likewise.
23889 * iconvdata/ibm1146.h: Likewise.
23890 * iconvdata/ibm1147.h: Likewise.
23891 * iconvdata/ibm1148.h: Likewise.
23892 * iconvdata/ibm1149.h: Likewise.
23893 * iconvdata/ibm1153.h: Likewise.
23894 * iconvdata/ibm1154.h: Likewise.
23895 * iconvdata/ibm1155.h: Likewise.
23896 * iconvdata/ibm1156.h: Likewise.
23897 * iconvdata/ibm1157.h: Likewise.
23898 * iconvdata/ibm1158.h: Likewise.
23899 * iconvdata/ibm1160.h: Likewise.
23900 * iconvdata/ibm1161.h: Likewise.
23901 * iconvdata/ibm1162.h: Likewise.
23902 * iconvdata/ibm1163.h: Likewise.
23903 * iconvdata/ibm1164.h: Likewise.
23904 * iconvdata/ibm1166.h: Likewise.
23905 * iconvdata/ibm1167.h: Likewise.
23906 * iconvdata/ibm12712.h: Likewise.
23907 * iconvdata/ibm1390.h: Likewise.
23908 * iconvdata/ibm1399.h: Likewise.
23909 * iconvdata/ibm16804.h: Likewise.
23910 * iconvdata/ibm4517.h: Likewise.
23911 * iconvdata/ibm4899.h: Likewise.
23912 * iconvdata/ibm4909.h: Likewise.
23913 * iconvdata/ibm4971.h: Likewise.
23914 * iconvdata/ibm5347.h: Likewise.
23915 * iconvdata/ibm803.h: Likewise.
23916 * iconvdata/ibm856.h: Likewise.
23917 * iconvdata/ibm901.h: Likewise.
23918 * iconvdata/ibm902.h: Likewise.
23919 * iconvdata/ibm9030.h: Likewise.
23920 * iconvdata/ibm9066.h: Likewise.
23921 * iconvdata/ibm921.h: Likewise.
23922 * iconvdata/ibm922.h: Likewise.
23923 * iconvdata/ibm9448.h: Likewise.
23924 * iconvdata/isiri-3342.h: Likewise.
23925 * iconvdata/jis0201.h: Likewise.
23926 * include/link.h: Likewise.
23927 * include/netdb.h: Likewise.
23928 * inet/check_native.c: Likewise.
23929 * inet/check_pf.c: Likewise.
23930 * inet/getipv4sourcefilter.c: Likewise.
23931 * inet/getnameinfo.c: Likewise.
23932 * inet/getsourcefilter.c: Likewise.
23933 * inet/htonl.c: Likewise.
23934 * inet/setipv4sourcefilter.c: Likewise.
23935 * inet/setsourcefilter.c: Likewise.
23936 * inet/test-inet6_opt.c: Likewise.
23937 * inet/tst-network.c: Likewise.
23938 * locale/C-collate.c: Likewise.
23939 * locale/C-ctype.c: Likewise.
23940 * locale/C-time.c: Likewise.
23941 * locale/C-translit.h: Likewise.
23942 * locale/loadarchive.c: Likewise.
23943 * locale/programs/3level.h: Likewise.
23944 * locale/programs/charmap.c: Likewise.
23945 * locale/programs/charmap.h: Likewise.
23946 * locale/programs/ld-address.c: Likewise.
23947 * locale/programs/ld-collate.c: Likewise.
23948 * locale/programs/ld-ctype.c: Likewise.
23949 * locale/programs/ld-identification.c: Likewise.
23950 * locale/programs/ld-measurement.c: Likewise.
23951 * locale/programs/ld-messages.c: Likewise.
23952 * locale/programs/ld-monetary.c: Likewise.
23953 * locale/programs/ld-name.c: Likewise.
23954 * locale/programs/ld-numeric.c: Likewise.
23955 * locale/programs/ld-paper.c: Likewise.
23956 * locale/programs/ld-telephone.c: Likewise.
23957 * locale/programs/ld-time.c: Likewise.
23958 * locale/programs/linereader.c: Likewise.
23959 * locale/programs/locale.c: Likewise.
23960 * locale/programs/locarchive.c: Likewise.
23961 * locale/programs/locfile.h: Likewise.
23962 * locale/programs/repertoire.c: Likewise.
23963 * locale/programs/simple-hash.c: Likewise.
23964 * locale/programs/simple-hash.h: Likewise.
23965 * malloc/memusage.c: Likewise.
23966 * malloc/memusagestat.c: Likewise.
23967 * nis/nis_defaults.c: Likewise.
23968 * nis/nis_hash.c: Likewise.
23969 * nis/nis_print.c: Likewise.
23970 * nis/nis_xdr.c: Likewise.
23971 * nscd/connections.c: Likewise.
23972 * nscd/hstcache.c: Likewise.
23973 * nscd/nscd_gethst_r.c: Likewise.
23974 * nscd/nscd_getserv_r.c: Likewise.
23975 * nscd/nscd_helper.c: Likewise.
23976 * nscd/servicescache.c: Likewise.
23977 * nss/makedb.c: Likewise.
23978 * nss/nss_db/db-XXX.c: Likewise.
23979 * nss/nss_db/db-initgroups.c: Likewise.
23980 * nss/nss_db/db-netgrp.c: Likewise.
23981 * nss/nss_files/files-network.c: Likewise.
23982 * nss/nss_files/files-parse.c: Likewise.
23983 * posix/bug-regex5.c: Likewise.
23984 * posix/fnmatch_loop.c: Likewise.
23985 * posix/regcomp.c: Likewise.
23986 * posix/regexec.c: Likewise.
23987 * posix/tst-rfc3484-2.c: Likewise.
23988 * posix/tst-rfc3484-3.c: Likewise.
23989 * posix/tst-rfc3484.c: Likewise.
23990 * resolv/nss_dns/dns-canon.c: Likewise.
23991 * resolv/nss_dns/dns-network.c: Likewise.
23992 * resolv/res_init.c: Likewise.
23993 * resolv/res_mkquery.c: Likewise.
23994 * resolv/tst-aton.c: Likewise.
23995 * stdlib/cxa_atexit.c: Likewise.
23996 * stdlib/cxa_finalize.c: Likewise.
23997 * stdlib/gen-fpioconst.c: Likewise.
23998 * stdlib/strtol_l.c: Likewise.
23999 * string/tst-endian.c: Likewise.
24000 * sunrpc/auth_des.c: Likewise.
24001 * sunrpc/clnt_udp.c: Likewise.
24002 * sunrpc/rtime.c: Likewise.
24003 * sunrpc/svcauth_des.c: Likewise.
24004 * sunrpc/xdr.c: Likewise.
24005 * sunrpc/xdr_intXX_t.c: Likewise.
24006 * sunrpc/xdr_rec.c: Likewise.
24007 * sysdeps/generic/ldconfig.h: Likewise.
24008 * sysdeps/generic/ldsodefs.h: Likewise.
24009 * sysdeps/generic/memusage.h: Likewise.
24010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24018 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24020 * sysdeps/posix/getaddrinfo.c: Likewise.
24021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24025 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24026 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24027 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24028 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24029 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24030 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24031 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24032 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24033 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24034 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24035 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24036 * sysdeps/x86_64/dl-tls.h: Likewise.
24037 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24038 * time/alt_digit.c: Likewise.
24039 * time/era.c: Likewise.
24040 * wcsmbs/tst-c16c32-1.c: Likewise.
24041
8c75f674
JM
240422013-05-16 Joseph Myers <joseph@codesourcery.com>
24043
24044 * math/libm-test.inc (struct test_sincos_data): New type.
24045 (RUN_TEST_LOOP_sincos): New macro.
24046 (sincos_test_data): New variable.
24047 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24048
e6e49e59
RH
240492013-05-16 Richard Henderson <rth@redhat.com>
24050
24051 * math/atest-exp2.c (LIMB64): New macro.
24052 (CONSTSZ): New macro.
24053 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24054 (hexdig): Move ...
24055 (print_mpn_fp): ... to function scope.
24056 (read_mpn_hex): Remove.
24057 (get_log2): Remove.
24058 (exp2_mpn): Use mp_log2.
24059 (main): Use mp_exp1.
24060
15c7c18d
JM
240612013-05-16 Joseph Myers <joseph@codesourcery.com>
24062
105a07df
JM
24063 * math/libm-test.inc: Remove comment about not testing "inexact"
24064 exceptions.
24065 (INEXACT_EXCEPTION): New macro.
24066 (NO_INEXACT_EXCEPTION): Likewise.
24067 (INVALID_EXCEPTION_OK): Update value.
24068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24069 (OVERFLOW_EXCEPTION_OK): Likewise.
24070 (UNDERFLOW_EXCEPTION_OK): Likewise.
24071 (IGNORE_ZERO_INF_SIGN): Likewise.
24072 (ERRNO_UNCHANGED): Likewise.
24073 (ERRNO_EDOM): Likewise.
24074 (ERRNO_ERANGE): Likewise.
24075 (test_exceptions): Handle testing "inexact" exceptions.
24076 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24077 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24078 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24079 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24080 INEXACT_EXCEPTION.
24081 (rint_towardzero_test_data): Likewise.
24082 (rint_downward_test_data): Likewise.
24083 (rint_upward_test_data): Likewise.
24084
e9eee333
JM
24085 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24086 with OVERFLOW_EXCEPTION.
24087 (exp10_test_data): Likewise.
24088 (exp2_test_data): Likewise.
24089 (expm1_test_data): Likewise.
24090 (lgamma_test_data): Likewise.
24091 (pow_test_data): Likewise.
24092 (tgamma_test_data): Likewise.
24093 (yn_test_data): Remove duplicate test of overflow.
24094
1c38ff73
JM
24095 * math/libm-test.inc (struct test_cc_c_data): New type.
24096 (RUN_TEST_LOOP_cc_c): New macro.
24097 (cpow_test_data): New variable.
24098 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24099
15c7c18d
JM
24100 * math/libm-test.inc (struct test_f_L_data): New type.
24101 (RUN_TEST_LOOP_f_L): New macro.
24102 (llrint_test_data): New variable.
24103 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24104 (llrint_tonearest_test_data): New variable.
24105 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24106 (llrint_towardzero_test_data): New variable.
24107 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24108 (llrint_downward_test_data): New variable.
24109 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24110 (llrint_upward_test_data): New variable.
24111 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24112 (llround_test_data): New variable.
24113 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24114
f137ff13
PC
241152013-05-13 Peter Collingbourne <pcc@google.com>
24116
24117 * math/atest-exp2.c (get_log2): Remove const attribute.
24118
3608cb24
JM
241192013-05-15 Joseph Myers <joseph@codesourcery.com>
24120
24121 * math/libm-test.inc (struct test_f_l_data): New type.
24122 (RUN_TEST_LOOP_f_l): New macro.
24123 (lrint_test_data): New variable.
24124 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24125 (lrint_tonearest_test_data): New variable.
24126 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24127 (lrint_towardzero_test_data): New variable.
24128 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24129 (lrint_downward_test_data): New variable.
24130 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24131 (lrint_upward_test_data): New variable.
24132 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24133 (lround_test_data): New variable.
24134 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24135
39b1f617
PC
241362013-05-15 Peter Collingbourne <pcc@google.com>
24137
1deff3dc
PC
24138 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24139 (EXTRACT_WORDS64) Use where appropriate.
24140 (INSERT_WORDS64) Likewise.
24141
791f3ba0
PC
24142 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24143 constraints with x constraints.
24144 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24145
39b1f617
PC
24146 * malloc/obstack.c (_obstack_compat): Add initializer.
24147
12fba011
EM
241482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24149
24150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24151 si_trapno and add si_addr_lsb to _sifields.sigfault.
24152 (si_trapno): Remove macro.
24153 (si_addr_lsb): Define new macro.
24154 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24155
d369f531
JM
241562013-05-15 Joseph Myers <joseph@codesourcery.com>
24157
b861c6c4
JM
24158 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24159 instead of TEST_f_l.
24160 (llrint_test_tonearest): Likewise.
24161 (llrint_test_towardzero): Likewise.
24162 (llrint_test_downward): Likewise.
24163 (llrint_test_upward): Likewise.
24164 (llround_test): Likewise.
24165
7abeee12
JM
24166 * math/libm-test.inc (struct test_f_i_data): Add comment.
24167 (RUN_TEST_LOOP_f_b): New macro.
24168 (RUN_TEST_LOOP_f_b_tg): Likewise.
24169 (finite_test_data): New variable.
24170 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24171 (isfinite_test_data): New variable.
24172 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24173 (isinf_test_data): New variable.
24174 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24175 (isnan_test_data): New variable.
24176 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24177 (isnormal_test_data): New variable.
24178 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24179 (issignaling_test_data): New variable.
24180 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24181 (signbit_test_data): New variable.
24182 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24183
cbe8c4d3
JM
24184 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24185 with INVALID_EXCEPTION.
24186 (acosh_test_data): Likewise.
24187 (asin_test_data): Likewise.
24188 (atanh_test_data): Likewise.
24189 (fmod_test_data): Likewise.
24190 (log_test_data): Likewise.
24191 (log10_test_data): Likewise.
24192 (log2_test_data): Likewise.
24193 (pow_test_data): Likewise.
24194 (sqrt_test_data): Likewise.
24195 (y0_test_data): Likewise.
24196 (y1_test_data): Likewise.
24197 (yn_test_data): Likewise.
24198
5575c0e5
JM
24199 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24200 function contents.
24201
d369f531
JM
24202 * math/libm-test.inc (struct test_ff_i_data): New type.
24203 (RUN_TEST_LOOP_ff_i_tg): New macro.
24204 (isgreater_test_data): New variable.
24205 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24206 (isgreaterequal_test_data): New variable.
24207 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24208 (isless_test_data): New variable.
24209 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24210 (islessequal_test_data): New variable.
24211 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24212 (islessgreater_test_data): New variable.
24213 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24214 (isunordered_test_data): New variable.
24215 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24216
781fd748
DM
242172013-05-14 David S. Miller <davem@davemloft.net>
24218
24219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24220
87aa21df
JM
242212013-05-14 Joseph Myers <joseph@codesourcery.com>
24222
5e908270
JM
24223 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24224
f71172e5
JM
24225 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24226 extra_test to int.
24227 (struct test_f_i_data): Change type of max_ulp to int.
24228
8cfa635a
JM
24229 * math/libm-test.inc (test_ffI_f1_data): New type.
24230 (RUN_TEST_LOOP_ffI_f1): New macro.
24231 (remquo_test_data): New variable.
24232 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24233
2bcb36b2
JM
24234 * setjmp/tst-setjmp-fp.c: New file.
24235 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24236 (link-libm): New variable.
24237 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24238
acbd839a
JM
24239 * math/libm-test.inc (struct test_f_i_data): New type.
24240 (RUN_TEST_LOOP_f_i): New macro.
24241 (RUN_TEST_LOOP_f_i_tg): Likewise.
24242 (fpclassify_test_data): New variable.
24243 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24244 (ilogb_test_data): New variable.
24245 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24246
e414d745
JM
24247 * math/libm-test.inc (scalbln_test): Correct function name in END
24248 call.
24249
d9c2a0fd
JM
24250 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24251 (RUN_TEST_LOOP_fI_f1): New macro.
24252 (frexp_test_data): New variable.
24253 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24254
9dc9095d
JM
24255 * math/libm-test.inc (struct test_fF_f1_data): New type.
24256 (RUN_TEST_LOOP_fF_f1): New macro.
24257 (modf_test_data): New variable.
24258 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24259
87aa21df
JM
24260 * math/libm-test.inc (struct test_f_f1_data): New type.
24261 (RUN_TEST_LOOP_f_f1): New macro.
24262 (gamma_test_data): New variable.
24263 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24264 (lgamma_test_data): New variable.
24265 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24266
141af660
CD
242672013-05-13 Carlos O'Donell <carlos@redhat.com>
24268
24269 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24270 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24271 (main): Comment "tls" pseudo-hwcap.
24272
6d33265c
JM
242732013-05-13 Joseph Myers <joseph@codesourcery.com>
24274
68fc074c
JM
24275 * math/libm-test.inc (struct test_fl_f_data): New type.
24276 (RUN_TEST_LOOP_fl_f): New variable.
24277 (scalbln_test_data): New variable.
24278 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24279
243216e1
JM
24280 * math/libm-test.inc (struct test_fi_f_data): New type.
24281 (RUN_TEST_LOOP_fi_f): New macro.
24282 (ldexp_test_data): New variable.
24283 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24284 (scalbn_test_data): New variable.
24285 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24286
6a1992e2
JM
24287 * math/libm-test.inc (struct test_c_f_data): New type.
24288 (RUN_TEST_LOOP_c_f): New macro.
24289 (cabs_test_data): New variable.
24290 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24291 (carg_test_data): New variable.
24292 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24293 (cimag_test_data): New variable.
24294 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24295 (creal_test_data): New variable.
24296 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24297
0e400df5
JM
24298 * math/libm-test.inc (struct test_if_f_data): New type.
24299 (RUN_TEST_LOOP_if_f): New macro.
24300 (jn_test_data): New variable.
24301 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24302 (yn_test_data): New variable.
24303 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24304
6d33265c
JM
24305 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24306
f98ece5f
AZ
243072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24308
24309 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24310 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24311
0f7d347b
SP
243122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24313
43fe811b
SP
24314 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24315 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24316 (bench-deps): Add bench-timing.h.
24317 * benchtests-bench-skeleton.c: Include bench-timing.h.
24318 (main): Use TIMING_* macros instead of clock_gettime.
24319 * benchtests/bench-timing.h: New file.
24320
0f7d347b
SP
24321 [BZ #14582]
24322 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24323 Renamed from _LIB_VERSION.
24324 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24325
601a3a5f
JM
243262013-05-12 Joseph Myers <joseph@codesourcery.com>
24327
4f184d30
JM
24328 * math/libm-test.inc (struct test_fff_f_data): New type.
24329 (RUN_TEST_LOOP_fff_f): New macro.
24330 (fma_test_data): New variable.
24331 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24332 (fma_towardzero_test_data): New variable.
24333 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24334 (fma_downward_test_data): New variable.
24335 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24336 (fma_upward_test_data): New variable.
24337 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24338
08198877
JM
24339 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24340 (struct test_c_c_data): New type.
24341 (RUN_TEST_LOOP_c_c): New macro.
24342 (cacos_test_data): New variable.
24343 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24344 (cacosh_test_data): New variable.
24345 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24346 (casin_test_data): New variable.
24347 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24348 (casinh_test_data): New variable.
24349 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24350 (catan_test_data): New variable.
24351 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24352 (catanh_test_data): New variable.
24353 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24354 (ccos_test_data): New variable.
24355 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24356 (ccosh_test_data): New variable.
24357 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24358 (cexp_test_data): New variable.
24359 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24360 (clog_test_data): New variable.
24361 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24362 (clog10_test_data): New variable.
24363 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24364 (conj_test_data): New variable.
24365 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24366 (cproj_test_data): New variable.
24367 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24368 (csin_test_data): New variable.
24369 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24370 (csinh_test_data): New variable.
24371 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24372 (csqrt_test_data): New variable.
24373 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24374 (ctan_test_data): New variable.
24375 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24376 (ctan_tonearest_test_data): New variable.
24377 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24378 (ctan_towardzero_test_data): New variable.
24379 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24380 (ctan_downward_test_data): New variable.
24381 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24382 (ctan_upward_test_data): New variable.
24383 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24384 (ctanh_test_data): New variable.
24385 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24386 (ctanh_tonearest_test_data): New variable.
24387 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24388 (ctanh_towardzero_test_data): New variable.
24389 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24390 (ctanh_downward_test_data): New variable.
24391 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24392 (ctanh_upward_test_data): New variable.
24393 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24394 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24395 of BUILD_COMPLEX.
24396
601a3a5f
JM
24397 * math/libm-test.inc (struct test_ff_f_data): New type.
24398 (struct test_ff_f_data_nexttoward): Likewise.
24399 (RUN_TEST_LOOP_2_f): New macro.
24400 (RUN_TEST_LOOP_ff_f): Likewise.
24401 (atan2_test_data): New variable.
24402 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24403 (copysign_test_data): New variable.
24404 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24405 (fdim_test_data): New variable.
24406 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24407 (fmax_test_data): New variable.
24408 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24409 (fmin_test_data): New variable.
24410 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24411 (fmod_test_data): New variable.
24412 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24413 (hypot_test_data): New variable.
24414 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24415 (nextafter_test_data): New variable.
24416 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24417 (nexttoward_test_data): New variable.
24418 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24419 (pow_test_data): New variable.
24420 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24421 (pow_tonearest_test_data): New variable.
24422 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24423 (pow_towardzero_test_data): New variable.
24424 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24425 (pow_downward_test_data): New variable.
24426 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24427 (pow_upward_test_data): New variable.
24428 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24429 (remainder_test_data): New variable.
24430 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24431 (scalb_test_data): New variable.
24432 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24433 * sysdeps/i386/fpu/libm-test-ulps: Update.
24434
74c57478
JM
244352013-05-11 Joseph Myers <joseph@codesourcery.com>
24436
8329e4da
JM
24437 * math/libm-test.inc (fma_test): Use max_value instead of local
24438 variable fltmax.
24439 (nextafter_test): Likewise.
24440
74c57478
JM
24441 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24442 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24443 (acos_downward_test_data): New variable.
24444 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24445 (acos_upward_test_data): New variable.
24446 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24447 (acosh_test_data): New variable.
24448 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24449 (asin_test_data): New variable.
24450 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24451 (asin_tonearest_test_data): New variable.
24452 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24453 (asin_towardzero_test_data): New variable.
24454 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24455 (asin_downward_test_data): New variable.
24456 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24457 (asin_upward_test_data): New variable.
24458 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24459 (asinh_test_data): New variable.
24460 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24461 (atan_test_data): New variable.
24462 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24463 (atanh_test_data): New variable.
24464 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24465 (cbrt_test_data): New variable.
24466 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24467 (ceil_test_data): New variable.
24468 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24469 (cos_test_data): New variable.
24470 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24471 (cos_tonearest_test_data): New variable.
24472 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24473 (cos_towardzero_test_data): New variable.
24474 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24475 (cos_downward_test_data): New variable.
24476 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24477 (cos_upward_test_data): New variable.
24478 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24479 (cosh_test_data): New variable.
24480 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24481 (cosh_tonearest_test_data): New variable.
24482 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24483 (cosh_towardzero_test_data): New variable.
24484 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24485 (cosh_downward_test_data): New variable.
24486 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24487 (cosh_upward_test_data): New variable.
24488 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24489 (erf_test_data): New variable.
24490 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24491 (erfc_test_data): New variable.
24492 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24493 (exp_test_data): New variable.
24494 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24495 (exp_tonearest_test_data): New variable.
24496 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24497 (exp_towardzero_test_data): New variable.
24498 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24499 (exp_downward_test_data): New variable.
24500 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24501 (exp_upward_test_data): New variable.
24502 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24503 (exp10_test_data): New variable.
24504 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24505 (exp2_test_data): New variable.
24506 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24507 (expm1_test_data): New variable.
24508 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24509 (fabs_test_data): New variable.
24510 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24511 (floor_test_data): New variable.
24512 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24513 (j0_test_data): New variable.
24514 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24515 (j1_test_data): New variable.
24516 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24517 (log_test_data): New variable.
24518 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24519 (log10_test_data): New variable.
24520 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24521 (log1p_test_data): New variable.
24522 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24523 (log2_test_data): New variable.
24524 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24525 (logb_test_data): New variable.
24526 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24527 (logb_downward_test_data): New variable.
24528 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24529 (nearbyint_test_data): New variable.
24530 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24531 (rint_test_data): New variable.
24532 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24533 (rint_tonearest_test_data): New variable.
24534 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24535 (rint_towardzero_test_data): New variable.
24536 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24537 (rint_downward_test_data): New variable.
24538 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24539 (rint_upward_test_data): New variable.
24540 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24541 (round_test_data): New variable.
24542 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24543 (sin_test_data): New variable.
24544 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24545 (sin_tonearest_test_data): New variable.
24546 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24547 (sin_towardzero_test_data): New variable.
24548 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24549 (sin_downward_test_data): New variable.
24550 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24551 (sin_upward_test_data): New variable.
24552 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24553 (sinh_test_data): New variable.
24554 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24555 (sinh_tonearest_test_data): New variable.
24556 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24557 (sinh_towardzero_test_data): New variable.
24558 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24559 (sinh_downward_test_data): New variable.
24560 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24561 (sinh_upward_test_data): New variable.
24562 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24563 (sqrt_test_data): New variable.
24564 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24565 (tan_test_data): New variable.
24566 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24567 (tan_tonearest_test_data): New variable.
24568 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24569 (tan_towardzero_test_data): New variable.
24570 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24571 (tan_downward_test_data): New variable.
24572 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24573 (tan_upward_test_data): New variable.
24574 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24575 (tanh_test_data): New variable.
24576 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24577 (tgamma_test_data): New variable.
24578 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24579 (trunc_test_data): New variable.
24580 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24581 (y0_test_data): New variable.
24582 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24583 (y1_test_data): New variable.
24584 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24585 (significand_test_data): New variable.
24586 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24587
7187d844
CG
245882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24589
24590 [BZ #12387]
24591 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24592
f63fae73
PT
245932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24594
24595 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24596
8a67a4b3
AJ
245972013-05-10 Andreas Jaeger <aj@suse.de>
24598
24599 [BZ #15448]
24600 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24601 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24602
51df539d
JM
246032013-05-10 Joseph Myers <joseph@codesourcery.com>
24604
24605 * math/gen-libm-test.pl (adjust_arg): New function.
24606 (special_functions): Handle generating output in both functions
24607 and arrays.
24608 (parse_args): Likewise.
24609 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24610 $in_func argument to parse_args.
24611 * math/libm-test.inc (struct test_f_f_data): New type.
24612 (IF_ROUND_INIT_): New macro.
24613 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24614 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24615 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24616 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24617 (ROUND_RESTORE_): Likewise.
24618 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24619 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24620 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24621 (ROUND_RESTORE_FE_UPWARD): Likewise.
24622 (RUN_TEST_LOOP_f_f): New macro.
24623 (acos_test_data): New variable.
24624 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24625 (acos_tonearest_test_data): New variable.
24626 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24627
5c637fe5
SP
246282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24629
24630 * benchtests/bench-skeleton.c (startup): Fix coding style.
24631
ab2b9461
JM
246322013-05-10 Joseph Myers <joseph@codesourcery.com>
24633
24634 [BZ #6809]
24635 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24636 negative infinity argument.
24637 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24638 negative infinity argument.
24639 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24640 negative infinity argument.
24641 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24642 domain errors.
24643
4c0fe6fe
FW
246442013-05-10 Florian Weimer <fweimer@redhat.com>
24645
24646 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24647 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24648 * iconv/iconv_prog.c (main): Likewise.
24649 * locale/programs/charmap-dir.c (charmap_readdir)
24650 (fopen_uncompressed): Likewise.
24651 * locale/programs/locfile.c (siblings_uncached)
24652 (write_locale_data): Use lstat64 instead of lstat.
24653 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24654 stat.
24655
a3375d29
AJ
246562013-05-10 Andreas Jaeger <aj@suse.de>
24657
24658 [BZ #15395]
24659 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24660 localization.
24661 Include <locale.h>.
24662
36129722
CD
246632013-05-09 Carlos O'Donell <carlos@redhat.com>
24664
24665 * elf/dl-close.c (_dl_close_worker): Add comments.
24666
faa7f811
JM
246672013-05-09 Joseph Myers <joseph@codesourcery.com>
24668
ed41ffef
JM
24669 [BZ #15359]
24670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24671 high part of pi/2.
24672 (__ieee754_rem_pio2l): Update comments.
24673
d0213cd0
JM
24674 [BZ #15429]
24675 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24676 high part of pi/2.
24677 (__ieee754_rem_pio2l): Update comments.
24678
0d3e777a
JM
24679 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24680 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24681
24f56066
JM
24682 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24683 M_PI_4l.
24684
faa7f811
JM
24685 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24686 (M_PI_34_LOG10El): Likewise.
24687 (M_PI2_LOG10El): Likewise.
24688 (M_PI4_LOG10El): Likewise.
24689 (M_PI_LOG10El): Likewise.
24690
e9a5e0fd
AZ
246912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24692
24693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24694
d8cd06db
JM
246952013-05-08 Joseph Myers <joseph@codesourcery.com>
24696
a0d9f9d7
JM
24697 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24698 (MINUS_ZERO_INIT): Likewise.
24699 (PLUS_INFTY_INIT): Likewise.
24700 (MINUS_INFTY_INIT): Likewise.
24701 (QNAN_VALUE_INIT): Likewise.
24702 (MAX_VALUE_INIT): Likewise.
24703 (MIN_VALUE_INIT): Likewise.
24704 (MIN_SUBNORM_VALUE_INIT): Likewise.
24705 (plus_zero): Initialize with PLUS_ZERO_INIT.
24706 (minus_zero): Initialize with MINUS_ZERO_INIT.
24707 (plus_infty): Initialize with PLUS_INFTY_INIT.
24708 (minus_infty): Initialize with MINUS_INFTY_INIT.
24709 (qnan_value): Initialize with QNAN_VALUE_INIT.
24710 (max_value): Initialize with MAX_VALUE_INIT.
24711 (min_value): Initialize with MIN_VALUE_INIT.
24712 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24713
ae08db3b
JM
24714 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24715 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24716 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24717 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24718
f44bf14a
JM
24719 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24720 (RUN_TEST_2_f): Likewise.
24721 (RUN_TEST_ff_f): Likewise.
24722 (RUN_TEST_fi_f): Likewise.
24723 (RUN_TEST_fl_f): Likewise.
24724 (RUN_TEST_fff_f): Likewise.
24725 (RUN_TEST_c_f): Likewise.
24726 (RUN_TEST_f_f1): Likewise.
24727 (RUN_TEST_fF_f1): Likewise.
24728 (RUN_TEST_fI_f1): Likewise.
24729 (RUN_TEST_ffI_f1): Likewise.
24730 (RUN_TEST_c_c): Likewise.
24731 (RUN_TEST_cc_c): Likewise.
24732 (RUN_TEST_f_i): Likewise.
24733 (RUN_TEST_f_i_tg): Likewise.
24734 (RUN_TEST_ff_i_tg): Likewise.
24735 (RUN_TEST_f_b): Likewise.
24736 (RUN_TEST_f_b_tg): Likewise.
24737 (RUN_TEST_f_l): Likewise.
24738 (RUN_TEST_f_L): Likewise.
24739 (RUN_TEST_sincos): Likewise.
24740 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24741 whether to show exceptions. Do not include ");\n" in return
24742 value.
24743 (special_functions): Output call to RUN_TEST_sincos instead of
24744 check_float calls. Update calls to new_test.
24745 (parse_args): Output call to single RUN_TEST_* macro instead of
24746 check_* calls and other assignments. Update calls to new_test.
24747
d8cd06db
JM
24748 [BZ #2546]
24749 [BZ #2560]
24750 [BZ #5159]
24751 [BZ #15426]
24752 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24753 input to result for tgamma overflow.
24754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24755 (gamma_coeff): New variable.
24756 (NCOEFF): New macro.
24757 (gamma_positive): New function.
24758 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24759 underflow here. Use gamma_positive instead of exp (lgamma) for
24760 other arguments.
24761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24762 (gamma_coeff): New variable.
24763 (NCOEFF): New macro.
24764 (gammaf_positive): New function.
24765 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24766 underflow here. Use gamma_positive instead of exp (lgamma) for
24767 other arguments.
24768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24769 (gamma_coeff): New variable.
24770 (NCOEFF): New macro.
24771 (gammal_positive): New function.
24772 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24773 underflow here. Use gamma_positive instead of exp (lgamma) for
24774 other arguments.
24775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24776 (gamma_coeff): New variable.
24777 (NCOEFF): New macro.
24778 (gammal_positive): New function.
24779 (__ieee754_gammal_r): Handle positive infinity, overflow and
24780 underflow here. Handle NaN the same as positive infinity. Remove
24781 check x < 0xffffffff for negative integers. Use gamma_positive
24782 instead of exp (lgamma) for other arguments.
24783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24784 (gamma_coeff): New variable.
24785 (NCOEFF): New macro.
24786 (gammal_positive): New function.
24787 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24788 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24792 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24793 * sysdeps/generic/math_private.h (__gamma_productf): New
24794 prototype.
24795 (__gamma_product): Likewise.
24796 (__gamma_productl): Likewise.
24797 * math/Makefile (libm-calls): Add gamma_product.
24798 * math/libm-test.inc (tgamma_test): Add more tests.
24799 * sysdeps/i386/fpu/libm-test-ulps: Update.
24800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24801
bb7cf681
OB
248022013-05-08 Ondřej Bílka <neleai@seznam.cz>
24803
24804 * benchtests/bench-skeleton.c (main): Preheat CPU.
24805
ba853947
AJ
248062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24807
24808 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24809
8347c74c
RM
248102013-05-07 Roland McGrath <roland@hack.frob.com>
24811
24812 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24813 and _dl_skip_args_internal.
24814
e8dd4791
CD
248152013-05-07 Carlos O'Donell <carlos@redhat.com>
24816
24817 * manual/message.texi (Message Translation): Talk about users.
24818 Message to key mapping impacts design.
24819
c7405830
RM
248202013-05-06 Roland McGrath <roland@hack.frob.com>
24821
a9173057
RM
24822 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24823
976e2f03
RM
24824 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24825
9723ffc5
RM
24826 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24827 * sysdeps/wordsize-64/glob64.c: ... here.
24828
962e6658
RM
24829 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24830 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24831 New macros.
24832
ee586a6d
RM
24833 * debug/getlogin_r_chk.c: Moved to ...
24834 * login/getlogin_r_chk.c: ... here.
24835 * debug/Makefile (routines): Move getlogin_r_chk to ...
24836 * login/Makefile (routines): ... here.
24837 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24838 * login/Versions (libc: GLIBC_2.4): ... here.
24839
355f9165
RM
24840 * io/poll.c (__poll): Renamed from poll.
24841 Add libc_hidden_def.
24842 (poll): Define as weak alias.
24843
bd9ffde6
RM
24844 * debug/ptsname_r_chk.c: Moved to ...
24845 * login/ptsname_r_chk.c: ... here.
24846 * debug/Makefile (routines): Move ptsname_r_chk to ...
24847 * login/Makefile (routines): ... here.
24848 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24849 * login/Versions (libc: GLIBC_2.4): ... here.
24850
8fb16a04
RM
24851 * posix/getlogin.c: Moved to ...
24852 * login/getlogin.c: ... here.
24853 * posix/getlogin_r.c: Moved to ...
24854 * login/getlogin_r.c: ... here.
24855 * posix/getlogin_r.c: Moved to ...
24856 * login/getlogin_r.c: ... here.
24857 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24858 * login/Makefile (routines): ... here.
24859 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24860 * login/Versions (libc: GLIBC_2.0): ... here.
24861
b99b892f
RM
24862 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24863 (setrlimit): Define as weak alias.
24864
c7405830
RM
24865 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24866 Call __ names for open, ftruncate, and close.
24867 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24868 (truncate): Define as weak alias.
24869
5bf96de5
JM
248702013-05-06 Joseph Myers <joseph@codesourcery.com>
24871
9ea3513c
JM
24872 * math/gen-libm-test.pl (parse_args): Initialize x before each
24873 test of frexp, modf and remquo.
24874
5bf96de5
JM
24875 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24876 test signgam value.
24877
16e616a7
AZ
248782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24879
24880 [BZ #15418]
24881 [BZ #15419]
24882 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24883 internal tests.
24884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24885
d5e82754
RM
248862013-05-06 Roland McGrath <roland@hack.frob.com>
24887
24888 * elf/dl-writev.h: New file.
24889 * elf/dl-misc.c: Include it.
24890 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24891 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24892
a7548d41
JM
248932013-05-04 Joseph Myers <joseph@codesourcery.com>
24894
b7dab1e4
JM
24895 * math/libm-test.inc (noXFails): Remove variable.
24896 (noXPasses): Likewise.
24897 (BUILD_COMPLEX_INT): Remove macro.
24898 (print_screen): Remove xfail argument.
24899 (print_screen_max_error): Likewise.
24900 (update_stats): Likewise.
24901 (print_max_error): Likewise. Update calls to other affected
24902 functions.
24903 (print_complex_max_error): Likewise.
24904 (test_single_exception): Update calls to print_screen.
24905 (test_single_errno): Likewise.
24906 (check_float_internal): Remove xfail argument. Update calls to
24907 other affected functions.
24908 (check_float): Likewise.
24909 (check_complex): Likewise.
24910 (check_int): Likewise.
24911 (check_long): Likewise.
24912 (check_bool): Likewise.
24913 (check_longlong): Likewise.
24914 (main): Don't print noXFails and noXPasses.
24915 * math/gen-libm-test.pl (top level): Don't mention expected
24916 failure handling in comment.
24917 (new_test): Don't handle expected failures.
24918 (parse_args): Don't mention expected failure handling in comment.
24919 (generate_testfile): Don't handle expected failures.
24920 (parse_ulps): Likewise.
24921 (print_ulps_file): Likewise.
24922 (get_failure): Remove function.
24923 (output_test): Don't handle expected failures.
24924 * make/README.libm-test: Don't mention expected failure handling.
24925
a7548d41
JM
24926 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24927 (minus_zero): Likewise.
24928 (plus_infty): Likewise.
24929 (minus_infty): Likewise.
24930 (qnan_value): Likewise.
24931 (max_value): Likewise.
24932 (min_value): Likewise.
24933 (min_subnorm_value): Likewise.
24934 (initialize): Do not initialize those variables dynamically.
24935
60bfd54c
RM
249362013-05-03 Roland McGrath <roland@hack.frob.com>
24937
cc0e6ed8
RM
24938 * io/open.c (__open_2): Moved to ...
24939 * io/open_2.c: ... this new file.
24940 * io/open64.c (__open64_2): Moved to ...
24941 * io/open64_2.c: ... this new file.
24942 * io/openat.c (__openat_2): Moved to ...
24943 * io/openat_2.c: ... this new file.
24944 * io/openat64.c (__openat64_2): Moved to ...
24945 * io/openat64_2.c: ... this new file.
24946 * io/Makefile (routines): Add them.
24947 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24948 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24949 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24950 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24951 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24952 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24953 (__openat64): Add hidden_ver.
24954 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24955 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24956
60bfd54c
RM
24957 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24958 Separately conditionalize setting of GLRO(dl_sysinfo) so
24959 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24960 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24961
83e7640f
AZ
249622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24963
24964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24966 definition.
24967 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24968 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24969 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24970 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24971 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24972
d5dc2af3
JM
249732013-05-03 Joseph Myers <joseph@codesourcery.com>
24974
c31a5b1e
JM
24975 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24976 test signgam value.
24977
d5dc2af3
JM
24978 * math/libm-test.inc (hypot_test): Do not use
24979 IGNORE_ZERO_INF_SIGN.
24980
164fd39d
AJ
249812013-05-03 Andreas Jaeger <aj@suse.de>
24982
24983 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24984 Linux 3.9.
24985 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24986 (PF_MAX): Adjust for VSOCK change.
24987
8237f48c
AZ
249882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24989
24990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24991
9df02941
CD
249922013-05-02 Carlos O'Donell <carlos@redhat.com>
24993
24994 [BZ #15264]
24995 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24996 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24997 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24998
d422395e
DM
249992013-05-02 David S. Miller <davem@davemloft.net>
25000
25001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25002
a07c5731
OB
250032013-05-01 Ondřej Bílka <neleai@seznam.cz>
25004
25005 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25006
1324e37f
RM
250072013-05-01 Roland McGrath <roland@hack.frob.com>
25008
25009 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25010
0695940b
RS
250112013-05-01 Richard Smith <richard@metafoo.co.uk>
25012
bb5f27ad 25013 [BZ #14952]
0695940b
RS
25014 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25015 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25016 Use __attribute__ ((__gnu_inline__)).
25017 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25018 Don't use __attribute__ ((__gnu_inline__)).
25019
10de07f5
JM
250202013-05-01 Joseph Myers <joseph@codesourcery.com>
25021
25022 [BZ #15423]
25023 * math/s_catan.c (__catan): Handle small real or imaginary part of
25024 input specially to avoid spurious underflow.
25025 * math/s_catanf.c (__catanf): Likewise.
25026 * math/s_catanh.c (__catanh): Likewise.
25027 * math/s_catanhf.c (__catanhf): Likewise.
25028 * math/s_catanhl.c (__catanhl): Likewise.
25029 * math/s_catanl.c (__catanl): Likewise.
25030 * math/libm-test.inc (catan_test): Add more tests.
25031 (catanh_test): Likewise.
25032 * sysdeps/i386/fpu/libm-test-ulps: Update.
25033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25034
cb4d5414
AZ
250352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25036
25037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25038
caf84319
JM
250392013-04-30 Joseph Myers <joseph@codesourcery.com>
25040
25041 [BZ #15416]
25042 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25043 accurately for denominator in atan2.
25044 * math/s_catanf.c (__catanf): Likewise.
25045 * math/s_catanh.c (__catanh): Likewise.
25046 * math/s_catanhf.c (__catanhf): Likewise.
25047 * math/s_catanhl.c (__catanhl): Likewise.
25048 * math/s_catanl.c (__catanl): Likewise.
25049 * math/libm-test.inc (catan_test): Add more tests.
25050 (catanh_test): Likewise.
25051 * sysdeps/i386/fpu/libm-test-ulps: Update.
25052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25053
d569c6ee
SP
250542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25055
6dbe713d
SP
25056 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25057
f0ee064b
SP
25058 * benchtests/Makefile (bench): Remove slow benchmarks.
25059 * benchtests/atan-inputs: Add slow benchmark inputs.
25060 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25061 (BENCH_FUNC): Accept variant offset.
25062 (VARIANT): Define.
25063 * benchtests/bench-skeleton.c (main): Run benchmark for each
25064 variant.
25065 * benchtests/cos-inputs: Add slow benchmark inputs.
25066 * benchtests/exp-inputs: Likewise.
25067 * benchtests/pow-inputs: Likewise.
25068 * benchtests/sin-inputs: Likewise.
25069 * benchtests/slowatan-inputs: Remove.
25070 * benchtests/slowatan.c: Remove.
25071 * benchtests/slowcos-inputs: Remove.
25072 * benchtests/slowcos.c: Remove.
25073 * benchtests/slowexp-inputs: Remove.
25074 * benchtests/slowexp.c: Remove.
25075 * benchtests/slowpow-inputs: Remove.
25076 * benchtests/slowpow.c: Remove.
25077 * benchtests/slowsin-inputs: Remove.
25078 * benchtests/slowsin.c: Remove.
25079 * benchtests/slowtan-inputs: Remove.
25080 * benchtests/slowtan.c: Remove.
25081 * benchtests/tan-inputs: Add slow benchmark inputs.
25082 * scripts/bench.pl: Parse comments and directives.
25083
d569c6ee
SP
25084 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25085 in CPPFLAGS.
25086 ($(objpfx)bench-%.c): Remove *-ITER.
25087 * benchtests/bench-modf.c: Remove definition of ITER.
25088 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25089 (main): Loop for DURATION seconds instead of fixed number of
25090 iterations.
25091 * scripts/bench.pl: Don't expect iterations in parameters.
25092
a6a242fe
RM
250932013-04-29 Roland McGrath <roland@hack.frob.com>
25094
25095 * io/fchdir.c (__fchdir): Renamed from fchdir.
25096 (fchdir): Define as weak alias.
25097
f2da7793
JM
250982013-04-29 Joseph Myers <joseph@codesourcery.com>
25099
25100 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25101 (ERRNO_EDOM): Likewise.
25102 (ERRNO_ERANGE): Likewise.
25103 (noErrnoTests): New variable.
25104 (init_max_error): Set errno to 0.
25105 (test_single_errno): New function.
25106 (test_errno): Likewise.
25107 (check_float_internal): Call test_errno. Set errno to 0.
25108 (check_complex): Refer to errno tests in comment.
25109 (check_int): Call test_errno. Set errno to 0.
25110 (check_long): Likewise.
25111 (check_bool): Likewise.
25112 (check_longlong): Likewise.
25113 (cos_test): Use ERRNO_* flags for errno tests instead of
25114 check_int.
25115 (expm1_test): Likewise.
25116 (fmod_test): Likewise.
25117 (ilogb_test): Likewise.
25118 (lgamma_test): Likewise.
25119 (pow_test): Likewise.
25120 (remainder_test): Likewise.
25121 (sin_test): Likewise.
25122 (tan_test): Likewise.
25123 (yn_test): Likewise.
25124 (initialize): Set errno to 0.
25125 (main): Print number of errno tests.
25126 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25127
b1a36ceb
AJ
251282013-04-29 Andreas Jaeger <aj@suse.de>
25129
c3ed8088
AJ
25130 [BZ #15084]
25131 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25132 and RES_USEVC.
25133
f1a24198
AJ
25134 [BZ #15085]
25135 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25136 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25137 unimplemented.
25138
9ce3b2cb
AJ
25139 [BZ #15380]
25140 * stdlib/random.c (__initstate): Return NULL if
25141 __initstate fails.
25142
f1a24198 25143 [BZ #15086]
b1a36ceb
AJ
25144 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25145 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25146 RES_SNGLKUPREOP.
25147
7e7b6f36
AZ
251482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25151
4d14f449
JM
251522013-04-29 Joseph Myers <joseph@codesourcery.com>
25153
25154 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25155 of individual tests.
25156 (casin_test): Likewise.
25157 (casinh_test): Likewise.
25158
5b4217d7
JM
251592013-04-27 Joseph Myers <joseph@codesourcery.com>
25160
25161 [BZ #15409]
25162 * math/s_catan.c (__catan): Handle arguments with large real or
25163 imaginary part separately without squaring.
25164 * math/s_catanf.c (__catanf): Likewise.
25165 * math/s_catanh.c (__catanh): Likewise.
25166 * math/s_catanhf.c (__catanhf): Likewise.
25167 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25168 and redefine.
25169 (__catanhl): Handle arguments with large real or imaginary part
25170 separately without squaring.
25171 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25172 and redefine.
25173 (__catanl): Handle arguments with large real or imaginary part
25174 separately without squaring.
25175 * math/libm-test.inc (catan_test): Add more tests.
25176 (catanh_test): Likewise.
25177 * sysdeps/i386/fpu/libm-test-ulps: Update.
25178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25179
4220c3ef
AJ
251802013-04-27 Andreas Jaeger <aj@suse.de>
25181
25182 [BZ #15007]
25183 * stdlib/stdlib.h: Update guards for qecvt.
25184 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25185 <stdlib.h>.
25186
4721b2d1
AM
251872013-04-27 Allan McRae <allan@archlinux.org>
25188
25189 * sysdeps/i386/fpu/libm-test-ulps: Update.
25190
f0302940
JM
251912013-04-26 Joseph Myers <joseph@codesourcery.com>
25192
9457fd95
JM
25193 [BZ #15406]
25194 * math/s_catan.c: Include <float.h>.
25195 (__catan): Ensure underflow exception occurs for underflowed
25196 result.
25197 * math/s_catanf.c: Include <float.h>.
25198 (__catanf): Ensure underflow exception occurs for underflowed
25199 result.
25200 * math/s_catanh.c: Include <float.h>.
25201 (__catanh): Ensure underflow exception occurs for underflowed
25202 result.
25203 * math/s_catanhf.c: Include <float.h>.
25204 (__catanhf): Ensure underflow exception occurs for underflowed
25205 result.
25206 * math/s_catanhl.c: Include <float.h>.
25207 (__catanhl): Ensure underflow exception occurs for underflowed
25208 result.
25209 * math/s_catanl.c: Include <float.h>.
25210 (__catanl): Ensure underflow exception occurs for underflowed
25211 result.
25212 * math/libm-test.inc (catan_test): Add more tests.
25213 (catanh_test): Likewise.
25214
f0302940
JM
25215 [BZ #15405]
25216 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25217 underflowed result.
25218 * math/s_ccoshf.c (__ccoshf): Likewise.
25219 * math/s_ccoshl.c (__ccoshl): Likewise.
25220 * math/s_csin.c (__csin): Likewise.
25221 * math/s_csinf.c (__csinf): Likewise.
25222 * math/s_csinh.c (__csinh): Likewise.
25223 * math/s_csinhf.c (__csinhf): Likewise.
25224 * math/s_csinhl.c (__csinhl): Likewise.
25225 * math/s_csinl.c (__csinl): Likewise.
25226 * math/libm-test.inc (ccos_test): Add more tests.
25227 (ccosh_test): Likewise.
25228 (csin_test): Likewise.
25229 (csinh_test): Likewise.
25230
aa630f59
AZ
252312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25232
25233 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25234 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25235 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25236 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25237 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25238 powerpc/power5+/fpu folders.
25239 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25240
25241
1b835983
MT
252422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25243
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25245
73709b26
JM
252462013-04-25 Joseph Myers <joseph@codesourcery.com>
25247
25248 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25249 additions to variable.
25250 [$(config-machine) = x86_64] (modules-names): Likewise.
25251 ($(objpfx)tst-audit3): Remove dependency.
25252 ($(objpfx)tst-audit3.out): Likewise.
25253 ($(objpfx)tst-audit4): Likewise.
25254 ($(objpfx)tst-audit4.out): Likewise.
25255 ($(objpfx)tst-audit5): Likewise.
25256 ($(objpfx)tst-audit5.out): Likewise.
25257 ($(objpfx)tst-audit6): Likewise.
25258 ($(objpfx)tst-audit6.out): Likewise.
25259 ($(objpfx)tst-audit7): Likewise.
25260 ($(objpfx)tst-audit7.out): Likewise.
25261 (tst-audit3-ENV): Remove variable.
25262 (tst-audit4-ENV): Likewise.
25263 (tst-audit5-ENV): Likewise.
25264 (tst-audit6-ENV): Likewise.
25265 (tst-audit7-ENV): Likewise.
25266 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25267 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25268 addition to variable.
25269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25271 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25274 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25275 tst-audit3, tst-audit4 and tst-audit5.
25276 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25277 tst-audit6 and tst-audit7.
25278 [$(subdir) = elf] (modules-names): Add audit modules for those
25279 tests.
25280 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25281 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25282 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25283 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25284 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25285 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25286 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25287 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25288 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25289 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25290 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25291 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25292 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25293 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25294 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25295 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25296 Likewise.
25297 [$(subdir) = elf && $(config-cflags-avx) = yes]
25298 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25299 [$(subdir) = elf && $(config-cflags-avx) = yes]
25300 (CFLAGS-tst-auditmod4a.c): Likewise.
25301 [$(subdir) = elf && $(config-cflags-avx) = yes]
25302 (CFLAGS-tst-auditmod4b.c): Likewise.
25303 [$(subdir) = elf && $(config-cflags-avx) = yes]
25304 (CFLAGS-tst-auditmod6b.c): Likewise.
25305 [$(subdir) = elf && $(config-cflags-avx) = yes]
25306 (CFLAGS-tst-auditmod6c.c): Likewise.
25307 [$(subdir) = elf && $(config-cflags-avx) = yes]
25308 (CFLAGS-tst-auditmod7b.c): Likewise.
25309 * elf/tst-audit3.c: Move to ...
25310 * sysdeps/x86_64/tst-audit3.c: ... here.
25311 * elf/tst-audit4.c: Move to ...
25312 * sysdeps/x86_64/tst-audit4.c: ... here.
25313 * elf/tst-audit5.c: Move to ...
25314 * sysdeps/x86_64/tst-audit5.c: ... here.
25315 * elf/tst-audit6.c: Move to ...
25316 * sysdeps/x86_64/tst-audit6.c: ... here.
25317 * elf/tst-audit7.c: Move to ...
25318 * sysdeps/x86_64/tst-audit7.c: ... here.
25319 * elf/tst-auditmod3a.c: Move to ...
25320 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25321 * elf/tst-auditmod3b.c: Move to ...
25322 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25323 * elf/tst-auditmod4a.c: Move to ...
25324 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25325 * elf/tst-auditmod4b.c: Move to ...
25326 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25327 * elf/tst-auditmod5a.c: Move to ...
25328 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25329 * elf/tst-auditmod5b.c: Move to ...
25330 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25331 * elf/tst-auditmod6a.c: Move to ...
25332 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25333 * elf/tst-auditmod6b.c: Move to ...
25334 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25335 * elf/tst-auditmod6c.c: Move to ...
25336 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25337 * elf/tst-auditmod7a.c: Move to ...
25338 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25339 * elf/tst-auditmod7b.c: Move to ...
25340 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25341
1ef74943
PP
253422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25343
25344 [BZ #15366]
25345 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25346 define unconditionally.
25347 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25348 define unconditionally.
25349 (INT8_C, INT16_C, etc.): Likewise.
25350
93fd48c5
MR
253512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25352
ae9552cf
MR
25353 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25354 __ehdr_start with hidden visibility.
25355
93fd48c5
MR
25356 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25357
418601aa
CD
253582013-04-24 Carlos O'Donell <carlos@redhat.com>
25359
25360 * math/libm-test.inc (cos_test): Use accurate hex constants.
25361 (sincost_test): Likewise.
25362
2f38fbfe
JM
253632013-04-24 Joseph Myers <joseph@codesourcery.com>
25364
5e221800
JM
25365 * math/libm-test.inc (catan_test): Add more tests.
25366 (catanh_test): Likewise.
25367
77f143fd
JM
25368 * math/s_catanf.c (__catanf): Use suffixed floating-point
25369 constants.
25370 * math/s_catanhf.c (__catanhf): Likewise.
25371 * math/s_catanhl.c (__catanhl): Likewise.
25372 * math/s_catanl.c (__catanl): Likewise.
25373
2f38fbfe
JM
25374 [BZ #15394]
25375 * math/s_catan.c (__catan): Calculate imaginary part of result
25376 with log1p not log unless computing log of number close to 0.
25377 * math/s_catanf.c (__catanf): Likewise.
25378 * math/s_catanl.c (__catanl): Likewise.
25379 * math/s_catanh.c (__catanh): Calculate real part of result with
25380 log1p not log unless computing log of number close to 0.
25381 * math/s_catanhf.c (__catanhf): Likewise.
25382 * math/s_catanhl.c (__catanhl): Likewise.
25383 * math/libm-test.inc (catan_test): Add more tests.
25384 (catanh_test): Likewise.
25385 * sysdeps/i386/fpu/libm-test-ulps: Update.
25386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25387
45d69176
SP
253882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25389
25390 * benchtests/Makefile: Mention files in which fast and slow
25391 paths of math functions are implemented.
25392
87f51853
RM
253932013-04-23 Roland McGrath <roland@hack.frob.com>
25394
25395 * sysdeps/posix/timespec_get.c: New file.
25396
3c026539
AZ
253972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25398
25399 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25400 POWER.
25401 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25402 for POWER.
25403 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25404 powerpc/power5/fpu folders.
25405 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25406 * benchtests/Makefile: Add modf testcase.
25407 * benchtests/bench-modf.c: New file: Benchmark test for mo
25408
ff491d14
SP
254092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25410
25411 [BZ #14888]
25412 * time/Makefile (tests): Add tst-strptime-whitespace.
25413 * time/strptime_l.c (get_number): Use ISSPACE.
25414 (__strptime_internal): Likewise.
25415 * time/tst-strptime-whitespace.c: New test case.
25416
7ed3f4e8
AS
254172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25418
25419 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25420 member.
25421 (_nss_files_init): Set it here.
25422
5c95f7b6
HC
254232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25424
25425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25426 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25427 unsigned.
25428
d34c9158
JBG
254292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25430
25431 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25432
2169712d
SP
254332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25434
25435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25436 size just once.
25437
29c5de99
DM
254382013-04-21 David S. Miller <davem@davemloft.net>
25439
25440 * po/ru.po: Update Russion translation from translation project.
25441
ccdad15d
AC
254422013-04-17 Adam Conrad <adconrad@0c3.net>
25443
25444 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25445 and setfsgid.
25446
0f122b8d
CD
254472013-04-17 Carlos O'Donell <carlos@redhat.com>
25448
5c5b07da 25449 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25450 * configure: Regenerate.
5c5b07da 25451 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25452 Add example to error message.
25453 * sysdeps/i386/configure: Regenerate.
25454
037714dd
SP
254552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25456
25457 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25458 slowtan.
25459 * benchtests/cos-inputs: New file.
25460 * benchtests/slowcos-inputs: New file.
25461 * benchtests/slowcos.c: New file.
25462 * benchtests/slowtan-inputs: New file.
25463 * benchtests/slowtan.c: New file.
25464 * benchtests/tan-inputs: New file.
25465
e913141d
RM
254662013-04-16 Roland McGrath <roland@hack.frob.com>
25467
25468 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25469 considered kosher.
25470
a2964074
SP
254712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25472
4856bcd2
SP
25473 * benchtests/Makefile: Include cppflags-iterator.mk to add
25474 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25475
a2964074
SP
25476 * Makefile.in (bench-clean): New target.
25477 * benchtests/Makefile (bench-clean): Likewise.
25478
9fbf9aca
DH
254792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25480
25481 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25482
207d1e2a
TS
254832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25484
25485 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25486
306dfba9
AS
254872013-04-15 Andreas Schwab <schwab@suse.de>
25488
25489 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25491 * nscd/pwdcache.c (cache_addpw): Likewise.
25492 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25493 more than recsize.
25494
206a6699
SP
254952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25496
25497 * benchtests/Makefile (bench): Write all output to
25498 bench-out.tmp together.
25499
0582f6b3
AS
255002013-04-15 Andreas Schwab <schwab@suse.de>
25501
25502 * nscd/nscd.c (main): Don't fork again after closing files.
25503
acb4325f
SP
255042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25505
5cb26d0a
SP
25506 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25507
acb4325f
SP
25508 * benchtests/Rules (bench-deps): Collect dependencies into a
25509 single variable. Add Makefile to dependencies.
25510 ($(objpfx)bench-%.c): Depend on bench-deps.
25511
47792506
RM
255122013-04-12 Roland McGrath <roland@hack.frob.com>
25513 Xavier Roche <roche+kml2@exalead.com>
25514
25515 [BZ #15361]
25516 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25517 just that it's a file descriptor.
25518 * manual/llio.texi (Synchronizing AIO Operations): Update description
25519 for EBADF error from aio_fsync.
25520
8fc1bee5
SP
255212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25522
25523 * Rules (bench): Move target definition...
25524 * benchtests/Makefile: ... here.
25525
aba5e333
CD
255262013-04-11 Carlos O'Donell <carlos@redhat.com>
25527
25528 * math/libm-test.inc (cos_test): Fix PI/2 test.
25529 (sincos_test): Likewise.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25531 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25532
273cdee8
AS
255332013-04-11 Andreas Schwab <schwab@suse.de>
25534
6ecec3b6
AS
25535 [BZ #13988]
25536 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25537 accept exponent character only when digits were seen.
25538 * stdio-common/Makefile (tests): Add bug26.
25539 * stdio-common/bug26.c: New file.
25540
273cdee8
AS
25541 [BZ #14293]
25542 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25543 non-freeable.
25544
8da491f5
SP
255452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25546
01dc6df9
SP
25547 * Makeconfig (rtld-prefix): Define built linker prefix.
25548 * Rules (run-bench): Use it.
25549 * math/Makefile (run-regen-ulps): Likewise.
25550
8da491f5
SP
25551 * Rules (bench): Remove eval.
25552
abe7f530
SP
255532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25554 Roland McGrath <roland@hack.frob.com>
25555 Ondrej Bilka <neleai@seznam.cz>
25556
25557 [BZ #15346]
25558 * time/getdate.c: Include ctype.h and alloca.h.
25559 (__getdate_r): Trim leading and trailing spaces of input.
25560 * time/tst-getdate.c (tests): Add tests with leading and
25561 trailing spaces.
25562
61c23e62
RM
255632013-04-08 Roland McGrath <roland@hack.frob.com>
25564
25565 [BZ #14280]
25566 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25567 when computing value.
25568
7208a313
CD
255692013-04-06 Carlos O'Donell <carlos@redhat.com>
25570
085b2d41
CD
25571 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25572 Use testrun.sh to run libm tests.
25573
7208a313
CD
25574 [BZ #15309]
25575 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25576
872c0acd
MM
255772013-04-06 Marko Myllynen <myllynen@redhat.com>
25578
25579 [BZ #15264]
25580 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25581
26510bdd
CD
255822013-04-06 Carlos O'Donell <carlos@redhat.com>
25583
25584 * Makefile.in (regen-ulps): New target.
25585 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25586 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25587 [ifneq (no,$(PERL)] (regen-ulps): New target.
25588 [ifeq (no,$(PERL)] (regen-ulps): New target.
25589 * math/libm-test.inc (ulps_file_name): Define.
25590 (output_dir): New variable.
25591 (options): Add "output-dir" option.
25592 (parse_opt): Handle 'o' case.
25593 (main): If output_dir is non-NULL use it as a prefix
25594 otherwise use "".
25595 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25596
a01f19c8
CD
255972013-04-06 Carlos O'Donell <carlos@redhat.com>
25598
25599 [BZ #10060, #10062]
25600 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25601 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25602 fail configure if __sync_val_compare_and_swap is not inlined.
25603 * sysdeps/i386/configure: Regenerate.
25604 * configure.in: Build for i686 when configured for i386.
25605 * configure: Regenerate.
25606 * README: Remove i386 reference.
25607
b7a329a5
CD
256082013-04-06 Carlos O'Donell <carlos@redhat.com>
25609
25610 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25612
bf0f50df
TS
256132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25614
ee091edf
TS
25615 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25616 (lmsnanval): New variables.
25617 (F): Add conversion tests.
25618 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25619 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25620
a8b792d6
TS
25621 * stdio-common/tstdiomisc.c (F): Properly collect individual
25622 tests' results.
25623
a1cbf437
TS
25624 [BZ #14686, #15336]
25625 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25626 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25627 Instead, use input NaN values or generate a qNaN by arithmetic
25628 operation. Also fix bugs to comply with the standard.
25629 * math/libm-test.inc (remainder_test): Add more tests.
25630
8b43a0c9
TS
25631 [BZ #15335, #15342]
25632 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25634 input NaN values or generate a qNaN by arithmetic operation.
25635
d91da4ce
TS
25636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25637 unreachable code.
25638
bf0f50df
TS
25639 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25640 definitions.
25641
05e166c8
JM
256422013-04-03 Joseph Myers <joseph@codesourcery.com>
25643
25644 [BZ #14478]
25645 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25646 underflowed result.
25647 * math/s_cexpf.c (__cexpf): Likewise.
25648 * math/s_cexpl.c (__cexpl): Likewise.
25649 * math/libm-test.inc (cexp_test): Add more tests.
25650
1cef1b19
AS
256512013-04-03 Andreas Schwab <schwab@suse.de>
25652
25653 [BZ #15330]
25654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25655 order arrays from heap if bigger than alloca cutoff.
25656
74d87055
TS
256572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25658
25659 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25660 (SNAN_TESTS_double): Refer to GCC PR56831.
25661 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25662 GCC PR56828.
25663
d755bba4
SP
256642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25665
90d5d5bb
SP
25666 * Rules (bench): Move bench.out after the run is complete.
25667
73e0cd5d
SP
25668 * Rules (bench): Echo currently running benchmark.
25669
64aabd4b
SP
25670 * benchtests/Makefile (bench): Add atan and slowatan.
25671 * benchtests/atan-inputs: New file.
25672 * benchtests/slowatan-inputs: New file.
25673 * benchtests/slowatan.c: New file.
25674
c871eccd
SP
25675 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25677 its value.
25678
d755bba4
SP
25679 [BZ #15305]
25680 * sysdeps/unix/sysv/linux/kernel-features.h
25681 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25682 __ASSUME_XFS_RESTRICTED_CHOWN.
25683 * sysdeps/unix/sysv/linux/pathconf.c
25684 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25685 Save and restore errno.
25686
52ce4860
JM
256872013-04-02 Joseph Myers <joseph@codesourcery.com>
25688
25689 [BZ #15327]
25690 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25691 arguments using __kernel_casinh.
25692 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25693 arguments using __kernel_casinhf.
25694 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25695 arguments using __kernel_casinhl.
25696 * math/libm-test.inc (cacosh_test): Add more tests.
25697 * sysdeps/i386/fpu/libm-test-ulps: Update.
25698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25699
81f311c2
SP
257002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25701
e7906a47
SP
25702 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25704
92e3664b
SP
25705 * bench/Makefile (bench): Add sin and slowsin.
25706 * benchtests/sin-inputs: New file.
25707 * benchtests/slowsin-inputs: New file.
25708 * benchtests/slowsin.c: New file.
25709
81f311c2
SP
25710 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25711 (bench): Add slowexp and slowpow.
25712 (exp-ITER): Increase iterations.
25713 (pow-ITER): Likewise.
25714 * benchtests/exp-inputs: Change input.
25715 * benchtests/pow-inputs: Likewise.
25716 * benchtests/slowexp-inputs: New file.
25717 * benchtests/slowexp.c: New file.
25718 * benchtests/slowpow-inputs: New file.
25719 * benchtests/slowpow.c: New file.
25720
ab0f1aa9
AZ
257212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25722
25723 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25724 instructions.
25725 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25726 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25727 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25728 * benchtests/Makefile: Add rint benchtest.
25729 * benchtests/rint-inputs: Input for rint benchtest.
25730
57267616
TS
257312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25732
25733 * Versions.def (libm): Add GLIBC_2.18.
25734 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25735 hidden libm prototypes.
25736 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25737 * math/Makefile (libm-calls): Add s_issignaling.
25738 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25739 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25740 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25741 declaration.
25742 * math/math.h [__USE_GNU] (issignaling): New macro.
25743 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25744 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25749 * manual/arith.texi (issignaling): New section.
25750 * manual/libm-err-tab.pl (@all_functions): Update comment.
25751 * math/gen-libm-test.pl (parse_args): Apply special handling for
25752 issignaling.
25753 * math/libm-test.inc (print_float, issignaling_test): New
25754 functions.
25755 (check_float_internal): Add issignaling checks.
25756 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25757 default definition.
25758 * sysdeps/powerpc/math-tests.h: New file.
25759 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25760 tests.
25761 * math/test-snan.c (TEST_FUNC): Likewise.
25762
6142896d
DM
257632013-03-30 David S. Miller <davem@davemloft.net>
25764
25765 * po/de.po: Update from translation team.
25766
ccc8cadf
JM
257672013-03-30 Joseph Myers <joseph@codesourcery.com>
25768
25769 [BZ #10357]
25770 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25771 imaginary part less than 1.0 and real part less than 0.5
25772 specially.
25773 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25774 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25775 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25776 (cacos_test): Add more tests.
25777 (casin_test): Likewise.
25778 (casinh_test): Likewise.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25781
0f6a8d4b
SP
257822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
0d1029de
SP
25784 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25785 ONE with its value.
25786
c2d94018
SP
25787 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25788 (__pow_mp): Replace ONE and MONE with their values.
25789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25793 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25795
27ec37f1
SP
25796 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25797
a64d7e0e
SP
25798 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25799 (__pow_mp): Replace ZERO and MZERO with their values.
25800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25805 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25806 (__sqr): Likewise.
25807
d26dd3eb
SP
25808 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25809
0f6a8d4b
SP
25810 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25811
e57b0c61
RM
258122013-03-28 Roland McGrath <roland@hack.frob.com>
25813
25814 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25815 Declare with __attribute__ ((weak)).
25816 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25817 Call __call_tls_dtors only if it's not NULL.
25818
356b3480
RM
258192013-03-28 Roland McGrath <roland@hack.frob.com>
25820
288f7d79
RM
25821 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25822 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25823 magic __ehdr_start linker symbol if it's defined.
25824 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25825 them up here if it was already done.
25826
dc0a0263
RM
25827 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25828 (_dl_aux_init): Use const in cast when setting it.
25829 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25831 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25832
3d3436ae
RM
25833 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25834 Declare them here.
25835 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25836 * csu/libc-tls.c: Nor here.
25837 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25838
356b3480
RM
25839 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25840 (__libc_message): Never call vsyslog.
25841
b0f1246a
AM
258422013-03-28 Alan Modra <amodra@gmail.com>
25843
25844 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25845 Define as empty.
25846 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25847 Likewise.
25848
fbbe2b9a
AZ
258492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25850
25851 [BZ #15214]
25852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25853 underflow.
25854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25855
1728ab37
SP
258562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25857
7a86be6e
SP
25858 [BZ #15304]
25859 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25860 Don't add gid passed as argument.
25861
1728ab37
SP
25862 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25863
3a7182a1
JM
258642013-03-27 Joseph Myers <joseph@codesourcery.com>
25865
25866 [BZ #15307]
25867 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25868 imaginary part between 1.0 and 1.5 and real part less than 0.5
25869 specially.
25870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25872 * math/libm-test.inc (cacos_test): Add more tests.
25873 (casin_test): Likewise.
25874 (casinh_test): Likewise.
25875 * sysdeps/i386/fpu/libm-test-ulps: Update.
25876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25877
6f2e90e7
SP
258782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25879
5739f705
SP
25880 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25881 constants.
25882 (norm): Likewise.
25883 (denorm): Likewise.
25884 (__dbl_mp): Likewise.
25885 (add_magnitudes): Likewise.
25886 (sub_magnitudes): Likewise.
25887 (__add): Likewise.
25888 (__sub): Likewise.
25889 (__mul): Likewise.
25890 (__sqr): Likewise.
25891 (__inv): Likewise.
25892 (__dvd): Likewise.
25893
e375e83d
SP
25894 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25895 commented code.
25896 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25897 (__dubcos): Likewise.
25898 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25899 (__ieee754_acos): Likewise.
25900 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25901 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25902 (__exp1): Likewise.
25903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25905 (log1): Likewise.
25906 (my_log2): Likewise.
25907 (checkint): Likewise.
25908 * sysdeps/ieee754/dbl-64/e_remainder.c
25909 (__ieee754_remainder): Likewise.
25910 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25912 (bsloww): Likewise.
25913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25914
6f2e90e7
SP
25915 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25916 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25917 MANTISSA_STORE_T to store computations on mantissa. Use
25918 macros for rounding and division.
25919 (denorm): Likewise.
25920 (__dbl_mp): Likewise.
25921 (add_magnitudes): Likewise.
25922 (sub_magnitudes): Likewise.
25923 (__mul): Likewise.
25924 (__sqr): Likewise.
25925 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25926 powers of two in terms of TWOPOW macro.
25927 (mp_no): Make type of mantissa as MANTISSA_T.
25928 [!RADIXI]: Define RADIXI.
25929 [!TWO52]: Define TWO52.
25930 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25931
fce14d4e
AZ
259322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25933
25934 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25935 llroundl symbol when building for PPC32.
25936
9ad027fb
MW
259372013-03-24 Mark H Weaver <mhw@netris.org>
25938
25939 * manual/arith.texi (Normalization Functions): Fix prototypes for
25940 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25941
e42a38dd
AZ
259422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25943
25944 [BZ #13889]
25945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25946 high value to check if expl overflow.
25947 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25948 to check for underflow and overflow.
25949 * math/libm-test.inc: Add exp test.
25950
2e0fb521
DL
259512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25952
25953 [BZ #11120]
25954 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25955 with NOT_IN_libc.
25956
b5784d95
AZ
259572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25958
25959 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25960 symbol.
25961
5aa4a1a1
TS
259622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25963
bdef0be7
TS
25964 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25965 wrap blocks consisting of several statements.
25966
5aa4a1a1
TS
25967 * sysdeps/generic/math-tests.h: New file.
25968 * sysdeps/i386/fpu/math-tests.h: Likewise.
25969 * math/test-snan.c: Include it.
25970 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25971
98c48fe5
JM
259722013-03-21 Joseph Myers <joseph@codesourcery.com>
25973
25974 [BZ #15285]
25975 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25976 (__ieee754_j0l): Do not improve calculations using cos of twice
25977 input for inputs above LDBL_MAX / 2.0L.
25978 (__ieee754_y0l): Likewise.
25979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25980 (__ieee754_j1l): Do not improve calculations using cos of twice
25981 input for inputs above LDBL_MAX / 2.0L.
25982 (__ieee754_y1l): Likewise.
25983 * math/libm-test.inc (j0_test): Add another test.
25984 (j1_test): Likewise.
25985 (y0_test): Likewise.
25986 (y1_test): Likewise.
25987 * sysdeps/i386/fpu/libm-test-ulps: Update.
25988
3775a8bc
SP
259892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25990
25991 * Rules ($(objpfx)bench-%.c): Include code from a C source
25992 file.
25993
0a1b2ae6
JM
259942013-03-21 Joseph Myers <joseph@codesourcery.com>
25995
25996 [BZ #15287]
25997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25998 imaginary part 1.0 and real part less than 0.5 specially.
25999 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26000 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26001 * math/libm-test.inc (cacos_test): Add more tests.
26002 (casin_test): Likewise.
26003 (casinh_test): Likewise.
26004 * sysdeps/i386/fpu/libm-test-ulps: Update.
26005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26006
b33d4ce4
SP
260072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26008
26009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26010 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26011
bef0b507
JM
260122013-03-20 Joseph Myers <joseph@codesourcery.com>
26013
26014 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26015 * config.make.in (config-cflags-sse4): Remove variable.
26016 (config-cflags-avx): Likewise.
26017 (config-cflags-sse2avx): Likewise.
26018 (config-cflags-novzeroupper): Likewise.
26019 (config-asflags-i686): Likewise.
26020 (have-mfma4): Likewise.
26021 (have-as-vis3): Likewise.
26022 (MIG): Likewise.
26023 * configure.in (MIG): Do not AC_SUBST.
26024 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26025 (libc_cv_cc_sse4): Do not AC_SUBST.
26026 (libc_cv_cc_avx): Likewise.
26027 (libc_cv_cc_sse2avx): Likewise.
26028 (libc_cv_cc_novzeroupper): Likewise.
26029 (libc_cv_cc_fma4): Likewise.
26030 (libc_cv_as_i686): Likewise.
26031 (libc_cv_sparc_as_vis3): Likewise.
26032 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26033 LIBC_CONFIG_VAR.
26034 (config-asflags-i686): Likewise.
26035 (config-cflags-avx): Likewise.
26036 (config-cflags-sse2avx): Likewise.
26037 (have-mfma4): Likewise.
26038 (config-cflags-novzeroupper): Likewise.
26039 * sysdeps/mach/configure.in (MIG): Likewise.
26040 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26041 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26042 LIBC_CONFIG_VAR.
26043 (config-cflags-avx): Likewise.
26044 (config-cflags-sse2avx): Likewise.
26045 (have-mfma4): Likewise.
26046 (config-cflags-novzeroupper): Likewise.
26047 * configure: Regenerated.
26048 * sysdeps/i386/configure: Likewise.
26049 * sysdeps/mach/configure: Likewise.
26050 * sysdeps/sparc/configure: Likewise.
26051 * sysdeps/x86_64/configure: Likewise.
26052
912cc4b3
RM
260532013-03-20 Roland McGrath <roland@hack.frob.com>
26054
26055 [BZ #14812]
26056 * locale/programs/localedef.c (options): Put N_ translation marker
26057 on argument names, not just descriptions.
26058
04eed2b0
MS
260592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26060
26061 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26062
a065ceff
OB
260632013-03-20 Ondřej Bílka <neleai@seznam.cz>
26064
9bb2a810 26065 [BZ #14176]
a065ceff
OB
26066 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26067
a600e5ce
RM
260682013-03-19 Roland McGrath <roland@hack.frob.com>
26069
26070 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26071 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26072 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26073 [!BEFORE_ABORT] (before_abort): New function.
26074 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26075 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26076 (writev_for_fatal): New function.
26077 (WRITEV_FOR_FATAL): New macro; call that.
26078 (backtrace_and_maps): New function.
26079 (BEFORE_ABORT): New macro; call that.
26080 (struct str_list): Type removed.
26081 (__libc_message, __libc_fatal): Functions removed.
26082 Include <sysdeps/posix/libc_fatal.c> instead.
26083
6b18bea6
JM
260842013-03-19 Joseph Myers <joseph@codesourcery.com>
26085
26086 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26087 constants.
26088 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26089 double constants.
26090
aaa8cb4b
AS
260912013-03-19 Andreas Schwab <schwab@suse.de>
26092
44673770
AS
26093 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26094 * sysdeps/gnu/configure: Regenerate.
26095
aaa8cb4b
AS
26096 * configure.in: Substitute libc_cv_rtlddir.
26097 * configure: Regenerate.
26098 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26099 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26100 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26101 * elf/Makefile (install-others, CFLAGS-interp.c)
26102 (ldso_install, common-ldd-rewrite): Likewise.
26103 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26104 $(inst_slibdir)/$(rtld-installed-name).
26105 * scripts/rellns-sh: Add -p option.
26106 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26107 for source.
26108
d3cfc668
SP
261092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26110
26111 * manual/nptl.texi: Renamed to ...
26112 * manual/threads.texi: ... this.
26113 * manual/Makefile (chapters): Update.
26114
0e2b9cdd
RM
261152013-03-18 Roland McGrath <roland@hack.frob.com>
26116
26117 [BZ #14812]
26118 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26119 on argument names, not just descriptions.
0e2b9cdd
RM
26120 * malloc/memusagestat.c (options): Likewise.
26121 * nss/getent.c (options): Likewise.
63270c24
RM
26122
261232013-03-18 Benno Schulenberg <bensberg@justemail.net>
26124
26125 [BZ #14812]
26126 * iconv/iconv_prog.c (options): Put N_ translation marker
26127 on argument names, not just descriptions.
26128 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26129
b2e1393c
OB
261302013-03-18 Ondrej Bilka <neleai@seznam.cz>
26131
26132 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26133 implementation which is faster on all x86_64 architectures.
26134 Tested on AMD, Intel Nehalem, SNB, IVB.
26135 * sysdeps/x86_64/strnlen.S: Likewise.
26136
26137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26138 Remove all multiarch strlen and strnlen versions.
26139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26140 Remove strlen and strnlen related parts.
26141
26142 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26143 Inline strlen part.
26144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26145
26146 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26148 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26149 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26150 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26151 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26152
ec4ff04d
CD
261532013-03-17 Carlos O'Donell <carlos@redhat.com>
26154
26155 * manual/memory.texi (Malloc Tunable Parameters):
26156 Sort parameters alphabetically. Add comments for missing entries.
26157
cd18e90a
DM
261582013-03-17 David S. Miller <davem@davemloft.net>
26159
26160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26161
2a185d32
JM
261622013-03-16 Joseph Myers <joseph@codesourcery.com>
26163
d2f9799e
JM
26164 [BZ #15283]
26165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26166 for arguments at most half maximum finite value.
26167 * math/libm-test.inc (j0_test): Add more tests.
26168 (j1_test): Likewise.
26169 (y0_test): Likewise.
26170 (y1_test): Likewise.
26171 * sysdeps/i386/fpu/libm-test-ulps: Update.
26172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26173
2a185d32
JM
26174 [BZ #14155]
26175 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26176 1 / x and functions P and Q for arguments above 0x1p256L.
26177 (__ieee754_y0l): Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26179 (__ieee754_y1l): Likewise.
26180 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26181 (j1_test): Likewise.
26182 (y0_test): Likewise.
26183 (y1_test): Likewise.
26184
6cbec759
TS
261852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26186
26187 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26188 variable.
26189
bc16e260
RM
261902013-03-15 Roland McGrath <roland@hack.frob.com>
26191
aefc9b8c
RM
26192 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26193 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26194 zero since it's initialized to EXEC_PAGESIZE.
26195
bc16e260
RM
26196 * sysdeps/unix/sysv/linux/ldsodefs.h
26197 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26198 * sysdeps/generic/ldsodefs.h: ... here.
26199
a57da955
TS
262002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26201
af00a34d
TS
26202 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26203
495ded2c
TS
26204 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26205 math/test-snan.c.
26206 * math/test-snan.c: Renamed from
26207 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26208 * math/Makefile (tests): Add test-snan.
26209 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26210 test-powerpc-snan.
26211
777b0332
TS
26212 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26213 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26214 functions.
26215 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26216 __builtin_nan family of functions.
26217 * math/libm-test.inc (initialize): Initialize qnan_value with
26218 __builtin_nan family of functions.
26219 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26220 Remove variables.
26221 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26222 Remove functions.
26223 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26224 storage class. Initialize qNaN_var and sNaN_var with
26225 __builtin_nan and __builtin_nans families of functions,
26226 respectively.
26227
64d063b8
TS
26228 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26229 (sqrt_test): Remove duplicate test with qNaN input.
26230 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26231 (round_test, signbit_test, significand_test): Note missing +/-Inf
26232 as well as qNaN tests.
26233
67e971f1
TS
26234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26235 qNaN_var. Fix a few strings, too.
26236 * math/libm-test.inc (nan_value): Rename to qnan_value.
26237 * math/gen-libm-test.pl (%beautify): Adjust to that.
26238 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26239 * math/test-misc.c (main): Likewise.
26240 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26241 to __qnan_bytes, and __qnan_union, respectively.
26242 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26243 Likewise.
26244 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26245 and lqnanval, respectively.
26246 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26247 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26248 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26249 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26250
64487e12
TS
26251 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26252 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26253 doubles.
26254
e015e27b
TS
26255 * math/test-misc.c (main): Fix copy'n'pastos.
26256 * misc/tst-efgcvt.c (special): Likewise.
26257
a57da955
TS
26258 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26259 Remove declarations.
26260
1e380345
SP
262612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26262
26263 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26264 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26265 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26267
ef26eece
AZ
262682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26269
26270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26271 macro to return vdso values correctly in IFUNC implementations.
26272 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26273 Optimization by using IFUNC.
26274
8cfdb7e0
SP
262752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26276 Richard Henderson <rth@redhat.com>
26277 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26278
26279 * Makefile.in (bench): New target.
26280 * NEWS: Mention the benchmark framework.
26281 * Rules (bench): Likewise.
26282 (binaries-bench): Generate binaries for functions to
26283 benchmark.
26284 * benchtests/Makefile: New makefile for benchmark tests.
26285 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26286 programs.
26287 * benchtests/exp-inputs: New input file for EXP function.
26288 * benchtests/pow-inputs: New input file for POW function.
26289 * scripts/bench.pl: New script to generate source files for
26290 benchmark programs.
26291
bcda9880
SP
262922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26293
d22ca8cd
SP
26294 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26296 computations on mantissa. Use macros for rounding and
26297 division.
26298 (denorm): Likewise.
26299 (__dbl_mp): Likewise.
26300 (add_magnitudes): Likewise.
26301 (sub_magnitudes): Likewise.
26302 (__mul): Likewise.
26303 (__sqr): Likewise.
26304 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26305 powers of two in terms of TWOPOW macro.
26306 (mp_no): Make type of mantissa as MANTISSA_T.
26307 [!RADIXI]: Define RADIXI.
26308 [!TWO52]: Define TWO52.
26309 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26310
bcda9880
SP
26311 * manual/nptl.texi (cindex): Modify threads to pthreads.
26312
06d5adfb
JM
263132013-03-15 Joseph Myers <joseph@codesourcery.com>
26314
26315 * sysdeps/x86_64/preconfigure: Regenerated.
26316
41c7328e
JM
263172013-03-14 Joseph Myers <joseph@codesourcery.com>
26318
26319 [BZ #14155]
26320 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26321 0x1p28 and above.
26322 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26323 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26324 0x1p28 and above.
26325 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26326 * math/libm-test.inc (j0_test): Do not allow one spurious
26327 underflow exception.
26328 (y1_test): Likewise.
26329
e25cfa60
SP
263302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26331
0409959c
SP
26332 * manual/Makefile (chapters): Add nptl.
26333 * manual/debug.texi (Debugging Support): Add link to Threads
26334 chapter.
26335 * manual/nptl.texi: New file.
26336
e25cfa60
SP
26337 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26338
58a1335e
PB
263392013-03-14 Petr Baudis <pasky@ucw.cz>
26340
26341 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26342 for non-NULL pointer before the memory validity test. Pointed
26343 out by Holger Brunck <holger.brunck@keymile.com>.
26344
9dc7c64f
AS
263452013-03-13 Andreas Schwab <schwab@suse.de>
26346
26347 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26348 instead of .os.
26349
54206aa6
JM
263502013-03-13 Joseph Myers <joseph@codesourcery.com>
26351
26352 * timezone/zic.c: Update from tzcode 2013b.
26353
e98cdb38
CD
263542013-03-12 Carlos O'Donell <carlos@redhat.com>
26355
26356 * manual/install.texi (Configuring and compiling):
26357 Mention i686 and i586.
26358 * INSTALL: Regenerate.
26359
9967e003
RM
263602013-03-12 Roland McGrath <roland@hack.frob.com>
26361
26362 * sysdeps/init_array/elf-init.c: New file.
26363 * csu/elf-init.c
26364 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26365 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26366
26367 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26368 __gmon_start__ as global, but as static with a .preinit_array pointer.
26369 * sysdeps/init_array/gmon-start.c: New file. Use that.
26370 * sysdeps/init_array/crti.S: New file, empty except for comments.
26371 * sysdeps/init_array/crtn.S: Likewise.
26372
e6b5a293 263732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26374
26375 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26376 definining bcopy.
80f844c9
OB
26377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26378 Remove Prefer_SSE_for_memop.
26379 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26380 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26381 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26383 memset-x86-64.
80f844c9 26384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26385 Remove bzero, memset ifunc support.
80f844c9
OB
26386 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26390
fb6b0fcb
AS
263912013-03-11 Andreas Schwab <schwab@suse.de>
26392
26393 [BZ #15234]
26394 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26395 by SHLIB_COMPAT.
26396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26397 (GLIBC_2.16): Remove pthread_atfork.
26398
3e6bd4b1
PP
263992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26400
26401 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26402 (ptestcases.h): Likewise.
26403
222d7f00
RM
264042013-03-08 Roland McGrath <roland@hack.frob.com>
26405
26406 * Makeconfig ($(common-objpfx)config.status): Depend on
26407 sysdeps/*/preconfigure{,.in} too.
26408
1ba4f030
JM
264092013-03-08 Joseph Myers <joseph@codesourcery.com>
26410
a222d91a
JM
26411 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26412 (__free_hook): Use void * instead of __malloc_ptr_t.
26413 (__malloc_hook): Likewise.
26414 (__realloc_hook): Likewise.
26415 (__memalign_hook): Likewise.
26416 (__after_morecore_hook): Likewise.
26417 * malloc/arena.c (save_malloc_hook): Likewise.
26418 (save_free_hook): Likewise.
26419 * malloc/hooks.c (malloc_hook_ini): Likewise.
26420 (realloc_hook_ini): Likewise.
26421 (memalign_hook_ini): Likewise.
26422 * malloc/malloc.c (malloc_hook_ini): Likewise.
26423 (realloc_hook_ini): Likewise.
26424 (memalign_hook_ini): Likewise.
26425 (__free_hook): Likewise.
26426 (__malloc_hook): Likewise.
26427 (__realloc_hook): Likewise.
26428 (__memalign_hook): Likewise.
26429 (__libc_malloc): Likewise.
26430 (__libc_free): Likewise.
26431 (__libc_realloc): Likewise.
26432 (__libc_memalign): Likewise.
26433 (__libc_valloc): Likewise.
26434 (__libc_pvalloc): Likewise.
26435 (__libc_calloc): Likewise.
26436 (__posix_memalign): Likewise.
26437 * malloc/morecore.c (__sbrk): Likewise.
26438 (__default_morecore): Likewise.
26439
5cc45e10
JM
26440 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26441
dd54b864
JM
26442 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26443 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26444 __malloc_ptrdiff_t.
26445
1ba4f030
JM
26446 * malloc/malloc.h (__malloc_size_t): Remove macro.
26447 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26448 __malloc_size_t.
26449 (old_memalign_hook): Likewise.
26450 (old_realloc_hook): Likewise.
26451 (struct hdr): Likewise.
26452 (flood): Likewise.
26453 (mallochook): Likewise.
26454 (memalignhook): Likewise.
26455 (reallochook): Likewise.
26456 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26457 (tr_old_realloc_hook): Likewise.
26458 (tr_old_memalign_hook): Likewise.
26459 (tr_mallochook): Likewise.
26460 (tr_reallochook): Likewise.
26461 (tr_memalignhook): Likewise.
26462
edf66e57
AZ
264632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26464
26465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26466 default_ldbl_pack and using as default implementation.
26467 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26468 implementation.
26469 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26470 redundant definition.
26471 (ldbl_insert_mantissa): Likewise.
26472 (ldbl_canonicalize): Likewise.
26473 (ldbl_nearbyint): Likewise.
26474 (ldbl_pack): Rename to ldbl_pack_ppc.
26475 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26476 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26477 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26478
6d9145d8
SP
264792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26480
26481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26482 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26484 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26487 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26488 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26489
4dd4e157
AJ
264902013-03-07 Andreas Jaeger <aj@suse.de>
26491
26492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26493 bits/mman-linux.h.
26494
adbb8027
SP
264952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26496
ce544b5b
SP
26497 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26498 Include mpa.h and declare __MPEXP.
26499 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26502 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26504 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26506
4cc149fd
SP
26507 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26508 (__slowpow): Use long double EXPL and LOGL functions to
26509 compute POW.
26510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26512 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26514 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26516
e6ebd4a7
SP
26517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26518 intermediate variable to calculate exponent.
26519 (__sqr): Likewise.
26520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26521 Likewise.
26522 (__sqr): Likewise.
26523
82a9811d
SP
26524 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26525 [!NO__SQR]: Define __sqr.
26526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26527 and NO__SQR. Remove all code except __mul and __sqr. Include
26528 sysdeps/ieee754/dbl-64/mpa.c.
26529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26530
adbb8027
SP
26531 [BZ #12723]
26532 * posix/Makefile (tests): Add tst-pathconf.
26533 * posix/tst-pathconf.c: New test case.
26534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26535 _PC_PIPE_BUF.
26536 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26537
39120df9
PF
265382013-03-06 Patsy Franklin <pfrankli@redhat.com>
26539
26540 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26541
67525cb8
AJ
265422013-03-06 Andreas Jaeger <aj@suse.de>
26543
664a9ce4
AJ
26544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26545 definition via __MAP_ANONYMOUS.
26546
8e39047d
AJ
26547 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26548 it's not part of Linux headers.
26549
67525cb8
AJ
26550 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26551 (MAP_HUGE_MASK): Define.
26552
26553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26554 Define.
26555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26557 Define.
26558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26559 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26560 Define.
26561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26563 Define.
26564 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26565
26566 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26567 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26568 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26569 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26570 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26572
26573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26574 Handle f2fs.
26575
26576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26577 Handle f2fs and efivarfs.
26578
26579 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26580 f2fs.
26581
26582 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26583 (EFIVARFS_MAGIC): Add.
26584 (F2FS_LINK_MAX): Add.
26585
e1b42695
PP
265862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26587
26588 * stdio-common/vfprintf.c: Replace __builtin_expect with
26589 __glibc_unlikely.
26590
2d67d91a
JM
265912013-03-06 Joseph Myers <joseph@codesourcery.com>
26592
26593 [BZ #13550]
26594 * sysdeps/generic/bp-sym.h: Remove file.
26595 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26597 <bp-sym.h> and <bp-asm.h>.
26598 (__longjmp): Don't use BP_SYM.
26599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26600 and <bp-asm.h>.
26601 (memcpy): Don't use BP_SYM.
26602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26603 <bp-sym.h> and <bp-asm.h>.
26604 (memcpy): Don't use BP_SYM.
26605 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26606 <bp-asm.h>.
26607 (memcpy): Don't use BP_SYM.
26608 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26609 <bp-asm.h>.
26610 (memset): Don't use BP_SYM.
26611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26613 (__bzero): Don't use BP_SYM.
26614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26617 <bp-sym.h> and <bp-asm.h>.
26618 (memcmp): Don't use BP_SYM. Remove comment about bounded
26619 pointers.
26620 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26621 <bp-sym.h> and <bp-asm.h>.
26622 (memcpy): Don't use BP_SYM.
26623 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26624 <bp-sym.h> and <bp-asm.h>.
26625 (memset): Don't use BP_SYM.
26626 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26627 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26628 (__bzero): Don't use BP_SYM.
26629 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26630 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26632 <bp-sym.h> and <bp-asm.h>.
26633 (strncmp): Don't use BP_SYM. Remove comment about bounded
26634 pointers.
26635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26636 <bp-sym.h> and <bp-asm.h>.
26637 (memcpy): Don't use BP_SYM.
26638 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26639 <bp-sym.h> and <bp-asm.h>.
26640 (memset): Don't use BP_SYM.
26641 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26642 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26643 (__bzero): Don't use BP_SYM.
26644 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26645 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26647 <bp-sym.h> and <bp-asm.h>.
26648 (__memchr): Don't use BP_SYM.
26649 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26650 <bp-sym.h> and <bp-asm.h>.
26651 (memcmp): Don't use BP_SYM. Remove comment about bounded
26652 pointers.
26653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26654 <bp-sym.h> and <bp-asm.h>.
26655 (memcpy): Don't use BP_SYM.
26656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26657 <bp-sym.h> and <bp-asm.h>.
26658 (__mempcpy): Don't use BP_SYM.
26659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26660 <bp-sym.h> and <bp-asm.h>.
26661 (__memrchr): Don't use BP_SYM.
26662 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26663 <bp-sym.h> and <bp-asm.h>.
26664 (memset): Don't use BP_SYM.
26665 (__bzero): Likewise.
26666 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26667 <bp-sym.h> and <bp-asm.h>.
26668 (__rawmemchr): Don't use BP_SYM.
26669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26670 <bp-sym.h> and <bp-asm.h>.
26671 (__STRCMP): Don't use BP_SYM.
26672 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26673 <bp-sym.h> and <bp-asm.h>.
26674 (strchr): Don't use BP_SYM.
26675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26676 <bp-sym.h> and <bp-asm.h>.
26677 (__strchrnul): Don't use BP_SYM.
26678 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26679 <bp-sym.h> and <bp-asm.h>.
26680 (strlen): Don't use BP_SYM.
26681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26682 <bp-sym.h> and <bp-asm.h>.
26683 (strncmp): Don't use BP_SYM. Remove comment about bounded
26684 pointers.
26685 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26686 <bp-sym.h> and <bp-asm.h>.
26687 (__strnlen): Don't use BP_SYM.
26688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26689 <bp-sym.h> and <bp-asm.h>.
26690 (__GI__setjmp): Don't use BP_SYM.
26691 (_setjmp): Likewise.
26692 (__sigsetjmp): Likewise.
26693 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26694 (L(start_addresses)): Don't use BP_SYM.
26695 (_start): Likewise.
26696 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26697 <bp-asm.h>.
26698 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26699 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26700 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26701 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26702 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26703 <bp-asm.h>.
26704 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26705 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26706 about bounded pointers.
26707 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26708 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26709 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26710 <bp-asm.h>.
26711 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26712 about bounded pointers. Remove GKM FIXME comments.
26713 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26714 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26715 <bp-asm.h>.
26716 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26717 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26718 Remove GKM FIXME comments.
26719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26721 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26722 <bp-asm.h>.
26723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26724 about bounded pointers. Remove GKM FIXME comment.
26725 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26726 and <bp-asm.h>.
26727 (strncmp): Don't use BP_SYM. Remove comment about bounded
26728 pointers.
26729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26730 <bp-sym.h> and <bp-asm.h>.
26731 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26733 <bp-sym.h> and <bp-asm.h>.
26734 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26735 comment.
26736
cdcf361f
PP
267372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26738
26739 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26740 call free(NULL).
26741
3c4a2b15
DM
267422013-03-05 David S. Miller <davem@davemloft.net>
26743
26744 * po/es.po: Update from translation team.
26745
cdcf361f 267462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26747
26748 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26749 <bits/mman-linux.h>.
26750 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26751 is fine.
26752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26753 <bits/mman-linux.h> to end of file.
26754 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26755 is fine.
26756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26757 <bits/mman-linux.h> to end of file.
26758 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26759 is fine.
26760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26761 <bits/mman-linux.h> to end of file.
26762
26763 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26764 (MCL_CURRENT, MCL_FUTURE): Define here.
26765
5f67c04f
AK
267662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26767
8a4473cc 26768 [BZ #15232]
5f67c04f
AK
26769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26770 attribute_hidden.
26771 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26772
c3e94a95
AK
267732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26774
26775 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26776 fourth parameter needed for rt_sigprocmask syscall.
26777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26778 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26779 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26780 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26781 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26782 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26783
cfb6382a
JM
267842013-03-04 Joseph Myers <joseph@codesourcery.com>
26785
26786 [BZ #13550]
26787 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26788 comment about bounded pointers.
26789 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26790 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26791
539d8e01
AJ
267922013-03-04 Andreas Jaeger <aj@suse.de>
26793
26794 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26795 common definitions.
26796
26797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26798 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26799 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26803
2e167a70 268042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26805
26806 [BZ #15055]
26807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26808 __ieee754_sqrl instead of __sqrl.
26809
68508633
JM
268102013-03-01 Joseph Myers <joseph@codesourcery.com>
26811
26812 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26813 * sysdeps/powerpc/fpu_control.h: ... here.
26814 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26815 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26816 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26817 * sysdeps/powerpc/bits/mathinline.h: ... here.
26818
7775448e
RM
268192013-03-01 Roland McGrath <roland@hack.frob.com>
26820
26821 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26822 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26823 to just [NEED_DL_SYSINFO_DSO].
26824 * elf/dl-support.c: Likewise.
26825 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26826 * elf/rtld.c (dl_main): Likewise.
26827 * elf/setup-vdso.h (setup_vdso): Likewise.
26828 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26829 * sysdeps/unix/sysv/linux/dl-sysdep.c
26830 (_dl_discover_osversion): Likewise.
26831
4e9b5995
CD
268322013-03-01 Carlos O'Donell <carlos@redhat.com>
26833
26834 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26835 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26836
e23872c8
SP
268372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26838
e5c74c63
SP
26839 * NEWS: Mention libm performance improvements and non-x86 PI
26840 futex support.
26841
e23872c8
SP
26842 * csu/libc-start.c (__pthread_initialize_minimal): Change
26843 function arguments.
26844 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26845
b5510883
JM
268462013-02-28 Joseph Myers <joseph@codesourcery.com>
26847
26848 [BZ #13550]
26849 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26850 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26851 <bp-sym.h> and <bp-asm.h>.
26852 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26854 and <bp-asm.h>.
26855 (memcpy): Don't use BP_SYM.
26856 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26857 <bp-asm.h>.
26858 (__mpn_add_n): Don't use BP_SYM.
26859 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26860 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26861 and <bp-asm.h>.
26862 (__mpn_addmul_1): Don't use BP_SYM.
26863 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26864 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26865 <bp-sym.h>.
26866 (_setjmp): Don't use BP_SYM.
26867 (__novmx_setjmp): Likewise.
26868 (__GI__setjmp): Likewise.
26869 (__vmx_setjmp): Likewise.
26870 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26871 <bp-sym.h>.
26872 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26873 (__bzero): Don't use BP_SYM.
26874 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26875 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26876 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26877 <bp-sym.h> and <bp-asm.h>.
26878 (memcpy): Don't use BP_SYM.
26879 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26880 <bp-sym.h> and <bp-asm.h>.
26881 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26883 <bp-sym.h> and <bp-asm.h>.
26884 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26885 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26886 <bp-asm.h>.
26887 (__mpn_lshift): Don't use BP_SYM.
26888 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26889 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26890 <bp-asm.h>.
26891 (memset): Don't use BP_SYM.
26892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26894 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26895 <bp-asm.h>.
26896 (__mpn_mul_1): Don't use BP_SYM.
26897 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26898 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26899 <bp-sym.h> and <bp-asm.h>.
26900 (memcmp): Don't use BP_SYM.
26901 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26902 <bp-sym.h> and <bp-asm.h>.
26903 (memcpy): Don't use BP_SYM.
26904 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26905 <bp-sym.h> and <bp-asm.h>.
26906 (memset): Don't use BP_SYM.
26907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26908 <bp-sym.h> and <bp-asm.h>.
26909 (strncmp): Don't use BP_SYM.
26910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26911 <bp-sym.h> and <bp-asm.h>.
26912 (memcpy): Don't use BP_SYM.
26913 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26914 <bp-sym.h> and <bp-asm.h>.
26915 (memset): Don't use BP_SYM.
26916 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26917 <bp-sym.h> and <bp-asm.h>.
26918 (__memchr): Don't use BP_SYM.
26919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26920 <bp-sym.h> and <bp-asm.h>.
26921 (memcmp): Don't use BP_SYM.
26922 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26923 <bp-sym.h> and <bp-asm.h>.
26924 (memcpy): Don't use BP_SYM.
26925 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26926 <bp-sym.h> and <bp-asm.h>.
26927 (__mempcpy): Don't use BP_SYM.
26928 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26929 <bp-sym.h> and <bp-asm.h>.
26930 (__memrchr): Don't use BP_SYM.
26931 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26932 <bp-sym.h> and <bp-asm.h>.
26933 (memset): Don't use BP_SYM.
26934 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26935 <bp-sym.h> and <bp-asm.h>.
26936 (__rawmemchr): Don't use BP_SYM.
26937 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26938 <bp-sym.h> and <bp-asm.h>.
26939 (__STRCMP): Don't use BP_SYM.
26940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26941 <bp-sym.h> and <bp-asm.h>.
26942 (strchr): Don't use BP_SYM.
26943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26944 <bp-sym.h> and <bp-asm.h>.
26945 (__strchrnul): Don't use BP_SYM.
26946 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26947 <bp-sym.h> and <bp-asm.h>.
26948 (strlen): Don't use BP_SYM.
26949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26950 <bp-sym.h> and <bp-asm.h>.
26951 (strncmp): Don't use BP_SYM.
26952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26953 <bp-sym.h> and <bp-asm.h>.
26954 (__strnlen): Don't use BP_SYM.
26955 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26956 <bp-asm.h>.
26957 (__mpn_rshift): Don't use BP_SYM.
26958 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26959 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26960 <bp-sym.h> and <bp-asm.h>.
26961 (__sigsetjmp): Don't use BP_SYM.
26962 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26963 (L(start_addresses)): Don't use BP_SYM.
26964 (_start): Likewise.
26965 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26966 <bp-asm.h>.
26967 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26968 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26969 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26970 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26971 <bp-asm.h>.
26972 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26973 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26974 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26975 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26976 <bp-asm.h>.
26977 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26978 comments.
26979 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26980 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26981 <bp-asm.h>.
26982 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26983 FIXME comments.
26984 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26985 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26986 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26987 <bp-asm.h>.
26988 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26989 comment.
26990 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26991 and <bp-asm.h>.
26992 (strncmp): Don't use BP_SYM,
26993 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26994 <bp-asm.h>.
26995 (__mpn_sub_n): Don't use BP_SYM.
26996 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26997 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26998 and <bp-asm.h>.
26999 (__mpn_submul_1): Don't use BP_SYM.
27000 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27002 <bp-sym.h> and <bp-asm.h>.
27003 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27005 <bp-sym.h> and <bp-asm.h>.
27006 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27007 comment.
27008
8d19fe64
SP
270092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27010
27011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27012 Use ZK to minimize writes to Z.
27013 (sub_magnitudes): Simplify code a bit.
27014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27015 Use ZK to minimize writes to Z.
27016 (sub_magnitudes): Simplify code a bit.
27017
85bd816a
RM
270182013-02-27 Roland McGrath <roland@hack.frob.com>
27019
27020 * csu/gmon-start.c: Add special exception to license text.
27021
b5977bf2
RH
270222013-02-27 Richard Henderson <rth@redhat.com>
27023
27024 * scripts/config.guess: Update from config.git.
27025 * scripts/config.sub: Likewise.
27026
11d6e2f2
SP
270272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27028
09c14ed2
SP
27029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27030
a688864e
SP
27031 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27032
6295157a
SP
27033 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27034
b8de2202
SP
27035 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27036
11d6e2f2
SP
27037 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27038
7e80ddb8
RM
270392013-02-26 Roland McGrath <roland@hack.frob.com>
27040
27041 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27042 [$(build-shared = yes].
7e80ddb8 27043
7da6d9ed
SP
270442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27045
45f05884
SP
27046 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27047 (__mul): Reduce iterations for calculating mantissa.
27048
2236d359
SP
27049 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27050 MPTWO.
27051 (__mpranred): Likewise.
27052
7da6d9ed
SP
27053 [BZ #15160]
27054 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27055 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27056
b7688c42
PE
270572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27058
27059 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27060 Define __attribute__.
27061
53a5c423
SP
270622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27063
27064 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27065 unused.
27066 * posix/regex_internal.h (__attribute): Remove.
27067 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27068 (re_string_context_at): Likewise.
27069 (bitset_not): Use __attribute__ and mark function as possibly
27070 unused.
27071 (bitset_merge): Likewise.
27072 (bitset_mask): Likewise.
27073 (re_string_char_size_at): Likewise.
27074 (re_string_wchar_at): Likewise.
27075 (re_string_elem_size_at): Likewise.
27076
60f5a8b5
SP
270772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27078
2a983a2e
SP
27079 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27080 code.
27081 (cc32): Likewise.
27082
e69804d1
SP
27083 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27084 (__acr): Likewise.
27085 (__cpy): Likewise.
27086 (norm): Likewise.
27087 (denorm): Likewise.
27088 (__dbl_mp): Likewise.
27089 (add_magnitudes): Likewise.
27090 (sub_magnitudes): Likewise.
27091 (__mul): Likewise.
27092 (__inv): Likewise.
27093
2f22a1e8
SP
27094 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27095 style.
27096
8930ddc7
SP
27097 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27098 style.
27099
dc60cb11
SP
27100 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27101 code.
27102
60f5a8b5
SP
27103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27104 up changes with default code.
27105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27106 Likewise.
27107
b4d1fd33
AM
271082013-02-24 Allan McRae <allan@archlinux.org>
27109
faf6f8bc
AM
27110 * manual/socket.texi (The Internet Namespace): Order menu items
27111 to match that in the file.
27112
b4d1fd33
AM
27113 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27114 node listing of the info page menu.
27115
2366713d
JM
271162013-02-21 Joseph Myers <joseph@codesourcery.com>
27117
27118 [BZ #13550]
27119 * sysdeps/i386/bp-asm.h: Remove file.
27120 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27121 (PARMS): Do not use macros from bp-asm.h.
27122 (S1): Likewise.
27123 (S2): Likewise.
27124 (SIZE): Likewise.
27125 (__mpn_add_n): Do not use BP_SYM
27126 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27127 "bp-asm.h".
27128 (PARMS): Do not use macros from bp-asm.h.
27129 (S1): Likewise.
27130 (SIZE): Likewise.
27131 (__mpn_addmul_1): Do not use BP_SYM
27132 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27133 "bp-asm.h".
27134 (PARMS): Do not use macros from bp-asm.h.
27135 (SIGMSK): Likewise.
27136 (_setjmp): Likewise. Do not use BP_SYM.
27137 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27138 "bp-asm.h".
27139 (PARMS): Do not use macros from bp-asm.h.
27140 (SIGMSK): Likewise.
27141 (setjmp): Likewise. Do not use BP_SYM.
27142 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27143 "bp-asm.h".
27144 (PARMS): Do not use macros from bp-asm.h.
27145 (__frexp): Do not use BP_SYM.
27146 (frexp): Likewise.
27147 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27148 "bp-asm.h".
27149 (PARMS): Do not use macros from bp-asm.h.
27150 (__frexpf): Do not use BP_SYM.
27151 (frexpf): Likewise.
27152 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27153 "bp-asm.h".
27154 (PARMS): Do not use macros from bp-asm.h.
27155 (__frexpl): Do not use BP_SYM.
27156 (frexpl): Likewise.
27157 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27158 "bp-asm.h".
27159 (PARMS): Do not use macros from bp-asm.h.
27160 (__remquo): Do not use BP_SYM.
27161 (remquo): Likewise.
27162 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27163 "bp-asm.h".
27164 (PARMS): Do not use macros from bp-asm.h.
27165 (__remquof): Do not use BP_SYM.
27166 (remquof): Likewise.
27167 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27168 "bp-asm.h".
27169 (PARMS): Do not use macros from bp-asm.h.
27170 (__remquol): Do not use BP_SYM.
27171 (remquol): Likewise.
27172 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27173 "bp-asm.h".
27174 (PARMS): Do not use macros from bp-asm.h.
27175 (DEST): Likewise.
27176 (SRC): Likewise.
27177 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27178 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27179 "bp-asm.h".
27180 (PARMS): Do not use macros from bp-asm.h.
27181 (strlen): Do not use BP_SYM.
27182 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27183 "bp-asm.h".
27184 (PARMS): Do not use macros from bp-asm.h.
27185 (S1): Likewise.
27186 (S2): Likewise.
27187 (SIZE): Likewise.
27188 (__mpn_add_n): Do not use BP_SYM.
27189 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27190 "bp-asm.h".
27191 (PARMS): Do not use macros from bp-asm.h.
27192 (S1): Likewise.
27193 (SIZE): Likewise.
27194 (__mpn_addmul_1): Do not use BP_SYM.
27195 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27196 weak_alias.
27197 (bzero): Likewise.
27198 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27199 "bp-asm.h".
27200 (PARMS): Do not use macros from bp-asm.h.
27201 (S): Likewise.
27202 (SIZE): Likewise.
27203 (__mpn_lshift): Do not use BP_SYM.
27204 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27205 "bp-asm.h".
27206 (PARMS): Do not use macros from bp-asm.h.
27207 (DEST): Likewise.
27208 (SRC): Likewise.
27209 (LEN): Likewise.
27210 (memcpy): Likewise. Do not use BP_SYM.
27211 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27212 libc_hidden_def and weak_alias.
27213 (mempcpy): Do not use BP_SYM in weak_alias.
27214 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27215 "bp-asm.h".
27216 (PARMS): Do not use macros from bp-asm.h.
27217 (DEST): Likewise.
27218 (LEN): Likewise.
27219 [!BZERO_P] (CHR): Likewise.
27220 (memset): Likewise. Do not use BP_SYM.
27221 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27222 "bp-asm.h".
27223 (PARMS): Do not use macros from bp-asm.h.
27224 (S1): Likewise.
27225 (SIZE): Likewise.
27226 (__mpn_mul_1): Do not use BP_SYM.
27227 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27228 "bp-asm.h".
27229 (PARMS): Do not use macros from bp-asm.h.
27230 (S): Likewise.
27231 (SIZE): Likewise.
27232 (__mpn_rshift): Do not use BP_SYM.
27233 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27234 "bp-asm.h".
27235 (PARMS): Do not use macros from bp-asm.h.
27236 (STR): Likewise.
27237 (CHR): Likewise.
27238 (strchr): Likewise. Do not use BP_SYM.
27239 (index): Do not use BP_SYM in weak_alias.
27240 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27241 "bp-asm.h".
27242 (PARMS): Do not use macros from bp-asm.h.
27243 (DEST): Likewise.
27244 (SRC): Likewise.
27245 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27246 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27247 "bp-asm.h".
27248 (PARMS): Do not use macros from bp-asm.h.
27249 (strlen): Do not use BP_SYM.
27250 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27251 "bp-asm.h".
27252 (PARMS): Do not use macros from bp-asm.h.
27253 (S1): Likewise.
27254 (S2): Likewise.
27255 (SIZE): Likewise.
27256 (__mpn_sub_n): Do not use BP_SYM.
27257 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27258 "bp-asm.h".
27259 (PARMS): Do not use macros from bp-asm.h.
27260 (S1): Likewise.
27261 (SIZE): Likewise.
27262 (__mpn_submul_1): Do not use BP_SYM.
27263 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27264 "bp-asm.h".
27265 (PARMS): Do not use macros from bp-asm.h.
27266 (S1): Likewise.
27267 (S2): Likewise.
27268 (SIZE): Likewise.
27269 (__mpn_add_n): Do not use BP_SYM.
27270 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27271 weak_alias.
27272 (bzero): Likewise.
27273 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27274 "bp-asm.h".
27275 (PARMS): Do not use macros from bp-asm.h.
27276 (BLK2): Likewise.
27277 (LEN): Likewise.
27278 (memcmp): Do not use BP_SYM.
27279 (bcmp): Do not use BP_SYM in weak_alias.
27280 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27281 "bp-asm.h".
27282 (PARMS): Do not use macros from bp-asm.h.
27283 (DEST): Likewise.
27284 (SRC): Likewise.
27285 (LEN): Likewise.
27286 (memcpy): Likewise. Do not use BP_SYM.
27287 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27288 "bp-asm.h".
27289 (PARMS): Do not use macros from bp-asm.h.
27290 (DEST): Likewise.
27291 (SRC): Likewise.
27292 (LEN): Likewise.
27293 (memmove): Likewise. Do not use BP_SYM.
27294 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27295 "bp-asm.h".
27296 (PARMS): Do not use macros from bp-asm.h.
27297 (DEST): Likewise.
27298 (SRC): Likewise.
27299 (LEN): Likewise.
27300 (__mempcpy): Likewise. Do not use BP_SYM.
27301 (mempcpy): Do not use BP_SYM in weak_alias.
27302 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27303 "bp-asm.h".
27304 (PARMS): Do not use macros from bp-asm.h.
27305 (DEST): Likewise.
27306 (LEN): Likewise.
27307 [!BZERO_P] (CHR): Likewise.
27308 (memset): Likewise. Do not use BP_SYM.
27309 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27310 "bp-asm.h".
27311 (PARMS): Do not use macros from bp-asm.h.
27312 (STR2): Likewise.
27313 (strcmp): Do not use BP_SYM.
27314 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27315 "bp-asm.h".
27316 (PARMS): Do not use macros from bp-asm.h.
27317 (STR): Likewise.
27318 (DELIM): Likewise.
27319 [USE_AS_STRTOK_R] (SAVE): Likewise.
27320 (FUNCTION): Likewise. Do not use BP_SYM.
27321 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27322 aliases.
27323 (strtok_r): Likewise.
27324 (__GI___strtok_r): Likewise.
27325 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27326 (PARMS): Do not use macros from bp-asm.h.
27327 (S): Likewise.
27328 (SIZE): Likewise.
27329 (__mpn_lshift): Do not use BP_SYM.
27330 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27331 (PARMS): Do not use macros from bp-asm.h.
27332 (STR): Likewise.
27333 (CHR): Likewise.
27334 (__memchr): Do not use BP_SYM.
27335 (memchr): Do not use BP_SYM in weak_alias.
27336 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27337 (PARMS): Do not use macros from bp-asm.h.
27338 (BLK2): Likewise.
27339 (LEN): Likewise.
27340 (memcmp): Do not use BP_SYM.
27341 (bcmp): Do not use BP_SYM in weak_alias.
27342 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27343 (PARMS): Do not use macros from bp-asm.h.
27344 (S1): Likewise.
27345 (SIZE): Likewise.
27346 (__mpn_mul_1): Do not use BP_SYM.
27347 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27348 "bp-asm.h".
27349 (PARMS): Do not use macros from bp-asm.h.
27350 (STR): Likewise.
27351 (CHR): Likewise.
27352 (__rawmemchr): Do not use BP_SYM.
27353 (rawmemchr): Do not use BP_SYM in weak_alias.
27354 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27355 (PARMS): Do not use macros from bp-asm.h.
27356 (S): Likewise.
27357 (SIZE): Likewise.
27358 (__mpn_rshift): Do not use BP_SYM.
27359 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27360 (PARMS): Do not use macros from bp-asm.h.
27361 (SIGMSK): Likewise.
27362 (__sigsetjmp): Likewise. Do not use BP_SYM.
27363 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27364 (_start): Do not use BP_SYM.
27365 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27366 (PARMS): Do not use macros from bp-asm.h.
27367 (DEST): Likewise.
27368 (SRC): Likewise.
27369 (__stpcpy): Likewise. Do not use BP_SYM.
27370 (stpcpy): Do not use BP_SYM in weak_alias.
27371 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27372 "bp-asm.h".
27373 (PARMS): Do not use macros from bp-asm.h.
27374 (DEST): Likewise.
27375 (SRC): Likewise.
27376 (LEN): Likewise.
27377 (__stpncpy): Likewise. Do not use BP_SYM.
27378 (stpncpy): Do not use BP_SYM in weak_alias.
27379 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27380 (PARMS): Do not use macros from bp-asm.h.
27381 (STR): Likewise.
27382 (CHR): Likewise.
27383 (strchr): Likewise. Do not use BP_SYM.
27384 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27385 "bp-asm.h".
27386 (PARMS): Do not use macros from bp-asm.h.
27387 (STR): Likewise.
27388 (CHR): Likewise.
27389 (__strchrnul): Likewise. Do not use BP_SYM.
27390 (strchrnul): Do not use BP_SYM in weak_alias.
27391 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27392 "bp-asm.h".
27393 (PARMS): Do not use macros from bp-asm.h.
27394 (STOP): Likewise.
27395 (strcspn): Do not use BP_SYM.
27396 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27397 "bp-asm.h".
27398 (PARMS): Do not use macros from bp-asm.h.
27399 (STR): Likewise.
27400 (STOP): Likewise.
27401 (strpbrk): Likewise. Do not use BP_SYM.
27402 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27403 "bp-asm.h".
27404 (PARMS): Do not use macros from bp-asm.h.
27405 (STR): Likewise.
27406 (CHR): Likewise.
27407 (strrchr): Likewise. Do not use BP_SYM.
27408 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27409 (PARMS): Do not use macros from bp-asm.h.
27410 (SKIP): Likewise.
27411 (strspn): Do not use BP_SYM.
27412 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27413 (PARMS): Do not use macros from bp-asm.h.
27414 (STR): Likewise.
27415 (DELIM): Likewise.
27416 (SAVE): Likewise.
27417 (FUNCTION): Likewise. Do not use BP_SYM.
27418 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27419 aliases.
27420 (strtok_r): Likewise.
27421 (__GI___strtok_r): Likewise.
27422 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27423 (PARMS): Do not use macros from bp-asm.h.
27424 (S1): Likewise.
27425 (S2): Likewise.
27426 (SIZE): Likewise.
27427 (__mpn_sub_n): Do not use BP_SYM.
27428 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27429 "bp-asm.h".
27430 (PARMS): Do not use macros from bp-asm.h.
27431 (S1): Likewise.
27432 (SIZE): Likewise.
27433 (__mpn_submul_1): Do not use BP_SYM.
27434 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27435 <bp-sym.h>.
27436 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27437 and <bp-asm.h>.
27438 (PARMS): Do not use macros from bp-asm.h.
27439 (FLAGS): Likewise.
27440 (PTID): Likewise.
27441 (TLS): Likewise.
27442 (CTID): Likewise.
27443 (__clone): Do not use BP_SYM.
27444 (clone): Do not use BP_SYM in weak_alias.
27445 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27446 and <bp-asm.h>.
27447 (PARMS): Do not use macros from bp-asm.h.
27448 (LEN): Likewise.
27449 (__mmap64): Do not use BP_SYM.
27450 (mmap64): Do not use BP_SYM in weak_alias.
27451 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27452 <bp-sym.h> and <bp-asm.h>.
27453 (PARMS): Do not use macros from bp-asm.h.
27454 (__posix_fadvise64_l64): Do not use BP_SYM.
27455 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27456 (PARMS): Do not use macros from bp-asm.h.
27457 (NSOPS): Likewise.
27458 (semtimedop): Do not use BP_SYM.
27459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27460 and <bp-asm.h>.
27461
582a3cff
AM
274622013-02-21 Allan McRae <allan@archlinux.org>
27463
27464 * manual/message.texi (Charset conversion in gettext):
27465 Move @end statement to beginning of line.
27466
bab8a695
SP
274672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27468
80945231
SP
27469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27470 static.
27471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27472 Likewise.
27473
bab8a695
SP
27474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27475 (denorm): Likewise.
27476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27478
e21d7aa7
AK
274792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27480
27481 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27482 tail-call to the resolved function if pltexit isn't needed.
27483
4c7a4263
SP
274842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27485
27486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27487 or Y being zero as being unlikely.
27488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27489 Likewise.
27490
41f49342
CD
274912013-02-20 Carlos O'Donell <carlos@redhat.com>
27492
27493 * manual/nss.texi (System Databases and Name Service Switch):
27494 Remove frobnicate @pxref.
27495
50022a93
TS
274962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27497
27498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27499 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27500
08cbd996
PM
275012013-02-20 Petr Machata <pmachata@redhat.com>
27502
27503 * elf/elf.h (R_ARM_TARGET1): New macro.
27504 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27505 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27506 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27507 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27508 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27509 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27510 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27511 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27512 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27513 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27514 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27515 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27516 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27517 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27518 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27519 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27520 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27521 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27522 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27523 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27524 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27525 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27526 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27527 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27528 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27529 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27530 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27531 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27532 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27533 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27534 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27535 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27536 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27537 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27538 (R_ARM_THM_GOT_BREL12): Likewise.
27539 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27540 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27541 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27542 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27543 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27544 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27545 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27546 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27547 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27548
c7b275d6
TS
275492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27550
27551 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27552 __attribute_used__ to __attribute__ ((unused)).
27553
20cd7fb3
SP
275542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27555
27556 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27557 powerpc mpa.c.
27558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27559 comment formatting.
27560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27561
92945b52
JM
275622013-02-19 Joseph Myers <joseph@codesourcery.com>
27563
27564 [BZ #13550]
27565 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27566 Remove macro.
27567 (ENTER): Remove both macro definitions.
27568 (LEAVE): Likewise.
27569 (CHECK_BOUNDS_LOW): Likewise.
27570 (CHECK_BOUNDS_HIGH): Likewise.
27571 (CHECK_BOUNDS_BOTH): Likewise.
27572 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27573 (RETURN_BOUNDED_POINTER): Likewise.
27574 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27575 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27576 (POP_ERRNO_LOCATION_RETURN): Likewise.
27577 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27578 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27579 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27580 macros.
27581 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27582 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27583 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27584 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27585 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27586 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27587 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27588 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27589 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27590 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27591 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27592 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27594 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27595 removed macros.
27596 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27597 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27598 macros.
27599 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27600 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27601 * sysdeps/i386/i586/memset.S (memset): Likewise.
27602 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27604 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27605 macros.
27606 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27607 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27608 Change uses of L(2) to L(out).
27609 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27610 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27611 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27613 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27614 removed macros.
27615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27616 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27617 macros.
27618 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27619 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27620 (RETURN): Do not use macro LEAVE.
27621 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27622 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27623 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27624 * sysdeps/i386/i686/memset.S (memset): Likewise.
27625 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27626 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27627 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27628 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27629 Likewise.
27630 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27631 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27632 L(1_2) and L(1_3) into L(1).
27633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27634 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27635 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27636 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27637 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27638 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27639 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27640 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27641 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27642 macros.
27643 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27644 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27645 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27646 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27647 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27648 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27649 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27650 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27651 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27652 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27653 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27654 * sysdeps/i386/strspn.S (strspn): Likewise.
27655 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27656 conditional code.
27657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27658 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27659 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27660 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27661 L(1_3) into L(1_1).
27662 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27663 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27664 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27665 macros.
27666 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27667
2389741a
JJ
276682013-02-19 Jakub Jelinek <jakub@redhat.com>
27669
27670 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27671 macro.
27672
2016b3cd
SP
276732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27674
e4f22324
SP
27675 * math/atest-exp.c (exp_mpn): Remove ROUND.
27676 * math/atest-exp2.c (exp_mpn): Likewise.
27677 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27678
2016b3cd
SP
27679 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27680 * stdlib/tst-tls-atexit-lib.c: Likewise.
27681 * stdlib/tst-tls-atexit.c: Likewise.
27682
4be9b544
MF
276832013-02-18 Mike Frysinger <vapier@gentoo.org>
27684
27685 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27686 and __attribute_alloc_size__.
27687
2f62b9ee
MF
276882013-02-18 Mike Frysinger <vapier@gentoo.org>
27689
27690 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27691 __attribute_alloc_size__.
27692 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27693 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27694
6ff444c4
MF
276952013-02-18 Mike Frysinger <vapier@gentoo.org>
27696
27697 * include/programs/xmalloc.h: New file.
27698 * catgets/gencat.c: Include it.
27699 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27700 * elf/pldd.c: Likewise.
27701 * iconv/iconv_charmap.c: Likewise.
27702 * iconv/iconvconfig.c: Likewise.
27703 * iconv/strtab.c: Likewise.
27704 * locale/programs/locale.c: Likewise.
27705 * locale/programs/localedef.h: Likewise.
27706 * locale/programs/simple-hash.c: Likewise.
27707 * nscd/nscd.h: Likewise.
27708 * nss/makedb.c: Likewise.
27709 * sysdeps/generic/ldconfig.h: Likewise.
27710
be179c8a
SP
277112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27712
ba384f6e
SP
27713 * Versions.def: Add GLIBC_2.18.
27714 * include/link.h (struct link_map): New member l_tls_dtor_count.
27715 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27716 (__call_tls_dtors): Likewise.
27717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27718 __cxa_thread_atexit_impl.
27719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27720 Likewise.
27721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27722 Likewise.
27723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27724 Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27726 Likewise.
27727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27729 Likewise.
27730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27731 Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27734 Likewise.
27735 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27736 (tests): Add test case tst-tls-atexit.
27737 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27738 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27739 (GLIBC_PRIVATE): Add __call_tls_dtors.
27740 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27741 for libstdc++.
27742 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27743 * stdlib/tst-tls-atexit.c: New test case.
27744 * stdlib/tst-tls-atexit-lib.c: New test case.
27745
ffaa74cf 27746 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27747
be179c8a
SP
27748 * elf/Versions (ld): Add _dl_find_dso_for_object.
27749 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27750 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27751 (dl_open_worker): Use _dl_find_dso_for_object.
27752 * elf/dl-sym.c (do_sym): Likewise.
27753 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27754
f78b5caa
AK
277552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27756
27757 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27758 Syntactic changes only.
27759 (_dl_runtime_profile): Do a tail-call to the resolved function.
27760
29691210
JM
277612013-02-17 Joseph Myers <joseph@codesourcery.com>
27762
27763 [BZ #13550]
27764 * sysdeps/x86_64/bp-asm.h: Remove file.
27765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27766 <bp-sym.h> and <bp-asm.h>.
27767 (__clone): Do not use BP_SYM.
27768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27769 <bp-sym.h> and <bp-asm.h>.
27770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27771 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27772 "bp-asm.h".
27773 (_setjmp): Do not use BP_SYM.
27774 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27775 "bp-asm.h".
27776 (setjmp): Do not use BP_SYM.
27777 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27778 libc_hidden_def.
27779 (mempcpy): Do not use BP_SYM in weak_alias.
27780 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27781 "bp-asm.h".
27782 (strchr): Do not use BP_SYM.
27783 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27784 "bp-asm.h".
27785 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27786 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27787 (_start): Do not use BP_SYM.
27788 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27789 "bp-asm.h".
27790 (strcat): Do not use BP_SYM.
27791 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27792 "bp-asm.h".
27793 (STRCMP): Do not use BP_SYM.
27794 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27795 "bp-asm.h".
27796 (STRCPY): Do not use BP_SYM.
27797 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27798 "bp-asm.h".
27799 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27800 "bp-asm.h".
27801 (FUNCTION): Do not use BP_SYM.
27802 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27803 weak_alias.
27804 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27805
f238fd19
AJ
278062013-02-17 Andreas Jaeger <aj@suse.de>
27807
27808 * time/Versions: Sort entries.
27809 * string/Versions: Likewise.
27810 * resolv/Versions: Likewise.
27811 * posix/Versions: Likewise.
27812 * iconv/Versions: Likewise.
27813 * elf/Versions: Likewise.
27814 * wcsmbs/Versions: Likewise.
27815
bd07f23c 278162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27817
22af19f9
SP
27818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27819 loop termination condition.
27820
4709fe76
SP
27821 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27822 variable to calculate EZ.
27823 (__sqr): Likewise.
2d0e0f29
SP
27824
27825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27826 the lower precision input.
27827
daaa7713
JM
278282013-02-15 Joseph Myers <joseph@codesourcery.com>
27829
27830 [BZ #13550]
27831 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27832 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27833 (run-via-rtld-prefix): Do not handle %-bp tests.
27834 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27835 (all-object-suffixes): Remove .ob.
27836 (bppfx): Remove variable.
27837 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27838 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27839 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27840 [$(build-bounded) = yes] (libtype.ob): Likewise.
27841 * Makerules (elide-routines.ob): Remove variable.
27842 (do-tests-clean): Do not handle *-bp.out.
27843 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27844 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27845 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27846 (tests): Do not include $(tests-bp.out).
27847 (xtests): Do not include $(xtests-bp.out).
27848 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27849 [$(build-bounded) = yes] ($(addprefix
27850 $(objpfx),$(binaries-bounded))): Remove rule.
27851 ($(objpfx)%-bp.out): Remove rule.
27852 * config.make.in (build-bounded): Remove variable.
27853 * crypt/Makefile [$(build-bounded) = yes]
27854 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27855 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27856 append to variable.
27857 [$(build-bounded) = yes] (install-lib): Likewise.
27858 [$(build-bounded) = yes] (generated): Likewise.
27859 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27860 Remove rule.
27861 * intl/Makefile [$(build-bounded) = yes]
27862 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27863 * math/Makefile [$(build-bounded) = yes]
27864 ($(tests:%=$(objpfx)%-bp): Likewise.
27865 * misc/Makefile [$(build-bounded) = yes]
27866 ($(objpfx)tst-tsearch-bp): Likewise.
27867 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27868 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27869 Remove dependency.
27870 * string/Makefile (o-objects.ob): Remove variable.
27871 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27872 (CFLAGS-.ob): Remove variable.
27873 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27875 both definitions of variable.
27876 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27877 (ASFLAGS-.ob): Remove variable.
27878
e97ed6dd
JM
278792013-02-14 Joseph Myers <joseph@codesourcery.com>
27880
2bdd4ca6
JM
27881 [BZ #13550]
27882 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27883 Remove __BOUNDED_POINTERS__ from condition.
27884 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27885 * string/bits/string2.h [!__NO_STRING_INLINES &&
27886 !__BOUNDED_POINTERS__]: Likewise.
27887 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27888 Likewise.
27889 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27890 Remove conditional code.
27891 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27892 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27893 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27894 condition.
27895
e97ed6dd
JM
27896 [BZ #13550]
27897 * csu/libc-start.c: Do not include <bp-sym.h>.
27898 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27899 * elf/dl-open.c: Do not include <bp-sym.h>.
27900 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27901 * math/fegetenv.c: Do not include <bp-sym.h>.
27902 (fegetenv): Do not use BP_SYM in versioned symbols.
27903 * nptl/sysdeps/pthread/bits/libc-lockP.h
27904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27905 <bp-sym.h>.
27906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27907 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27909 (__pthread_mutex_destroy): Likewise.
27910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27911 (__pthread_mutex_lock): Likewise.
27912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27913 (__pthread_mutex_trylock): Likewise.
27914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27915 (__pthread_mutex_unlock): Likewise.
27916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27917 (__pthread_mutexattr_init): Likewise.
27918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27919 (__pthread_mutexattr_destroy): Likewise.
27920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27921 (__pthread_mutexattr_settype): Likewise.
27922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27923 (__pthread_rwlock_init): Likewise.
27924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27925 (__pthread_rwlock_destroy): Likewise.
27926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27927 (__pthread_rwlock_rdlock): Likewise.
27928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27929 (__pthread_rwlock_tryrdlock): Likewise.
27930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27931 (__pthread_rwlock_wrlock): Likewise.
27932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27933 (__pthread_rwlock_trywrlock): Likewise.
27934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27935 (__pthread_rwlock_unlock): Likewise.
27936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27937 (__pthread_key_create): Likewise.
27938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27939 (__pthread_setspecific): Likewise.
27940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27941 (__pthread_getspecific): Likewise.
27942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27943 Likewise.
27944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27945 (_pthread_cleanup_push_defer): Likewise.
27946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27947 (_pthread_cleanup_pop_restore): Likewise.
27948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27949 (pthread_setcancelstate): Likewise.
27950 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27951 <bp-sym.h>.
27952 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27953 (memchr): Do not use BP_SYM in weak_alias.
27954 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27955 (fegetenv): Do not use BP_SYM in versioned symbols.
27956 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27957 (fesetenv): Do not use BP_SYM in versioned symbols.
27958 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27959 (feupdateenv): Do not use BP_SYM in versioned symbols.
27960 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27961 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27962 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27963 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27964 (open64): Do not use BP_SYM in weak_alias.
27965 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27966 (fegetenv): Do not use BP_SYM in versioned symbols.
27967 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27968 (fesetenv): Do not use BP_SYM in versioned symbols.
27969 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27970 (feupdateenv): Do not use BP_SYM in versioned symbols.
27971 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27972 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27973 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27974 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27975 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27976 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27978 <bp-sym.h>.
27979 (__libc_start_main): Do not use BP_SYM.
27980
d6752ccd
SP
279812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27982
cb57ce60
SP
27983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27984 redundant return line.
27985 (norm): Likewise.
27986 (denorm): Likewise.
27987 (dbl_mp): Likewise.
27988 (sub_magnitudes): Likewise.
27989 (__add): Likewise.
27990 (__sub): Likewise.
27991 (__mul): Likewise.
27992 (__inv): Likewise.
27993 (__dvd): Likewise.
27994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27995 (norm): Likewise.
27996 (denorm): Likewise.
27997 (dbl_mp): Likewise.
27998 (sub_magnitudes): Likewise.
27999 (__add): Likewise.
28000 (__sub): Likewise.
28001 (__mul): Likewise.
28002 (__inv): Likewise.
28003 (__dvd): Likewise.
28004
f414520d
SP
28005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28006 instead of __mul.
28007 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28008 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28009 (cc32): Likewise.
28010
d6752ccd
SP
28011 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28012 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28014 of __mul for squares.
28015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28016 function
28017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28018 Likewise.
28019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28021
70d9946a
JM
280222013-02-13 Joseph Myers <joseph@codesourcery.com>
28023
28024 [BZ #13550]
28025 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28026 code.
28027 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28028 prototype or function definition. Rename ubp_* variables and
28029 parameters. Remove argv definitions conditional on
28030 [__BOUNDED_POINTERS__].
28031 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28032 * elf/dl-runtime.c (_dl_fixup): Likewise.
28033 * include/set-hooks.h (RUN_HOOK): Likewise.
28034 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28035 definition.
28036 * string/strcpy.c (strcpy): Do not use __unbounded.
28037 * sysdeps/generic/frame.h (struct layout): Likewise.
28038 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28039 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28040 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28041 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28042 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28043 (__backtrace): Likewise.
28044 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28045 use __ptrvalue.
28046 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28047 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28048 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28049 Likewise.
28050 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28051 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28053 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28054 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28055 Do not use __unbounded.
28056 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28057 Rename __unboundedrlimits parameter to rlimits in prototype.
28058 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28059 Do not use __unbounded.
28060 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28061 not use __ptrvalue.
28062 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28063 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28065 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28066 __ptrvalue or __unbounded.
28067 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28068 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28069 use __unbounded.
28070 (__new_msgctl): Do not use __ptrvalue.
28071 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28072 __unbounded.
28073 (__libc_msgrcv): Do not use __ptrvalue.
28074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28075 startup_info): Do not use __unbounded.
28076 (__libc_start_main): Likewise. Rename ubp_* variables and
28077 parameters. Remove argv definitions conditional on
28078 [__BOUNDED_POINTERS__].
28079 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28080 __ptrvalue.
28081 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28082 use __unbounded.
28083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28084 or __ptrvalue.
28085 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28086 use __unbounded.
28087 (__new_shmctl): Do not use __ptrvalue.
28088 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28089 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28090 Likewise.
28091 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28092 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28093 (__libc_sigaction): Likewise.
28094 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28095 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28096 Likewise.
28097 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28098
cc7834d6
OB
280992013-02-13 Ondřej Bílka <neleai@seznam.cz>
28100
ffb1ec7b 28101 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28102
28103 * string/mempcpy.c: Implement by calling memcpy.
28104
bdf02814
SP
281052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28106
c2af38aa
SP
28107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28108
4e92d59e
SP
28109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28110 evaluation.
28111
909279a5
SP
28112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28113 values in the mantissa.
28114
bdf02814
SP
28115 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28116 minimize writes to Z.
28117 (sub_magnitudes): Simplify code a bit.
28118
cd525923
RM
281192013-02-12 Roland McGrath <roland@hack.frob.com>
28120
28121 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28122 from the message. The linker prefixes all warnings with that already.
28123
7e2f0d2d
AS
281242013-02-12 Andreas Schwab <schwab@suse.de>
28125
a445af0b
AS
28126 [BZ #15078]
28127 * posix/regexec.c (extend_buffers): Add parameter min_len.
28128 (check_matching): Pass minimum needed length.
28129 (clean_state_log_if_needed): Likewise.
28130 (get_subexp): Likewise.
28131 * posix/Makefile (tests): Add bug-regex34.
28132 (bug-regex34-ENV): Define.
28133 * posix/bug-regex34.c: New file.
28134
7e2f0d2d
AS
28135 [BZ #11561]
28136 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28137 elements compare against the byte sequence of it, not its name.
28138 * posix/Makefile (tests): Add bug-regex35.
28139 (bug-regex35-ENV): Define.
28140 * posix/bug-regex35.c: New file.
28141
a175b684
TV
281422013-02-11 Tom de Vries <tom@codesourcery.com>
28143
28144 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28145 comment.
28146 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28147 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28148 (CHECK_EOL): Add undef.
28149
310998fe 281502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28151
28152 * bits/stdlib-bsearch.h: New file.
28153 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28154 * stdlib/stdlib.h: Likewise.
41eda41d 28155
8ded91fb
RM
281562013-02-11 Roland McGrath <roland@hack.frob.com>
28157
28158 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28159 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28160 declaration.
28161 * manual/search.texi (Array Search Function): Add missing const in
28162 lfind prototype.
28163 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28164 declaration to use rlim_t.
28165 (Basic Scheduling Functions): Remove erroneous const from
28166 sched_getparam prototype. Remove erroneous * from
28167 sched_get_priority_max and sched_get_priority_min prototypes.
28168 (Resource Usage): Fix summary @comment on vtimes to refer to
28169 sys/vtimes.h rather than vtimes.h.
28170 Add missing *s in vtimes prototype.
28171 (Limits on Resources): Fix ulimit prototype to return long int.
28172 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28173 prototypes to use long int rather than double.
28174 (BSD Random): Fix initstate and setstate to use char *, not void *.
28175 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28176 prototype to make second argument 'struct aiocb64 *const[]'.
28177 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28178 (Status of AIO Operations): Remove erroneous const in aio_return and
28179 aio_return64 prototypes.
28180 (Synchronizing I/O): Fix sync prototype to return void.
28181 * manual/startup.texi (Suboptions): Remove an erroneous const in
28182 getsubopt prototype.
28183 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28184 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28185 use size_t rather than int.
28186 (Scanning All Users): Likewise for getpwent_r.
28187 (Setting Groups): Add missing const to setgroups prototype.
28188 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28189 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28190 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28191 'const void *' rather than 'const char *'.
28192 (Host Address Functions): Likewise for inet_ntop.
28193 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28194 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28195 ssize_t for return value.
28196 (Sending Data): Likewise for send, sendto, sendmsg.
28197 (Socket Option Functions): Add a missing const in setsockopt prototype.
28198 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28199 use wchar_t for the argument.
28200 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28201 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28202 take no arguments.
28203 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28204 double/float/long double for second argument.
28205 Fix return types of significand, significandf, significandl.
28206 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28207 argument in fchmod prototype.
28208 (File Owner): Use uid_t and gid_t in fchown prototype.
28209 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28210 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28211 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28212 use 'const struct dirent **' as argument types to CMP function pointer
28213 argument.
28214 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28215 (File Times): Fix summary magic @comment for struct utimbuf and utime
28216 to refer to utime.h, not time.h.
28217 * manual/string.texi (Argz Functions): Add missing const in
28218 argz_extract and argz_next prototypes.
28219 (Finding Tokens in a String): Likewise for basename.
28220 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28221 (Copying and Concatenation): Fix typo in wmemmove prototype.
28222 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28223 (Signal Stack): Remove erroneous const in sigstack prototype.
28224 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28225 prototype.
28226 (Simple Calendar Time): Likewise for stime.
28227 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28228 prototype.
28229 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28230 say sys/sysctl.h instead.
28231 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28232 and vsyslog prototypes.
28233
fe77fe6d
TV
282342013-02-11 Tom de Vries <tom@codesourcery.com>
28235
28236 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28237 Remove.
28238
3a09b620
RM
282392013-02-11 Roland McGrath <roland@hack.frob.com>
28240
28241 * misc/sys/mman.h: Fix typo in mremap comment.
28242
550a0b89
RM
282432013-02-08 Roland McGrath <roland@hack.frob.com>
28244
28245 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28246 the '\0' terminator.
28247
a2da1673
JM
282482013-02-08 Joseph Myers <joseph@codesourcery.com>
28249
28250 [BZ #13550]
28251 * debug/segfault.c: Don't include <bp-checks.h>.
28252 * sysdeps/generic/bp-checks.h: Remove file.
28253 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28254 (__GETDENTS): Don't use CHECK_N.
28255 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28256 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28257 (__getgroups): Don't use CHECK_N.
28258 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28259 (setgroups): Don't use CHECK_N.
28260 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28261 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28262 (__libc_msgrcv): Don't use CHECK_N.
28263 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28264 (__libc_msgsnd): Don't use CHECK_N.
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28266 <bp-checks.h>.
28267 (__libc_pread): Don't use CHECK_N.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28269 include <bp-checks.h>.
28270 (__libc_pread64): Don't use CHECK_N.
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28272 include <bp-checks.h>.
28273 (__libc_pwrite): Don't use CHECK_N.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28275 include <bp-checks.h>.
28276 (__libc_pwrite64): Don't use CHECK_N.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28278 <bp-checks.h>.
28279 (__libc_pread): Don't use CHECK_N.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28281 include <bp-checks.h>.
28282 (__libc_pread64): Don't use CHECK_N.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28284 include <bp-checks.h>.
28285 (__libc_pwrite): Don't use CHECK_N.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28287 include <bp-checks.h>.
28288 (__libc_pwrite64): Don't use CHECK_N.
28289 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28290 (do_pread): Don't use CHECK_N.
28291 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28292 (do_pread64): Don't use CHECK_N.
28293 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28294 (do_pwrite): Don't use CHECK_N.
28295 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28296 (do_pwrite64): Don't use CHECK_N.
28297 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28298 (__libc_readv): Don't use CHECK_N.
28299 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28300 (semop): Don't use CHECK_N.
28301 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28302 <bp-checks.h>.
28303 (semtimedop): Don't use CHECK_N.
28304 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28305 (__libc_pread): Don't use CHECK_N.
28306 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28307 <bp-checks.h>.
28308 (__libc_pread64): Don't use CHECK_N.
28309 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28310 <bp-checks.h>.
28311 (__libc_pwrite): Don't use CHECK_N.
28312 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28313 <bp-checks.h>.
28314 (__libc_pwrite64): Don't use CHECK_N.
28315 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28316 <bp-checks.h>.
28317 (__libc_msgrcv): Don't use CHECK_N.
28318 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28319 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28320 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28321 (__libc_writev): Don't use CHECK_N.
28322
b84660a8
RM
283232013-02-08 Roland McGrath <roland@hack.frob.com>
28324
7f3e75f8
RM
28325 * string/strcpy.c: Removed unused variable.
28326
b84660a8
RM
28327 * Makeconfig (+sysdep-includes): Define with := rather than =.
28328 Use an existing include/ subdir of each sysdeps dir before it.
28329
471514d3
CD
283302013-02-08 Carlos O'Donell <carlos@redhat.com>
28331
28332 * nscd/connection.c (register_traced_file): Comment function.
28333 [HAVE_INOTIFY] (union __inev): Define.
28334 [HAVE_INOTIFY] (inotify_check_files): New function.
28335 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28336 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28337 clear_db_cache.
28338 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28339
b2d3c3be
CD
283402013-02-08 Carlos O'Donell <carlos@redhat.com>
28341
28342 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28343 loaded if not already and that a failure is permanent.
28344
b39949d2
CD
283452013-02-08 Carlos O'Donell <carlos@redhat.com>
28346
ddacd1db 28347 [BZ #15006]
b39949d2
CD
28348 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28349 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28350
b2c9eff4
JM
283512013-02-08 Joseph Myers <joseph@codesourcery.com>
28352
f3aae3f3
JM
28353 [BZ #13550]
28354 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28355 (CHECK_1_NULL_OK): Likewise.
28356 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28357 (__fxstat): Do not use CHECK_1.
28358 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28359 <bp-checks.h>.
28360 (___fxstat64): Do not use CHECK_1.
28361 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28362 <bp-checks.h>.
28363 (__fxstatat): Do not use CHECK_1.
28364 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28365 <bp-checks.h>.
28366 (__fxstatat64): Do not use CHECK_1.
28367 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28368 <bp-checks.h>.
28369 (__fxstat): Do not use CHECK_1.
28370 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28371 <bp-checks.h>.
28372 (__fxstatat): Do not use CHECK_1.
28373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28374 <bp-checks.h>.
28375 (__getresgid): Do not use CHECK_1.
28376 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28377 <bp-checks.h>.
28378 (__getresuid): Do not use CHECK_1.
28379 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28380 <bp-checks.h>.
28381 (__lxstat): Do not use CHECK_1.
28382 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28383 <bp-checks.h>.
28384 (__old_msgctl): Do not use CHECK_1.
28385 (__new_msgctl): Likewise.
28386 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28387 <bp-checks.h>.
28388 (__new_setrlimit): Do not use CHECK_1.
28389 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28390 <bp-checks.h>.
28391 (__old_shmctl): Do not use CHECK_1.
28392 (__new_shmctl): Likewise.
28393 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28394 <bp-checks.h>.
28395 (__xstat): Do not use CHECK_1.
28396 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28397 (__lxstat): Do not use CHECK_1.
28398 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28399 <bp-checks.h>.
28400 (___lxstat64): Do not use CHECK_1.
28401 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28402 (__old_msgctl): Do not use CHECK_1.
28403 (__new_msgctl): Likewise.
28404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28405 <bp-checks.h>.
28406 (__gettimeofday): Do not use CHECK_1.
28407 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28408 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28409 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28410 <bp-checks.h>.
28411 (__gettimeofday): Do not use CHECK_1.
28412 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28413 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28414 (__new_shmctl): Do not use CHECK_1.
28415 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28416 <bp-checks.h>.
28417 (do_sigtimedwait): Do not use CHECK_1.
28418 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28419 <bp-checks.h>.
28420 (do_sigwaitinfo): Do not use CHECK_1.
28421 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28422 <bp-checks.h>.
28423 (msgctl): Do not use CHECK_1.
28424 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28425 <bp-checks.h>.
28426 (shmctl): Do not use CHECK_1.
28427 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28428 (ustat): Do not use CHECK_1.
28429 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28430 <bp-checks.h>.
28431 (__fxstat): Do not use CHECK_1.
28432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28433 <bp-checks.h>.
28434 (__fxstatat): Do not use CHECK_1.
28435 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28436 <bp-checks.h>.
28437 (__lxstat): Do not use CHECK_1.
28438 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28439 <bp-checks.h>.
28440 (__xstat): Do not use CHECK_1.
28441 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28442 (__xstat): Do not use CHECK_1.
28443 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28444 (___xstat64): Do not use CHECK_1.
28445
b2c9eff4
JM
28446 [BZ #13550]
28447 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28448 definitions.
28449 (CHECK_BOUNDS_HIGH): Likewise.
28450 * string/strcpy.c: Do not include <bp-checks.h>.
28451 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28452
f1d70dad
RM
284532013-02-07 Roland McGrath <roland@hack.frob.com>
28454
28455 * nscd/nscd-client.h (__nscd_drop_map_ref):
28456 Add __attribute__ ((unused)).
28457 * nis/nss-nisplus.h (niserr2nss): Likewise.
28458
28459 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28460 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28461
28462 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28463 Remove inline keyword.
28464 * include/rounding-mode.h (round_away): Likewise.
28465 * libio/wfileops.c (adjust_wide_data): Likewise.
28466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28467 (__m128i_strloadu_tolower): Likewise.
28468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28469 (__m128i_strloadu_tolower): Likewise.
28470 * time/mktime.c (ydhms_diff): Likewise.
28471 * locale/elem-hash.h (elem_hash): Likewise.
28472 * locale/setlocale.c (setdata): Likewise.
28473 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28474 (re_string_wchar_at): Likewise.
28475 (bitset_not, bitset_merge, bitset_mask): Likewise.
28476 [!(__GNUC__ > 3)] (inline): Remove macro.
28477 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28478 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28479 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28480 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28481 * string/memcmp.c (memcmp_bytes): Likewise.
28482 * locale/programs/locarchive.c (compute_hashval): Likewise.
28483 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28484 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28485 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28486 * nss/getent.c (print_rpc, print_protocols): Likewise.
28487 (print_passwd, print_group, print_aliases): Likewise.
28488 * nis/nss-nisplus.h (niserr2nss): Likewise.
28489 * nscd/connections.c (restart_p): Likewise.
28490 Change return type to bool.
28491
eab55bfb
RM
284922013-02-05 Roland McGrath <roland@hack.frob.com>
28493
7bd642f5
RM
28494 * Makeconfig (all-Depend-files): Add existing
28495 $(sorted-subdirs:=/Depend) files.
28496 (all-subdirs): Remove nss.
28497 * sysdeps/unix/inet/Subdirs: Add it here instead.
28498 * hesiod/Depend: New file.
28499
573c29b2
RM
28500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28501 instead of calling alloca.
28502
b2e25af0
RM
28503 * io/lseek.c (__lseek): Rename to __libc_lseek.
28504 Define __lseek as an alias.
28505
eab55bfb
RM
28506 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28507
9a0d1941
CD
285082013-02-04 Carlos O'Donell <carlos@redhat.com>
28509
28510 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28511 else clause and remove check for non-standard endianness.
28512
b83bbec4
DM
285132013-02-04 David S. Miller <davem@davemloft.net>
28514
28515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28516
6277fdab
JM
285172013-02-04 Joseph Myers <joseph@codesourcery.com>
28518
28519 [BZ #13550]
28520 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28521 (__ubp_memchr): Remove prototype.
28522 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28523 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28524 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28525 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28526 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28527 Remove alias.
28528 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28529 (__ubp_memchr): Likewise.
28530 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28531 (__ubp_memchr): Likewise.
28532 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28533 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28534 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28535 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28536 CHECK_STRING.
28537 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28538 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28539 (__getcwd): Do not use CHECK_STRING.
28540 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28541 <bp-checks.h>.
28542 (__real_chown): Do not use CHECK_STRING.
28543 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28544 <bp-checks.h>.
28545 (fchownat): Do not use CHECK_STRING.
28546 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28547 CHECK_STRING.
28548 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28549 <bp-checks.h>.
28550 (__lchown): Do not use CHECK_STRING.
28551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28552 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28553 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28554 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28556 include <bp-checks.h>.
28557 (truncate64): Do not use CHECK_STRING.
28558 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28559 <bp-checks.h>.
28560 (__real_chown): Do not use CHECK_STRING.
28561 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28562 <bp-checks.h>.
28563 (__lchown): Do not use CHECK_STRING.
28564 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28565 <bp-checks.h>.
28566 (__chown): Do not use CHECK_STRING.
28567 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28568 <bp-checks.h>.
28569 (truncate64): Do not use CHECK_STRING.
28570 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28571 Likewise.
28572 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28573 (__xmknod): Do not use CHECK_STRING.
28574 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28575 <bp-checks.h>.
28576 (__xmknodat): Do not use CHECK_STRING.
28577 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28578 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28579
903ae060
AS
285802013-02-04 Andreas Schwab <schwab@suse.de>
28581
28582 [BZ #14142]
28583 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28584 * include/netdb.h: Likewise for h_errno.
28585 * elf/tst-stackguard1.c: Include <tls.h>.
28586
542f9466
JK
285872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28588
28589 * elf/link.h (struct link_map): Extend the l_addr comment.
28590 * include/link.h (struct link_map): Likewise.
28591
e782a927
JM
285922013-02-01 Joseph Myers <joseph@codesourcery.com>
28593
28594 [BZ #13550]
28595 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28596 (BOUNDED_1): Remove macro.
28597 * debug/backtrace.c: Don't include <bp-checks.h>.
28598 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28599 (__backtrace): Likewise.
28600 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28601 <bp-checks.h>.
28602 (__backtrace): Don't use BOUNDED_1.
28603 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28604 <bp-checks.h>.
28605 (__backtrace): Don't use BOUNDED_1.
28606 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28607 (__backtrace): Don't use BOUNDED_1.
28608 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28609 (shmat): Don't use BOUNDED_N.
28610
8cf28c5e
JM
286112013-01-31 Joseph Myers <joseph@codesourcery.com>
28612
3a7ac8a0
JM
28613 [BZ #13550]
28614 * sysdeps/generic/bp-start.h: Remove file.
28615 * csu/libc-start.c: Don't include <bp-start.h>.
28616 (LIBC_START_MAIN): Set up __environ directly instead of using
28617 INIT_ARGV_and_ENVIRON.
28618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28619 <bp-start.h>.
28620
f3499f95
JM
28621 [BZ #13550]
28622 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28623 definitions.
28624 (CHECK_FCNTL): Likewise.
28625 (CHECK_N_PAGES): Likewise.
28626
32a45bea
JM
28627 [BZ #13550]
28628 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28629 definitions.
28630 (CHECK_SIGSET_NULL_OK): Likewise.
28631 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28632 <bp-checks.h>.
28633 (sigpending): Don't use CHECK_SIGSET.
28634 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28635 <bp-checks.h>.
28636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28637 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28638 <bp-checks.h>.
28639 (do_sigsuspend): Don't use CHECK_SIGSET.
28640 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28641 use CHECK_SIGSET.
28642 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28643 (do_sigwait): Don't use CHECK_SIGSET.
28644 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28645 use CHECK_SIGSET.
28646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28647 include <bp-checks.h>.
28648 (sigpending): Don't use CHECK_SIGSET.
28649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28650 include <bp-checks.h>.
28651 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28652 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28653 <bp-checks.h>.
28654 (sigpending): Don't use CHECK_SIGSET.
28655 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28656 <bp-checks.h>.
28657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28658
2e8a5c8c
JM
28659 [BZ #13550]
28660 * sysdeps/generic/bp-semctl.h: Remove file.
28661 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28662 <bp-checks.h> and <bp-semctl.h>.
28663 (__old_semctl): Don't use CHECK_SEMCTL.
28664 (__new_semctl): Likewise.
28665 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28666 and <bp-semctl.h>.
28667 (__old_semctl): Don't use CHECK_SEMCTL.
28668 (__new_semctl): Likewise.
28669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28670 <bp-checks.h> and <bp-semctl.h>.
28671 (__old_semctl): Don't use CHECK_SEMCTL.
28672 (__new_semctl): Likewise.
28673 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28674 <bp-checks.h> and <bp-semctl.h>.
28675 (semctl): Don't use CHECK_SEMCTL.
28676
c2d54929
JM
28677 [BZ #13550]
28678 * Makerules (elide-bp-thunks): Remove variable.
28679 (elide-routines.oS): Don't use $(elide-bp-thunks).
28680 (elide-routines.os): Likewise.
28681 (elide-routines.o): Likewise.
28682 (elide-routines.op): Likewise.
28683 (elide-routines.og): Likewise.
28684 (objects): Don't use $(bp-thunks).
28685 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28686 include.
28687 (common-generated): Do not add s-proto-bp.d.
28688 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28689 (int): Likewise.
28690 (typ): Likewise.
28691 Do not generate makefile rules for bounded-pointer thunks.
28692 * sysdeps/generic/bp-thunks.h: Remove file.
28693 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28694 * sysdeps/unix/s-proto-bp.S: Likewise.
28695
8cf28c5e
JM
28696 [BZ #15062]
28697 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28698 parts of result separately when argument is not close to line from
28699 -i to i and one part of argument is small.
28700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28702 * math/libm-test.inc (cacos_test): Add more tests.
28703 (casin_test): Likewise.
28704 (casinh_test): Likewise.
28705 * sysdeps/i386/fpu/libm-test-ulps: Update.
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707
c4e33b8d
DM
287082013-01-31 David S. Miller <davem@davemloft.net>
28709
28710 * po/de.po: Update from translation team.
28711
3b60b421
MK
287122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28713
28714 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28715
bb931195
TS
287162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28717
b5a5da23
TS
28718 * configure.in (_AC_PROG_CC_C89): New definition.
28719 * configure: Regenerate.
28720
bb931195
TS
28721 * configure.in (AC_PROG_CPP): New definition.
28722 * configure: Regenerate.
28723
8c53a12c
JM
287242013-01-23 Joseph Myers <joseph@codesourcery.com>
28725
28726 * debug/tst-backtrace.h: New file.
28727 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28728 (ret): Remove variable.
28729 (x): Likewise.
28730 (FAIL): Remove macro.
28731 (NO_INLINE): Likewise.
28732 (fn1): Use match function instead of strstr.
28733 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28734 (ret): Remove variable.
28735 (x): Likewise.
28736 (FAIL): Remove macro.
28737 (NO_INLINE): Likewise.
28738 (fn): Use match function instead of strstr.
28739 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28740 (ret): Remove variable.
28741 (x): Likewise.
28742 (FAIL): Remove macro.
28743 (NO_INLINE): Likewise.
28744 (handle_signal): Use match function instead of strstr.
28745 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28746 (ret): Remove variable.
28747 (x): Likewise.
28748 (FAIL): Remove macro.
28749 (NO_INLINE): Likewise.
28750 (handle_signal): Use match function instead of strstr.
28751
4858fa2a
RM
287522013-01-23 Roland McGrath <roland@hack.frob.com>
28753
28754 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28755
bae8e7f5
DM
287562013-01-23 David S. Miller <davem@davemloft.net>
28757
28758 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28759 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28760 argument of CAS if possible.
28761 * sysdeps/sparc/sparc64/bits/atomic.h
28762 (__arch_compare_and_exchange_val_32_acq): Likewise.
28763 (__arch_compare_and_exchange_val_64_acq): Likewise.
28764
9cbbc4ae
PT
287652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28766
28767 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28768 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28769 Include <limits.h>.
67b3f58c 28770 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28771
5655a0b5
AC
287722013-01-23 Adam Conrad <adconrad@0c3.net>
28773
28774 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28775 (LDFLAGS-tst-array5): Likewise.
28776
052aff95
JM
287772013-01-23 Joseph Myers <joseph@codesourcery.com>
28778
28779 [BZ #15036]
28780 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28781 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28782 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28783 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28784
7c1e01aa
DM
287852013-01-21 David S. Miller <davem@davemloft.net>
28786
28787 * sysdeps/sparc/backtrace.c: New file.
28788 * sysdeps/sparc/sparc32/backtrace.h: New file.
28789 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28790 * sysdeps/sparc/sparc64/backtrace.h: New file.
28791 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28792 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28793 -funwind-tables.
28794
ab087e0a
AS
287952013-01-21 Andreas Schwab <schwab@suse.de>
28796
28797 [BZ #15020]
28798 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28799 closed its stdout.
28800
ed689c2f
AS
288012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28802
28803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28804 "mpa2.h".
28805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28806
31d470ac
JM
288072013-01-18 Joseph Myers <joseph@codesourcery.com>
28808 Mark Mitchell <mark@codesourcery.com>
28809 Tom de Vries <tom@codesourcery.com>
28810 Paul Pluzhnikov <ppluzhnikov@google.com>
28811
28812 * debug/tst-backtrace2.c: New file.
28813 * debug/tst-backtrace3.c: Likewise.
28814 * debug/tst-backtrace4.c: Likewise.
28815 * debug/tst-backtrace5.c: Likewise.
28816 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28817 (CFLAGS-tst-backtrace3.c): Likewise.
28818 (CFLAGS-tst-backtrace4.c): Likewise.
28819 (CFLAGS-tst-backtrace5.c): Likewise.
28820 (LDFLAGS-tst-backtrace2): Likewise.
28821 (LDFLAGS-tst-backtrace3): Likewise.
28822 (LDFLAGS-tst-backtrace4): Likewise.
28823 (LDFLAGS-tst-backtrace5): Likewise.
28824 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28825 tst-backtrace4 and tst-backtrace5.
28826
90567f30 288272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28828 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28829
28830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28831 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28833 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28835 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28836 "+r" and remove output regs list as redundant. Add explicit inline
28837 asm to specify register of return val to work around compiler codegen
28838 bug. Remove (int) cast on return value. Add return type parameter to
28839 use in macro so that this macro does not truncate return value for
28840 64-bit values.
28841 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28842 pass to INTERNAL_VSYSCALL_NCS.
28843 (INLINE_VSYSCALL): Add 'long int' as return type to
28844 INTERNAL_VSYSCALL_NCS macro invocation.
28845 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28846 INTERNAL_VSYSCALL_NCS macro invocation.
28847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28848
d3b9ea61
SP
288492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28850
0b57daeb
SP
28851 [BZ #14496]
28852 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28853 Fix application of SIMD FP exception mask.
28854
caa99d06
SP
28855 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28856 mp_no from a power of two.
28857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28858 __mpexp_twomm1. Use __pow_mp.
28859
d3b9ea61
SP
28860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28861 multiplication.
28862
1dbaee3c
DM
288632013-01-17 David S. Miller <davem@davemloft.net>
28864
28865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28866
728d7b43
JM
288672013-01-17 Joseph Myers <joseph@codesourcery.com>
28868
28869 [BZ #15023]
28870 * include/complex.h: Condition contents on [!_COMPLEX_H].
28871 (__kernel_casinhf): New prototype.
28872 (__kernel_casinh): Likewise.
28873 (__kernel_casinhl): Likewise.
28874 * math/Makefile (libm_calls): Add k_casinh.
28875 * math/k_casinh.c: New file.
28876 * math/k_casinhf.c: Likewise.
28877 * math/k_casinhl.c: Likewise.
28878 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28879 finite nonzero arguments.
28880 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28881 finite nonzero arguments.
28882 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28883 finite nonzero arguments.
28884 * math/s_casinh.c: Do not include <float.h>.
28885 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28886 * math/s_casinhf.c: Do not include <float.h>.
28887 (__casinhf): Move code for finite nonzero arguments to
28888 k_casinhf.c.
28889 * math/s_casinhl.c: Do not include <float.h>.
28890 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28891 redefine.
28892 (__casinhl): Move code for finite nonzero arguments to
28893 k_casinhl.c.
28894 * math/libm-test.inc (cacos_test): Add more tests.
28895 * sysdeps/i386/fpu/libm-test-ulps: Update.
28896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28897
2a26ef3a
PT
288982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28899
28900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28901 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28902 [!HAVE_MREMAP]: Remove [defined linux] case.
28903 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28904
a897655d
SP
289052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28906
28907 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28908
881ebe89 289092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28910
28911 * elf/elf.h (R_386_SIZE32): New relocation.
28912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28913 R_386_SIZE32.
28914 (elf_machine_rela): Likewise.
28915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28916 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28917
59981e9b
JM
289182013-01-17 Joseph Myers <joseph@codesourcery.com>
28919
28920 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28921 (FP_FAST_FMA): Do not define.
28922 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28923 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28924 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28925 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28926 !_SOFT_FLOAT]: Likewise.
28927 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28928 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28929 value.
28930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28931 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28932 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28934 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28935 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28936 file.
28937
cfa8054f
AS
289382013-01-16 Andreas Schwab <schwab@suse.de>
28939
28940 [BZ #14327]
28941 * include/stdlib.h (__mktemp): Add declaration.
28942 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28943 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28944
dd930cc5
SP
289452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28946
881ebe89
SP
28947 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28948 definitions.
28949 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28950 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28951 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28952 definitions here.
28953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28954 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28955 definitions.
28956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28957 and ONE.
28958 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28959 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28961 definitions.
28962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28963 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28964 definitions.
28965 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28966
dd930cc5
SP
28967 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28968
c19a9f89
DM
289692013-01-15 David S. Miller <davem@davemloft.net>
28970
1aa61767
DM
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28972 trunc{,f} to libm-sysdep_routes.
28973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28975 file.
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28978 file.
28979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28980 file.
28981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28983 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28984 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28985 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28986 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28987 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28988 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28989
c42d5e98
DM
28990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28991 nearbyint{,f} to libm-sysdep_routes.
28992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28994 New file.
28995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28996 file.
28997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28998 New file.
28999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29000 file.
29001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29004 file.
29005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29007 file.
29008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29009 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29010 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29011
c19a9f89
DM
29012 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29013 libc_feholdexcept and libc_fesetenv.
29014
357679d2
MF
290152013-01-15 Mike Frysinger <vapier@gentoo.org>
29016
29017 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29018
65a82e3d
DM
290192013-01-14 David S. Miller <davem@davemloft.net>
29020
8b954ab9
DM
29021 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29022 (SPARC_ASM_VIS2_IFUNC): Likewise.
29023 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29025 use of 'siam' instruction.
29026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29027 Likewise.
29028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29029 Likewise.
29030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29031 Likewise.
29032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29037 file.
29038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29039 file.
29040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29041 file.
29042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29043 file.
29044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29049 new VIS2 routines.
29050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29053 Likewise.
29054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29059 routines to libm-sysdep_routines.
29060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29061
65a82e3d
DM
29062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29063 fdim/fdimf to libm-sysdep_routines.
29064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29065 file.
29066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29068 file.
29069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29072 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29073 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29074 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29075 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29076
e34ab705
SP
290772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29078
2a91b573
SP
29079 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29080 to optimize copies.
29081
1066a534
SP
29082 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29085
e34ab705
SP
29086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29087 local variable MPTWO.
29088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29089 Likewise.
29090
aba5e596
MF
290912013-01-13 Mike Frysinger <vapier@gentoo.org>
29092
29093 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29094 GLOB_NOESCAPE.
29095
e557e9e5
MF
290962013-01-13 Mike Frysinger <vapier@gentoo.org>
29097
29098 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29099
0428cec9
MF
291002013-01-13 Mike Frysinger <vapier@gentoo.org>
29101
29102 * manual/pattern.texi (glob_t): Document gl_flags.
29103 (glob64_t): Likewise.
29104
8794a964
DM
291052013-01-11 David S. Miller <davem@davemloft.net>
29106
66438c3f
RM
29107 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29108 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29109 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29110 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29111 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29112 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29113 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29114 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29115 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29116 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29117 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29118 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29119 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29120
4ae4244d
DM
29121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29122 sparc V9 rather than using V8 code.
29123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29125
8794a964
DM
29126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29127 Move to...
29128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29129 Here.
29130
6270516e
RM
291312013-01-11 Roland McGrath <roland@hack.frob.com>
29132
29133 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29134 not in the main loop.
29135 * configure: Regenerated.
29136
6a57d931
JM
291372013-01-11 Joseph Myers <joseph@codesourcery.com>
29138
29139 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29140 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29141 to just #else.
29142 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29143 [!__GLIBC_HAVE_LONG_LONG] case.
29144 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29145 condition to just #else.
29146 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29147 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29148 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29149 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29150 unconditional.
29151 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29152 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29153 #elif condition to just #else.
29154 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29155 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29156 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29157 #elif condition to just #else.
29158
0e8529e9
SE
291592013-01-11 Steve Ellcey <sellcey@mips.com>
29160
29161 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29162 (EF_MIPS_ARCH_64): Fix value.
29163 (EF_MIPS_ARCH_32R2): New.
29164 (EF_MIPS_ARCH_64R2): New.
29165
740b3dbe
L
291662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29167
29168 * Makeconfig (+link-pie-before-libc): New.
29169 (+link-pie-after-libc): Likewise.
29170 (+link-pie-tests): Likewise.
29171 (+link-pie): Rewritten.
29172 (link-before-libc): Remove $(config-LDFLAGS).
29173 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29174 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29175 (config-LDFLAGS): Renamed to ...
29176 (rtld-LDFLAGS): This.
29177 (rtld-tests-LDFLAGS): New macro.
29178 (link-libc-rpath-link): Likewise.
29179 (link-libc-tests-rpath-link): Likewise.
29180 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29181 (link-libc): Prepand $(link-libc-rpath-link).
29182 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29183 (test-program-prefix): New macro.
29184 (test-via-rtld-prefix): Likewise.
29185 (test-program-cmd): Likewise.
29186 (host-test-program-cmd): Likewise.
29187 * Makefile ($(common-objpfx)testrun.sh): Replace
29188 $(run-program-prefix) with $(test-program-prefix).
29189 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29190 $(rtld-LDFLAGS).
29191 ($(common-objpfx)shlib.lds): Likewise.
29192 (build-module-helper): Likewise.
29193 ($(common-objpfx)format.lds): Likewise.
29194 * Rules (binaries-pie-tests): New.
29195 (binaries-pie-notests): Likewise.
29196 (binaries-pie): Rewritten.
29197 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29198 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29199 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29200 (make-test-out): Replace $(host-built-program-cmd) with
29201 $(host-test-program-cmd).
29202 * config.make.in (build-hardcoded-path-in-tests): New variable.
29203 * configure.in (--enable-hardcoded-path-in-tests): New configure
29204 option.
29205 (hardcoded_path_in_tests): New AC_SUBST.
29206 * configure: Regenerated.
29207 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29208 $(built-program-cmd) with $(test-program-cmd).
29209 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29210 (test_program_cmd): This.
29211 * elf/Makefile ($(objpfx)order.out): Run test with
29212 $(test-program-prefix).
29213 ($(objpfx)order2.out): Likewise.
29214 ($(objpfx)tst-initorder.out): Likewise.
29215 ($(objpfx)tst-initorder2.out): Likewise.
29216 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29217 $(test-program-cmd).
29218 ($(objpfx)tst-array1-static.out): Likewise.
29219 ($(objpfx)tst-array2.out): Likewise.
29220 ($(objpfx)tst-array3.out): Likewise.
29221 ($(objpfx)tst-array4.out): Likewise.
29222 ($(objpfx)tst-array5.out): Likewise.
29223 ($(objpfx)tst-array5-static.out): Likewise.
29224 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29225 $(test-program-cmd).
29226 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29227 $(run-program-prefix) with $(test-program-prefix).
29228 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29229 (test_program_prefix): This.
29230 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29231 $(run-program-prefix) with $(test-program-prefix).
29232 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29233 (test_program_prefix): This.
29234 * iconvdata/tst-tables.sh: Likewise.
29235 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29236 $(run-program-prefix) with $(test-program-prefix).
29237 ($(objpfx)tst-translit.out): Likewise.
29238 ($(objpfx)tst-gettext2.out): Likewise.
29239 ($(objpfx)tst-gettext4.out): Likewise.
29240 ($(objpfx)tst-gettext6.out): Likewise.
29241 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29242 (test_program_prefix): This.
29243 * intl/tst-gettext2.sh: Likewise.
29244 * intl/tst-gettext4.sh Likewise.
29245 * intl/tst-gettext6.sh: Likewise.
29246 * intl/tst-translit.sh: Likewise.
29247 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29248 with $(test-program-cmd).
29249 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29250 $(run-program-prefix) with $(test-program-prefix).
29251 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29252 (test_program_prefix): This.
29253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29254 $(run-program-prefix) with $(test-program-prefix).
29255 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29256 (test_program_prefix): This.
29257 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29258 * posix/Makefile ($(objpfx)globtest.out): Replace
29259 $(run-via-rtld-prefix) and $(test-wrapper) with
29260 $(test-program-prefix) and $(test-via-rtld-prefix).
29261 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29262 $(test-program-prefix).
29263 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29264 $(host-test-program-cmd).
29265 (tst-spawn-ARGS): Likewise.
29266 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29267 $(test-program-prefix).
29268 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29269 (test_via_rtld_prefix): This.
29270 (test_wrapper): Renamed to ...
29271 (test_program_prefix): This.
29272 (run_program_prefix): Replaced by test_program_prefix.
29273 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29274 (test_program_prefix): This.
29275 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29276 with $(host-test-program-cmd).
29277 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29278 $(run-program-prefix) with $(test-program-prefix).
29279 ($(objpfx)tst-printf.out): Likewise.
29280 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29281 $(test-program-cmd).
29282 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29283 (test_program_prefix): This.
29284 * stdio-common/tst-unbputc.sh: Likewise.
29285 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29286 $(run-program-prefix) with $(test-program-prefix).
29287 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29288 (test_program_prefix): This.
29289 * string/Makefile ($(objpfx)tst-svc.out): Replace
29290 $(built-program-cmd) with $(test-program-cmd).
29291
c6fe55cf
AJ
292922013-01-11 Andreas Jaeger <aj@suse.de>
29293
29294 [BZ #15003]
29295 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29296 value. Sync with Linux 3.7.
29297
9e6919c8
DM
292982013-01-10 David S. Miller <davem@davemloft.net>
29299
29300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29303
1c9f1a02
RM
293042013-01-10 Roland McGrath <roland@hack.frob.com>
29305
29306 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29307 never set.
29308 * configure: Regenerated.
29309
b9de2dde
DM
293102013-01-10 David S. Miller <davem@davemloft.net>
29311
29312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29313 sparc V9 rather than using V8 code.
29314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29316
e7f68ef4
RM
293172013-01-10 Roland McGrath <roland@hack.frob.com>
29318
29319 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29320 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29321 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29322 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29323 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29324 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29325 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29326 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29327 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29328 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29329 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29330 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29331 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29332 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29333 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29334 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29335 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29336 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29337 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29338 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29339 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29340 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29341 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29342 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29343 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29344 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29345 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29346
5a47cc9c
DM
293472013-01-10 David S. Miller <davem@davemloft.net>
29348
29349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29350
4cf8f209
L
293512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29352
29353 * posix/Makefile (tests-static): New variable.
29354 (tests): Add $(tests-static).
29355 (tst-exec-static-ARGS): New variable.
29356 (tst-spawn-static-ARGS): Likewise.
29357 * posix/tst-exec-static.c: New file.
29358 * posix/tst-spawn-static.c: Likewise.
29359 * posix/tst-exec.c: Support run directly.
29360 * posix/tst-spawn.c: Likewise.
29361
fed0faa1
JM
293622013-01-10 Joseph Myers <joseph@codesourcery.com>
29363
828beb13
JM
29364 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29365 long.
29366 * math/bits/mathcalls.h (llrint): Likewise.
29367 (llround): Likewise.
29368 * stdlib/stdlib.h (struct drand48_data): Likewise.
29369 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29370 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29371 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29372 Likewise.
29373 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29374 Likewise.
29375 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29376 (elf_greg_t): Likewise.
29377 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29378 (__jmp_buf): Likewise.
29379 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29380 definitions.
29381 (llrint): Likewise, for all definitions.
29382 (llrintl): Likewise.
29383
fed0faa1
JM
29384 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29385 Remove [__GNUC__] condition.
29386 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29387 condition to just [__USE_ISOC99].
29388 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29389
1a20cb20
L
293902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29391
29392 [BZ #14200]
29393 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29394 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29395 defined.
29396 (_POSIX_V6_ILP32_OFF32): Likewise.
29397 (_XBS5_ILP32_OFF32): Likewise.
29398 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29399 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29400
751b85f7
SP
294012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29402
7490eb81
SP
29403 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29404
751b85f7
SP
29405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29406 doubles __mpexp_twomm1. Adjust usage.
29407 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29408 Remove.
29409
988197f0
AS
294102013-01-10 Andreas Schwab <schwab@suse.de>
29411
29412 [BZ #14964]
29413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29414 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29415
e83d7298
DM
294162013-01-09 David S. Miller <davem@davemloft.net>
29417
034ed64b 29418 [BZ #15003]
57f41c40
AS
29419 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29420 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29421 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29422 (TCP_FASTOPEN): Define.
e83d7298
DM
29423 (tcp_repair_opt): New structure.
29424 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29425 enum values.
57f41c40
AS
29426 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29427 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29428 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29429 (tcp_cookie_transactions): New structure.
29430
d5e0b9bd
AB
294312013-01-09 Anton Blanchard <anton@samba.org>
29432
29433 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29434 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29436 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29437
0c07e3ea
JM
294382013-01-09 Joseph Myers <joseph@codesourcery.com>
29439
29440 * include/features.h (__USE_ANSI): Remove.
29441
232f7002
RM
294422013-01-09 Roland McGrath <roland@hack.frob.com>
29443
ad98e30c
RM
29444 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29445
232f7002
RM
29446 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29447
950c99ca
SP
294482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29449
b5792741
SP
29450 * sysdeps/s390/fpu/libm-test-ulps: Update.
29451
47cf2278
SP
29452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29453
950c99ca
SP
29454 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29455 (__acr): Likewise.
29456 (__cpy): Likewise.
29457 (norm): Likewise.
29458 (denorm): Likewise.
29459 (__mp_dbl): Likewise.
29460 (__dbl_mp): Likewise.
29461 (add_magnitudes): Likewise.
29462 (sub_magnitudes): Likewise.
29463 (__add): Likewise.
29464 (__sub): Likewise.
29465 (__mul): Likewise.
29466 (__inv): Likewise.
29467 (__dvd): Likewise.
29468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29469 (__acr): Likewise.
29470 (__cpy): Likewise.
29471 (norm): Likewise.
29472 (denorm): Likewise.
29473 (__mp_dbl): Likewise.
29474 (__dbl_mp): Likewise.
29475 (add_magnitudes): Likewise.
29476 (sub_magnitudes): Likewise.
29477 (__add): Likewise.
29478 (__sub): Likewise.
29479 (__mul): Likewise.
29480 (__inv): Likewise.
29481 (__dvd): Likewise.
29482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29483 (__acr): Likewise.
29484 (__cpy): Likewise.
29485 (norm): Likewise.
29486 (denorm): Likewise.
29487 (__mp_dbl): Likewise.
29488 (__dbl_mp): Likewise.
29489 (add_magnitudes): Likewise.
29490 (sub_magnitudes): Likewise.
29491 (__add): Likewise.
29492 (__sub): Likewise.
29493 (__mul): Likewise.
29494 (__inv): Likewise.
29495 (__dvd): Likewise.
29496
eede9df9
JM
294972013-01-08 Joseph Myers <joseph@codesourcery.com>
29498
29499 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29500 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29501 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29502 2 && __USE_EXTERN_INLINES]: Likewise.
29503
c40ea3d9
AJ
295042013-01-08 Andreas Jaeger <aj@suse.de>
29505
29506 [BZ# 14985]
29507 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29508 Remove.
29509 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29510 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29511
2ccdea26
AB
295122013-01-07 Anton Blanchard <anton@samba.org>
29513
29514 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29515 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29516 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29517 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29518 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29519 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29520 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29532 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29535 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29537 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29538 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29539 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29540 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29541 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29543 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29544 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29554 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29556 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29557
a9708fed
JM
295582013-01-07 Joseph Myers <joseph@codesourcery.com>
29559
375607b9
JM
29560 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29561 (__MALLOC_PMT): Likewise.
29562 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29563 [__GNUC__], only on [_LIBC].
29564 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29565 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29566 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29567 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29568 forward declaration.
29569 (realloc_hook_ini): Likewise.
29570 (memalign_hook_ini): Likewise.
29571 (__libc_memalign): Do not use __MALLOC_PMT in variable
29572 declaration.
29573 (__libc_valloc): Likewise.
29574 (__libc_pvalloc): Likewise.
29575 (__libc_calloc): Likewise.
29576 (__posix_memalign): Likewise.
29577
a9708fed
JM
29578 [BZ #14996]
29579 * math/s_casinh.c: Include <float.h>.
29580 (__casinh): Do not do computation with squaring and square root
29581 for large arguments.
29582 * math/s_casinhf.c: Include <float.h>.
29583 (__casinhf): Do not do computation with squaring and square root
29584 for large arguments.
29585 * math/s_casinhl.c: Include <float.h>.
29586 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29587 (__casinhl): Do not do computation with squaring and square root
29588 for large arguments.
29589 * math/libm-test.inc (casin_test): Add more tests.
29590 (casinh_test): Likewise.
29591 * sysdeps/i386/fpu/libm-test-ulps: Update.
29592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29593
afec409a
L
295942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29595
29596 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29597 (__x86_64_raw_data_cache_size): Likewise.
29598 (__x86_64_data_cache_size_half): Likewise.
29599 (__x86_64_raw_data_cache_size_half): Likewise.
29600 (__x86_64_shared_cache_size): Likewise.
29601 (__x86_64_raw_shared_cache_size): Likewise.
29602 (__x86_64_shared_cache_size_half): Likewise.
29603 (__x86_64_raw_shared_cache_size_half): Likewise.
29604 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29605 to ...
29606 (__x86_data_cache_size): This.
29607 (__x86_64_raw_data_cache_size): Renamed to ...
29608 (__x86_raw_data_cache_size): This.
29609 (__x86_64_data_cache_size_half): Renamed to ...
29610 (__x86_data_cache_size_half): This.
29611 (__x86_64_raw_data_cache_size_half): Renamed to ...
29612 (__x86_raw_data_cache_size_half): This.
29613 (__x86_64_shared_cache_size): Renamed to ...
29614 (__x86_shared_cache_size): This.
29615 (__x86_64_raw_shared_cache_size): Renamed to ...
29616 (__x86_raw_shared_cache_size): This.
29617 (__x86_64_shared_cache_size_half): Renamed to ...
29618 (__x86_shared_cache_size_half): This.
29619 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29620 (__x86_raw_shared_cache_size_half): This.
29621 * sysdeps/x86_64/memcpy.S: Updated.
29622 * sysdeps/x86_64/memset.S: Likewise.
29623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29626
0b3986d0
DM
296272013-01-04 David S. Miller <davem@davemloft.net>
29628
29629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29630
e47686e9
AS
296312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29632
d643bac1
AS
29633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29634 1 to avoid redefinition warning.
29635 (__USE_GNU): Don't define.
29636 (init_signaling_nan): Protoize.
29637
e47686e9
AS
29638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29639
b18decba
SP
296402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29641
fffb407f
SP
29642 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29644 (__cpymn): Likewise.
29645 (norm): Remove commented code.
29646 (denorm): Likewise.
29647 (__mp_dbl): Likewise.
29648 (__inv): Likewise.
29649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29650 (__cpymn): Likewise.
29651 (norm): Remove commented code.
29652 (denorm): Likewise.
29653 (__mp_dbl): Likewise.
29654 (__inv): Likewise.
29655
b18decba
SP
29656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29657 mp_no value for 1.0 and 2.0.
29658 (norm): Use RADIXI instead of radixi.d.
29659 (denorm): Likewise.
29660 (__mul): Use 0.0 instead of zero.d.
29661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29662 mp_no value for 1.0 and 2.0.
29663 (norm): Use RADIXI instead of radixi.d.
29664 (denorm): Likewise.
29665 (__mul): Use 0.0 instead of zero.d.
29666
cdc1c96f
JM
296672013-01-04 Joseph Myers <joseph@codesourcery.com>
29668
29669 [BZ #14994]
29670 * math/s_casinh.c (__casinh): Reduce finite argument to first
29671 quadrant then set signs of results at the end.
29672 * math/s_casinhf.c (__casinhf): Likewise.
29673 * math/s_casinhl.c (__casinhl): Likewise.
29674 * math/libm-test.inc (casin_test): Add more tests.
29675 (casinh_test): Likewise.
29676 * sysdeps/i386/fpu/libm-test-ulps: Update.
29677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29678
302913e1
SP
296792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29680
6420d207
SP
29681 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29682
a9e48ab4
SP
29683 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29684
b7837264
SP
29685 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29686 declarations.
29687 (denorm): Likewise.
29688 (__mp_dbl): Likewise.
29689 (__inv): Likewise.
29690
f8af25d2
SP
29691 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29692 and adjust the header comment.
29693
302913e1
SP
29694 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29695 variable name from declaration.
29696
5d7dd1ca
L
296972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29698
29699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29700 Initialize COMMON_CPUID_INDEX_7 element.
29701 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29702 (CPUID_RTM): Likewise.
29703 (HAS_RTM): Likewise.
29704 (COMMON_CPUID_INDEX_7): New enum.
29705
2f5f40f4
AS
297062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29707
29708 [BZ #14981]
29709 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29710 size is zero, record memory as freed.
29711
4056f4a0
AJ
297122013-01-03 Andreas Jaeger <aj@suse.de>
29713
29714 * po/ia.po: Add new Interlingua translation.
29715
ab15736f 297162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29717
29718 * locale/programs/localedef.c: Fix description of '--posix' flag.
29719
568035b7
JM
297202013-01-02 Joseph Myers <joseph@codesourcery.com>
29721
e6898b8d
JM
29722 * NEWS: Update dates in second copyright notice.
29723 * README: Update copyright dates in example.
29724 * manual/libc.texinfo: Update copyright dates.
29725 * scripts/test-installation.pl: Update copyright date in --version
29726 output.
29727
0e2f9562
JM
29728 * hurd/ctty-input.c: Fix copyright notice formatting.
29729 * hurd/ctty-output.c: Likewise.
29730 * hurd/dtable.c: Likewise.
29731 * hurd/hurd-raise.c: Likewise.
29732 * hurd/hurdprio.c: Likewise.
29733 * hurd/msgportdemux.c: Likewise.
29734 * misc/sys/file.h: Likewise.
29735 * misc/sys/ioctl.h: Likewise.
29736 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29737 * sysdeps/mach/hurd/chdir.c: Likewise.
29738 * sysdeps/mach/hurd/fchdir.c: Likewise.
29739 * sysdeps/mach/hurd/rename.c: Likewise.
29740 * sysdeps/mach/hurd/rmdir.c: Likewise.
29741 * sysdeps/mach/hurd/seekdir.c: Likewise.
29742 * sysdeps/mach/hurd/setsid.c: Likewise.
29743 * sysdeps/posix/wait3.c: Likewise.
29744
568035b7
JM
29745 * All files with FSF copyright notices: Update copyright dates
29746 using scripts/update-copyrights.
29747 * intl/plural.c: Regenerated.
29748 * locale/programs/charmap-kw.h: Likewise.
29749 * locale/programs/locfile-kw.h: Likewise.
29750
da08f647
SP
297512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29752
0f5477af
SP
29753 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29754 four values.
29755
44e0d4c2
SP
29756 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29757 calculation loop and add branch prediction.
29758
4d55b4e5
SP
29759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29760 check access beyond bounds of m1np.
29761
da08f647
SP
29762 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29763 MPTWO.
29764 (__inv): Remove local variable MPTWO to use the global
29765 constant.
29766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29768 variable MPTWO.
29769 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29770 MP3HALFS static const.
29771
8e051029
DM
297722013-01-01 David S. Miller <davem@davemloft.net>
29773
29774 * po/ca.po: Update from translation team.
29775
f4cf5f2d
JM
297762013-01-01 Joseph Myers <joseph@codesourcery.com>
29777
29778 * scripts/update-copyrights: New file.
29779 * Makeconfig: Reformat copyright notice.
29780 * ctype/ctype.h: Likewise.
29781 * debug/swprintf_chk.c: Likewise.
29782 * elf/dl-cache.c: Likewise.
29783 * elf/dl-debug.c: Likewise.
29784 * elf/dl-object.c: Likewise.
29785 * grp/initgroups.c: Likewise.
29786 * hurd/Makefile: Likewise.
29787 * hurd/hurd/signal.h: Likewise.
29788 * hurd/hurdfault.c: Likewise.
29789 * hurd/hurdioctl.c: Likewise.
29790 * hurd/hurdlookup.c: Likewise.
29791 * hurd/intr-msg.c: Likewise.
29792 * iconv/gconv_open.c: Likewise.
29793 * libio/swprintf.c: Likewise.
29794 * locale/lc-ctype.c: Likewise.
29795 * locale/nl_langinfo.c: Likewise.
29796 * mach/Machrules: Likewise.
29797 * mach/Makefile: Likewise.
29798 * malloc/obstack.h: Likewise.
29799 * manual/Makefile: Likewise.
29800 * manual/tsort.awk: Likewise.
29801 * misc/bits/stab.def: Likewise.
29802 * nis/nis_print_group_entry.c: Likewise.
29803 * nis/nis_table.c: Likewise.
29804 * nis/nss_compat/compat-pwd.c: Likewise.
29805 * nis/nss_compat/compat-spwd.c: Likewise.
29806 * po/Makefile: Likewise.
29807 * posix/fnmatch.c: Likewise.
29808 * posix/regex.h: Likewise.
29809 * resolv/Makefile: Likewise.
29810 * resolv/nss_dns/dns-network.c: Likewise.
29811 * resolv/res_hconf.c: Likewise.
29812 * scripts/gen-sorted.awk: Likewise.
29813 * soft-fp/soft-fp.h: Likewise.
29814 * stdio-common/printf.h: Likewise.
29815 * stdlib/monetary.h: Likewise.
29816 * stdlib/random.c: Likewise.
29817 * stdlib/random_r.c: Likewise.
29818 * sysdeps/generic/Makefile: Likewise.
29819 * sysdeps/gnu/Makefile: Likewise.
29820 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29848 * sysdeps/mach/hurd/errnos.awk: Likewise.
29849 * sysdeps/mach/hurd/fork.c: Likewise.
29850 * sysdeps/mach/hurd/getcwd.c: Likewise.
29851 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29852 * sysdeps/mach/hurd/mmap.c: Likewise.
29853 * sysdeps/mach/hurd/utimes.c: Likewise.
29854 * sysdeps/mach/hurd/xmknod.c: Likewise.
29855 * sysdeps/posix/profil.c: Likewise.
29856 * sysdeps/posix/readdir_r.c: Likewise.
29857 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29858 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29859 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29860 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29868 * sysdeps/pthread/lio_listio.c: Likewise.
29869 * sysdeps/sparc/dl-procinfo.h: Likewise.
29870 * sysdeps/unix/i386/sysdep.S: Likewise.
29871 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29872 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29873 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29874 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29876 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29877 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29878 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29879 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29880 * sysdeps/wordsize-32/divdi3.c: Likewise.
29881 * time/sys/time.h: Likewise.
29882 * wcsmbs/Makefile: Likewise.
29883
0549fbba
DM
298842013-01-01 David S. Miller <davem@davemloft.net>
29885
a141f1a7
DM
29886 * po/fr.po: Update from translation team.
29887
0549fbba
DM
29888 * catgets/gencat.c: Update copyright year.
29889 * csu/version.c: Likewise.
29890 * debug/catchsegv.sh: Likewise.
29891 * debug/pcprofiledump.c: Likewise.
29892 * debug/xtrace.sh: Likewise.
29893 * elf/ldconfig.c: Likewise.
29894 * elf/ldd.bash.in: Likewise.
29895 * elf/pldd.c: Likewise.
29896 * elf/sotruss.ksh: Likewise.
29897 * elf/sprof.c: Likewise.
29898 * iconv/iconv_prog.c: Likewise.
29899 * iconv/iconvconfig.c: Likewise.
29900 * locale/programs/locale.c: Likewise.
29901 * locale/programs/localedef.c: Likewise.
29902 * login/programs/pt_chown.c: Likewise.
29903 * malloc/memusage.sh: Likewise.
29904 * malloc/memusagestat.c: Likewise.
29905 * malloc/mtrace.pl: Likewise.
29906 * nscd/nscd.c: Likewise.
29907 * nss/getent.c: Likewise.
29908 * nss/makedb.c: Likewise.
29909 * posix/getconf.c: Likewise.
29910
18ea052c
SP
299112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29912
29913 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29914 numbers.
29915
9c89fca6
MF
299162012-12-30 Mike Frysinger <vapier@gentoo.org>
29917
29918 * math/bits/mathcalls.h (modf): Use __nonnull.
29919
085ec079
SP
299202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29921
29922 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29923 (split): Use macro CN instead of the bare value.
29924 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29925 could be used.
29926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29927 instead of the bare value.
29928 (power1): Likewise.
29929
6d9f97e1
SP
299302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29931
d63f73be
SP
29932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29933 __ATAN_TWOM.
29934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29935
6d9f97e1
SP
29936 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29937 their values.
29938 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29940 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29941 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29942
4c4febf5
AJ
299432012-12-28 Andreas Jaeger <aj@suse.de>
29944
af5843ef
AJ
29945 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29946 values are from Linux 3.7.
29947
4c4febf5
AJ
29948 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29949 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29950
99136f82
SP
299512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29952
2f216c3c 29953 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29954 TRUE case.
29955
99136f82
SP
29956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29957 (norm): Likewise.
29958 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29959 variables with preprocessor constants.
29960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29961 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29963
7fffbdff
BH
299642012-12-27 Bruno Haible <bruno@clisp.org>
29965
29966 [BZ #14317]
29967 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29968 only if needed.
29969
b76eb5f0
SP
299702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29971
31a7fe5c
SP
29972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29973 and use variable directly.
29974 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29975
b76eb5f0
SP
29976 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29977 MPONE.
29978 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29980 variable MPONE.
29981 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29983 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29984 include directive. Remove local variable MPONE.
29985 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29986 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29988
2c8bfe7d
DM
299892012-12-25 David S. Miller <davem@davemloft.net>
29990
29991 * version.h (RELEASE): Set to "development".
29992 (VERSION): Set to "2.17.90".
29993 * NEWS: Add 2.18 section.
29994
147d03b0
DM
299952012-12-21 David S. Miller <davem@davemloft.net>
29996
29997 * po/hr.po: Update from translation team.
29998
a8ebb2b9
AK
299992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30000
30001 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30002
95b4f1b6
SE
300032012-12-19 Steve Ellcey <sellcey@mips.com>
30004
b2d94007 30005 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30006
cedb2a90
MS
300072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30008
30009 * manual/contrib.texi (Contributors): Spelling correction.
30010
bbf527d6
DM
300112012-12-15 David S. Miller <davem@davemloft.net>
30012
30013 * po/ru.po: Update from translation team.
30014
bc38c906
DM
300152012-12-13 David S. Miller <davem@davemloft.net>
30016
85429b1a
DM
30017 * NEWS: Mention IFUNC testsuite enhancements.
30018
d283e353
DM
30019 * po/pl.po: Update from translation team.
30020 * po/bg.po: Likewise.
30021
bc38c906
DM
30022 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30023 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30024
a181b0d7
DM
300252012-12-11 David S. Miller <davem@davemloft.net>
30026
4641d57e
DM
30027 * po/sv.po: Update from translation team.
30028
f7bc6495
DM
30029 * po/vi.po: Update from translation team.
30030
6fc9048f
DM
30031 * po/cs.po: Update from translation team.
30032
a181b0d7
DM
30033 * po/de.po: Update from translation team.
30034 * po/eo.po: Likewise.
30035 * po/nl.po: Likewise.
30036
f70bfe80
SP
300372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30038
3c8b4190
SP
30039 [BZ #14246]
30040 * manual/argp.texi (Argp Helper Functions): Move node to follow
30041 Argp Parsing State.
30042
f70bfe80
SP
30043 [BZ #14872]
30044 * manual/conf.texi (Limits on File System Capacity): Mention if
30045 terminating null is included in the max size.
30046
188f0adf
AJ
300472012-12-10 Andreas Jaeger <aj@suse.de>
30048
30049 * po/cs.po: Update from translation team.
30050
56e7d3ad
SP
300512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30052
30053 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30054 void pointer and cast to uintptr_t.
30055 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30056 path.
30057 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30058 * sysdeps/s390/s390-64/memset.S: Likewise.
30059
76f2d2ea 300602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30061
30062 [BZ #14833]
30063 * menual/message.texi (Message Translation): Fix typos.
30064 (Helper programs for gettext): Likewise.
30065
67cbf9a2
AS
300662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30067
30068 [BZ #14898]
30069 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30070 Change to -1.
30071
682d0e9a
DM
300722012-12-07 David S. Miller <davem@davemloft.net>
30073
30074 * po/libc.pot: Update.
30075
573cd484
RH
300762012-12-07 Richard Henderson <rth@redhat.com>
30077
7e9da188 30078 [BZ #10114]
573cd484
RH
30079 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30080 normal/normal case to before the switch.
30081 (_FP_DIV): Likewise.
30082
e933a943
MF
300832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30084 Mike Frysinger <vapier@gentoo.org>
30085
30086 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30087 check for __NR_fadvise64_64.
30088
82123268
CM
300892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30090
30091 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30092 0, not just to plain "0" as a statement.
30093 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30094 with cw.
30095
d9814526
JM
300962012-12-06 Joseph Myers <joseph@codesourcery.com>
30097
30098 * NEWS: Use sourceware.org in Bugzilla URL.
30099
7728c574
SP
301002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30101
f16946dd
SP
30102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30103 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30104
5704bbcb
SP
30105 * stdio-common/tst-put-error.c (do_test): Add newline to the
30106 padded test to ensure flush.
30107
17aa0516
JL
301082012-12-05 Jeff Law <law@redhat.com>
30109
30110 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30111
363313b5
JM
301122012-12-05 Joseph Myers <joseph@codesourcery.com>
30113
effbd42a
JM
30114 * README: Don't refer to ports add-on as distributed separately.
30115 Mention AArch64 in list of systems supported in the ports add-on.
30116
87600365
JM
30117 * LICENSES: Add more non-FSF copyright and license notices.
30118
a0d7066a
JM
30119 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30120 ((unused)).
30121
66ca5a5b
JM
30122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30123
363313b5
JM
30124 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30125 10000 as width of padded output.
30126
b37984ad
JM
301272012-12-04 Joseph Myers <joseph@codesourcery.com>
30128
9003570a
JM
30129 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30130
b37984ad
JM
30131 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30132 variable LX with __attribute__ ((unused)).
30133 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30134 Likewise.
30135 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30138 with __attribute__ ((unused)).
30139
c8df52ec
DM
301402012-12-04 David S. Miller <davem@abraco.davemloft.net>
30141
30142 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30143
b3b099af
JM
301442012-12-04 Joseph Myers <joseph@codesourcery.com>
30145
c33aa6e3
JM
30146 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30147 (CFLAGS-nldbl-acos.c): New variable.
30148 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30149 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30150 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30151 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30152 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30153 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30154 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30155 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30156 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30157 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30158 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30159 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30160 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30161 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30162 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30163 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30164 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30165 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30166 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30167 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30168 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30169 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30170 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30171 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30172 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30173 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30174 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30175 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30176 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30177 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30178 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30179 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30180 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30181 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30182 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30183 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30184 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30185 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30186 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30187 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30188 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30189 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30190 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30191 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30192 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30193 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30194 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30195 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30196 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30197 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30198 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30199 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30200 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30201 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30202 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30203 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30204 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30205 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30206 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30207 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30208 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30209 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30210 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30211 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30212 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30213 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30214 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30215 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30216 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30217 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30218 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30219 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30220 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30221 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30222 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30223 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30224 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30225 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30226 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30227 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30228 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30229 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30230 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30231 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30232 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30233 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30234 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30235 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30236 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30237 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30238 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30239 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30240 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30241 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30242 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30243 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30244 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30245
20f0018d
JM
30246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30247 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30248
b3b099af
JM
30249 [BZ #14914]
30250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30251 whole low double instead of just low 47 bits when splitting values
30252 into two parts.
30253
029264d1
AM
302542012-12-03 Allan McRae <allan@archlinux.org>
30255
30256 * manual/stdio.texi (Predefined Printf Handlers): Remove
30257 @hsep and @vsep usage.
30258
c9d6789e
MF
302592012-12-03 Mike Frysinger <vapier@gentoo.org>
30260
30261 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30262 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30263
4b7634a5
JL
302642012-12-03 Jeff Law <law@redhat.com>
30265
30266 * time/sys/time.h (settimeofday): Do not mark TV argument
30267 as __nonnull.
30268
eb6cbd24
MF
302692012-12-01 Mike Frysinger <vapier@gentoo.org>
30270
30271 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30272 when currently writing and seek to current position when not.
30273 * libio/Makefile (tests): Remove bug-fclose1.
30274 * libio/bug-fclose1.c: Delete.
30275
f638872a
JM
302762012-12-01 Joseph Myers <joseph@codesourcery.com>
30277
30278 * manual/arith.texi (feenableexcept): Fix typo.
30279 (fedisableexcept): Likewise.
30280
48085d14
RM
302812012-11-30 Roland McGrath <roland@hack.frob.com>
30282
30283 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30284 second, differently-typed declaration, rather than a cast.
30285
1a538b9f
SP
302862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30287
30288 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30289 * include/rpc/svc.h: ... here.
30290
d07f2ff1 302912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30292
30293 [BZ #13013]
30294 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30295 depending n and resplen2 to catch cases where answer
30296 equals answerp2.
30297
c93ec1f0
CD
302982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30299
30300 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30301 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30302
37db69de
MF
303032012-11-29 Mike Frysinger <vapier@gentoo.org>
30304
30305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30306
e10c4e4f
RM
303072012-11-29 Roland McGrath <roland@hack.frob.com>
30308
30309 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30310
2af1b328
JL
303112012-11-28 Jeff Law <law@redhat.com>
30312
30313 [BZ #13761]
30314 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30315 dataset_temporary. Track alloca usage into alloca_used.
30316 If dataset is large allocate and release it via malloc/free.
30317
111db5b1
FW
303182012-06-04 Florian Weimer <fweimer@redhat.com>
30319
f06cc227 30320 [BZ #14197]
111db5b1
FW
30321 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30322
dd694abd
DM
303232012-11-28 David S. Miller <davem@davemloft.net>
30324
30325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30326
9984dd01
JM
303272012-11-28 Joseph Myers <joseph@codesourcery.com>
30328
30329 [BZ #14803]
30330 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30331 of pi/2 rounded to nearest to 64 bits.
30332 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30333 nearest to 64 bits.
30334 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30335 bits.
30336
14bc93a9
JL
303372012-11-28 Jeff Law <law@redhat.com>
30338 Martin Osvald <mosvald@redhat.com>
30339
30340 [BZ #14889]
30341 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30342 * sunrpc/svc.c: Include time.h.
30343 (__svc_accept_failed): New function.
30344 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30345 any reason other than EINTR, call __svc_accept_failed.
30346 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30347 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30348
e3c6aa3a
AS
303492012-11-28 Andreas Schwab <schwab@suse.de>
30350
30351 * scripts/abilist.awk: Also handle indirect functions in .opd
30352 section.
30353
1bead169
JM
303542012-11-28 Joseph Myers <joseph@codesourcery.com>
30355
30356 [BZ #13881]
30357 * sysdeps/x86/fpu/powl_helper.c: New file.
30358 * sysdeps/x86/fpu/Makefile: Likewise.
30359 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30360 (p3): New object.
30361 (__ieee754_powl): Use __powl_helper for finite arguments except
30362 integer exponents below 8.
30363 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30364 (p3): New object.
30365 (__ieee754_powl): Use __powl_helper for finite arguments except
30366 integer exponents below 8.
30367 * math/libm-test.inc (pow_test): Add more tests and enable some
30368 previously disabled tests.
30369 * sysdeps/i386/fpu/libm-test-ulps: Update.
30370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30371
0817d63d
SP
303722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30373 Carlos O'Donell <carlos_odonell@mentor.com>
30374
30375 * nss/makedb.c (is_prime): Assert that input is odd and greater
30376 than 4. Note that fact in a comment too.
30377 (next_prime): Add 4 to input.
30378
de2fd463
SP
303792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30380
30381 [BZ #11741]
30382 * libio/Makefile (tests): Add test case tst-fwrite-error.
30383 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30384 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30385 * libio/tst-fwrite-error.c: New test case.
30386
c515fb51
L
303872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30390 before casting to void *.
30391 * include/libc-internal.h (__pointer_type): New macro.
30392 (__integer_if_pointer_type_sub): Likewise.
30393 (__integer_if_pointer_type): Likewise.
30394 (cast_to_integer): Likewise.
30395 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30396 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30397 before casting to atomic64_t.
30398 (atomic_exchange_acq): Likewise.
30399 (__arch_exchange_and_add_body): Likewise.
30400 (__arch_add_body): Likewise.
30401 (atomic_add_negative): Likewise.
30402 (atomic_add_zero): Likewise.
30403
4cf77aa9
JM
304042012-11-26 Joseph Myers <joseph@codesourcery.com>
30405
30406 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30407 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30408 (add_fdes): Likewise.
30409 (linear_search_fdes): Likewise.
30410 (binary_search_unencoded_fdes): Likewise.
30411
d260b3b4
AS
304122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30413
30414 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30415
67060746
AC
304162012-11-24 Adam Conrad <adconrad@0c3.net>
30417
30418 * configure.in: Autodetect C++ header directories.
30419 * configure: Regenerated.
30420
800938a1
MF
304212012-11-23 Mike Frysinger <vapier@gentoo.org>
30422
30423 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30424
4e6e34e6
AS
304252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30426
30427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30428
7c7feb47
JM
304292012-11-22 Joseph Myers <joseph@codesourcery.com>
30430
7184dcdf
JM
30431 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30432 LDBL_MANT_DIG == 106]: Disable some tests.
30433 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30434 Likewise.
30435 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30436 Likewise.
30437
0a42601f
JM
30438 [BZ #14871]
30439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30440 input for small inputs. Return +/- pi/2 for large inputs.
30441 * math/libm-test.inc (atan_test): Add more tests.
30442
79c9b9fe
JM
30443 * sysdeps/generic/unwind-dw2-fde-glibc.c
30444 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30445 __attribute__ ((unused)).
30446
c60d3bf2
JM
30447 [BZ #14645]
30448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30449 x * y if x and y are nonzero and z is zero.
30450
ef1e0867
JM
30451 [BZ #14811]
30452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30453 nonzero exponents with absolute value below 0x1p-117 to +/-
30454 0x1p-117.
30455
1468ded3
JM
30456 [BZ #14869]
30457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30458 up arguments below 2**-450, not just those below 2**-500.
30459 * math/libm-test.inc (hypot_test): Add another test.
30460
8e27e3cc
JM
30461 [BZ #14868]
30462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30463 Return a+b for ratio over 2**120, not 2**60.
30464 * math/libm-test.inc (hypot_test): Add another test.
30465
c9c0279b
JM
30466 * math/libm-test.inc (clog_test): Use
30467 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30468 (clog10_test): Likewise.
30469
7c7feb47
JM
30470 [BZ #6778]
30471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30472
fff1530e
AS
304732012-11-22 Andreas Schwab <schwab@suse.de>
30474
30475 * sysdeps/i386/fpu/libm-test-ulps: Update.
30476
94558d30
PT
304772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30478
30479 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30480 printf output with newline.
30481
7e1be741
L
304822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30483
6bfea974
L
30484 [BZ #14865]
30485 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30486 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30487 -z nodlopen, -z initfirst and -z execstack support.
30488 * configure: Regenerated.
30489
7e1be741
L
30490 * elf/elf.h (DF_1_NODIRECT): New macro.
30491 (DF_1_IGNMULDEF): Likewise.
30492 (DF_1_NOKSYMS): Likewise.
30493 (DF_1_NOHDR): Likewise.
30494 (DF_1_EDITED): Likewise.
30495 (DF_1_NORELOC): Likewise.
30496 (DF_1_SYMINTPOSE): Likewise.
30497 (DF_1_GLOBAUDIT): Likewise.
30498 (DF_1_SINGLETON): Likewise.
30499 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30500 DT_1_SUPPORTED_MASK bits.
30501 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30502
105ce2ce
CD
305032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30504
30505 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30506
123be9de
TS
305072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30508
d072f3f7
TS
30509 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30510 macro.
30511
123be9de
TS
30512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30513 (sendmmsg): Move declarations...
30514 * socket/sys/socket.h: ... here.
30515 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30516 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30517 include it from...
30518 * socket/recvmmsg.c: ... this new file.
30519 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30520 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30521 definition of __sendmmsg hidden.
30522 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30523 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30524 Move ENOSYS stub into and include it from...
30525 * socket/sendmmsg.c: ... this new file.
30526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30527 (sysdep_routines): Move recvmmsg and sendmmsg...
30528 * socket/Makefile (routines): ... here.
30529 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30530 (GLIBC_PRIVATE): Add __sendmmsg.
30531 * include/sys/socket.h (__sendmmsg): Add declarations.
30532 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30533 sendmmsg.
30534
cf9a5d18
JM
305352012-11-20 Joseph Myers <joseph@codesourcery.com>
30536
30537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30538 variable I1 with __attribute__ ((unused)).
30539 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30540
ecd4caf9
JM
305412012-11-19 Joseph Myers <joseph@codesourcery.com>
30542
be14d48f
JM
30543 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30544 DUMMY variables with __attribute__ ((unused)).
30545
ecd4caf9
JM
30546 * bits/byteswap.h: Include <bits/types.h>.
30547 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30548
986cab95
PT
305492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30550
30551 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30552 string_t. Do not manually set errno.
30553 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30554 length with __strnlen. Make sure to both set errno and return it on
30555 failure.
30556
6d33cc9d
DM
305572012-11-19 David S. Miller <davem@davemloft.net>
30558
30559 With help from Joseph Myers.
30560 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30561 very large arguments properly.
30562 * math/libm-test.inc (atan_test): New tests.
30563 (atan2_test): New tests.
30564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30566
ee663277
JM
305672012-11-19 Joseph Myers <joseph@codesourcery.com>
30568
877f2d8e
JM
30569 [BZ #14856]
30570 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30571 Define to 3.
30572
116fc08a
JM
30573 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30574 [POSIX] (EADDRNOTAVAIL): Likewise.
30575 [POSIX] (EAFNOSUPPORT): Likewise.
30576 [POSIX] (EALREADY): Likewise.
30577 [POSIX] (ECONNABORTED): Likewise.
30578 [POSIX] (ECONNREFUSED): Likewise.
30579 [POSIX] (ECONNRESET): Likewise.
30580 [POSIX] (EDESTADDRREQ): Likewise.
30581 [POSIX] (EDQUOT): Likewise.
30582 [POSIX] (EHOSTUNREACH): Likewise.
30583 [POSIX] (EIDRM): Likewise.
30584 [POSIX] (EISCONN): Likewise.
30585 [POSIX] (ELOOP): Likewise.
30586 [POSIX] (EMULTIHOP): Likewise.
30587 [POSIX] (ENETDOWN): Likewise.
30588 [POSIX] (ENETUNREACH): Likewise.
30589 [POSIX] (ENOBUFS): Likewise.
30590 [POSIX] (ENODATA): Likewise.
30591 [POSIX] (ENOLINK): Likewise.
30592 [POSIX] (ENOMSG): Likewise.
30593 [POSIX] (ENOPROTOOPT): Likewise.
30594 [POSIX] (ENOSR): Likewise.
30595 [POSIX] (ENOSTR): Likewise.
30596 [POSIX] (ENOTCONN): Likewise.
30597 [POSIX] (ENOTSOCK): Likewise.
30598 [POSIX] (EOPNOTSUPP): Likewise.
30599 [POSIX] (EOVERFLOW): Likewise.
30600 [POSIX] (EPROTO): Likewise.
30601 [POSIX] (EPROTONOSUPPORT): Likewise.
30602 [POSIX] (EPROTOTYPE): Likewise.
30603 [POSIX] (ESTALE): Likewise.
30604 [POSIX] (ETIME): Likewise.
30605 [POSIX] (ETXTBSY): Likewise.
30606 [POSIX] (EWOULDBLOCK): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30608 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30609 [POSIX] (SEEK_CUR): Likewise.
30610 [POSIX] (SEEK_END): Likewise.
30611 [POSIX || UNIX98] (mode_t): Do not require.
30612 [POSIX] (off_t): Likewise.
30613 [POSIX] (pid_t): Likewise.
30614 [POSIX] (sys/stat.h): Do not allow header.
30615 [POSIX] (unistd.h): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30617 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30619 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30620 require.
30621 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30622 sigevent): Specify elements.
30623 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30624 entry.
30625 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30626 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30627
a483863f
JM
30628 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30629 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30630 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30631 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30632 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30633 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30634 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30635 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30636 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30637 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30638 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30639 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30640 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30641 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30642 Likewise.
30643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30644 Likewise.
30645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30646 Likewise.
30647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30648 Likewise.
30649 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30650 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30651 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30653 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30654 Specify lower bound on value.
30655 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30661 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30662 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30663 value.
30664 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30665 as optional.
30666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30682 entry.
30683 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30684 optional.
30685 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30691 Likewise.
30692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30697 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30699 as optional.
30700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30704 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30705 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30706 specify as optional.
30707 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30710 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30711 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30712 [XPG3] (NL_LANGMAX): Likewise.
30713 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30714 [POSIX || XPG3] (NL_NMAX): Likewise.
30715 [POSIX || XPG3] (NL_SETMAX): Likewise.
30716 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30717 [XPG3] (NZERO): Likewise.
30718 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30719 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30720 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30721 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30722 (REG_ERANGE): Expect.
30723 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30724 optional-constant.
30725 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30726 Use (void) in prototype.
30727 [POSIX] (*_t): Allow.
30728 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30729 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30730 (WRDE_BADVAL): Expect.
30731
5ba924e3
JM
30732 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30733 expect.
30734 [XPG3 || XPG4] (O_RSYNC): Likewise.
30735 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30736 Likewise.
30737 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30738 [XPG3 || XPG4] (sigqueue): Likewise.
30739 [XPG3 || XPG4] (sigtimedwait): Likewise.
30740 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30741 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30742 [XPG3 || XPG4] (vsnprintf): Likewise.
30743 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30744 Likewise.
30745 [XPG3 || XPG4] (blksize_t): Likewise.
30746 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30747 Likewise.
30748 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30749 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30750 [XPG3 || XPG4] (struct itimerspec): Likewise.
30751 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30752 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30753 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30754 [XPG3 || XPG4] (clockid_t): Likewise.
30755 [XPG3 || XPG4] (timer_t): Likewise.
30756 [XPG3 || XPG4] (clock_getres): Likewise.
30757 [XPG3 || XPG4] (clock_gettime): Likewise.
30758 [XPG3 || XPG4] (clock_settime): Likewise.
30759 [XPG3 || XPG4] (nanosleep): Likewise.
30760 [XPG3 || XPG4] (timer_create): Likewise.
30761 [XPG3 || XPG4] (timer_delete): Likewise.
30762 [XPG3 || XPG4] (timer_gettime): Likewise.
30763 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30764 [XPG3 || XPG4] (timer_settime): Likewise.
30765 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30766 [XPG3 || XPG4] (getlogin_r): Likewise.
30767 [XPG3 || XPG4] (pread): Likewise.
30768 [XPG3 || XPG4] (pthread_atfork): Likewise.
30769 [XPG3 || XPG4] (pwrite): Likewise.
30770
ee663277
JM
30771 [BZ #14835]
30772 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30773 <bits/siginfo.h>.
30774
942caa16
PT
307752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30776
e19af380
PT
30777 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30778 finalizing MALLSTREAM.
30779
942caa16
PT
30780 * sysdeps/mach/hurd/syncfs.c: New file.
30781
cfde9b46
SP
307822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30783
30784 [BZ #14719]
30785 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30786 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30787 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30788 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30789 (_nss_dns_gethostbyname4_r): Likewise.
30790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30791 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30792
f6da27e5
PH
307932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30794
30795 [BZ #13763]
30796 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30797
6665d4a2
SM
307982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30799
1f51ee92
SM
30800 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30801 * elf/cache.c (print_entry): Print ",AArch64" for
30802 FLAG_AARCH64_LIB64
30803
6665d4a2
SM
30804 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30805 * elf/cache.c (print_entry): Print ",hard-float" for
30806 FLAG_ARM_LIBHF.
30807
05b227bd
DM
308082012-11-18 David S. Miller <davem@davemloft.net>
30809
30810 With help from Joseph Myers.
30811 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30812 cutoff to 2**-13.
30813 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30814 cutoff to 2**-25.
30815 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30816 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30817 small.
30818 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30819 * math/libm-test.inc (y0_test): New tests.
30820 (y1_test): New tests.
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30824
786b0b67
AS
308252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30826
30827 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30828 64-bit targets.
30829 * configure: Regenerated.
30830
8e18b86d
DM
308312012-11-17 David S. Miller <davem@davemloft.net>
30832
30833 [BZ #14811]
30834 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30835 nonzero exponents with absolute value below 0x1p-128 to +/-
30836 0x1p-128.
30837
531f1ae0
JM
308382012-11-17 Joseph Myers <joseph@codesourcery.com>
30839
12df29e2
JM
30840 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30841
150dc1a0
JM
30842 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30843
531f1ae0
JM
30844 * posix/getconf-speclist.c: New file.
30845 * posix/posix-envs.def: Likewise.
30846 * posix/confstr.c (START_ENV_GROUP): New macro.
30847 (END_ENV_GROUP): Likewise.
30848 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30849 (KNOWN_PRESENT_ENV_STRING): Likewise.
30850 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30851 (UNKNOWN_ENVIRONMENT): Likewise.
30852 (confstr): Include posix-envs.def instead of handling
30853 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30854 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30855 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30856 (END_ENV_GROUP): Likewise.
30857 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30858 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30859 (UNKNOWN_ENVIRONMENT): Likewise.
30860 (__sysconf): Include posix-envs.def instead of handling associated
30861 cases directly here.
30862 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30863 preprocessing getconf-speclist.c rather than running getconf or
30864 generating empty file.
30865
a93f9cbc
PT
308662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30867
30868 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30869
d64d9f87
AL
308702012-11-16 Andrej Lajovic <natrij@gmail.com>
30871
30872 [BZ #14672]
30873 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30874
447885eb
DM
308752012-11-16 David S. Miller <davem@davemloft.net>
30876
30877 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30878 smaller than LDBL_EPSILON/2.0L, just return xm1.
30879
bcbf9830
L
308802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30881
30882 * elf/tst-array1.c (init): Set constructor priority to 1000.
30883 (fini): Set destructor priority to 1000.
30884 * elf/tst-array2dep.c: Likewise.
30885
2b766585
SP
308862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30887
30888 [BZ #11741]
30889 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30890 (_IO_new_file_xsputn): Also return EOF if none of the input
30891 data was written when overflow failed.
30892 * libio/iopadn.c (_IO_padn): Likewise.
30893 * libio/iowpadn.c (_IO_wpadn): Likewise.
30894 * stdio-common/tst-put-error.c: Add copyright notice.
30895 (do_test): Add case for printing padded string.
30896 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30897 _IO_padn returned error.
30898 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30899 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30900 return EOF.
30901
b1848fde
SP
309022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30903
30904 * libio/libioP.h: Add comment note that the references to C++
30905 bits are now obsolete.
30906
2fd89785
MS
309072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30908
30909 * math/libm-test.inc (check_complex): Use asprintf.
30910
e3ea5409
JM
309112012-11-14 Joseph Myers <joseph@codesourcery.com>
30912
30913 * debug/pcprofiledump.c (print_version): Update copyright year.
30914 * malloc/memusagestat.c (print_version): Likewise.
30915
2e64d265
L
309162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30917
30918 [BZ #14831]
30919 * elf/Makefile (tests): Add tst-audit8.
30920 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30921 ($(objpfx)tst-audit8.out): New target.
30922 (tst-audit8-ENV): New variable.
30923 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30924 audit if l_reloc_result is NULL.
30925 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30926 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30927 * elf/tst-audit8.c: New file.
30928
c485e4d2
MS
309292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30930
30931 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30932 * misc/Makefile (CFLAGS-select.c): Define.
30933 * posix/Makefile (CFLAGS-pause.c): Define.
30934
3a0d900a
DM
309352012-11-13 David S. Miller <davem@davemloft.net>
30936
30937 * crypt/Makefile: Move test targets after toplevel Rules
30938 inclusion. Grab any necessary sysdep routines when linking.
30939 * crypt/md5.c (md5_process_block): Remove define, we will always
30940 name it __md5_process_block.
30941 (md5_finish_ctx): Update md5_process_block call.
30942 (md5_stream): Likewise.
30943 (md5_process_bytes): Likewise.
30944 (md5_process_block): Rename to __md5_process_block and move to ...
30945 * crypt/md5-block.c: ... here.
30946 * crypt/sha256.c (sha256_process_block): Move to ...
30947 * crypt/sha256-block.c: ... here.
30948 * crypt/sha512.c (sha512_process_block): Move to ...
30949 * crypt/sha512-block.c: ... here.
30950 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30951 path.
30952 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30953 * sysdeps/sparc/sparc64/multiarch/Makefile
30954 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30955 crypt subdir.
30956 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30958 multiarch changes.
30959 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30960 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30961 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30962 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30963 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30964 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30965 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30966 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30968 file.
30969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30970 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30971 file.
30972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30973
8ca89318
JM
309742012-11-13 Joseph Myers <joseph@codesourcery.com>
30975
e27d476a
JM
30976 * timezone/tzselect.ksh: Update from tzcode git revision
30977 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30978 * timezone/zdump.c: Likewise.
30979 * timezone/zic.c: Likewise.
30980 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30981 in TZVERSION setting, not $(PKGVERSION).
30982 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30983 REPORT_BUGS_TO settings.
30984
8ca89318
JM
30985 [BZ #14838]
30986 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30987 macro.
30988
47594329
MS
309892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30990
30991 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30992 detection to immediately after _FP_ROUND().
30993 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30994 bits are 0.
30995
640ac3f1
DM
309962012-11-11 David S. Miller <davem@davemloft.net>
30997
30998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30999 inttypes.h
31000 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31001 __close rather than their public counterparts.
31002
3d2577bb
JM
310032012-11-10 Joseph Myers <joseph@codesourcery.com>
31004
31005 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31006 file.
31007 [UNIX98] (sem_timedwait): Do not expect.
31008 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31009 [XPG4 || UNIX98] (sockatmark): Do not expect.
31010 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31011 (clock_getcpuclockid): Do not expect.
31012 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31013 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31014 Do not expect.
31015 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31016 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31017 [UNIX98] (vwscanf): Likewise.
31018 [UNIX98] (vswscanf): Likewise.
31019
fb1ae1ee
JM
310202012-11-09 Joseph Myers <joseph@codesourcery.com>
31021
9ec6f8bd
JM
31022 * timezone/version.h: Remove file.
31023 * timezone/README: Do not refer to version.h.
31024 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31025 $(objpfx)version.h.
31026 ($(objpfx)zdump.o): Likewise.
c3f81911 31027 ($(objpfx)version.h): New target.
9ec6f8bd 31028
0aa8f8a1
JM
31029 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31030 2012i.
31031 * timezone/README: Don't mention modification to tzselect.ksh.
31032 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31033 work on unmodified tzselect.ksh. Substitute version numbers in
31034 tzselect.ksh.
31035
4e87147f
JM
31036 * Makefile (format-me): Remove.
31037 (INSTALL): Adjust indentation. Use commands directly instead of
31038 using $(format-me).
31039
8b748aed
JM
31040 * aclocal.m4 (ACX_PKGVERSION): New macro.
31041 (ACX_BUGURL): Likewise.
31042 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31043 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31044 (REPORT_BUGS_TO): Likewise.
31045 * configure: Regenerated.
31046 * config.h.in (PKGVERSION): New macro.
31047 (REPORT_BUGS_TO): Likewise.
31048 * config.make.in (PKGVERSION): New variable.
31049 (PKGVERSION_TEXI): Likewise.
31050 (REPORT_BUGS_TO): Likewise.
31051 (REPORT_BUGS_TEXI): Likewise.
31052 * Makefile (format-me): Use -I$(common-objpfx)manual.
31053 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31054 ($(common-objpfx)manual/%): New target.
31055 (manual/%): Remove target.
31056 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31057 (print_version): Use PKGVERSION.
31058 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31059 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31060 and REPORT_BUGS_TO.
31061 ($(objpfx)xtrace): Likewise.
31062 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31063 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31064 (print_version): Use PKGVERSION.
31065 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31066 (do_version): Use PKGVERSION.
31067 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31068 REPORT_BUGS_TO.
31069 (common-ldd-rewrite): Likewise.
31070 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31071 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31072 (print_version): Use PKGVERSION.
31073 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31074 * elf/pldd.c (argp_program_bug_address): Remove variable.
31075 (more_help): New function.
31076 (argp): Use more_help.
31077 (print_version): Use PKGVERSION.
31078 * elf/sln.c (main): Use PKGVERSION.
31079 (usage): Use REPORT_BUGS_TO.
31080 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31081 (top level): Use PKGVERSION.
31082 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31083 (print_version): Use PKGVERSION.
31084 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31085 (print_version): Use PKGVERSION.
31086 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31087 (print_version): Use PKGVERSION.
31088 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31089 (print_version): Use PKGVERSION.
31090 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31091 (print_version): Use PKGVERSION.
31092 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31093 (print_version): Use PKGVERSION.
31094 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31095 and BUGURL.
31096 ($(objpfx)memusage): Likewise.
31097 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31098 (do_version): Use PKGVERSION.
31099 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31100 (print_version): Use PKGVERSION.
31101 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31102 ($PKGVERSION): New variable.
31103 ($REPORT_BUGS_TO): Likewise.
31104 (usage): Use $REPORT_BUGS_TO.
31105 (top level): Use $PKGVERSION.
31106 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31107 ($(objpfx)pkgvers.texi): New rule.
31108 ($(objpfx)stamp-pkgvers): Likewise.
31109 * manual/install.texi: Include pkgvers.texi.
31110 (--with-pkgversion): Document new configure option.
31111 (--with-bugurl): Likewise.
31112 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31113 than necessarily for this particular distribution. Use
31114 REPORT_BUGS_TO for where to report bugs.
31115 * INSTALL: Regenerated.
31116 * manual/libc.texinfo: Include pkgvers.texi.
31117 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31118 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31119 (print_version): Use PKGVERSION.
31120 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31121 (print_version): Use PKGVERSION.
31122 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31123 (print_version): Use PKGVERSION.
31124 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31125 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31126 macro.
31127 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31128 (print_version): Use PKGVERSION.
31129 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31130 (print_version): Use PKGVERSION.
31131 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31132 and PKGVERSION.
31133
92e4b6a9
JM
31134 * timezone/checktab.awk: Update from tzcode 2012i.
31135 * timezone/ialloc.c: Likewise.
31136 * timezone/private.h: Likewise.
31137 * timezone/scheck.c: Likewise.
31138 * timezone/tzfile.h: Likewise.
31139 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31140 (TZVERSION): Hardcode tzcode version number.
31141 * timezone/zdump.c: Update from tzcode 2012i.
31142 * timezone/zic.c: Likewise.
31143 * timezone/version.h: New file.
31144 * timezone/README: Describe version.h. Update upstream location.
31145
9bde902c
JM
31146 [BZ #14824]
31147 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31148 (mktemp): Enable declaration.
31149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31153 Likewise.
31154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31155 Likewise.
31156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31157 Likewise.
31158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31159 Likewise.
31160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31161 Likewise.
31162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31163 Likewise.
31164
fb1ae1ee
JM
31165 [BZ #14821]
31166 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31167 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31168 for copies of such integer values.
31169 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31170 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31171
2c1adbcb
AJ
311722012-11-09 Andreas Jaeger <aj@suse.de>
31173
31174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31175 definitions and declarations that are provided by
31176 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31177
d0f8457e
AK
311782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31179
3a235abb 31180 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31181 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31182 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31183 definition.
31184
57241e26
MS
311852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31186
31187 * elf/elf.h: Update comment before AArch64 relocations.
31188
60e8270d
DM
311892012-11-07 David S. Miller <davem@davemloft.net>
31190
31191 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31192 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31193 (__start_context): Declare.
31194 (__makecontext_ret): Delete.
31195 (__makecontext): Hook up __start_context instead of
31196 __makecontext_ret.
31197 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31198 (sysdep_routines): Add __start_context when in stdlib.
31199
0fbb0fbc
JM
312002012-11-07 Joseph Myers <joseph@codesourcery.com>
31201
31202 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31203 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31204 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31205 hardcoded "nm".
31206 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31207 (READELF): New variable. Use it instead of hardcoded "readelf".
31208
eb48db7e
L
312092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31210
31211 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31212 * sysdeps/x86/Makefile: Here.
31213 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31214 * sysdeps/x86/tst-xmmymm.sh: This.
31215
05bcf62a
JM
312162012-11-07 Joseph Myers <joseph@codesourcery.com>
31217
c4b6cf53
JM
31218 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31219 expectations.
31220 [UNIX98] (pthread_barrier_t): Do not expect.
31221 [UNIX98] (pthread_barrierattr_t): Likewise.
31222 [UNIX98] (pthread_spinlock_t): Likewise.
31223 [UNIX98] (pthread_barrier_destroy): Likewise.
31224 [UNIX98] (pthread_barrier_init): Likewise.
31225 [UNIX98] (pthread_barrier_wait): Likewise.
31226 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31227 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31228 [UNIX98] (pthread_barrierattr_init): Likewise.
31229 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31230 [UNIX98] (pthread_getcpuclockid): Likewise.
31231 [UNIX98] (pthread_mutex_timedlock): Likewise.
31232 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31233 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31234 [UNIX98] (pthread_sigmask): Likewise.
31235 [UNIX98] (pthread_spin_destroy): Likewise.
31236 [UNIX98] (pthread_spin_init): Likewise.
31237 [UNIX98] (pthread_spin_lock): Likewise.
31238 [UNIX98] (pthread_spin_trylock): Likewise.
31239 [UNIX98] (pthread_spin_unlock): Likewise.
31240 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31241 Do not expect.
31242 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31243 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31244 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31245 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31246 [XPG3 || XPG4] (pthread_key_t): Likewise.
31247 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31248 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31249 [XPG3 || XPG4] (pthread_once_t): Likewise.
31250 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31251 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31253 [XPG3 || XPG4] (pthread_t): Likewise.
31254
cbe6e120
JM
31255 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31256 not expect.
31257 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31258
1b126443
JM
31259 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31260 Change function return type to int.
31261
b961a573
JM
31262 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31263 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31264 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31265 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31266 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31267 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31268 [!POSIX] (posix_madvise): Likewise.
31269 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31270 && !UNIX98].
31271 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31272 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31273 (mode_t): Likewise.
31274 (posix_mem_offset): Likewise.
31275 (posix_typed_mem_get_info): Likewise.
31276 (posix_typed_mem_open): Likewise.
31277
9e188909
JM
31278 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31279 Change condition to [XOPEN2K8].
31280
05bcf62a
JM
31281 * conform/conformtest.pl: Preprocess allow-header data with -x c
31282 instead of from stdin.
31283 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31284 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31285 [C99-based standards] (cerfc): Likewise.
31286 [C99-based standards] (cexp2): Likewise.
31287 [C99-based standards] (cexpm1): Likewise.
31288 [C99-based standards] (clog10): Likewise.
31289 [C99-based standards] (clog1p): Likewise.
31290 [C99-based standards] (clog2): Likewise.
31291 [C99-based standards] (clgamma): Likewise.
31292 [C99-based standards] (ctgamma): Likewise.
31293 [C99-based standards] (cerff): Likewise.
31294 [C99-based standards] (cerfcf): Likewise.
31295 [C99-based standards] (cexp2f): Likewise.
31296 [C99-based standards] (cexpm1f): Likewise.
31297 [C99-based standards] (clog10f): Likewise.
31298 [C99-based standards] (clog1pf): Likewise.
31299 [C99-based standards] (clog2f): Likewise.
31300 [C99-based standards] (clgammaf): Likewise.
31301 [C99-based standards] (ctgammaf): Likewise.
31302 [C99-based standards] (cerfl): Likewise.
31303 [C99-based standards] (cerfcl): Likewise.
31304 [C99-based standards] (cexp2l): Likewise.
31305 [C99-based standards] (cexpm1l): Likewise.
31306 [C99-based standards] (clog10l): Likewise.
31307 [C99-based standards] (clog1pl): Likewise.
31308 [C99-based standards] (clog2l): Likewise.
31309 [C99-based standards] (clgammal): Likewise.
31310 [C99-based standards] (ctgammal): Likewise.
31311 * conform/data/inttypes.h-data [C99-based standards]: Include
31312 stdint.h-data. Remove all expectations for stdint.h contents.
31313 [C99-based standards] (PRI*): Do not allow.
31314 [C99-based standards] (SCN*): Likewise.
31315 [C99-based standards] (*_t): Likewise.
31316 [C99-based-standards] (PRId8): Expect macro.
31317 [C99-based-standards] (PRIi8): Likewise.
31318 [C99-based-standards] (PRIo8): Likewise.
31319 [C99-based-standards] (PRIu8): Likewise.
31320 [C99-based-standards] (PRIx8): Likewise.
31321 [C99-based-standards] (PRIX8): Likewise.
31322 [C99-based-standards] (SCNd8): Likewise.
31323 [C99-based-standards] (SCNi8): Likewise.
31324 [C99-based-standards] (SCNo8): Likewise.
31325 [C99-based-standards] (SCNu8): Likewise.
31326 [C99-based-standards] (SCNx8): Likewise.
31327 [C99-based-standards] (PRIdLEAST8): Likewise.
31328 [C99-based-standards] (PRIiLEAST8): Likewise.
31329 [C99-based-standards] (PRIoLEAST8): Likewise.
31330 [C99-based-standards] (PRIuLEAST8): Likewise.
31331 [C99-based-standards] (PRIxLEAST8): Likewise.
31332 [C99-based-standards] (PRIXLEAST8): Likewise.
31333 [C99-based-standards] (SCNdLEAST8): Likewise.
31334 [C99-based-standards] (SCNiLEAST8): Likewise.
31335 [C99-based-standards] (SCNoLEAST8): Likewise.
31336 [C99-based-standards] (SCNuLEAST8): Likewise.
31337 [C99-based-standards] (SCNxLEAST8): Likewise.
31338 [C99-based-standards] (PRIdFAST8): Likewise.
31339 [C99-based-standards] (PRIiFAST8): Likewise.
31340 [C99-based-standards] (PRIoFAST8): Likewise.
31341 [C99-based-standards] (PRIuFAST8): Likewise.
31342 [C99-based-standards] (PRIxFAST8): Likewise.
31343 [C99-based-standards] (PRIXFAST8): Likewise.
31344 [C99-based-standards] (SCNdFAST8): Likewise.
31345 [C99-based-standards] (SCNiFAST8): Likewise.
31346 [C99-based-standards] (SCNoFAST8): Likewise.
31347 [C99-based-standards] (SCNuFAST8): Likewise.
31348 [C99-based-standards] (SCNxFAST8): Likewise.
31349 [C99-based-standards] (PRId16): Likewise.
31350 [C99-based-standards] (PRIi16): Likewise.
31351 [C99-based-standards] (PRIo16): Likewise.
31352 [C99-based-standards] (PRIu16): Likewise.
31353 [C99-based-standards] (PRIx16): Likewise.
31354 [C99-based-standards] (PRIX16): Likewise.
31355 [C99-based-standards] (SCNd16): Likewise.
31356 [C99-based-standards] (SCNi16): Likewise.
31357 [C99-based-standards] (SCNo16): Likewise.
31358 [C99-based-standards] (SCNu16): Likewise.
31359 [C99-based-standards] (SCNx16): Likewise.
31360 [C99-based-standards] (PRIdLEAST16): Likewise.
31361 [C99-based-standards] (PRIiLEAST16): Likewise.
31362 [C99-based-standards] (PRIoLEAST16): Likewise.
31363 [C99-based-standards] (PRIuLEAST16): Likewise.
31364 [C99-based-standards] (PRIxLEAST16): Likewise.
31365 [C99-based-standards] (PRIXLEAST16): Likewise.
31366 [C99-based-standards] (SCNdLEAST16): Likewise.
31367 [C99-based-standards] (SCNiLEAST16): Likewise.
31368 [C99-based-standards] (SCNoLEAST16): Likewise.
31369 [C99-based-standards] (SCNuLEAST16): Likewise.
31370 [C99-based-standards] (SCNxLEAST16): Likewise.
31371 [C99-based-standards] (PRIdFAST16): Likewise.
31372 [C99-based-standards] (PRIiFAST16): Likewise.
31373 [C99-based-standards] (PRIoFAST16): Likewise.
31374 [C99-based-standards] (PRIuFAST16): Likewise.
31375 [C99-based-standards] (PRIxFAST16): Likewise.
31376 [C99-based-standards] (PRIXFAST16): Likewise.
31377 [C99-based-standards] (SCNdFAST16): Likewise.
31378 [C99-based-standards] (SCNiFAST16): Likewise.
31379 [C99-based-standards] (SCNoFAST16): Likewise.
31380 [C99-based-standards] (SCNuFAST16): Likewise.
31381 [C99-based-standards] (SCNxFAST16): Likewise.
31382 [C99-based-standards] (PRId32): Likewise.
31383 [C99-based-standards] (PRIi32): Likewise.
31384 [C99-based-standards] (PRIo32): Likewise.
31385 [C99-based-standards] (PRIu32): Likewise.
31386 [C99-based-standards] (PRIx32): Likewise.
31387 [C99-based-standards] (PRIX32): Likewise.
31388 [C99-based-standards] (SCNd32): Likewise.
31389 [C99-based-standards] (SCNi32): Likewise.
31390 [C99-based-standards] (SCNo32): Likewise.
31391 [C99-based-standards] (SCNu32): Likewise.
31392 [C99-based-standards] (SCNx32): Likewise.
31393 [C99-based-standards] (PRIdLEAST32): Likewise.
31394 [C99-based-standards] (PRIiLEAST32): Likewise.
31395 [C99-based-standards] (PRIoLEAST32): Likewise.
31396 [C99-based-standards] (PRIuLEAST32): Likewise.
31397 [C99-based-standards] (PRIxLEAST32): Likewise.
31398 [C99-based-standards] (PRIXLEAST32): Likewise.
31399 [C99-based-standards] (SCNdLEAST32): Likewise.
31400 [C99-based-standards] (SCNiLEAST32): Likewise.
31401 [C99-based-standards] (SCNoLEAST32): Likewise.
31402 [C99-based-standards] (SCNuLEAST32): Likewise.
31403 [C99-based-standards] (SCNxLEAST32): Likewise.
31404 [C99-based-standards] (PRIdFAST32): Likewise.
31405 [C99-based-standards] (PRIiFAST32): Likewise.
31406 [C99-based-standards] (PRIoFAST32): Likewise.
31407 [C99-based-standards] (PRIuFAST32): Likewise.
31408 [C99-based-standards] (PRIxFAST32): Likewise.
31409 [C99-based-standards] (PRIXFAST32): Likewise.
31410 [C99-based-standards] (SCNdFAST32): Likewise.
31411 [C99-based-standards] (SCNiFAST32): Likewise.
31412 [C99-based-standards] (SCNoFAST32): Likewise.
31413 [C99-based-standards] (SCNuFAST32): Likewise.
31414 [C99-based-standards] (SCNxFAST32): Likewise.
31415 [C99-based-standards] (PRId64): Likewise.
31416 [C99-based-standards] (PRIi64): Likewise.
31417 [C99-based-standards] (PRIo64): Likewise.
31418 [C99-based-standards] (PRIu64): Likewise.
31419 [C99-based-standards] (PRIx64): Likewise.
31420 [C99-based-standards] (PRIX64): Likewise.
31421 [C99-based-standards] (SCNd64): Likewise.
31422 [C99-based-standards] (SCNi64): Likewise.
31423 [C99-based-standards] (SCNo64): Likewise.
31424 [C99-based-standards] (SCNu64): Likewise.
31425 [C99-based-standards] (SCNx64): Likewise.
31426 [C99-based-standards] (PRIdLEAST64): Likewise.
31427 [C99-based-standards] (PRIiLEAST64): Likewise.
31428 [C99-based-standards] (PRIoLEAST64): Likewise.
31429 [C99-based-standards] (PRIuLEAST64): Likewise.
31430 [C99-based-standards] (PRIxLEAST64): Likewise.
31431 [C99-based-standards] (PRIXLEAST64): Likewise.
31432 [C99-based-standards] (SCNdLEAST64): Likewise.
31433 [C99-based-standards] (SCNiLEAST64): Likewise.
31434 [C99-based-standards] (SCNoLEAST64): Likewise.
31435 [C99-based-standards] (SCNuLEAST64): Likewise.
31436 [C99-based-standards] (SCNxLEAST64): Likewise.
31437 [C99-based-standards] (PRIdFAST64): Likewise.
31438 [C99-based-standards] (PRIiFAST64): Likewise.
31439 [C99-based-standards] (PRIoFAST64): Likewise.
31440 [C99-based-standards] (PRIuFAST64): Likewise.
31441 [C99-based-standards] (PRIxFAST64): Likewise.
31442 [C99-based-standards] (PRIXFAST64): Likewise.
31443 [C99-based-standards] (SCNdFAST64): Likewise.
31444 [C99-based-standards] (SCNiFAST64): Likewise.
31445 [C99-based-standards] (SCNoFAST64): Likewise.
31446 [C99-based-standards] (SCNuFAST64): Likewise.
31447 [C99-based-standards] (SCNxFAST64): Likewise.
31448 [C99-based-standards] (PRIdMAX): Likewise.
31449 [C99-based-standards] (PRIiMAX): Likewise.
31450 [C99-based-standards] (PRIoMAX): Likewise.
31451 [C99-based-standards] (PRIuMAX): Likewise.
31452 [C99-based-standards] (PRIxMAX): Likewise.
31453 [C99-based-standards] (PRIXMAX): Likewise.
31454 [C99-based-standards] (SCNdMAX): Likewise.
31455 [C99-based-standards] (SCNiMAX): Likewise.
31456 [C99-based-standards] (SCNoMAX): Likewise.
31457 [C99-based-standards] (SCNuMAX): Likewise.
31458 [C99-based-standards] (SCNxMAX): Likewise.
31459 [C99-based-standards] (PRIdPTR): Likewise.
31460 [C99-based-standards] (PRIiPTR): Likewise.
31461 [C99-based-standards] (PRIoPTR): Likewise.
31462 [C99-based-standards] (PRIuPTR): Likewise.
31463 [C99-based-standards] (PRIxPTR): Likewise.
31464 [C99-based-standards] (PRIXPTR): Likewise.
31465 [C99-based-standards] (SCNdPTR): Likewise.
31466 [C99-based-standards] (SCNiPTR): Likewise.
31467 [C99-based-standards] (SCNoPTR): Likewise.
31468 [C99-based-standards] (SCNuPTR): Likewise.
31469 [C99-based-standards] (SCNxPTR): Likewise.
31470 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31471 allow.
31472 * conform/data/stdint.h-data: Update comments to clarify
31473 requirements.
31474 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31475 type.
31476 [C99-based standards] (INT8_MAX): Likewise.
31477 [C99-based standards] (INT16_MIN): Likewise.
31478 [C99-based standards] (INT16_MAX): Likewise.
31479 [C99-based standards] (INT32_MIN): Likewise.
31480 [C99-based standards] (INT32_MAX): Likewise.
31481 [C99-based standards] (INT64_MIN): Likewise.
31482 [C99-based standards] (INT64_MAX): Likewise.
31483 [C99-based standards] (UINT8_MAX): Likewise.
31484 [C99-based standards] (UINT16_MAX): Likewise.
31485 [C99-based standards] (UINT32_MAX): Likewise.
31486 [C99-based standards] (UINT64_MAX): Likewise.
31487 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31488 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31489 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31490 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31491 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31492 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31493 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31494 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31495 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31496 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31497 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31498 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31499 [C99-based standards] (INT_FAST8_MIN): Likewise.
31500 [C99-based standards] (INT_FAST8_MAX): Likewise.
31501 [C99-based standards] (INT_FAST16_MIN): Likewise.
31502 [C99-based standards] (INT_FAST16_MAX): Likewise.
31503 [C99-based standards] (INT_FAST32_MIN): Likewise.
31504 [C99-based standards] (INT_FAST32_MAX): Likewise.
31505 [C99-based standards] (INT_FAST64_MIN): Likewise.
31506 [C99-based standards] (INT_FAST64_MAX): Likewise.
31507 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31508 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31509 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31510 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31511 [C99-based standards] (INTPTR_MIN): Likewise.
31512 [C99-based standards] (INTPTR_MAX): Likewise.
31513 [C99-based standards] (UINTPTR_MAX): Likewise.
31514 [C99-based standards] (INTMAX_MIN): Likewise.
31515 [C99-based standards] (INTMAX_MAX): Likewise.
31516 [C99-based standards] (UINTMAX_MAX): Likewise.
31517 [C99-based standards] (PTRDIFF_MIN): Likewise.
31518 [C99-based standards] (PTRDIFF_MAX): Likewise.
31519 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31520 [C99-based standards] (SIZE_MAX): Likewise.
31521 [C99-based standards] (WCHAR_MAX): Likewise.
31522 [C99-based standards] (WINT_MAX): Likewise.
31523 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31524 constraint on value.
31525 [C99-based standards] (WCHAR_MIN): Likewise.
31526 [C99-based standards] (WINT_MIN): Likewise.
31527 [C99-based standards] (*_t): Allow.
31528 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31529 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31530 Include math.h-data and complex.h-data. Remove all expectations
31531 of math.h and complex.h contents.
31532 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31533 at end of line.
31534 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31535 (struct tm): Expect tag.
31536 [C99-based-standards] (wcstof): Expect function.
31537 [C99-based-standards] (wcstold): Likewise.
31538 [C99-based-standards] (wcstoll): Likewise.
31539 [C99-based-standards] (wcstoull): Likewise.
31540 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31541 macro-int-constant. Specify type.
31542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31543 constraint on value.
31544 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31545 Specify type.
31546 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31547 Specify value.
31548 [ISO C standards]: Do not allow headers.
31549 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31550 wcs[abcdefghijklmnopqrstuvwxyz]*.
31551 [ISO C standards] (*_t): Do not allow.
31552 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31553 Expect function.
31554 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31555 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31556 Specify type.
31557 [ISO C standards]: Do not allow headers.
31558 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31559 is[abcdefghijklmnopqrstuvwxyz]*.
31560 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31561 to[abcdefghijklmnopqrstuvwxyz]*.
31562 [ISO C standards] (*_t): Do not allow.
31563 * conform/data/stdalign.h-data: New file.
31564 * conform/data/stdbool.h-data: Likewise.
31565 * conform/data/stdnoreturn.h-data: Likewise.
31566
7514feb8
RM
315672012-11-07 Roland McGrath <roland@hack.frob.com>
31568
31569 [BZ #14815]
31570 * manual/filesys.texi (Directory Entries): Typo fix.
31571 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31572
19b2ecfc
MS
315732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31574
31575 * elf/elf.h (EM_AARCH64): New macro.
31576 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31577 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31578 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31579 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31580 (R_AARCH64_TLSDESC): Likewise.
31581 (NT_ARM_TLS): Likewise.
31582 (NT_ARM_HW_BREAK): Likewise.
31583 (NT_ARM_HW_WATCH): Likewise.
31584
60e235ee
JM
315852012-11-07 Joseph Myers <joseph@codesourcery.com>
31586
31587 [BZ #14811]
31588 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31589 (__ieee754_powl): Saturate nonzero exponents with absolute value
31590 below 0x1p-79 to +/- 0x1p-79.
31591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31592 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31594 nonzero exponents with absolute value below 0x1p-32 to +/-
31595 0x1p-32.
31596 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31597 (__ieee754_powl): Saturate nonzero exponents with absolute value
31598 below 0x1p-79 to +/- 0x1p-79.
31599 * math/libm-test.inc (pow_test): Add more tests.
31600
0ab234b7
AK
316012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31602
31603 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31604 _dl_s390_cap_flags with kernel. Increase string length.
31605 (_dl_s390_platforms): Add z196 and zEC12.
31606
45832f74
JM
316072012-11-07 Joseph Myers <joseph@codesourcery.com>
31608
31609 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31610 Change XOPEN21K to XOPEN2K.
31611
19218757
MK
316122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31613
31614 * string/memmove.c: Use memcpy when possible.
31615
c5f45721
AJ
316162012-11-06 Andreas Jaeger <aj@suse.de>
31617
31618 * po/eo.po: Update from translation team.
31619
82477c28
JM
316202012-11-06 Joseph Myers <joseph@codesourcery.com>
31621
31622 [BZ #14793]
31623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31624 exponent and small x and y exponents, scale x or y up. Increase
31625 by 2 the exponent used in scaling up.
31626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31628 * math/libm-test.inc (fma_test): Add more tests.
31629 (fma_test_towardzero): Likewise.
31630 (fma_test_downward): Likewise.
31631 (fma_test_upward): Likewise.
31632
99252c8c
JM
316332012-11-05 Joseph Myers <joseph@codesourcery.com>
31634
acfa885f
JM
31635 [BZ #14805]
31636 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31637 fenv_t *.
31638
99252c8c
JM
31639 [BZ #14801]
31640 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31641 namespace for names of struct fields.
31642 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31643 fenv_t fields.
31644 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31645 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31646
d6d98dea
ST
316472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31648
31649 [BZ #3665]
31650 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31651
e10bb107
TS
316522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31653
31654 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31655 PTR_DEMANGLE.
31656
31657 [BZ #5246]
31658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31659 PTR_DEMANGLE.
31660
a0c2940d
JM
316612012-11-04 Joseph Myers <joseph@codesourcery.com>
31662
31663 [BZ #14797]
31664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31665 definitely overflow as x * y not x * y + z.
31666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31668 * math/libm-test.inc (fma_test): Add more tests.
31669 (fma_test_towardzero): Likewise.
31670 (fma_test_downward): Likewise.
31671 (fma_test_upward): Likewise.
31672
b830319d
TS
316732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31674
31675 [BZ #157]
31676
31677 * include/stub-tag.h: Remove file.
31678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31679 '#include' of it.
31680 * manual/maint.texi (Porting): Don't reference it.
31681 * Makerules ($(objpfx)stubs): Likewise.
31682 * dirent/closedir.c: Don't include <stub-tag.h>.
31683 * dirent/dirfd.c: Likewise.
31684 * dirent/fdopendir.c: Likewise.
31685 * dirent/getdents.c: Likewise.
31686 * dirent/getdents64.c: Likewise.
31687 * dirent/opendir.c: Likewise.
31688 * dirent/readdir.c: Likewise.
31689 * dirent/readdir64.c: Likewise.
31690 * dirent/readdir64_r.c: Likewise.
31691 * dirent/readdir_r.c: Likewise.
31692 * dirent/rewinddir.c: Likewise.
31693 * dirent/seekdir.c: Likewise.
31694 * dirent/telldir.c: Likewise.
31695 * gmon/profil.c: Likewise.
31696 * grp/setgroups.c: Likewise.
31697 * inet/if_index.c: Likewise.
31698 * io/access.c: Likewise.
31699 * io/chdir.c: Likewise.
31700 * io/chmod.c: Likewise.
31701 * io/chown.c: Likewise.
31702 * io/close.c: Likewise.
31703 * io/dup.c: Likewise.
31704 * io/dup2.c: Likewise.
31705 * io/dup3.c: Likewise.
31706 * io/euidaccess.c: Likewise.
31707 * io/faccessat.c: Likewise.
31708 * io/fchdir.c: Likewise.
31709 * io/fchmod.c: Likewise.
31710 * io/fchmodat.c: Likewise.
31711 * io/fchown.c: Likewise.
31712 * io/fchownat.c: Likewise.
31713 * io/fcntl.c: Likewise.
31714 * io/flock.c: Likewise.
31715 * io/fstatfs.c: Likewise.
31716 * io/fstatfs64.c: Likewise.
31717 * io/fstatvfs.c: Likewise.
31718 * io/fstatvfs64.c: Likewise.
31719 * io/futimens.c: Likewise.
31720 * io/fxstat.c: Likewise.
31721 * io/fxstat64.c: Likewise.
31722 * io/fxstatat.c: Likewise.
31723 * io/fxstatat64.c: Likewise.
31724 * io/getcwd.c: Likewise.
31725 * io/isatty.c: Likewise.
31726 * io/lchmod.c: Likewise.
31727 * io/lchown.c: Likewise.
31728 * io/link.c: Likewise.
31729 * io/linkat.c: Likewise.
31730 * io/lseek.c: Likewise.
31731 * io/lseek64.c: Likewise.
31732 * io/lxstat64.c: Likewise.
31733 * io/mkdir.c: Likewise.
31734 * io/mkdirat.c: Likewise.
31735 * io/mkfifo.c: Likewise.
31736 * io/mkfifoat.c: Likewise.
31737 * io/open.c: Likewise.
31738 * io/open64.c: Likewise.
31739 * io/openat.c: Likewise.
31740 * io/openat64.c: Likewise.
31741 * io/pipe.c: Likewise.
31742 * io/pipe2.c: Likewise.
31743 * io/poll.c: Likewise.
31744 * io/posix_fadvise.c: Likewise.
31745 * io/posix_fadvise64.c: Likewise.
31746 * io/posix_fallocate.c: Likewise.
31747 * io/posix_fallocate64.c: Likewise.
31748 * io/read.c: Likewise.
31749 * io/readlink.c: Likewise.
31750 * io/readlinkat.c: Likewise.
31751 * io/rmdir.c: Likewise.
31752 * io/sendfile.c: Likewise.
31753 * io/sendfile64.c: Likewise.
31754 * io/statfs.c: Likewise.
31755 * io/statfs64.c: Likewise.
31756 * io/statvfs.c: Likewise.
31757 * io/statvfs64.c: Likewise.
31758 * io/symlink.c: Likewise.
31759 * io/symlinkat.c: Likewise.
31760 * io/ttyname.c: Likewise.
31761 * io/ttyname_r.c: Likewise.
31762 * io/umask.c: Likewise.
31763 * io/unlink.c: Likewise.
31764 * io/unlinkat.c: Likewise.
31765 * io/utime.c: Likewise.
31766 * io/utimensat.c: Likewise.
31767 * io/write.c: Likewise.
31768 * io/xmknod.c: Likewise.
31769 * io/xmknodat.c: Likewise.
31770 * io/xstat.c: Likewise.
31771 * io/xstat64.c: Likewise.
31772 * login/getpt.c: Likewise.
31773 * login/grantpt.c: Likewise.
31774 * login/unlockpt.c: Likewise.
31775 * math/e_acoshl.c: Likewise.
31776 * math/e_acosl.c: Likewise.
31777 * math/e_asinl.c: Likewise.
31778 * math/e_atan2l.c: Likewise.
31779 * math/e_atanhl.c: Likewise.
31780 * math/e_coshl.c: Likewise.
31781 * math/e_expl.c: Likewise.
31782 * math/e_fmodl.c: Likewise.
31783 * math/e_gammal_r.c: Likewise.
31784 * math/e_hypotl.c: Likewise.
31785 * math/e_j0l.c: Likewise.
31786 * math/e_j1l.c: Likewise.
31787 * math/e_jnl.c: Likewise.
31788 * math/e_lgammal_r.c: Likewise.
31789 * math/e_log10l.c: Likewise.
31790 * math/e_log2l.c: Likewise.
31791 * math/e_logl.c: Likewise.
31792 * math/e_powl.c: Likewise.
31793 * math/e_rem_pio2l.c: Likewise.
31794 * math/e_sinhl.c: Likewise.
31795 * math/e_sqrtl.c: Likewise.
31796 * math/fclrexcpt.c: Likewise.
31797 * math/fedisblxcpt.c: Likewise.
31798 * math/feenablxcpt.c: Likewise.
31799 * math/fegetenv.c: Likewise.
31800 * math/fegetexcept.c: Likewise.
31801 * math/fegetround.c: Likewise.
31802 * math/feholdexcpt.c: Likewise.
31803 * math/fesetenv.c: Likewise.
31804 * math/fesetround.c: Likewise.
31805 * math/feupdateenv.c: Likewise.
31806 * math/fgetexcptflg.c: Likewise.
31807 * math/fraiseexcpt.c: Likewise.
31808 * math/fsetexcptflg.c: Likewise.
31809 * math/ftestexcept.c: Likewise.
31810 * math/k_cosl.c: Likewise.
31811 * math/k_rem_pio2l.c: Likewise.
31812 * math/k_sinl.c: Likewise.
31813 * math/k_tanl.c: Likewise.
31814 * math/s_asinhl.c: Likewise.
31815 * math/s_atanl.c: Likewise.
31816 * math/s_cbrtl.c: Likewise.
31817 * math/s_erfl.c: Likewise.
31818 * math/s_expm1l.c: Likewise.
31819 * math/s_log1pl.c: Likewise.
31820 * math/s_tanhl.c: Likewise.
31821 * misc/acct.c: Likewise.
31822 * misc/brk.c: Likewise.
31823 * misc/chflags.c: Likewise.
31824 * misc/chroot.c: Likewise.
31825 * misc/fchflags.c: Likewise.
31826 * misc/fgetxattr.c: Likewise.
31827 * misc/flistxattr.c: Likewise.
31828 * misc/fremovexattr.c: Likewise.
31829 * misc/fsetxattr.c: Likewise.
31830 * misc/fsync.c: Likewise.
31831 * misc/ftruncate.c: Likewise.
31832 * misc/futimes.c: Likewise.
31833 * misc/futimesat.c: Likewise.
31834 * misc/getdomain.c: Likewise.
31835 * misc/getdtsz.c: Likewise.
31836 * misc/gethostid.c: Likewise.
31837 * misc/gethostname.c: Likewise.
31838 * misc/getloadavg.c: Likewise.
31839 * misc/getpagesize.c: Likewise.
31840 * misc/getsysstats.c: Likewise.
31841 * misc/getxattr.c: Likewise.
31842 * misc/gtty.c: Likewise.
31843 * misc/ioctl.c: Likewise.
31844 * misc/lgetxattr.c: Likewise.
31845 * misc/listxattr.c: Likewise.
31846 * misc/llistxattr.c: Likewise.
31847 * misc/lremovexattr.c: Likewise.
31848 * misc/lsetxattr.c: Likewise.
31849 * misc/lutimes.c: Likewise.
31850 * misc/madvise.c: Likewise.
31851 * misc/mincore.c: Likewise.
31852 * misc/mlock.c: Likewise.
31853 * misc/mlockall.c: Likewise.
31854 * misc/mmap.c: Likewise.
31855 * misc/mprotect.c: Likewise.
31856 * misc/msync.c: Likewise.
31857 * misc/munlock.c: Likewise.
31858 * misc/munlockall.c: Likewise.
31859 * misc/munmap.c: Likewise.
31860 * misc/preadv.c: Likewise.
31861 * misc/preadv64.c: Likewise.
31862 * misc/ptrace.c: Likewise.
31863 * misc/pwritev.c: Likewise.
31864 * misc/pwritev64.c: Likewise.
31865 * misc/readv.c: Likewise.
31866 * misc/reboot.c: Likewise.
31867 * misc/remap_file_pages.c: Likewise.
31868 * misc/removexattr.c: Likewise.
31869 * misc/revoke.c: Likewise.
31870 * misc/select.c: Likewise.
31871 * misc/setdomain.c: Likewise.
31872 * misc/setegid.c: Likewise.
31873 * misc/seteuid.c: Likewise.
31874 * misc/sethostid.c: Likewise.
31875 * misc/sethostname.c: Likewise.
31876 * misc/setregid.c: Likewise.
31877 * misc/setreuid.c: Likewise.
31878 * misc/setxattr.c: Likewise.
31879 * misc/sstk.c: Likewise.
31880 * misc/stty.c: Likewise.
31881 * misc/swapoff.c: Likewise.
31882 * misc/swapon.c: Likewise.
31883 * misc/sync.c: Likewise.
31884 * misc/syncfs.c: Likewise.
31885 * misc/syscall.c: Likewise.
31886 * misc/truncate.c: Likewise.
31887 * misc/ualarm.c: Likewise.
31888 * misc/usleep.c: Likewise.
31889 * misc/ustat.c: Likewise.
31890 * misc/utimes.c: Likewise.
31891 * misc/vhangup.c: Likewise.
31892 * misc/writev.c: Likewise.
31893 * posix/_exit.c: Likewise.
31894 * posix/alarm.c: Likewise.
31895 * posix/execve.c: Likewise.
31896 * posix/fexecve.c: Likewise.
31897 * posix/fork.c: Likewise.
31898 * posix/fpathconf.c: Likewise.
31899 * posix/getaddrinfo.c: Likewise.
31900 * posix/getegid.c: Likewise.
31901 * posix/geteuid.c: Likewise.
31902 * posix/getgid.c: Likewise.
31903 * posix/getgroups.c: Likewise.
31904 * posix/getlogin.c: Likewise.
31905 * posix/getlogin_r.c: Likewise.
31906 * posix/getpgid.c: Likewise.
31907 * posix/getpid.c: Likewise.
31908 * posix/getppid.c: Likewise.
31909 * posix/getresgid.c: Likewise.
31910 * posix/getresuid.c: Likewise.
31911 * posix/getsid.c: Likewise.
31912 * posix/getuid.c: Likewise.
31913 * posix/glob64.c: Likewise.
31914 * posix/nanosleep.c: Likewise.
31915 * posix/pathconf.c: Likewise.
31916 * posix/pause.c: Likewise.
31917 * posix/posix_madvise.c: Likewise.
31918 * posix/pread.c: Likewise.
31919 * posix/pread64.c: Likewise.
31920 * posix/pwrite.c: Likewise.
31921 * posix/pwrite64.c: Likewise.
31922 * posix/sched_getaffinity.c: Likewise.
31923 * posix/sched_getp.c: Likewise.
31924 * posix/sched_gets.c: Likewise.
31925 * posix/sched_primax.c: Likewise.
31926 * posix/sched_primin.c: Likewise.
31927 * posix/sched_rr_gi.c: Likewise.
31928 * posix/sched_setaffinity.c: Likewise.
31929 * posix/sched_setp.c: Likewise.
31930 * posix/sched_sets.c: Likewise.
31931 * posix/sched_yield.c: Likewise.
31932 * posix/setgid.c: Likewise.
31933 * posix/setlogin.c: Likewise.
31934 * posix/setpgid.c: Likewise.
31935 * posix/setresgid.c: Likewise.
31936 * posix/setresuid.c: Likewise.
31937 * posix/setsid.c: Likewise.
31938 * posix/setuid.c: Likewise.
31939 * posix/sleep.c: Likewise.
31940 * posix/spawni.c: Likewise.
31941 * posix/sysconf.c: Likewise.
31942 * posix/times.c: Likewise.
31943 * posix/wait.c: Likewise.
31944 * posix/wait3.c: Likewise.
31945 * posix/wait4.c: Likewise.
31946 * posix/waitpid.c: Likewise.
31947 * resolv/gai_sigqueue.c: Likewise.
31948 * resource/getpriority.c: Likewise.
31949 * resource/getrlimit.c: Likewise.
31950 * resource/getrusage.c: Likewise.
31951 * resource/nice.c: Likewise.
31952 * resource/setpriority.c: Likewise.
31953 * resource/setrlimit.c: Likewise.
31954 * resource/ulimit.c: Likewise.
31955 * rt/aio_cancel.c: Likewise.
31956 * rt/aio_fsync.c: Likewise.
31957 * rt/aio_read.c: Likewise.
31958 * rt/aio_sigqueue.c: Likewise.
31959 * rt/aio_suspend.c: Likewise.
31960 * rt/aio_write.c: Likewise.
31961 * rt/clock_getres.c: Likewise.
31962 * rt/clock_gettime.c: Likewise.
31963 * rt/clock_nanosleep.c: Likewise.
31964 * rt/clock_settime.c: Likewise.
31965 * rt/lio_listio.c: Likewise.
31966 * rt/mq_close.c: Likewise.
31967 * rt/mq_getattr.c: Likewise.
31968 * rt/mq_notify.c: Likewise.
31969 * rt/mq_open.c: Likewise.
31970 * rt/mq_receive.c: Likewise.
31971 * rt/mq_send.c: Likewise.
31972 * rt/mq_setattr.c: Likewise.
31973 * rt/mq_timedreceive.c: Likewise.
31974 * rt/mq_timedsend.c: Likewise.
31975 * rt/mq_unlink.c: Likewise.
31976 * rt/shm_open.c: Likewise.
31977 * rt/shm_unlink.c: Likewise.
31978 * rt/timer_create.c: Likewise.
31979 * rt/timer_delete.c: Likewise.
31980 * rt/timer_getoverr.c: Likewise.
31981 * rt/timer_gettime.c: Likewise.
31982 * rt/timer_settime.c: Likewise.
31983 * setjmp/__longjmp.c: Likewise.
31984 * setjmp/setjmp.c: Likewise.
31985 * signal/kill.c: Likewise.
31986 * signal/killpg.c: Likewise.
31987 * signal/raise.c: Likewise.
31988 * signal/sigaction.c: Likewise.
31989 * signal/sigaltstack.c: Likewise.
31990 * signal/sigblock.c: Likewise.
31991 * signal/sigignore.c: Likewise.
31992 * signal/sigintr.c: Likewise.
31993 * signal/signal.c: Likewise.
31994 * signal/sigpause.c: Likewise.
31995 * signal/sigpending.c: Likewise.
31996 * signal/sigqueue.c: Likewise.
31997 * signal/sigreturn.c: Likewise.
31998 * signal/sigset.c: Likewise.
31999 * signal/sigsetmask.c: Likewise.
32000 * signal/sigstack.c: Likewise.
32001 * signal/sigsuspend.c: Likewise.
32002 * signal/sigtimedwait.c: Likewise.
32003 * signal/sigvec.c: Likewise.
32004 * signal/sigwait.c: Likewise.
32005 * signal/sigwaitinfo.c: Likewise.
32006 * signal/sysv_signal.c: Likewise.
32007 * socket/accept.c: Likewise.
32008 * socket/accept4.c: Likewise.
32009 * socket/bind.c: Likewise.
32010 * socket/connect.c: Likewise.
32011 * socket/getpeername.c: Likewise.
32012 * socket/getsockname.c: Likewise.
32013 * socket/getsockopt.c: Likewise.
32014 * socket/isfdtype.c: Likewise.
32015 * socket/listen.c: Likewise.
32016 * socket/recv.c: Likewise.
32017 * socket/recvfrom.c: Likewise.
32018 * socket/recvmsg.c: Likewise.
32019 * socket/send.c: Likewise.
32020 * socket/sendmsg.c: Likewise.
32021 * socket/sendto.c: Likewise.
32022 * socket/setsockopt.c: Likewise.
32023 * socket/shutdown.c: Likewise.
32024 * socket/sockatmark.c: Likewise.
32025 * socket/socket.c: Likewise.
32026 * socket/socketpair.c: Likewise.
32027 * stdio-common/ctermid.c: Likewise.
32028 * stdio-common/cuserid.c: Likewise.
32029 * stdio-common/remove.c: Likewise.
32030 * stdio-common/rename.c: Likewise.
32031 * stdio-common/renameat.c: Likewise.
32032 * stdio-common/tempname.c: Likewise.
32033 * stdlib/getcontext.c: Likewise.
32034 * stdlib/makecontext.c: Likewise.
32035 * stdlib/setcontext.c: Likewise.
32036 * stdlib/swapcontext.c: Likewise.
32037 * stdlib/system.c: Likewise.
32038 * streams/fattach.c: Likewise.
32039 * streams/fdetach.c: Likewise.
32040 * streams/getmsg.c: Likewise.
32041 * streams/getpmsg.c: Likewise.
32042 * streams/putmsg.c: Likewise.
32043 * streams/putpmsg.c: Likewise.
32044 * sysdeps/unix/bsd/getpt.c: Likewise.
32045 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32046 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32047 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32049 Likewise.
32050 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32052 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32053 * sysvipc/msgctl.c: Likewise.
32054 * sysvipc/msgget.c: Likewise.
32055 * sysvipc/msgrcv.c: Likewise.
32056 * sysvipc/msgsnd.c: Likewise.
32057 * sysvipc/semctl.c: Likewise.
32058 * sysvipc/semget.c: Likewise.
32059 * sysvipc/semop.c: Likewise.
32060 * sysvipc/semtimedop.c: Likewise.
32061 * sysvipc/shmat.c: Likewise.
32062 * sysvipc/shmctl.c: Likewise.
32063 * sysvipc/shmdt.c: Likewise.
32064 * sysvipc/shmget.c: Likewise.
32065 * termios/tcdrain.c: Likewise.
32066 * termios/tcflow.c: Likewise.
32067 * termios/tcflush.c: Likewise.
32068 * termios/tcgetattr.c: Likewise.
32069 * termios/tcgetpgrp.c: Likewise.
32070 * termios/tcsendbrk.c: Likewise.
32071 * termios/tcsetattr.c: Likewise.
32072 * termios/tcsetpgrp.c: Likewise.
32073 * time/adjtime.c: Likewise.
32074 * time/clock.c: Likewise.
32075 * time/getitimer.c: Likewise.
32076 * time/gettimeofday.c: Likewise.
32077 * time/setitimer.c: Likewise.
32078 * time/settimeofday.c: Likewise.
32079 * time/stime.c: Likewise.
32080 * time/time.c: Likewise.
32081
320822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32083
a20492cf
PT
32084 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32085 /usr/old/bin.
32086
72e182e3
PT
32087 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32088 instead of spaces.
32089 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32090
fbeafede
JM
320912012-11-03 Joseph Myers <joseph@codesourcery.com>
32092
5b5b04d6
JM
32093 [BZ #14796]
32094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32095 FE_TONEAREST before applying Dekker multiplication and Knuth
32096 addition. Clear inexact exceptions and check for exact zero
32097 results afterwards.
32098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32101 * math/libm-test.inc (fma_test): Add more tests.
32102 (fma_test_towardzero): Likewise.
32103 (fma_test_downward): Likewise.
32104 (fma_test_upward): Likewise.
32105 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32106 function.
32107 (libc_fesetround): New macro.
32108 (libc_fesetroundf): Likewise.
32109 (libc_fesetroundl): Likewise.
32110 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32111 function.
32112 (libc_fesetround_387): Likewise.
32113 (libc_fesetroundf): New macro.
32114 (libc_fesetround): Likewise.
32115 (libc_fesetroundl): Likewise.
32116 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32117 function.
32118 (libc_fesetroundf): New macro.
32119 (libc_fesetround): Likewise.
32120 (libc_fesetroundl): Likewise.
32121 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32122 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32123 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32124 libm_hidden_ver.
32125 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32126 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32127 libm_hidden_def.
32128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32129 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32130 libm_hidden_ver.
32131 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32132 libm_hidden_def.
32133
fbeafede
JM
32134 [BZ #3439]
32135 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32136 integer constant usable in #if and use that to give value to enum
32137 constant.
32138 (FE_DIVBYZERO): Likewise.
32139 (FE_UNDERFLOW): Likewise.
32140 (FE_OVERFLOW): Likewise.
32141 (FE_INVALID): Likewise.
32142 (FE_INVALID_SNAN): Likewise.
32143 (FE_INVALID_ISI): Likewise.
32144 (FE_INVALID_IDI): Likewise.
32145 (FE_INVALID_ZDZ): Likewise.
32146 (FE_INVALID_IMZ): Likewise.
32147 (FE_INVALID_COMPARE): Likewise.
32148 (FE_INVALID_SOFTWARE): Likewise.
32149 (FE_INVALID_SQRT): Likewise.
32150 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32151 (FE_TONEAREST): Likewise.
32152 (FE_TOWARDZERO): Likewise.
32153 (FE_UPWARD): Likewise.
32154 (FE_DOWNWARD): Likewise.
32155 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32156 (FE_DIVBYZERO): Likewise.
32157 (FE_OVERFLOW): Likewise.
32158 (FE_UNDERFLOW): Likewise.
32159 (FE_INEXACT): Likewise.
32160 (FE_TONEAREST): Likewise.
32161 (FE_DOWNWARD): Likewise.
32162 (FE_UPWARD): Likewise.
32163 (FE_TOWARDZERO): Likewise.
32164 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32165 (FE_UNDERFLOW): Likewise.
32166 (FE_OVERFLOW): Likewise.
32167 (FE_DIVBYZERO): Likewise.
32168 (FE_INVALID): Likewise.
32169 (FE_TONEAREST): Likewise.
32170 (FE_TOWARDZERO): Likewise.
32171 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32172 (FE_OVERFLOW): Likewise.
32173 (FE_UNDERFLOW): Likewise.
32174 (FE_DIVBYZERO): Likewise.
32175 (FE_INEXACT): Likewise.
32176 (FE_TONEAREST): Likewise.
32177 (FE_TOWARDZERO): Likewise.
32178 (FE_UPWARD): Likewise.
32179 (FE_DOWNWARD): Likewise.
32180 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32181 (FE_DIVBYZERO): Likewise.
32182 (FE_OVERFLOW): Likewise.
32183 (FE_UNDERFLOW): Likewise.
32184 (FE_INEXACT): Likewise.
32185 (FE_TONEAREST): Likewise.
32186 (FE_DOWNWARD): Likewise.
32187 (FE_UPWARD): Likewise.
32188 (FE_TOWARDZERO): Likewise.
32189
105ca950
CM
321902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32191
32192 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32193
a542b389
AS
321942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32195
32196 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32197 commands. Quote $PWD.
32198 (blacklist_exports): Don't use remove_newlines. Replace "declare
32199 -x" by "export".
32200 (remove_newlines): Remove.
32201
f62c8abc
L
322022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32203
32204 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32205 * stdlib/stdlib.h (atof): Moved to ...
32206 * include/bits/stdlib-float.h: Here. New file.
32207 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32208 * stdlib/bits/stdlib-float.h: New file.
32209 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32210 -mno-sse -mno-mmx.
32211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32212 <xmmintrin.h>.
32213
0155d5b2
JM
322142012-11-02 Joseph Myers <joseph@codesourcery.com>
32215
a68d0680
JM
32216 * conform/conformtest.pl (@headers): Add fenv.h.
32217 * conform/data/fenv.h-data: New file.
32218 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32219 include of <math/fenv.h>.
32220
caf7f573
JM
32221 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32222 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32223 && !UNIX98]. Enables tests for XOPEN2K8.
32224 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32225 POSIX2008]: Likewise.
32226
6c073ad6
JM
32227 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32228 (struct rusage): Do not expect type or its members.
32229
0155d5b2
JM
32230 [BZ #3439]
32231 * math/math.h (FP_NAN): Define macro to integer constant usable in
32232 #if and use that to give value to enum constant.
32233 (FP_INFINITE): Likewise.
32234 (FP_ZERO): Likewise.
32235 (FP_SUBNORMAL): Likewise.
32236 (FP_NORMAL): Likewise.
32237
b5dcacb4
AS
322382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32239
32240 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32241 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32242 arguments.
32243
f7934be8
RM
322442012-11-02 Roland McGrath <roland@hack.frob.com>
32245
32246 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32247 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32248 autoconf-time if not.
32249 * configure.in: Remove AC_PREREQ.
32250
d7d08bde
TMQMF
322512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32252
32253 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32254 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32255 of the internal implementation.
32256
dcdae19a
JM
322572012-11-02 Joseph Myers <joseph@codesourcery.com>
32258
32259 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32260 except include of <misc/sys/syslog.h>.
32261
d6cffd3e
AS
322622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32263
32264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32265 function returns with a NULL context exit with zero.
32266
b3563932
TMQMF
322672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32268
32269 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32270
b288a93d
L
322712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32272
32273 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32274 (run_program_cmd): This.
32275 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32276 (tst_langinfo): New variable. Use it.
32277
a2421a68
SAS
322782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32279
32280 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32281 floating point opcodes.
32282
6f796e1b
TS
322832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32284
7402596b
TS
32285 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32286 variable.
32287
d0d4f868
TS
32288 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32289
6f796e1b
TS
32290 * sysdeps/mach/hurd/powerpc: Remove directory.
32291 * sysdeps/mach/powerpc: Likewise.
32292
4da224a2
AS
322932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32294
32295 * scripts/check-local-headers.sh: Ignore c++ headers.
32296
341dd673
TS
322972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32298
32299 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32300 __libc_cleanup_region_start argument.
32301
473611b2
JM
323022012-11-01 Joseph Myers <joseph@codesourcery.com>
32303
32304 [BZ #14784]
32305 [BZ #14785]
32306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32307 x * y using scaling, not as x * y + z.
32308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32310 * math/libm-test.inc (fma_test): Add more tests.
32311 (fma_test_towardzero): Likewise.
32312 (fma_test_downward): Likewise.
32313 (fma_test_upward): Likewise.
32314
4078da3d
TS
323152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32316
32317 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32318
903252aa
JM
323192012-10-31 Joseph Myers <joseph@codesourcery.com>
32320
32321 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32322 New variable.
32323
cbc818d0
TS
323242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32325
32326 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32327
5a03cb1e
AS
323282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32329
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32331 Fix sort order.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32333 Likewise.
32334
90aff2ff
TMQMF
323352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32336
32337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32338 Fix the order of the list for glibc 2.17.
32339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32340 Likewise.
32341
1818fcb7
AS
323422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32343
32344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32345
ef82f4da
JM
323462012-10-31 Joseph Myers <joseph@codesourcery.com>
32347
16a0e2ec
JM
32348 [BZ #14610]
32349 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32350 for low part of x being zero before using __atanl (y).
32351 * math/libm-test.inc (atan2_test): Add another test.
32352
0eb69512
JM
32353 * manual/install.texi (Configuring and compiling): Document
32354 general use of test-wrapper and test-wrapper-env.
32355 * INSTALL: Regenerated.
32356
ef82f4da
JM
32357 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32358 (__fma): Do not extract and scale down low bits on after-rounding
32359 systems when result rounded to normal precision would have normal
32360 exponent.
32361 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32362 (__fmal): Do not extract and scale down low bits on after-rounding
32363 systems when result rounded to normal precision would have normal
32364 exponent.
32365 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32366 (__fmal): Do not extract and scale down low bits on after-rounding
32367 systems when result rounded to normal precision would have normal
32368 exponent.
32369 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32370 macro.
32371 (fma_test): Add more tests.
32372 (fma_test_towardzero): Likewise.
32373 (fma_test_downward): Likewise.
32374 (fma_test_upward): Likewise.
32375
954ef0d9
L
323762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32377
32378 * sysdeps/i386/tininess.h: Renamed to ...
32379 * sysdeps/x86/tininess.h: This.
32380 * sysdeps/x86_64/tininess.h: Removed.
32381
df61ffb2
JM
323822012-10-30 Joseph Myers <joseph@codesourcery.com>
32383
32384 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32385 input. Use $(build-program-cmd).
32386 ($(objpfx)tst-array1-static.out): Likewise.
32387 ($(objpfx)tst-array2.out): Likewise.
32388 ($(objpfx)tst-array3.out): Likewise.
32389 ($(objpfx)tst-array4.out): Likewise.
32390 ($(objpfx)tst-array5.out): Likewise.
32391 ($(objpfx)tst-array5-static.out): Likewise.
32392
01767843
CM
323932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32394
47cc1490
CM
32395 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32396 if defined.
32397
01767843
CM
32398 * nss/nsswitch.h (nss_interface_function): Provide new
32399 macro for use with NSS functions.
32400 * grp/initgroups.c: Use new macro.
32401 * nss/getXXbyYY.c: Likewise.
32402 * nss/getXXbyYY_r.c: Likewise.
32403 * nss/getXXent.c: Likewise.
32404 * nss/getXXent_r.c: Likewise.
32405 * sysdeps/posix/getaddrinfo.c: Likewise.
32406
8321aa97
AJ
324072012-10-30 Andreas Jaeger <aj@suse.de>
32408
32409 * po/ru.po: Update Russion translation from translation project.
32410
2a27fd6d
JM
324112012-10-30 Joseph Myers <joseph@codesourcery.com>
32412
8627a232
JM
32413 [BZ #14152]
32414 [BZ #14783]
32415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32416 result and shift together with sticky bit instead of replicating
32417 round-to-nearest rounding.
32418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32420 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32421 missing underflow exceptions.
32422 (fma_test_towardzero): Add more tests.
32423 (fma_test_downward): Likewise.
32424 (fma_test_upward): Likewise.
32425
2a27fd6d
JM
32426 [BZ #14047]
32427 * sysdeps/generic/tininess.h: New file.
32428 * sysdeps/i386/tininess.h: Likewise.
32429 * sysdeps/sh/tininess.h: Likewise.
32430 * sysdeps/x86_64/tininess.h: Likewise.
32431 * stdlib/tst-strtod-underflow.c: Likewise.
32432 * stdlib/tst-tininess.c: Likewise.
32433 * stdlib/strtod_l.c: Include <tininess.h>.
32434 (round_and_return): Do not set errno for exact underflow cases.
32435 Force an underflow exception when setting errno for underflow.
32436 Determine underflow based on rounding to normal precision if
32437 TININESS_AFTER_ROUNDING.
32438 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32439 ERANGE for exact underflow cases.
32440 * stdlib/Makefile (tests): Add tst-tininess and
32441 tst-strtod-underflow.
32442 ($(objpfx)tst-tininess): Use $(link-libm).
32443 ($(objpfx)tst-strtod-underflow): Likewise.
32444
e7170363
AJ
324452012-10-30 Andreas Jaeger <aj@suse.de>
32446
e5088dc6
AJ
32447 [BZ#14767]
32448 * elf/Makefile (tests): Remove conditional for have-initfini-array
32449 since this is now always required and the variable does not exist
32450 anymore.
32451 (tests-static): Likewise.
32452 (modules-names): Likewise.
32453
e7170363 32454 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32455
32456 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32457 merged with constructor/destructor.
32458 (init_array): Likewise.
32459 * elf/tst-array2dep.c (fini_array): Likewise.
32460 (init_array): Likewise.
32461
60457d8a
MF
324622012-10-29 Mike Frysinger <vapier@gentoo.org>
32463
32464 * manual/message.texi: Delete @cartouche tags.
32465
8bece752
PT
324662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32467
94ce799f
PT
32468 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32469 EOPNOTSUPP.
32470 * sysdeps/mach/hurd/fsync.c: Likewise.
32471
8bece752
PT
32472 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32473 [_POSIX_REALTIME_SIGNALS]: Change condition to
32474 [_POSIX_REALTIME_SIGNALS > 0].
32475
86ebe6b1
AJ
324762012-10-27 Andreas Jaeger <aj@suse.de>
32477
32478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32479 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32481 [__WORDSIZE != 64]: Likewise.
32482
54399c08
L
324832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32484
32485 * iconvdata/tst-table.sh: Remove ${SHELL}.
32486 * iconvdata/tst-tables.sh: Likewise.
32487
e2211bed
DM
324882012-10-25 David S. Miller <davem@davemloft.net>
32489
32490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32491 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32492 of strtoull.
32493
f303f97c
DM
32494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32495 ifunc-impl-list.c
32496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32497 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32498 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32499 file.
32500
1e9d84cd
RM
325012012-10-25 Roland McGrath <roland@hack.frob.com>
32502
32503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32504 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32505 __getdirentries.
32506
df381762
JM
325072012-10-25 Joseph Myers <joseph@codesourcery.com>
32508 Jim Blandy <jimb@codesourcery.com>
32509
32510 * scripts/cross-test-ssh.sh: New file.
32511 * manual/install.texi (Configuring and compiling): Document use of
32512 cross-test-ssh.sh.
32513 * INSTALL: Regenerated.
32514
bff64913
PT
325152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32516
32517 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32518 EOPNOTSUPP.
32519
25fe8932
JM
325202012-10-25 Joseph Myers <joseph@codesourcery.com>
32521
32522 * Makeconfig (run-program-prefix): Fix comment.
32523
cc1290d0
JM
325242012-10-24 Joseph Myers <joseph@codesourcery.com>
32525 Jim Blandy <jimb@codesourcery.com>
32526
32527 * Makeconfig (test-wrapper): New variable,
32528 (test-wrapper-env): Likewise.
32529 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32530 (run-built-tests): Define to yes.
32531 (run-program-prefix): Use $(test-wrapper).
32532 (built-program-cmd): Likewise.
32533 * Rules (make-test-out): Use $(test-wrapper-env) and
32534 $(host-built-program-cmd).
32535 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32536 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32537 tst-pathopt.sh.
32538 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32539 $(test-wrapper-env) to tst-rtld-load-self.sh.
32540 ($(objpfx)order2.out): Use $(test-wrapper).
32541 ($(objpfx)tst-initorder.out): Likewise.
32542 ($(objpfx)tst-initorder2.out): Likewise.
32543 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32544 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32545 (test_wrapper_env): New variable. Use it to run ld.so.
32546 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32547 Use it to run ld.so.
32548 (test_wrapper_env): Likewise.
32549 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32550 $(test-wrapper) to run-iconv-test.sh.
32551 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32552 (ICONV): Use $test_wrapper.
32553 * posix/Makefile ($(objpfx)globtest.out): Pass
32554 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32555 globtest.sh, not $(run-program-prefix).
32556 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32557 (test_wrapper): Likewise.
32558 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32559 set together with run_via_rtld_prefix.
32560 (run_program_prefix): Define in terms of test_wrapper and
32561 run_via_rtld_prefix.
32562
6e6249d0
RM
325632012-10-24 Roland McGrath <roland@hack.frob.com>
32564
32565 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32566 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32567 Targets removed.
32568
32569 [BZ #14743]
32570 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32571 Declare __clock_getres, __clock_gettime, __clock_settime,
32572 __clock_nanosleep, and __clock_getcpuclockid.
32573 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32574 Remove librt_hidden_def (clock_gettime).
32575 * sysdeps/unix/clock_gettime.c: Likewise.
32576 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32578 * rt/clock_getres.c: Define __clock_getres as an alias.
32579 * sysdeps/posix/clock_getres.c: Likewise.
32580 * rt/clock_settime.c: Define __clock_settime as an alias.
32581 * sysdeps/unix/clock_settime.c: Likewise.
32582 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32583 * sysdeps/unix/clock_nanosleep.c: Likewise.
32584 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32585 * rt/clock-compat.c: New file.
32586 * rt/Makefile (librt-routines): Add clock-compat and move
32587 $(clock-routines) to ...
32588 (routines): ... here, new variable.
32589 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32590 Don't add get_clockfreq here.
32591 * rt/Versions (libc: GLIBC_2.17): New version set.
32592 Add clock_* symbols here.
32593 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32595 (GLIBC_2.17): Add clock_* symbols.
32596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32600 Likewise.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32602 Likewise.
32603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32607 * NEWS: Mention the move.
32608
32609 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32610 Use __open, __read, __close rather than their public counterparts.
32611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32612 (__get_clockfreq_via_cpuinfo): Likewise.
32613 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32614 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32615
32616 * config.h.in (HAVE_IFUNC): New #undef.
32617 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32618 was successful.
32619 * configure: Regenerated.
32620
0cae3f4b
MF
326212012-10-24 Mike Frysinger <vapier@gentoo.org>
32622
32623 * configure.in: Move READELF check to start of file.
32624 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32625 libc_cv_asm_gnu_indirect_function in the process.
32626 * configure: Regenerated.
32627
8175a253
MF
326282012-10-24 Mike Frysinger <vapier@gentoo.org>
32629
32630 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32631 send the output to /dev/null.
32632 (libc_cv_cc_with_libunwind): Likewise.
32633 (libc_cv_as_noexecstack): Likewise.
32634 * configure: Regenerate.
32635
0708a7d1
JM
326362012-10-24 Joseph Myers <joseph@codesourcery.com>
32637
10b40d85
JM
32638 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32639
0708a7d1
JM
32640 * posix/globtest.sh (TMPDIR): Do not set.
32641 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32642 (testout): Likewise.
32643
9fddec1a
AJ
326442012-10-24 Andreas Jaeger <aj@suse.de>
32645
3a8db22f
AJ
32646 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32647 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32648 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32649 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32650 posix_fadvise64, posix_fallocate64.
32651
9fddec1a
AJ
32652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32653 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32654 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32655 Likewise.
32656 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32657 Likewise.
32658 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32659
32660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32661 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32662 <bits/fcntl-linux.h>.
32663 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32664
32665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32666 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32667 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32668 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32669 [__WORDSIZE != 64]: Likewise.
32670
ebfd1bbd
JM
326712012-10-23 Joseph Myers <joseph@codesourcery.com>
32672
03ac099f
JM
32673 * Makeconfig (run-built-tests): New variable.
32674 * Rules [$(cross-compiling) = yes]: Change condition to
32675 [$(run-built-tests) = no].
32676 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32677 to [$(run-built-tests) = yes].
32678 * elf/Makefile [$(cross-compiling) = no]: Likewise
32679 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32680 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32681 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32682 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32683 * io/Makefile [$(cross-compiling) = no]: Likewise.
32684 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32685 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32686 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32687 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32688 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32689 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32690 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32691 * string/Makefile [$(cross-compiling) = no]: Likewise.
32692
ebfd1bbd
JM
32693 * posix/Makefile ($(objpfx)globtest.out): Pass
32694 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32695 $(rtld-installed-name).
32696 * posix/globtest.sh (elf_objpfx): Remove variable.
32697 (rtld_installed_name): Likewise.
32698 (library_path): Likewise.
32699 (run_program_prefix): New variable. Use for running globtest
32700 binary.
32701
166bca24
JB
327022012-10-23 Jim Blandy <jimb@codesourcery.com>
32703 Joseph Myers <joseph@codesourcery.com>
32704
32705 * Makeconfig (host-built-program-cmd): New variable.
32706 * elf/Makefile (tst-stackguard1-ARGS): Use
32707 $(host-built-program-cmd).
32708 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32709 (tst-spawn-ARGS): Likewise.
32710 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32711
88866099
JM
327122012-10-23 Joseph Myers <joseph@codesourcery.com>
32713 Jim Blandy <jimb@codesourcery.com>
32714
32715 * Makeconfig (run-via-rtld-prefix): New variable.
32716 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32717 (built-program-cmd): Likewise.
32718
b4b4c296
AJ
327192012-10-22 Andreas Jaeger <aj@suse.de>
32720
32721 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32722 __O_RSYNC if it exists, otherwise to O_SYNC.
32723
6fb54a22
JB
327242012-10-22 Jim Blandy <jimb@codesourcery.com>
32725 Joseph Myers <joseph@codesourcery.com>
32726
32727 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32728 /dev/null.
32729 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32730 from /dev/null
32731 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32732 /dev/null.
32733
481b90b9
AJ
327342012-10-22 Andreas Jaeger <aj@suse.de>
32735
2a0e2669
AJ
32736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32737 Define always.
32738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32739
76e38f9a
AJ
32740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32741 bits/fcntl-linux.h.
32742
7cd37b43
AJ
32743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32744 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32745
481b90b9
AJ
32746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32747 to __O_LARGEFILE.
32748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32749 to __O_LARGEFILE.
32750
aba75984
JB
327512012-10-21 Jim Blandy <jimb@codesourcery.com>
32752 Joseph Myers <joseph@codesourcery.com>
32753
32754 * config.make.in (NM): New variable.
32755
88d4247f
AJ
327562012-10-21 Andreas Jaeger <aj@suse.de>
32757
32758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32759 definitions and declarations that are provided by
32760 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32761
f2eed205
L
327622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32763
32764 [BZ #14683]
32765 * elf/Makefile (tests-static): Add tst-leaks1-static.
32766 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32767 ($(objpfx)tst-leaks1-static): New rule.
32768 ($(objpfx)tst-leaks1-static-mem): Likewise.
32769 (tst-leaks1-static-ENV): New macro.
32770 * elf/dl-open.c (dl_open_worker): Check the main application
32771 only if SHARED is defined.
32772 * elf/tst-leaks1-static.c: New file.
32773
335e6931
AJ
327742012-10-20 Andreas Jaeger <aj@suse.de>
32775
32776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32777 generic values for Linux.
32778 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32779 and declarations that are provided by <bits/fcntl-linux.h> and
32780 include <bits/fcntl-linux.h>.
32781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32783
ac5c94d3
RM
327842012-10-20 Roland McGrath <roland@hack.frob.com>
32785
32786 * io/fcntl.h: Move include of <bits/types.h> to the top and
32787 include it unconditionally.
32788
de54b33a
L
327892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32790
228cfb01
L
32791 * wcsmbs/Makefile (tests-ifunc): New variable.
32792 (tests): Add $(tests-ifunc).
32793 * wcsmbs/test-wcschr-ifunc.c: New file.
32794 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32795 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32796 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32797 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32798 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32799
69f07e5f
L
32800 * string/Makefile (tests-ifunc): New variable.
32801 (tests): Add $(tests-ifunc).
32802 * string/test-memccpy.c (TEST_NAME): New macro.
32803 * string/test-memchr.c (TEST_NAME): Likewise.
32804 * string/test-memcmp.c (TEST_NAME): Likewise.
32805 * string/test-memcpy.c (TEST_NAME): Likewise.
32806 * string/test-memmem.c (TEST_NAME): Likewise.
32807 * string/test-memmove.c (TEST_NAME): Likewise.
32808 * string/test-memset.c (TEST_NAME): Likewise.
32809 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32810 * string/test-stpcpy.c (TEST_NAME): Likewise.
32811 * string/test-stpncpy.c (TEST_NAME): Likewise.
32812 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32813 * string/test-strcasestr.c (TEST_NAME): Likewise.
32814 * string/test-strcat.c (TEST_NAME): Likewise.
32815 * string/test-strchr.c (TEST_NAME): Likewise.
32816 * string/test-strcmp.c(TEST_NAME): Likewise.
32817 * string/test-strcpy.c (TEST_NAME): Likewise.
32818 * string/test-strcspn.c (TEST_NAME): Likewise.
32819 * string/test-strlen.c (TEST_NAME): Likewise.
32820 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32821 * string/test-strncmp.c (TEST_NAME): Likewise.
32822 * string/test-strncpy.c (TEST_NAME): Likewise.
32823 * string/test-strnlen.c (TEST_NAME): Likewise.
32824 * string/test-strpbrk.c (TEST_NAME): Likewise.
32825 * string/test-strrchr.c (TEST_NAME): Likewise.
32826 * string/test-strspn.c (TEST_NAME): Likewise.
32827 * string/test-strstr.c (TEST_NAME): Likewise.
32828 * string/test-bcopy-ifunc.c: New file.
32829 * string/test-bzero-ifunc.c: Likewise.
32830 * string/test-memccpy-ifunc.c: Likewise.
32831 * string/test-memchr-ifunc.c: Likewise.
32832 * string/test-memcmp-ifunc.c: Likewise.
32833 * string/test-memcpy-ifunc.c: Likewise.
32834 * string/test-memmem-ifunc.c: Likewise.
32835 * string/test-memmove-ifunc.c: Likewise.
32836 * string/test-mempcpy-ifunc.c: Likewise.
32837 * string/test-memset-ifunc.c: Likewise.
32838 * string/test-rawmemchr-ifunc.c: Likewise.
32839 * string/test-stpcpy-ifunc.c: Likewise.
32840 * string/test-stpncpy-ifunc.c: Likewise.
32841 * string/test-strcasecmp-ifunc.c: Likewise.
32842 * string/test-strcasestr-ifunc.c: Likewise.
32843 * string/test-strcat-ifunc.c: Likewise.
32844 * string/test-strchr-ifunc.c: Likewise.
32845 * string/test-strchrnul-ifunc.c: Likewise.
32846 * string/test-strcmp-ifunc.c: Likewise.
32847 * string/test-strcpy-ifunc.c: Likewise.
32848 * string/test-strcspn-ifunc.c: Likewise.
32849 * string/test-strlen-ifunc.c: Likewise.
32850 * string/test-strncasecmp-ifunc.c: Likewise.
32851 * string/test-strncat-ifunc.c: Likewise.
32852 * string/test-strncmp-ifunc.c: Likewise.
32853 * string/test-strncpy-ifunc.c: Likewise.
32854 * string/test-strnlen-ifunc.c: Likewise.
32855 * string/test-strpbrk-ifunc.c: Likewise.
32856 * string/test-strrchr-ifunc.c: Likewise.
32857 * string/test-strspn-ifunc.c: Likewise.
32858 * string/test-strstr-ifunc.c: Likewise.
32859
de54b33a
L
32860 * debug/Makefile (tests-ifunc): New variable.
32861 (tests): Add $(tests-ifunc).
32862 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32863 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32864 * debug/test-stpcpy_chk-ifunc.c: New file.
32865 * debug/test-strcpy_chk-ifunc.c: Likewise.
32866
88481c16
SP
328672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32868
32869 [BZ #13601]
32870 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32871 header is not read in.
32872
135948bd
JM
328732012-10-19 Joseph Myers <joseph@codesourcery.com>
32874
89f1c388
JM
32875 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32876 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32877 directly. Pass built executable to script as
32878 $(built-program-cmd).
32879 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32880 $testprogram without using LD_LIBRARY_PATH and $ldso.
32881
e40a0d21
JM
32882 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32883 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32884 $(rtld-installed-name).
32885 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32886 (rtld_installed_name): Likewise.
32887 (library_path): Likewise.
32888 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32889 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32890 $(run-program-prefix) to tst-tables.sh.
32891 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32892 it to run tst-table-from and tst-table-to.
32893 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32894 Pass it to tst-table.sh.
32895 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32896 $(run-program-prefix) to tst-gettext.sh.
32897 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32898 tst-translit.sh.
32899 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32900 tst-gettext2.sh.
32901 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32902 to run tst-gettext.
32903 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32904 to run tst-gettext2.
32905 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32906 to run tst-translit.
32907 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32908 $(run-program-prefix) to tst-mtrace.sh.
32909 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32910 to run tst-mtrace.
32911 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32912 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32913 $(rtld-installed-name).
32914 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32915 (rtld_installed_name): Likewise.
32916 (run_program_prefix): New variable. Use it to run wordexp-test.
32917
728e272a
JM
32918 * Makeconfig (ARCH): Remove all definitions.
32919 (machine): Likewise.
32920 [ARCH]: Remove conditional code.
32921 [!objdir]: Give error.
32922 [!objdir] (objpfx): Remove.
32923 [!objdir] (common-objpfx): Likewise.
32924 [!objdir] (common-objdir): Likewise.
32925 * configure.in (config_makefile): Remove. Hardcode Makefile in
32926 AC_CONFIG_FILES call.
32927 * configure: Regenerated.
32928
d528cdcf
JM
32929 [BZ #13888]
32930 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32931 or TMPDIR.
32932 (testout): Likewise.
32933
135948bd
JM
32934 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32935 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32936 $(rtld-installed-name).
32937 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32938 (rtld_installed_name): Likwise.
32939 (runit): Remove function.
32940 (run_getconf): New variable, Use it for running getconf binary.
32941
38c78296
L
329422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32943
32944 [BZ #14716]
32945 * string/test-memmem.c (check_result): New function.
32946 (do_one_test): Use it.
32947 (check1): New function.
32948 (test_main): Use it.
32949
d077f65f
MT
329502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32951
32952 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32953
ced52c71
JM
329542012-10-18 Joseph Myers <joseph@codesourcery.com>
32955
32956 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32957 (_G_LSEEK64): Likewise.
32958 (_G_MMAP64): Likewise.
32959 (_G_FSTAT64): Likewise.
32960 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32961 (_G_LSEEK64): Likewise.
32962 (_G_MMAP64): Likewise.
32963 (_G_FSTAT64): Likewise.
32964 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32965 unconditional. Call __mmap64 directly.
32966 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32967 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32968 __lseek64 directly.
32969 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32970 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32971 __mmap64 directly.
32972 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32973 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32974 __lseek64 directly.
32975 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32976 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32977 __lseek64 directly.
32978 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32979 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32980 __lseek64 directly.
32981 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32982 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32983 __fxstat64 directly.
32984 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32985 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32986 unconditional.
32987 (freopen64) [!_G_OPEN64]: Remove conditional code.
32988 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32989 unconditional.
32990 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32991 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32992 unconditional.
32993 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32994 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32995 unconditional.
32996 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32997 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32998 unconditional.
32999 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33000 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33001 unconditional.
33002 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33003 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33004 unconditional.
33005 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33006 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33007 unconditional.
33008 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33009
b741de23
SP
330102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33011
33012 [BZ #12140]
33013 * manual/memory.texi (Malloc Tunable Parameters): Add note
33014 about free list pointers overwriting some perturb bytes.
33015 Wording suggested by Roland McGrath.
33016
f9b9d9c9
JM
330172012-10-17 Joseph Myers <joseph@codesourcery.com>
33018
33019 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33020 (lgamma_test): Likewise.
33021 (tgamma_test): Likewise.
33022
172a631a
FW
330232012-10-16 Florian Weimer <fweimer@redhat.com>
33024
33025 [BZ #14700]
33026 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33027 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33028
e9f37252
MK
330292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33030
33031 * NEWS: Mention BZ #14716.
33032 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33033 when removing AVAILABLE1_USES_J macro.
33034
d394eb74
L
330352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33036
33037 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33038 (__bswap_64): __uint64_t for unsigned 64-bit int.
33039
ca38dc17
AS
330402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33041
33042 * include/string.h (memmem): Declare libc hidden alias.
33043 * string/memmem.c (memmem): Define libc hidden alias.
33044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33045 __read, __close instead of open, read, close.
33046
9a387d1f
L
330472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33048
ac49ecaf
L
33049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33050 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33051 global and hidden.
33052 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33053 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33054 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33055 Likewise.
33056 (__rawmemchr_sse2): Likewise.
33057 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33058 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33059 (__strchr_sse2): Likewise.
33060 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33061 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33062 (__strcasecmp_sse2): Likewise.
33063 (__strncasecmp_sse2): Likewise.
33064 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33065 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33066 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33067 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33068 (__strrchr_sse2): Likewise.
33069 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33070 ifunc-impl-list.c.
33071 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33072 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33073 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33075 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33076 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33079 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33080 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33081 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33083 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33084 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33085 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33086 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33087 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33088 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33089 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33090 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33091 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33092 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33093 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33094 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33095 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33096 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33097 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33098 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33099 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33100 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33101
b090e8ea
L
33102 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33103 global and hidden.
33104 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33105 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33106 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33107 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33108 Likewise.
33109 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33110 Likewise.
33111 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33112 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33113 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33114 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33115 ifunc-impl-list.c.
33116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33129 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33130 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33132 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33133 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33134 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33135 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33136 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33141 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33142 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33143 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33144 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33146 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33147 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33148 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33149 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33150 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33151 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33152 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33153 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33156 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33157
11dd4af6
L
33158 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33159 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33160 * include/ifunc-impl-list.h: New file.
33161 * misc/ifunc-impl-list.c: Likewise.
33162 * misc/Makefile (routines): Add ifunc-impl-list.
33163 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33164 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33165 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33166 TEST_NAME]: New variables.
11dd4af6
L
33167 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33168 are defined.
33169 (test_init): Call __libc_ifunc_impl_list to initialize
33170 func_list if TEST_IFUNC and TEST_NAME are defined.
33171
9a387d1f
L
33172 * string/Makefile (strop-tests): Add bcopy and bzero.
33173 * string/test-bcopy.c: New file.
33174 * string/test-bzero.c: Likewise.
33175 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33176 defined.
33177 * string/test-memset.c: Support bzero test if TEST_BZERO is
33178 defined.
33179 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33180 __libc_memmove.
33181 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33182 __libc_memset.
33183 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33184 of memset.
33185
472371b9
JM
331862012-10-10 Joseph Myers <joseph@codesourcery.com>
33187
1e4a9536
JM
33188 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33189 * configure: Regenerated.
33190
d173d12e
JM
33191 * Makeconfig (+link-static-before-libc): Don't include
33192 $(link-static-libc).
33193
472371b9
JM
33194 * libio/libio.h (_IO_pos_t): Remove.
33195
89a3ad0b
AO
331962012-10-10 Alexandre Oliva <aoliva@redhat.com>
33197
33198 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33199 McGrath.
33200
e7451425
AO
332012012-10-10 Alexandre Oliva <aoliva@redhat.com>
33202
33203 * crypt/crypt-entry.c: Include fips-private.h.
33204 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33205 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33206 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33207 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33208
4ba74a35
AO
332092012-10-10 Alexandre Oliva <aoliva@redhat.com>
33210
33211 * crypt/crypt-private.h: Include stdbool.h.
33212 (_ufc_setup_salt_r): Return bool.
33213 * crypt/crypt-entry.c: Include errno.h.
33214 (__crypt_r): Return NULL with EINVAL for bad salt.
33215 * crypt/crypt_util.c (bad_for_salt): New.
33216 (_ufc_setup_salt_r): Check that salt is long enough and within
33217 the specified alphabet.
33218 * crypt/badsalttest.c: New file.
33219 * crypt/Makefile (tests): Add it.
33220 ($(objpfx)badsalttest): New.
33221
f96f1242
MK
332222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33223
33224 * NEWS: Add entry for BZ #14602.
33225
0e8e0c1c
JM
332262012-10-09 Joseph Myers <joseph@codesourcery.com>
33227
33228 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33229 type-generic.
33230 * math/libm-test.inc: Update comment listing what functions and
33231 macros are tested.
33232 (isgreater_test): New function.
33233 (isgreaterequal_test): Likewise.
33234 (isless_test): Likewise.
33235 (islessequal_test): Likewise.
33236 (islessgreater_test): Likewise.
33237 (isunordered_test): Likewise.
33238 (main): Call the new functions.
33239
273edc5e
RM
332402012-10-09 Roland McGrath <roland@hack.frob.com>
33241
b8493de0
RM
33242 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33243 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33244 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33245 * sysdeps/i386/configure: Regenerated.
33246 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33247 * sysdeps/mach/configure: Regenerated.
33248 * sysdeps/mach/hurd/configure: Regenerated.
33249 * sysdeps/powerpc/configure: Regenerated.
33250 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33251 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33252 * sysdeps/s390/s390-32/configure: Regenerated.
33253 * sysdeps/s390/s390-64/configure: Regenerated.
33254 * sysdeps/sh/configure: Regenerated.
33255 * sysdeps/sparc/configure: Regenerated.
33256 * sysdeps/unix/sysv/linux/configure: Regenerated.
33257 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33258 * sysdeps/x86_64/configure: Regenerated.
33259
273edc5e
RM
33260 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33261 defined. Don't check if MAP is NULL.
33262
c8450f70
JM
332632012-10-09 Joseph Myers <joseph@codesourcery.com>
33264
33265 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33266 (_G_stat64): Likewise.
33267 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33268 (_G_stat64): Likewise.
33269 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33270 instead of struct _G_stat64.
33271 * libio/fileops.c (mmap_remap_check): Likewise.
33272 (decide_maybe_mmap): Likewise.
33273 (_IO_new_file_seekoff): Likewise.
33274 (_IO_file_stat): Likewise.
33275 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33276 _G_off64_t.
33277 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33278 instead of struct _G_stat64.
33279 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33280
57e605ba
MK
332812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33282
33283 [BZ #14602]
33284 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33285 Replace with ...
33286 (CHECK_EOL): New macro.
33287 (two_way_short_needle): Check beginning of haystack for EOL. Use
33288 CHECK_EOL.
33289 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33290 Replace with CHECK_EOL.
33291 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33292 Replace with CHECK_EOL.
33293
ef1bb361
JM
332942012-10-08 Joseph Myers <joseph@codesourcery.com>
33295
33296 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33297 type-generic.
33298 * math/libm-test.inc: Update comment listing what functions and
33299 macros are tested.
33300 (finite_test): New function.
33301 (isinf_test): Likewise.
33302 (isnan_test): Likewise.
33303 (fpclassify_test): Test subnormal input.
33304 (isfinite_test): Likewise.
33305 (isnormal_test): Likewise.
33306 (main): Call the new functions.
33307
55f11534
JN
333082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33309
33310 [BZ #14660]
33311 * Makerules (%.dynsym): Force C locale when running
33312 $(OBJDUMP) --dynamic-syms.
33313
1ab29350
AS
333142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33315
33316 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33317 <stdint.h>.
33318
f1ecb7ef
DM
333192012-10-06 David S. Miller <davem@davemloft.net>
33320
33321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33322 upper 32-bits of the length value in %o2 since we use branch-on-register
33323 tests which consider the entire 64-bit register.
33324
5d41d91a
L
333252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33326
33327 * string/test-strstr.c (check2): Add a test for page boundary.
33328
3baddb72
DM
333292012-10-05 David S. Miller <davem@davemloft.net>
33330
33331 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33333 file.
33334 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33335 sysdep_routines.
33336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33337 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33338 and bzero when HWCAP_SPARC_CRYPTO is present.
33339
9cee5585
L
333402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33341
d7e0dab9
L
33342 [BZ #14602]
33343 * string/test-strstr.c (check2): New function.
33344 (test_main): Call check2.
33345
03759f47
L
33346 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33347 and bug-strchr1.
33348 * string/bug-strcasestr1.c (do_test): Moved to ...
33349 * string/test-strcasestr.c (check1): Here. New function.
33350 (do_one_test): Break out result checking code into ...
33351 (check_result): This. New function.
33352 (do_one_test): Call check_result.
33353 (test_main): Call check1.
33354 * string/bug-strchr1.c (do_test): Moved to ...
33355 * string/test-strchr.c (check1): Here. New function.
33356 (do_one_test): Break out result checking code into ...
33357 (check_result): This. New function.
33358 (do_one_test): Call check_result.
33359 (test_main): Call check1.
33360 * string/bug-strstr1.c (main): Moved to ...
046f153e 33361 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33362 (do_one_test): Break out result checking code into ...
33363 (check_result): This. New function.
33364 (do_one_test): Call check_result.
33365 (test_main): Call check1.
33366 * string/bug-strcasestr1.c: Removed.
33367 * string/bug-strchr1.c: Likewise.
33368 * string/bug-strstr1.c: Likewise.
33369
53cea63e
L
33370 * elf/Makefile (dl-routines): Add hwcaps.
33371 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33372 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33373 (_dl_important_hwcaps): Moved to ...
33374 * elf/dl-hwcaps.c: Here. New file.
33375 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33376
9cee5585 33377 [BZ #14557]
bb859b06
L
33378 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33379 if IS_IN_rtld isn't defined.
33380
9cee5585
L
33381 * elf/dl-support.c (_dl_sysinfo_map): New.
33382 Include "get-dynamic-info.h" and "setup-vdso.h".
33383 (_dl_non_dynamic_init): Call setup_vdso.
33384 * elf/dynamic-link.h: Don't include <assert.h>.
33385 (elf_get_dynamic_info): Moved to ...
33386 * elf/get-dynamic-info.h: Here. New file.
33387 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33388 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33389 * elf/setup-vdso.h: Here. New file.
33390 * elf/rtld.c: Include "setup-vdso.h".
33391 (dl_main): Call setup_vdso.
33392
23c31b76
JM
333932012-10-05 Joseph Myers <joseph@codesourcery.com>
33394
28234b07
JM
33395 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33396 creal in comment listing functions tested. List finite, isinf,
33397 isnan, isless, islessequal, isgreater, isgreaterequal,
33398 islessgreater, isunordered, lgamma_r and pow10 as functions and
33399 macros not tested. Mention which functions not tested are aliases
33400 for other functions. Fix typo. Note that signs of NaNs are not
33401 tested.
33402
23c31b76
JM
33403 * scripts/config.guess: Update from config.git.
33404 * scripts/config.sub: Likewise.
33405
9043e228
RM
334062012-10-04 Roland McGrath <roland@hack.frob.com>
33407
33408 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33409 * misc/madvise.c (madvise): Renamed to __madvise.
33410 Make madvise a weak alias.
33411 * include/sys/mman.h: Declare __madvise.
33412 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33413 * sysdeps/unix/syscalls.list
33414 (madvise): Make __madvise the strong name, and madvise a weak alias.
33415 * sysdeps/unix/sysv/linux/syscalls.list
33416 (madvise, mmap): Remove redundant entries.
33417 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33418 * malloc/malloc.c (mtrim): Likewise.
33419 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33420
f57f8055
RM
334212012-10-03 Roland McGrath <roland@hack.frob.com>
33422
33423 * sysdeps/mach/hurd/dl-cache.c: File removed.
33424 * config.h.in (USE_LDCONFIG): New #undef.
33425 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33426 * configure: Regenerated.
33427 * elf/Makefile (dl-routines): Add dl-cache only under
33428 [$(use-ldconfig) = yes].
33429 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33430 cache on [USE_LDCONFIG].
33431 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33432 [USE_LDCONFIG].
33433 * elf/rtld.c (dl_main): Likewise.
33434
5bb0c10a
PT
334352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33436
33437 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33438 _SC_LEVEL4_CACHE_LINESIZE.
33439
010188c6
RM
334402012-10-03 Roland McGrath <roland@hack.frob.com>
33441
33442 * sysdeps/unix/bsd/confstr.h: File removed.
33443
b6c5ec07
AO
334442012-10-02 Alexandre Oliva <aoliva@redhat.com>
33445
33446 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33447 sys/sdt-config.h.
33448
408223d4
RM
334492012-10-02 Roland McGrath <roland@hack.frob.com>
33450
33451 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33452 Make 'mapoff' field ElfW(Off) rather than off_t.
33453
bb9510dc
DL
334542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33455
fc997c6e
DL
33456 * nscd/Makefile: Remove nscd-cflags and all its users.
33457 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33458 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33459
bb9510dc
DL
33460 [BZ #10631]
33461 * malloc.c (malloc_printerr): Clarify error message.
33462
05699367
L
334632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33464
33465 [BZ #14648]
33466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33467 Set bit_FMA_Usable if FMA is supported.
33468 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33469 macro.
33470 (bit_FMA4_Usable): Updated.
33471 (index_FMA_Usable): New macro.
33472 (CPUID_FMA): Likewise
33473 (HAS_FMA): Defined with bit_FMA_Usable.
33474
51367701
RM
334752012-10-01 Roland McGrath <roland@hack.frob.com>
33476
33477 * bits/types.h (__swblk_t): Type removed.
33478 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33479 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33481 (__SWBLK_T_TYPE): Likewise.
33482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33483 (__SWBLK_T_TYPE): Likewise.
33484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33485 (__SWBLK_T_TYPE): Likewise.
33486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33487 (__SWBLK_T_TYPE): Likewise.
33488
4d57bf63 334892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33490 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33491
33492 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33493 (xdr_mapname): Use YPMAXMAP as maxsize.
33494 (xdr_peername): Use YPMAXPEER as maxsize.
33495 (xdr_keydat): Use YPAXRECORD as maxsize.
33496 (xdr_valdat): Use YPMAXRECORD as maxsize.
33497
93c65d43
RM
334982012-10-01 Roland McGrath <roland@hack.frob.com>
33499
497a03d6
RM
33500 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33501
93c65d43
RM
33502 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33503 * csu/init-first.c: ... here.
33504 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33505 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33506 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33507 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33508 * sysdeps/i386/init-first.c: File removed.
33509 * sysdeps/sh/init-first.c: File removed.
33510
bec749fd
JM
335112012-10-01 Joseph Myers <joseph@codesourcery.com>
33512
33513 [BZ #14645]
33514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33515 if x * y might underflow to zero and z is zero.
33516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33518 * math/libm-test.inc (min_subnorm_value): New variable.
33519 (fma_test): Add more tests.
33520 (fma_test_towardzero): Likewise.
33521 (fma_test_downward): Likewise
33522 (fma_test_upward): Likewise.
33523 (initialize): Set min_subnorm_value.
33524
8ec5b013
JM
335252012-09-29 Joseph Myers <joseph@codesourcery.com>
33526
33527 [BZ #14638]
33528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33529 0 + 0.
33530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33531 mode for addition resulting in exact zero.
33532 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33534 exact 0 + 0.
33535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33537 * math/libm-test.inc (fma_test): Add more tests.
33538 (fma_test_towardzero): New function.
33539 (fma_test_downward): Likewise.
33540 (fma_test_upward): Likewise.
33541 (main): Call the new functions.
33542
b1fa802e
DM
335432012-09-28 David S. Miller <davem@davemloft.net>
33544
33545 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33546
d3b9fd9e
RM
335472012-09-28 Roland McGrath <roland@hack.frob.com>
33548
ea4d37b3
RM
33549 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33550 instead of SIGALRM.
33551
ac51c949
RM
33552 * sysdeps/gnu/_G_config.h: Moved to ...
33553 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33554 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33555 * sysdeps/generic/_G_config.h: ... here.
33556
28c195f7
RM
33557 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33558
848917f9
RM
33559 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33560
6bacf05b
RM
33561 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33562 Conditionalize target on [libnss_test1.so-version].
33563
91363dbb
RM
33564 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33565
cc87f7d8
RM
33566 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33567 (elfobjdir): Move out of conditionals.
33568
b1c608fe
RM
33569 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33570 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33571 (__nss_lookup_function): Conditionalize label remove_from_tree on
33572 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33573
1d9a6d96
DM
335742012-09-28 David S. Miller <davem@davemloft.net>
33575
33576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33578 file.
33579 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33580 sysdep_routines.
33581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33583 when HWCAP_SPARC_CRYPTO is present.
33584
72581615
PT
335852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33586
33587 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33588
715a900c
JL
335892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33590
33591 [BZ #6530]
33592 * stdio-common/vfprintf.c (process_string_arg): Revert
33593 2000-07-22 change.
33594
335952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33596
33597 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33598 for testcase.
33599 * stdio-common/tst-sprintf.c: Include <locale.h>
33600 (main): Test sprintf's handling of incomplete multibyte
33601 characters.
33602
9bac1d86
L
336032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33604
33605 * elf/dl-runtime.c (VERSYMIDX): Removed.
33606 * elf/dl-version.c (VERSYMIDX): Likewise.
33607 * elf/do-rel.h (VERSYMIDX): Likewise.
33608 (VALIDX): Likewise.
33609 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33610 * elf/rtld.c (VALIDX): Likewise.
33611 (ADDRIDX): Likewise.
9bac1d86
L
33612 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33613 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33614 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33615 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33616 (VALIDX): Likewise.
33617 (ADDRIDX): Likewise.
9bac1d86 33618
b31606c0
PT
336192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33620
33621 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33622
11541177
JL
336232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33624
33625 [BZ #11438]
33626 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33627 to global scope.
33628 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33629 addresses are in the same scope as 192.0.2/24.
33630 * posix/gai.conf: Document new scope table defaults.
33631
adb26fae
SP
336322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33633
33634 [BZ #5298]
33635 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33636 for ftell. Compute offsets from write pointers instead.
33637 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33638
4573c6b0
SP
336392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33640
33641 [BZ #14543]
33642 * libio/Makefile (tests): New test case tst-fseek.
33643 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33644 combination works in wide mode.
33645 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33646 state when the external buffer state changes.
33647
aa9bbfe6
DM
336482012-09-27 David S. Miller <davem@davemloft.net>
33649
33650 [BZ #14376]
33651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33652 pass reloc->r_addend in as the 'high' argument to
33653 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33654
784421e7
DM
33655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33656
c39bc8b8
PT
336572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33658
33659 * rt/tst-aio2.c: Include <pthread.h>.
33660 * rt/tst-aio3.c: Likewise.
33661
1ccc2399
SE
336622012-09-27 Steve Ellcey <sellcey@mips.com>
33663
33664 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33665
31ed4153
L
336662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33667
25f5f885
L
33668 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33669 contents on [SHARED].
31ed4153 33670
b7bfe116
MP
336712012-09-26 Marek Polacek <polacek@redhat.com>
33672
33673 [BZ #14530]
33674 [BZ #13741]
33675 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33676 for C++ and GCC <4.3 as well as for non GCC compilers.
33677
43c4edba
MT
336782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33679
33680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33681
6a1bf82f
RM
336822012-09-25 Roland McGrath <roland@hack.frob.com>
33683
33684 * Makefile.in (all, install): Declare with .PHONY.
33685 Reported by Michael Hope <michael.hope@linaro.org>.
33686
8ad11b9a
TMQMF
336872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33688
33689 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33690 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33691 system header.
33692 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33693 Likewise.
33694 (sydep_routines): Add the new and the internal functions.
33695 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33698 (GLIBC_2.17): Add the new function.
33699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33700 (GLIBC_2.17): Likewise.
33701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33702 (GLIBC_2.17): Likewise.
33703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33704 (GLIBC_2.17): Likewise.
33705 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33706
7e2fca8d
AM
337072012-09-25 Alan Modra <amodra@gmail.com>
33708
33709 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33710 Add release barrier before setting once_control to say
33711 initialisation is done. Add hints on lwarx. Use macro in
33712 place of isync.
33713 (clear_once_control): Add release barrier.
33714
b87c4b24
JM
337152012-09-25 Joseph Myers <joseph@codesourcery.com>
33716
d032e0d2
JM
33717 [BZ #13629]
33718 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33719 specially.
33720 * math/s_clog10.c (__clog10): Likewise.
33721 * math/s_clog10f.c (__clog10f): Likewise.
33722 * math/s_clog10l.c (__clog10l): Likewise.
33723 * math/s_clogf.c (__clogf): Likewise.
33724 * math/s_clogl.c (__clogl): Likewise.
33725 * math/Makefile (libm-calls): Add x2y2m1.
33726 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33727 (__x2y2m1): Likewise.
33728 (__x2y2m1l): Likewise.
33729 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33730 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33733 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33734 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33735 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33736 * sysdeps/i386/fpu/libm-test-ulps: Update.
33737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33738
b87c4b24
JM
33739 [BZ #14621]
33740 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33741 int as type of variable DEPTH.
33742 (glob): Use size_t instead of int as type of variables NEWCOUNT
33743 and OLD_PATHC.
33744
6d3bf199
LD
337452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33746
22bf5c17
LD
33747 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33748 Add s_sincosf-sse2.
33749 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33750 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33751 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33752 macros for using routine as __sincosf_ia32.
33753 Use macro for function declaration and weak_alias.
33754 * sysdeps/i386/fpu/libm-test-ulps: Update.
33755
33756 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33758
33759 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33760 subnormal argument.
33761 * math/s_cexpf.c (__cexpf): Likewise.
33762 * math/s_csinf.c (__csinf): Likewise.
33763 * math/s_csinhf.c (__csinhf): Likewise.
33764 * math/s_ctanf.c (__ctanf): Likewise.
33765 * math/s_ctanhf.c (__ctanhf): Likewise.
33766 * math/s_ccosh.c (__ccoshf): Likewise.
33767 * math/s_cexp.c (__cexpl): Likewise.
33768 * math/s_csin.c (__csin): Likewise.
33769 * math/s_csinh.c (__csinh): Likewise.
33770 * math/s_ctan.c (__ctan): Likewise.
33771 * math/s_ctanh.c (ctanh): Likewise.
33772 * math/s_ccoshl.c (__ccoshl): Likewise.
33773 * math/s_cexpl.c (__cexpl): Likewise.
33774 * math/s_csinl.c (__csinl): Likewise.
33775 * math/s_csinhl.c (__csinhl): Likewise.
33776 * math/s_ctanl.c (__ctanl): Likewise.
33777 * math/s_ctanhl.c (__ctanhl): Likewise.
33778
203e5603
JM
337792012-09-25 Joseph Myers <joseph@codesourcery.com>
33780
33781 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33782 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33783 (_IO_off_t): Define to __off_t, not _G_off_t.
33784 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33785 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33786 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33787 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33788 type of __dummy and __dummy2 fields.
33789 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33790 (_G_ssize_t): Likewise.
33791 (_G_off_t): Likewise.
33792 (_G_pid_t): Likewise.
33793 (_G_uid_t): Likewise.
33794 (_G_wchar_t): Likewise.
33795 (_G_wint_t): Likewise.
33796 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33797 (_G_ssize_t): Likewise.
33798 (_G_off_t): Likewise.
33799 (_G_pid_t): Likewise.
33800 (_G_uid_t): Likewise.
33801 (_G_wchar_t): Likewise.
33802 (_G_wint_t): Likewise.
33803 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33804 (_G_ssize_t): Likewise.
33805 (_G_off_t): Likewise.
33806 (_G_pid_t): Likewise.
33807 (_G_uid_t): Likewise.
33808 (_G_wchar_t): Likewise.
33809 (_G_wint_t): Likewise.
33810
9fab36eb
SP
338112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33812
33813 * malloc/arena.c: Include malloc-sysdep.h.
33814 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33815 is sufficient to shrink the heap or an unmap is needed.
33816 * sysdeps/generic/malloc-sysdep.h: New file. Define
33817 new function check_may_shrink_heap.
33818 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33819 new function check_may_shrink_heap.
33820
2b4f00d1
SP
338212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33822
33823 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33824 comments.
33825
9a9028b1
DL
338262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33827
57c69bef
DL
33828 * catgets/test-gencat.sh: Add "set -e".
33829 * elf/tst-pathopt.sh: Likewise.
33830 * grp/tst_fgetgrent.sh: Likewise.
33831 * iconvdata/run-iconv-test.sh: Likewise.
33832 * intl/tst-gettext.sh: Likewise.
33833 * intl/tst-gettext2.sh: Likewise.
33834 * intl/tst-gettext4.sh: Likewise.
33835 * intl/tst-gettext6.sh: Likewise.
33836 * intl/tst-translit.sh: Likewise.
33837 * io/ftwtest-sh: Likewise.
33838 * libio/test-freopen.sh: Likewise.
33839 * malloc/tst-mtrace.sh: Likewise.
33840 * posix/globtest.sh: Likewise.
33841 * posix/tst-getconf.sh: Likewise.
33842 * posix/wordexp-tst.sh: Likewise.
33843 * stdio-common/tst-printf.sh: Likewise.
33844 * stdio-common/tst-unbputc.sh: Likewise.
33845 * stdlib/tst-fmtmsg.sh: Likewise.
33846 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33847 * catgets/Makefile: Do not specify -e option when running
33848 testsuite shell scripts.
33849 * elf/Makefile: Likewise.
33850 * grp/Makefile: Likewise.
33851 * iconvdata/Makefile: Likewise.
33852 * intl/Makefile: Likewise.
33853 * io/Makefile: Likewise.
33854 * libio/Makefile: Likewise.
33855 * malloc/Makefile: Likewise.
33856 * posix/Makefile: Likewise.
33857 * stdio-common/Makefile: Likewise.
33858 * stdlib/Makefile: Likewise.
33859 * sysdeps/x86_64/Makefile: Likewise.
33860
9a9028b1
DL
33861 * io/ftwtest-sh: Add copyright header.
33862 * posix/globtest.sh: Likewise.
33863 * posix/tst-getconf.sh: Likewise.
33864 * posix/wordexp-tst.sh: Likewise.
33865 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33866
ced6f16e
L
338672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33868
94b32c39
L
33869 [BZ #13679]
33870 * Makeconfig (+link): Defined as $(+link-static) if
33871 $(build-shared) isn't yes.
33872 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33873 isn't yes.
33874 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33875
189e935b
L
33876 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33877
ced6f16e
L
33878 [BZ #14562]
33879 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33880 new chunk size with MALLOC_ALIGN_MASK.
33881
a9f8e53a
JM
338822012-09-24 Joseph Myers <joseph@codesourcery.com>
33883
33884 [BZ #5044]
33885 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33886 <rounding-mode.h>.
33887 (__printf_fphex): Determine rounding using get_rounding_mode and
33888 round_away.
33889 * stdio-common/tst-printf-round.c (struct hex_test): New
33890 structure.
33891 (hex_tests): New variable.
33892 (test_hex_in_one_mode): New function.
33893 (do_test): Also run tests for hex float output.
33894
43153109
JM
338952012-09-21 Joseph Myers <joseph@codesourcery.com>
33896
33897 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33899 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33900 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33901 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33902 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33903 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33904 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33905
8a26625d
JM
339062012-09-20 Joseph Myers <joseph@codesourcery.com>
33907
33908 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33909 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33910 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33911 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33912
f3fd569c
DL
339132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33914
33915 [BZ #14579]
33916 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33917 mode only.
33918 * elf/tst-rtld-load-self.sh: New test.
33919 * elf/Makefile: Run it.
33920
63bbedd4
JM
339212012-09-18 Joseph Myers <joseph@codesourcery.com>
33922
33923 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33924 (tst-writev-ENV): Remove.
33925 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33926
626f8b6a
CM
339272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33928
33929 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33930
b7aaa4d6
JM
339312012-09-17 Joseph Myers <joseph@codesourcery.com>
33932
33933 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33934 unconditional.
33935 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33936 Likewise.
33937 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33938 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33940 Likewise.
33941
65513990
L
339422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33943
33944 [BZ #14587]
33945 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33946 * config.make.in (have-cpp-asm-debuginfo): Removed.
33947 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33948 * configure: Regenerated.
33949
784761be
JM
339502012-09-14 Joseph Myers <joseph@codesourcery.com>
33951
33952 [BZ #5044]
33953 * stdio-common/printf_fp.c: Include <stdbool.h> and
33954 <rounding-mode.h>.
33955 (___printf_fp): Determine rounding using get_rounding_mode and
33956 round_away.
33957 * stdio-common/tst-printf-round.c: New file.
33958 * stdio-common/Makefile (tests): Add tst-printf-round.
33959 (link-libm): New variable.
33960 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33961
9503345f
L
339622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33963
33964 [BZ #14576]
33965 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33966 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33967 Likewise.
33968 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33969 Likewise.
33970
ad35fc00
JM
339712012-09-13 Joseph Myers <joseph@codesourcery.com>
33972
33973 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33974 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33975 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33976 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33977
6c9b0f68
JM
339782012-09-12 Joseph Myers <joseph@codesourcery.com>
33979
33980 [BZ #14518]
33981 * include/rounding-mode.h: New file.
33982 * sysdeps/generic/get-rounding-mode.h: Likewise.
33983 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33984 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33985 (MAX_VALUE): New macro.
33986 (MIN_VALUE): Likewise.
33987 (overflow_value): New function.
33988 (underflow_value): Likewise.
33989 (round_and_return): Use overflow_value and underflow_value to
33990 determine return values in overflow and underflow cases. Use
33991 round_away to determine rounding depending on rounding mode.
33992 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33993 determine return values in overflow and underflow cases.
33994 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33995 (struct test_results): New structure.
33996 (struct test): Use struct test_results to store expected results
33997 for all rounding modes.
33998 (TEST): Include expected results for all rounding modes.
33999 (test_in_one_mode): New function.
34000 (do_test): Use test_in_one_mode to compute and check results.
34001 Check results for all rounding modes.
34002 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34003 $(link-libm).
34004
19fcedd5
AM
340052012-12-09 Allan McRae <allan@archlinux.org>
34006
1e9d84cd 34007 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34008
8bbfd2f1
JM
340092012-09-11 Joseph Myers <joseph@codesourcery.com>
34010
34011 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34012 (_G_int32_t): Likewise.
34013 (_G_uint16_t): Likewise.
34014 (_G_uint32_t): Likewise.
34015 (_G_HAVE_BOOL): Likewise.
34016 (_G_HAVE_ATEXIT): Likewise.
34017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34018 (_G_HAVE_IO_FILE_OPEN): Likewise.
34019 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34020 (_G_int32_t): Likewise.
34021 (_G_uint16_t): Likewise.
34022 (_G_uint32_t): Likewise.
34023 (_G_HAVE_BOOL): Likewise.
34024 (_G_HAVE_ATEXIT): Likewise.
34025 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34026 (_G_HAVE_IO_FILE_OPEN): Likewise.
34027 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34028 (_G_int32_t): Likewise.
34029 (_G_uint16_t): Likewise.
34030 (_G_uint32_t): Likewise.
34031 (_G_HAVE_BOOL): Likewise.
34032 (_G_HAVE_ATEXIT): Likewise.
34033 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34034 (_G_HAVE_IO_FILE_OPEN): Likewise.
34035
b1dc5912
L
340362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34037
34038 * csu/libc-tls.c: Update copyright years.
34039
0e886ef9
JM
340402012-09-10 Joseph Myers <joseph@codesourcery.com>
34041
28361c5e
JM
34042 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34043 [!_G_USING_THUNKS]: Remove conditional code.
34044 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34045 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34046
0e886ef9
JM
34047 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34048 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34049 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34050 (_G_VTABLE_LABEL_PREFIX): Likewise.
34051 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34052 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34054 (_G_VTABLE_LABEL_PREFIX): Likewise.
34055 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34056 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34058 (_G_VTABLE_LABEL_PREFIX): Likewise.
34059 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34060
bcba7aa2
L
340612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34062
34063 * libio/Makefile: Include ../Makeconfig before tests.
34064 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34065 only if $(build-shared) is yes.
34066
06585ee8
L
34067 * iconv/gconv_db.c: Update copyright years.
34068
80ccd52c
LD
340692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34070
34071 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34072 unwind info if defined PIC. Fix special cases description.
34073 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34074
34075 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34076 DP_HI_MASK entry.
34077 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34078
691bc9c1
L
340792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34080
3d9b46b3
L
34081 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34082
de2139a9
L
34083 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34084 is NULL.
34085
5ca78dd0
L
34086 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34087 (LDLIBS-tst-chk4): This.
34088 (LDFLAGS-tst-chk5): Renamed to ...
34089 (LDLIBS-tst-chk5): This.
34090 (LDFLAGS-tst-chk6): Renamed to ...
34091 (LDLIBS-tst-chk6): This.
34092 (LDFLAGS-tst-lfschk4): Renamed to ...
34093 (LDLIBS-tst-lfschk4): This.
34094 (LDFLAGS-tst-lfschk5): Renamed to ...
34095 (LDLIBS-tst-lfschk5): This.
34096 (LDFLAGS-tst-lfschk6): Renamed to ...
34097 (LDLIBS-tst-lfschk6): This.
34098
691bc9c1
L
34099 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34100 on $(common-objpfx)soversions.mk.
34101
65cafb1c
JM
341022012-09-07 Joseph Myers <joseph@codesourcery.com>
34103
34104 [BZ #10014]
34105 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34106 example host name.
34107
c78ab094
SP
341082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34109
34110 * malloc/arena.c (arena_get_retry): New function that gets
34111 another arena for the caller to try its request on.
34112 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34113 current arena cannot fulfill the request.
34114 (__libc_memalign): Likewise.
34115 (__libc_memalign): Likewise.
34116 (__libc_pvalloc): Likewise.
34117 (__libc_calloc): Likewise.
34118
01f49f59
JT
341192012-09-05 John Tobey <john.tobey@gmail.com>
34120
34121 [BZ #13542]
34122 * manual/arith.texi (Operations on Complex): Fix description
34123 of carg branch cut.
34124
4c23fed5
JM
341252012-09-06 Joseph Myers <joseph@codesourcery.com>
34126
1d3c8572
JM
34127 [BZ #10014]
34128 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34129 host name.
34130
4c23fed5
JM
34131 [BZ #10038]
34132 * manual/memory.texi (Memory): Make order of menu items match
34133 order of sections.
34134
04570aaa
L
341352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34136
34137 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34138 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34139 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34140
b80af2f4
L
341412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34142
34143 * csu/libc-tls.c (static_dtv): Renamed to ...
34144 (_dl_static_dtv): This. Make it global.
34145 (_dl_initial_dtv): Removed.
34146 (__libc_setup_tls): Updated.
34147 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34148 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34149 DL_INITIAL_DTV.
34150
2abe9f15
PM
341512012-09-06 Petr Machata <pmachata@redhat.com>
34152
34153 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34154 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34155 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34156 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34157
0948c3af
L
341582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 [BZ #14545]
34161 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34162 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34163 freeing dtv[-1].
34164
a5055ad1
L
341652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34166
34167 [BZ #14544]
34168 * Makeconfig (link-static-before-libc): Replace $(+prector)
34169 with $(+prectorT).
34170 (link-static-after-libc): Replace $(+postctor) with
34171 $(+postctorT).
34172 (link-bounded): Replace $(+prector)/$(+postctor) with
34173 $(+prectorT)/$(+postctorT).
34174 (+prectorT): New macro.
34175 (+postctorT): Likewise.
34176
ed8c2ecd
JM
341772012-09-06 Joseph Myers <joseph@codesourcery.com>
34178
34179 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34180 (round_str): Handle values above the maximum for IBM long double
34181 as inexact.
34182 * stdlib/tst-strtod-round.c (tests): Regenerated.
34183
14c996c8
AK
341842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34185
34186 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34187 assembler flag.
34188 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34189 zarch_nohighgprs around the zarch optimized routines.
34190 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34191 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34193 for zarch.
34194
430d6ce6
DM
341952012-09-05 David S. Miller <davem@davemloft.net>
34196
34197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34198
57f41c40
AS
34199 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34200 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34201 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34202 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34203 entries.
34204
24d4e01b
AO
342052012-09-05 Alexandre Oliva <aoliva@redhat.com>
34206
34207 * malloc/arena.c: Fold copyright years.
34208 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34209
61d58174
AO
342102012-09-05 Alexandre Oliva <aoliva@redhat.com>
34211
34212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34213
20196a5e
AO
342142012-09-05 Alexandre Oliva <aoliva@redhat.com>
34215
34216 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34217
5c447383
AO
342182012-09-05 Alexandre Oliva <aoliva@redhat.com>
34219
34220 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34221 change internal state upon failure.
34222
fad64255
AO
342232012-09-05 Alexandre Oliva <aoliva@redhat.com>
34224
34225 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34226 * malloc/memusage.c (mmap): Likewise.
34227 (mmap64, mremap): Likewise. Adjust name in comment.
34228
1ffb8c90
SP
342292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34230
34231 * libio/fileops.c: Fix typos in comments.
34232 * libio/oldfileops.c: Likewise.
34233 * libio/wfileops.c: Likewise.
34234
6ef9cc37
SP
342352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34236
34237 [BZ #1349]
34238 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34239 (tst-malloc-usable-ENV): Set environment for test case.
34240 * malloc/hooks.c (malloc_check_get_size): New function to get
34241 requested size.
34242 * malloc/malloc.c (musable): Use malloc_check_get_size.
34243 * malloc/tst-malloc-usable.c: New test case.
34244
4d038ae3
AS
342452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34246
34247 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34248
c4e85184
AM
342492012-09-05 Allan McRae <allan@archlinux.org>
34250
b9dafc56 34251 [BZ #13966]
c4e85184
AM
34252 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34253 determine header location.
34254 * configure: Regenerated.
34255
e1343020
AS
342562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34257
34258 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34259 float format.
34260 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34261 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34262 format.
e1343020
AS
34263 (test): Regenerate.
34264
0a9f1987
DM
342652012-09-04 David S. Miller <davem@davemloft.net>
34266
34267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34270
29237804
FW
342712012-09-04 Florian Weimer <fweimer@redhat.com>
34272
34273 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34274 failures.
34275
edb3cb88
FW
34276 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34277
60160d83
JM
342782012-09-04 Joseph Myers <joseph@codesourcery.com>
34279
34280 [BZ #9914]
34281 * libio/iogetdelim.c: Include <limits.h>.
34282 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34283 + len + 1 would overflow.
34284
bcd6c8dc
AJ
342852012-09-03 Andreas Jaeger <aj@suse.de>
34286
34287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34288 * sysdeps/i386/fpu/libm-test-ulps: Update.
34289
4ffffbd2
LD
342902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34291
34292 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34293 Add s_sinf-sse2, s_conf-sse2.
34294
34295 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34296 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34297 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34298 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34299
34300 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34301 for using routine as __sinf_ia32.
34302 Use macro for function declaration and weak_alias.
34303 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34304 for using routine as __cosf_ia32.
34305 Use macro for function declaration and weak_alias.
34306
34307 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34308 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34309
34310 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34311 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34313
34314 * math/libm-test.inc (cos_test): Add more test cases.
34315 (sin_test): Likewise.
34316 (sincos_test): Likewise.
34317
511fa286
AK
343182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34319
34320 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34321 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34322 hidden.
34323 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34324
5f30cfec
L
343252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34326
34327 [BZ #14538]
34328 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34329 first element of the GOT.
34330 (elf_machine_load_address): Return the difference between
34331 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34332
0786794f
AM
343332012-09-01 Allan McRae <allan@archlinux.org>
34334
5f30cfec
L
34335 [BZ #13412]
34336 * configure.in (AWK): Require gawk version 3.0 or later.
34337 * configure: Regenerated.
0786794f 34338
26889eac
JM
343392012-09-01 Joseph Myers <joseph@codesourcery.com>
34340
34341 * sysdeps/unix/sysv/linux/kernel-features.h
34342 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34344 [__NR_clock_getres]: Make code unconditional.
34345 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34346 (clock_getcpuclockid): Remove code left unreachable by removal of
34347 conditionals.
34348 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34349 code unconditional.
34350 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34351 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34352 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34353 Make code unconditional.
34354 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34356 * sysdeps/unix/sysv/linux/clock_settime.c
34357 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34358 conditional code.
34359 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34360 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34361
d22e28b0
L
343622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34363
34364 [BZ #14476]
34365 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34366 scripts/test-installation.pl.
34367
34368 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34369 and $ld_so_version if it is set.
34370
050af9c4
SP
343712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34372
34373 [BZ #14516]
34374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34375 failure if reading from procfs failed.
34376 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34377
ad845c0b
JM
343782012-08-27 Joseph Myers <joseph@codesourcery.com>
34379
34380 * sysdeps/unix/sysv/linux/kernel-features.h
34381 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34382 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34383 Remove conditional code.
34384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34385 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34386 Remove conditional code.
34387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34388 * sysdeps/unix/sysv/linux/i386/fxstat.c
34389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34391 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34394 * sysdeps/unix/sysv/linux/i386/lxstat.c
34395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34397 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34398 Remove conditional code.
34399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34400 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34401 Remove conditional code.
34402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34403 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34404 <kernel-features.h>.
34405 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34406 Remove.
34407 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34408 Remove conditional code.
34409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34410 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34411 Remove conditional.
34412
5dbf56af
MF
344132012-08-27 Mike Frysinger <vapier@gentoo.org>
34414
34415 [BZ #5400]
34416 * NEWS: Add fixed bug number.
34417
d6e70f43
JM
344182012-08-27 Joseph Myers <joseph@codesourcery.com>
34419
7efb4737
JM
34420 [BZ #14519]
34421 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34422 underflowing exponent in case of negative sign.
34423 * stdlib/tst-strtod-round-data: Add more tests.
34424 * stdlib/tst-strtod-round.c (tests): Regenerated.
34425
af92131a
JM
34426 [BZ #3479]
34427 * stdlib/strtod_l.c (NDIG): Remove.
34428 (HEXNDIG): Likewise.
34429 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34430 smallest representable value.
34431 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34432 lie within an exact representation of 1/2 ulp of the result.
34433 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34434 unconditionally.
34435 (TENS_P9_IDX): Define unconditionally.
34436 (TENS_P9_SIZE): Likewise.
34437 (TENS_P10_IDX): Likewise.
34438 (TENS_P10_SIZE): Likewise.
34439 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34440 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34441 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34442 entries for 10^2^13 and 10^2^14.
34443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34444 (TENS_P13_IDX): Define.
34445 (TENS_P13_SIZE): Likewise.
34446 (TENS_P14_IDX): Likewise.
34447 (TENS_P14_SIZE): Likewise.
34448 (_fpioconst_pow10): Change array size to
34449 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34450 unconditional.
34451 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34452 1024]: Add entries for 10^2^13 and 10^2^14.
34453 [LAST_POW10 > _LAST_POW10]: Remove #error.
34454 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34455 (_fpioconst_pow10): Change array size to
34456 FPIOCONST_POW10_ARRAY_SIZE.
34457 * stdlib/gen-fpioconst.c: New file.
34458 * stdlib/gen-tst-strtod-round.c: Likewise.
34459 * stdlib/tst-strtod-round-data: Likewise.
34460 * stdlib/tst-strtod-round.c: Likewise.
34461 * stdlib/Makefile (tests): Add tst-strtod-round.
34462
d6e70f43
JM
34463 [BZ #14459]
34464 * stdlib/strtod_l.c: Include <stdint.h>.
34465 (NDEBUG): Do not define.
34466 (round_and_return): Change EXPONENT parameter to type intmax_t.
34467 Rearrange calculations to avoid internal overflow possibilities.
34468 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34469 Rearrange calculations to avoid internal overflow possibilities.
34470 Assert that number fits inside MPNSIZE limbs.
34471 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34472 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34473 calculations and add assertions to avoid internal overflow
34474 possibilities. Add casts to avoid signed/unsigned operations.
34475 * stdlib/tst-strtod-overflow.c: New file.
34476 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34477
1f529f7d
MP
344782012-08-25 Marek Polacek <polacek@redhat.com>
34479
34480 * time/time.h: Fix some typos in comments.
34481
59a629f1
RM
344822012-08-23 Roland McGrath <roland@hack.frob.com>
34483
34484 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34485 * posix/tst-rfc3484-2.c: Likewise.
34486 * posix/tst-rfc3484-3.c: Likewise.
34487
d3bafbc9
SM
344882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34489
34490 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34491 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34492
4efcc022
JM
344932012-08-23 Joseph Myers <joseph@codesourcery.com>
34494
34495 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34496 #include of fxstatat64.c.
34497
3cc3ef96
RM
344982012-08-22 Roland McGrath <roland@hack.frob.com>
34499
f04e2132
RM
34500 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34501 * shadow/getspent_r.c: Likewise.
34502 * shadow/getspnam.c: Likewise.
34503 * shadow/getspnam_r.c: Likewise.
34504 * gshadow/getsgent.c: Likewise.
34505 * gshadow/getsgent_r.c: Likewise.
34506 * gshadow/getsgnam.c: Likewise.
34507 * gshadow/getsgnam_r.c: Likewise.
34508 * inet/getnetbyad.c: Likewise.
34509 * inet/getnetbyad_r.c: Likewise.
34510 * inet/getnetbynm.c: Likewise.
34511 * inet/getnetbynm_r.c: Likewise.
34512 * inet/getnetent.c: Likewise.
34513 * inet/getnetent_r.c: Likewise.
34514 * inet/getproto.c: Likewise.
34515 * inet/getproto_r.c: Likewise.
34516 * inet/getprtent.c: Likewise.
34517 * inet/getprtent_r.c: Likewise.
34518 * inet/getprtname.c: Likewise.
34519 * inet/getprtname_r.c: Likewise.
34520 * inet/getrpcbyname.c: Likewise.
34521 * inet/getrpcbyname_r.c: Likewise.
34522 * inet/getrpcbynumber.c: Likewise.
34523 * inet/getrpcbynumber_r.c: Likewise.
34524 * inet/getrpcent.c: Likewise.
34525 * inet/getrpcent_r.c: Likewise.
34526 * inet/getaliasent.c: Likewise.
34527 * inet/getaliasent_r.c: Likewise.
34528 * inet/getaliasname.c: Likewise.
34529 * inet/getaliasname_r.c: Likewise.
34530 * nscd/getgrgid_r.c: Likewise.
34531 * nscd/getgrnam_r.c: Likewise.
34532 * nscd/gethstbyad_r.c: Likewise.
34533 * nscd/gethstbynm3_r.c: Likewise.
34534 * nscd/getpwnam_r.c: Likewise.
34535 * nscd/getpwuid_r.c: Likewise.
34536 * nscd/getsrvbynm_r.c: Likewise.
34537 * nscd/getsrvbypt_r.c: Likewise.
34538 * nscd/gai.c: Likewise.
34539
c53d909c
RM
34540 * configure.in (build_nscd): New substituted variable, set
34541 by --disable-build-nscd and defaults to $use_nscd.
34542 * configure: Regenerated.
34543 * config.make.in (build-nscd): New substituted variable.
34544 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34545 Change conditional to require [$(build-nscd) = yes] as well.
34546 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34547
3cc3ef96
RM
34548 [BZ# 13696]
34549 * configure.in (use_nscd): New substituted variable, set by
34550 --disable-nscd. If enabled, define USE_NSCD.
34551 * configure: Regenerated.
34552 * config.h.in: Add USE_NSCD.
34553 * config.make.in (use-nscd): New substituted variable.
34554 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34555 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34556 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34557 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34558 (CFLAGS-getgrnam_r.c): Likewise.
34559 (CFLAGS-initgroups.c): Likewise.
34560 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34561 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34562 Variables removed.
34563 * inet/getnetgrent_r.c
34564 (nscd_setnetgrent): New function, broken out of ...
34565 (setnetgrent): ... here. Call it.
34566 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34567 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34568 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34569 * nscd/Makefile (routines, aux): Move definitions after include of
34570 Makeconfig. Conditionalize on [$(use-nscd) != no].
34571 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34572 Conditionalize on [USE_NSCD].
34573 (is_nscd, nscd_init_cb): Likewise.
34574 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34575 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34576 * nss/nss_db/db-init.c: Likewise.
34577 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34578 [USE_NSCD].
34579 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34580 (make_request): Use it.
34581 (cache_valid_p): New function.
34582 (__check_pf): Use it.
34583 * NEWS: Add item for --disable-nscd.
34584
07e51550
DL
345852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34586
34587 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34588 to support sed >= 4.2.1-20-ga9bf076.
34589 * configure: Regenerated.
34590
35a5b08b
RM
345912012-08-22 Roland McGrath <roland@hack.frob.com>
34592
34593 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34594 Conditionalize whole body on [IREL].
34595
8479f23a
JL
345962012-08-22 Jeff Law <law@redhat.com>
34597
34598 [BZ #14505]
34599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34600 if the family is PF_UNSPEC.
34601
48da0b21
MF
346022012-08-22 Mike Frysinger <vapier@gentoo.org>
34603
34604 * Makerules (lib-version): Rename from V.
34605 (install-lib-nosubdir): Change V to lib-version.
34606
15d0da8c
WS
346072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34608
34609 [BZ #14252]
34610 * powerpc32/power6/wcschr.c: New file.
34611 * powerpc32/power6/wcscpy.c: New file.
34612 * powerpc32/power6/wcsrchr.c: New file.
34613 * powerpc64/power6/wcschr.c: New file.
34614 * powerpc64/power6/wcscpy.c: New file.
34615 * powerpc64/power6/wcsrchr.c: New file.
34616
bcca0895
MK
346172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34618
34619 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34620 (two_way_short_needle): Use it.
5a4aaa33
RM
34621 * string/strstr.c (AVAILABLE1_USES_J): Define.
34622 * string/strcasestr.c: Likewise.
99677e57
MK
34623
34624 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34625 array references.
34626 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34627
400726de
MK
34628 [BZ #11607]
34629 * NEWS: Add an entry.
34630 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34631 define their defaults.
34632 (two_way_short_needle): Detect end-of-string on-the-fly.
34633 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34634 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34635 * string/bug-strcasestr1.c: New test.
34636 * string/Makefile: Run it.
34637
20a71f2c
MK
346382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34639
34640 [BZ #11607]
34641 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34642 the first character.
34643
21ad0558
RM
346442012-08-21 Roland McGrath <roland@hack.frob.com>
34645
34646 * csu/elf-init.c (__libc_csu_irel): Function removed.
34647 * csu/libc-start.c (apply_irel): New function.
34648 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34649
0e1d9911
JM
346502012-08-21 Joseph Myers <joseph@codesourcery.com>
34651
34652 * sysdeps/unix/sysv/linux/kernel-features.h
34653 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34654 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34655 <kernel-features.h>.
34656 [__NR_fadvise64_64]: Make code unconditional.
34657 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34658 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34659 !__NR_fadvise64_64)]: Likewise.
34660 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34661 !__NR_fadvise64_64))]: Likewise.
34662 [__NR_fadvise64]: Make code unconditional.
34663 [!__NR_fadvise64]: Remove conditional code.
34664 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34665 <kernel-features.h>.
34666 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34667 unconditional.
34668 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34669 conditional code.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34671 not include <kernel-features.h>.
34672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34673 unconditional.
34674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34675 conditional code.
34676 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34677 include <kernel-features.h>.
34678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34679 unconditional.
34680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34681 conditional code.
34682
14a50c9d
WS
346832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34684
34685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34686 slight instruction rearrangements per scrollpipe analysis.
34687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34688
c0f4faf0
RM
346892012-08-20 Roland McGrath <roland@hack.frob.com>
34690
696da859
RM
34691 * manual/syslog.texi (syslog; vsyslog, closelog):
34692 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34693 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34694
c0f4faf0
RM
34695 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34696 DSOCAPS to match condition on defining it.
34697
348363b2
JM
346982012-08-20 Joseph Myers <joseph@codesourcery.com>
34699
a35cbf28
JM
34700 * sysdeps/unix/sysv/linux/kernel-features.h
34701 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34711
445f7ecd
JM
34712 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34713 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34714
348363b2
JM
34715 * sysdeps/unix/sysv/linux/kernel-features.h
34716 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34717 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34718 unconditional.
34719 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34720 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34721 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34722 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34723 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34724 Make code unconditional.
34725 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34726 (__mmap64) [!__NR_mmap2]: Likewise.
34727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34728 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34729 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34731 [__NR_mmap2]: Make code unconditional.
34732 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34733 (__mmap64) [!__NR_mmap2]: Likewise.
34734
bc5bc0e5
AK
347352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34736
34737 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34738
88d506de
AJ
347392012-08-18 Andreas Jaeger <aj@suse.de>
34740
34741 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34742
493387d2
MF
347432012-08-18 Mike Frysinger <vapier@gentoo.org>
34744
34745 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34746 * include/unistd.h (__have_sock_cloexec): Likewise.
34747 (__have_pipe2): Likewise.
34748 (__have_dup3): Likewise.
34749
a277af22
MF
347502012-08-18 Mike Frysinger <vapier@gentoo.org>
34751
34752 [BZ #9685]
34753 * include/unistd.h (__have_pipe2): Change define into an extern int.
34754 (__have_dup3): Likewise.
34755 * socket/have_sock_cloexec.c: Include fcntl.h.
34756 (__have_pipe2): New variable.
34757 (__have_dup3): Likewise.
34758
fdab8fd3
MF
347592012-08-17 Mike Frysinger <vapier@gentoo.org>
34760
34761 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34762
31035e80
MP
347632012-08-17 Marek Polacek <polacek@redhat.com>
34764
34765 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34766 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34767
3bd9e993
RM
347682012-08-17 Roland McGrath <roland@hack.frob.com>
34769
c91c505f
RM
34770 * configure.in: Add AC_SUBST for sysheaders.
34771 * configure: Regenerated.
34772 * config.make.in (sysheaders): New substituted variable.
34773
7c6f9d53
RM
34774 * sysdeps/unix/mkfifo.c: Moved ...
34775 * sysdeps/posix/mkfifo.c: ... here.
34776 * sysdeps/unix/mkfifoat.c: Moved ...
34777 * sysdeps/posix/mkfifoat.c: ... here.
34778
34779 * sysdeps/unix/utime.c: Moved ...
34780 * sysdeps/posix/utime.c: ... here.
34781
34782 * sysdeps/unix/time.c: Moved ...
34783 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34784 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34785 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34786
34787 * sysdeps/unix/nice.c: Moved ...
34788 * sysdeps/posix/nice.c: ... here.
34789
34790 * sysdeps/unix/alarm.c: Moved ...
34791 * sysdeps/posix/alarm.c: ... here.
34792
3bd9e993
RM
34793 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34794
d1f09384
JL
347952012-08-17 Jeff Law <law@redhat.com>
34796
34797 * intl/Makefile (codeset_mo): New variable.
34798 ($(codeset_mo)): New target.
34799 (tst-codeset.out): Depend on that. Remove explicit rule.
34800 (tst-gettext3.out, tst-gettext5.out): Likewise.
34801 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34802 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34803 * intl/tst-codeset.sh: Remove.
34804 * intl/tst-gettext3.sh: Likewise.
34805 * intl/tst-gettext5.sh: Likewise.
34806
2ae1ae5c
RM
348072012-08-17 Roland McGrath <roland@hack.frob.com>
34808
c31fdb83
RM
34809 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34810 * sysdeps/unix/syscalls.list: ... here.
34811
a0844057
RM
34812 * sysdeps/posix/getaddrinfo.c
34813 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34814 (gaiconf_init, gaiconf_reload): Use them.
34815 [!_STATBUF_ST_NSEC]
34816 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34817 Define using time_t rather than struct timespec.
34818
750c1f2a
RM
34819 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34820 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34821 Macros removed.
34822 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34823 [!NO_THREADS].
34824 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34825 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34826 Likewise.
34827
2ae1ae5c
RM
34828 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34829 __libc_cleanup_push argument.
34830
e66a42f5
RM
34831 * bits/param.h: New file.
34832 * misc/sys/param.h: New file.
34833 * include/sys/param.h: New file.
34834 * misc/Makefile (headers): Add bits/param.h.
34835 * sysdeps/generic/sys/param.h: File removed.
34836 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34837 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34838 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34839 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34840
b7c08a66
RM
34841 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34842 last change.
34843
b2e1c562
RM
34844 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34845 [_IO_MTSAFE_IO].
34846 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34847 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34848 New macros.
34849
c75ccd4c
RM
34850 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34851 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34852 rather than -D_IO_MTSAFE_IO conditionally.
34853 * stdio-common/Makefile (CPPFLAGS): Likewise.
34854 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34855 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34856 Use $(libio-mtsafe).
34857 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34858 of -D_IO_MTSAFE_IO.
34859 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34860 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34861 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34862 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34863 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34864 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34865 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34866 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34867 (CFLAGS-fread_u_chk.c): Likewise.
34868 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34869 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34870 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34871 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34872 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34873 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34874 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34875 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34876 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34877
34878 * libio/Makefile: Test [$(libc-reentrant) = yes]
34879 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34880
34881 * Makeconfig
34882 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34883 * sysdeps/pthread/configure: File removed.
34884 * sysdeps/pthread/Makeconfig: New file.
34885 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34886 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34887
d9195db8
GB
348882012-08-16 Gary Benson <gbenson@redhat.com>
34889
34890 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34891 unmapping the first object in a namespace.
34892
86466cd9
RM
348932012-08-16 Roland McGrath <roland@hack.frob.com>
34894
34895 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34896 (__internal_setnetgrent): ... this. Add internal_function to
34897 definition. Add libc_hidden_def.
34898 (setnetgrent): Update caller.
34899 (internal_endnetgrent): Renamed to ...
34900 (__internal_endnetgrent): ... this. Add internal_function to
34901 definition. Add libc_hidden_def.
34902 (endnetgrent): Update caller.
34903 (internal_getnetgrent_r): Renamed to ...
34904 (__internal_getnetgrent_r): ... this. Add internal_function to
34905 definition. Add libc_hidden_def.
34906 (__getnetgrent_r): Update caller.
34907 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34908
c3c8283c
JM
349092012-08-16 Joseph Myers <joseph@codesourcery.com>
34910
34911 * stdlib/longlong.h: Update from GCC.
34912
db1ee0a8
RM
349132012-08-16 Roland McGrath <roland@hack.frob.com>
34914
34915 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34916 on _QL, which is set by umul_ppmm but never used.
34917 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34918 variables, which are set by GMP macros but never used.
34919 * stdio-common/_itowa.c (_itowa): Likewise.
34920 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34921 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34922
30f69637
CD
349232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34924
34925 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34926 struct La_sh_regs is not constant.
34927 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34928 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34929 and struct La_sparc64_regs are not constant.
34930
93a78ac4
JM
349312012-08-16 Joseph Myers <joseph@codesourcery.com>
34932
34933 * sysdeps/unix/sysv/linux/kernel-features.h
34934 (__ASSUME_POSIX_TIMERS): Remove.
34935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34937 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34938 Make code unconditional.
34939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34940 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34941 Make code unconditional.
34942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34943 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34944 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34946 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34947 Make code unconditional.
34948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34949 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34950 (__libc_missing_posix_timers): Remove.
34951
dd924cd7
RM
349522012-08-15 Roland McGrath <roland@hack.frob.com>
34953
4b4f2771
RM
34954 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34955 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34956
601c888b
RM
34957 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34958
176790a7
RM
34959 * elf/dl-sym.c: Include <stdlib.h>.
34960
329bc018
RM
34961 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34962 constants, which avoids warnings in 32-bit builds.
34963
e04e272d
RM
34964 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34965 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34966
952bf94a
RM
34967 * misc/lseek.c: File moved to ...
34968 * io/lseek.c: ... here.
34969
7c99b50a
RM
34970 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34971
dd924cd7
RM
34972 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34973 shifting LEN more than 31 bits at once.
34974
b3f479a8
LD
349752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34976
34977 [BZ #14195]
8c4ae0d4
RM
34978 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34979 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34980 * string/test-strncasecmp.c (check1): Renamed to...
34981 (bz12205): ...this.
34982 (bz14195): Add new testcase for two empty input strings and N > 0.
34983 (test_main): Call new testcase, adapt for renamed function.
34984
9c55864e
AJ
349852012-08-15 Andreas Jaeger <aj@suse.de>
34986
34987 [BZ #14090]
34988 * crypt/md5test2.c: New test, based on test supplied by Serge
34989 Belyshev <belyshev@depni.sinp.msu.ru>.
34990 * crypt/Makefile (xtests): Add md5test-giant..
34991 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34992
02dcb6c5
PE
349932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34994
34995 [BZ #14090]
34996 * crypt/md5.c (md5_process_block): Don't assume the buffer
34997 length is less than 2**32.
34998 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34999 length is less than 2**64.
35000
a3f95dcc
RM
350012012-08-15 Roland McGrath <roland@hack.frob.com>
35002
be75d758
RM
35003 * string/str-two-way.h: Include <sys/param.h>.
35004 (MAX): Macro removed.
35005
7312ca90
RM
35006 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35007 Move #define and #undef of memmove to just before and after
35008 including <string.h>.
35009
9a0a5486
RM
35010 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35011 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35012 and after including <string.h>. Move declarations of
35013 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35014 to before #include "string/memmove.c".
35015
67cc348d
RM
35016 * include/dirent.h: Declare __getdirentries.
35017
a3f95dcc
RM
35018 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35019 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35020
ca98e171
MF
350212012-08-14 Mike Frysinger <vapier@gentoo.org>
35022
35023 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35024 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35025 * sysdeps/i386/configure: Regenerated.
35026 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35027 STABS_CURRENT_FILE, and STABS_FUN.
35028 (END): Remove call to STABS_FUN_END.
35029 (STABS_CURRENT_FILE1): Delete.
35030 (STABS_CURRENT_FILE): Likewise.
35031 (STABS_FUN): Likewise.
35032 (STABS_FUN_END): Likewise.
35033 (STABS_FUN2): Likewise.
35034 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35035 * sysdeps/x86_64/configure: Regenerated.
35036
5908bf46
RM
350372012-08-14 Roland McGrath <roland@hack.frob.com>
35038
35039 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35040 * elf/dl-lookup.c: Likewise.
5908bf46 35041
f2c05b9e
JM
350422012-08-14 Joseph Myers <joseph@codesourcery.com>
35043
35044 * sysdeps/unix/sysv/linux/kernel-features.h
35045 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35046 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35047 unconditionally.
35048 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35049 unconditionally.
35050 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35051 condition on __ASSUME_CLONE_THREAD_FLAGS.
35052
e11f5155
AJ
350532012-08-14 Andreas Jaeger <aj@suse.de>
35054
35055 * sysdeps/i386/fpu/libm-test-ulps: Update.
35056
51a9ba86
MK
350572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35058
2fdd4f78
AJ
35059 * include/atomic.h (atomic_exchange_and_add): Split into ...
35060 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35061 New atomic macros.
51a9ba86 35062
ba6cba9e
MT
350632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35064
35065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35066
42443a47
JL
350672012-08-13 Jeff Law <law@redhat.com>
35068
35069 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35070 null byte in the output string.
35071
121dce05
JM
350722012-08-10 Joseph Myers <joseph@codesourcery.com>
35073
35074 * sysdeps/unix/sysv/linux/kernel-features.h
35075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35076 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35077 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35079 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35080 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35081 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35082
bf51f568
JL
350832012-08-09 Jeff Law <law@redhat.com>
35084
35085 [BZ #13939]
35086 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35087 When avoid_arena is set, don't retry in the that arena. Pick the
35088 next one, whatever it might be.
35089 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35090 (arena_lock): Pass in new parameter to arena_get2.
35091 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35092 arena_get2.
35093 (__libc_malloc): Unify retrying after main arena failure with
35094 __libc_memalign version.
35095 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35096
f85fa270
L
350972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 [BZ #14166]
35100 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35101 to __redirect_strstr.
35102 (__strstr_sse42): Use typeof __redirect_strstr.
35103 (__strstr_ia32): Likewise.
35104 (__libc_strstr): New prototype.
35105 (strstr): Renamed to ...
35106 (__libc_strstr): This.
35107 (strstr): New strong alias of __libc_strstr.
35108 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35109 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35110 __redirect_time.
35111 Include <time.h>.
35112 (__libc_time): New prototype.
35113 (time_ifunc): Replace time with __libc_time.
35114 (time): New strong alias and hidden definition of __libc_time.
35115 (__GI_time): Remove strong alias.
35116 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35117 Include <stddef.h>.
35118 (memmove): Redefined to __redirect_memmove.
35119 (__memmove_sse2): Use typeof __redirect_memmove.
35120 (__memmove_ssse3): Likewise.
35121 (__memmove_ssse3_back): Likewise.
35122 (__libc_memmove): New prototype.
35123 (memmove): Renamed to ...
35124 (__libc_memmove): This.
35125 (memmove): New strong alias of __libc_memmove.
35126
33b4a91e
MS
351272012-08-08 Mark Salter <msalter@redhat.com>
35128
35129 * elf/elf.h
35130 (R_MN10300_TLS_GD): Define.
35131 (R_MN10300_TLS_LD): Likewise.
35132 (R_MN10300_TLS_LDO): Likewise.
35133 (R_MN10300_TLS_GOTIE): Likewise.
35134 (R_MN10300_TLS_IE): Likewise.
35135 (R_MN10300_TLS_LE): Likewise.
35136 (R_MN10300_TLS_DTPMOD): Likewise.
35137 (R_MN10300_TLS_DTPOFF): Likewise.
35138 (R_MN10300_TLS_TPOFF): Likewise.
35139 (R_MN10300_SYM_DIFF): Likewise.
35140 (R_MN10300_ALIGN): Likewise.
35141 (R_MN10300_NUM): Update.
35142
b36137f1
JM
351432012-08-08 Joseph Myers <joseph@codesourcery.com>
35144
35145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35146 Remove.
35147
cdd915fd
RM
351482012-08-08 Roland McGrath <roland@hack.frob.com>
35149
a2433aac
RM
35150 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35151
cdd915fd
RM
35152 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35153 sysdeps/unix -> sysdeps/posix move.
35154 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35155
bf9b740a
AM
351562012-08-07 Allan McRae <allan@archlinux.org>
35157
35158 [BZ #14303]
35159 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35160 (SUNOS_CPP): Likewise.
35161 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35162 not found.
35163 (open_input): Call CPP using execvp.
35164
93df14ee
JM
351652012-08-07 Joseph Myers <joseph@codesourcery.com>
35166
35167 * sysdeps/unix/sysv/linux/kernel-features.h
35168 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35171 (__ASSUME_WAITID_SYSCALL): Likewise.
35172 * sysdeps/unix/sysv/linux/dl-execstack.c
35173 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35174 code unconditional.
35175 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35176 conditional code.
35177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35178 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35179 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35180 code.
35181 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35182 unconditional.
35183 [__ASSUME_WAITID_SYSCALL]: Likewise.
35184 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35185
d34689de
RM
351862012-08-07 Roland McGrath <roland@hack.frob.com>
35187
a281decc
RM
35188 * sysdeps/unix/closedir.c: Renamed to ...
35189 * sysdeps/posix/closedir.c: ... here.
35190 * sysdeps/unix/dirfd.c: Renamed to ...
35191 * sysdeps/posix/dirfd.c: ... here.
35192 * sysdeps/unix/dirstream.h: Renamed to ...
35193 * sysdeps/posix/dirstream.h: ... here.
35194 * sysdeps/unix/fdopendir.c: Renamed to ...
35195 * sysdeps/posix/fdopendir.c: ... here.
35196 * sysdeps/unix/opendir.c: Renamed to ...
35197 * sysdeps/posix/opendir.c: ... here.
35198 * sysdeps/unix/readdir.c: Renamed to ...
35199 * sysdeps/posix/readdir.c: ... here.
35200 * sysdeps/unix/readdir_r.c: Renamed to ...
35201 * sysdeps/posix/readdir_r.c: ... here.
35202 * sysdeps/unix/rewinddir.c: Renamed to ...
35203 * sysdeps/posix/rewinddir.c: ... here.
35204 * sysdeps/unix/seekdir.c: Renamed to ...
35205 * sysdeps/posix/seekdir.c: ... here.
35206 * sysdeps/unix/telldir.c: Renamed to ...
35207 * sysdeps/posix/telldir.c: ... here.
35208 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35209 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35210 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35211 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35212
22895b47
RM
35213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35214 * bits/fcntl.h: ... here.
35215
707a53b6
RM
35216 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35217 not 0.
35218 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35219 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35220 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35221 (struct flock): Move l_start, l_len to the beginning.
35222 Use __pid_t for l_pid.
35223 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35224 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35225 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35226 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35227 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35228 [__USE_LARGEFILE64] (struct flock64): New type.
35229 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35230
f0bd3e25
RM
35231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35232 * bits/dirent.h: ... here.
35233
d34689de
RM
35234 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35235 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35236
6dad2c06
JM
352372012-08-07 Joseph Myers <joseph@codesourcery.com>
35238
35239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35240 Change from 2.6.0 to 2.6.16.
35241 * sysdeps/unix/sysv/linux/configure: Regenerated.
35242 * sysdeps/unix/sysv/linux/kernel-features.h
35243 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35244 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35245 version.
35246 (__ASSUME_UTIMES): Likewise.
35247 (__ASSUME_CLONE_STOPPED): Remove.
35248 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35249 architectures, not kernel version.
35250 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35251 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35252 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35253 (__ASSUME_WAITID_SYSCALL): Likewise.
35254 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35255 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35256 * README: State 2.6.16 as minimum Linux kernel version. Do not
35257 refer to older versions.
35258
03af9520
RM
352592012-08-06 Roland McGrath <roland@hack.frob.com>
35260
8e49df1d
RM
35261 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35262 Define alphasort64 as an alias.
35263 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35264 Define versionsort64 as an alias.
35265 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35266 Define scandir64 as an alias.
35267 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35268 Define scandirat64 as an alias.
35269 * dirent/alphasort64.c (alphasort64):
35270 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35271 * dirent/versionsort64.c: Likewise.
35272 * dirent/scandir64.c: Likewise.
35273 * dirent/scandirat64.c: Likewise.
35274 * sysdeps/wordsize-64/alphasort.c: File removed.
35275 * sysdeps/wordsize-64/alphasort64.c: File removed.
35276 * sysdeps/wordsize-64/scandir.c: File removed.
35277 * sysdeps/wordsize-64/scandir64.c: File removed.
35278 * sysdeps/wordsize-64/scandirat.c: File removed.
35279 * sysdeps/wordsize-64/scandirat64.c: File removed.
35280 * sysdeps/wordsize-64/versionsort.c: File removed.
35281 * sysdeps/wordsize-64/versionsort64.c: File removed.
35282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35290
35291 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35293 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35295 [defined __arch64__ || defined __sparcv9]
35296 (__INO_T_MATCHES_INO64_T): New macro.
35297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35298 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35299 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35300 * sysdeps/unix/sysv/linux/bits/dirent.h
35301 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35302 (_DIRENT_MATCHES_DIRENT64): New macro.
35303
03af9520
RM
35304 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35305 Define lockf64 as an alias.
35306 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35307 Define fseeko64 as an alias.
35308 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35309 Define ftello64 as an alias.
35310 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35311 Define _IO_fgetpos64 and fgetpos64 as aliases.
35312 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35313 Define _IO_fsetpos64 and fsetpos64 as aliases.
35314 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35315 Conditionalize body on this.
35316 * libio/fseeko64.c: Likewise.
35317 * libio/ftello64.c: Likewise.
35318 * libio/iofgetpos64.c: Likewise.
35319 * libio/iofsetpos64.c: Likewise.
35320 * sysdeps/wordsize-64/lockf.c: File removed.
35321 * sysdeps/wordsize-64/lockf64.c: File removed.
35322 * sysdeps/wordsize-64/fseeko.c: File removed.
35323 * sysdeps/wordsize-64/fseeko64.c: File removed.
35324 * sysdeps/wordsize-64/ftello.c: File removed.
35325 * sysdeps/wordsize-64/ftello64.c: File removed.
35326 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35327 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35328 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35329 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35330 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35337 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35340
35341 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35343 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35345 [defined __arch64__ || defined __sparcv9]
35346 (__OFF_T_MATCHES_OFF64_T): New macro.
35347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35348 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35350 (__OFF_T_MATCHES_OFF64_T): New macro.
35351
c5757acd
L
353522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35353
35354 * stdlib/secure-getenv.c (__secure_getenv): Replace
35355 GLIBC_2_16 with GLIBC_2_17.
35356
3a31811e
L
353572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35358
35359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35361
faa2bccb
DM
353622012-08-03 David S. Miller <davem@davemloft.net>
35363
35364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35365
85fe1997
JM
353662012-08-03 Joseph Myers <joseph@codesourcery.com>
35367
35368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35369 Remove.
35370 (__ASSUME_CORRECT_SI_PID): Likewise.
35371 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35372 (__ASSUME_TMPFS_NAME): Likewise.
35373 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35374 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35375 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35376 (HAVE_AUX_SECURE): Make definition unconditional.
35377 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35378 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35379
4f75b7a0
RM
353802012-08-03 Roland McGrath <roland@hack.frob.com>
35381
35382 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35383 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35384 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35385 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35386 __eloop_threshold instead of SYMLOOP_MAX.
35387
35388 * sysdeps/generic/eloop-threshold.h: New file.
35389 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35390 of MAXSYMLINKS.
35391 * elf/chroot_canon.c (chroot_canon): Likewise.
35392
7aab07e4
JM
353932012-08-03 Joseph Myers <joseph@codesourcery.com>
35394
35395 [BZ #13717]
35396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35397 Change to 2.6.0 everywhere.
35398 * sysdeps/unix/sysv/linux/configure: Regenerated.
35399 * sysdeps/unix/sysv/linux/kernel-features.h
35400 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35401 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35402 kernel versions.
35403 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35404 (__ASSUME_FUTEX_REQUEUE): Remove.
35405 (__ASSUME_STATFS64): Define unconditionally.
35406 (__ASSUME_AT_SECURE): Likewise.
35407 (__ASSUME_CORRECT_SI_PID): Likewise.
35408 (__ASSUME_TGKILL): Define without depending on kernel version for
35409 i386.
35410 (__ASSUME_UTIMES): Likewise.
35411 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35412 kernel version.
35413 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35414 (__ASSUME_TMPFS_NAME): Likewise.
35415 * README: Update reference to Linux kernel versions.
35416
b67e9372
MP
354172012-08-02 Marek Polacek <polacek@redhat.com>
35418
1f529f7d 35419 [BZ# 14150]
b67e9372
MP
35420 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35421 libc_cv_asm_type_prefix with %.
35422 * configure: Regenerated.
d2441631
RM
35423 * include/libc-symbols.h: Remove comment about
35424 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35425 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35426 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35427 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35428 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35429 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35430 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35431 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35432 * elf/tst-unique2mod1.c: Likewise.
35433 * elf/tst-unique1mod2.c: Likewise.
35434 * elf/tst-unique1mod1.c: Likewise.
35435 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35436 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35437 Replace ASM_TYPE_DIRECTIVE with .type.
35438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35439 * sysdeps/i386/sysdep.h: Likewise.
35440 * sysdeps/x86_64/sysdep.h: Likewise.
35441 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35443 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35444 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35445 * sysdeps/powerpc/powerpc32/sysdep.h:
35446 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35448 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35449 * sysdeps/i386/fpu/e_powf.S: Likewise.
35450 * sysdeps/i386/fpu/e_expl.S: Likewise.
35451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35453 * sysdeps/i386/fpu/e_pow.S: Likewise.
35454 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35456 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35457 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35458 * sysdeps/i386/fpu/e_log2.S: Likewise.
35459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35461 * sysdeps/i386/fpu/e_powl.S: Likewise.
35462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35464 * sysdeps/i386/fpu/e_logl.S: Likewise.
35465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35466 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35467 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35470 * sysdeps/i386/fpu/e_log.S: Likewise.
35471 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35472 * sysdeps/i386/fpu/e_logf.S: Likewise.
35473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35475 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35476 * sysdeps/i386/fpu/e_log10.S: Likewise.
35477 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35478 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35479 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35480 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35481 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35483 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35484 * sysdeps/i386/i686/strtok.S: Likewise.
35485 * sysdeps/i386/i386-mcount.S: Likewise.
35486 * sysdeps/i386/strtok.S: Likewise.
35487 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35490 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35491 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35492 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35493 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35494 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35496 * sysdeps/x86_64/_mcount.S: Likewise.
35497 * sysdeps/x86_64/strtok.S: Likewise.
35498 * sysdeps/sh/_mcount.S: Likewise.
35499
2747bf9a
RM
355002012-08-01 Roland McGrath <roland@hack.frob.com>
35501
35502 * libio/iofopen.c: Include <fcntl.h>.
35503 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35504 (_IO_fopen64, fopen64): Define as aliases.
35505 * libio/iofopen64.c: Include <fcntl.h>.
35506 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35507 Conditionalize body on this.
35508 * sysdeps/wordsize-64/iofopen.c: File removed.
35509 * sysdeps/wordsize-64/iofopen64.c: File removed.
35510
3fb791b8
MP
355112012-08-01 Marek Polacek <polacek@redhat.com>
35512
35513 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35514 Use dlfcn directly instead of a variable.
35515 (binfmt-subdir): Do not define.
35516 (dlfcn): Likewise.
35517
a9f1039f
JM
355182012-08-01 Joseph Myers <joseph@codesourcery.com>
35519
23bddc06
JM
35520 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35521 Remove all definitions.
35522 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35523 <kernel-features.h>.
35524 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35525 (miss_F_GETOWN_EX): Remove all definitions.
35526 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35527 macro definition.
35528 [!__ASSUME_FCNTL64]: Remove conditional code.
35529 [__ASSUME_FCNTL64]: Make code unconditional.
35530 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35531 <kernel-features.h>.
35532 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35533 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35534 (lockf64) [__NR_fcntl64]: Make code unconditional.
35535 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35536
a9f1039f
JM
35537 * sysdeps/unix/sysv/linux/kernel-features.h
35538 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35539 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35540 Make code unconditional.
35541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35544 [__NR_vfork]: Make code unconditional.
35545 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35546 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35548 [__NR_vfork]: Make code unconditional.
35549 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35550 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35551
09c0ee5f
RM
355522012-08-01 Roland McGrath <roland@hack.frob.com>
35553
48aec5b9
RM
35554 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35555 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35556
cd97c966
RM
35557 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35558 Define mkstemp64 as an alias.
3f55550c
RM
35559 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35560 Define mkstemps64 as an alias.
cd97c966
RM
35561 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35562 Define mkostemp64 as an alias.
b8625cfc
RM
35563 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35564 Define mkostemps64 as an alias.
cd97c966
RM
35565 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35566 Conditionalize body on this.
35567 * misc/mkostemp64.c: Likewise.
b8625cfc 35568 * misc/mkostemps64.c: Likewise.
3f55550c 35569 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35570 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35571 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35572 * sysdeps/wordsize-64/mkostemp.c: File removed.
35573 * sysdeps/wordsize-64/mkstemp.c: File removed.
35574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35575 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35578
09c0ee5f
RM
35579 [BZ #14138]
35580 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35582 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35583 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35584
35585 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35586 compat_symbol macros from <shlib-compat.h> rather than the underlying
35587 default_symbol_version and symbol_version macros, so that DEFAULT
35588 lines in shlib-versions are respected.
35589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35590
7e66ee51
FW
355912012-08-01 Florian Weimer <fweimer@redhat.com>
35592
35593 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35594 Declare with warn_unused_result.
35595 (setgid, setregid, setegid, setresgid): Likewise.
35596 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35597 Likewise.
35598 * WUR-REPORT: Remove set*id functions.
35599
d2a54255
PT
356002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35601
35602 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35603
7ecdb005
RM
356042012-07-31 Roland McGrath <roland@hack.frob.com>
35605
b4180a5e 35606 [BZ #10191]
789bd351
RM
35607 * include/sys/socket.h (__libc_accept, __libc_accept4):
35608 Add attribute_hidden.
35609 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35610
40ce302d
RM
35611 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35612 use of PTR_MANGLE.
35613 * inet/getnetgrent_r.c (setup): Likewise.
35614
7ecdb005
RM
35615 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35616
e2eabb2c
DM
356172012-07-31 David S. Miller <davem@davemloft.net>
35618
35619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35620
d0419dbf
JM
356212012-07-31 Joseph Myers <joseph@codesourcery.com>
35622
35623 [BZ #13629]
35624 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35625 value between 1.0 and 2.0 and smaller part has absolute value less
35626 than 1.0.
35627 * math/s_clog10.c (__clog10): Likewise.
35628 * math/s_clog10f.c (__clog10f): Likewise.
35629 * math/s_clog10l.c (__clog10l): Likewise.
35630 * math/s_clogf.c (__clogf): Likewise.
35631 * math/s_clogl.c (__clogl): Likewise.
35632 * math/libm-test.inc (clog_test): Add more tests.
35633 (clog10_test): Likewise.
35634 * sysdeps/i386/fpu/libm-test-ulps: Update.
35635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35636
2bc13872
FW
356372012-07-31 Florian Weimer <fweimer@redhat.com>
35638
35639 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35640 Exit with zero in case no suitable GID is found, and write a
35641 message to standard error.
35642
bea9b193
RM
356432012-07-30 Roland McGrath <roland@hack.frob.com>
35644
35645 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35646 rather than to 1.
35647 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35648 (MAXPATHLEN): Removed.
35649 (NOGROUP, NODEV): New macros.
35650 (setbit, clrbit, isset, isclr): New macros.
35651 (howmany, roundup, powerof2): New macros.
35652 (DEV_BSIZE): New macro.
35653
35654 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35655 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35656
35657 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35658 definition on [!__NO_LONG_DOUBLE_MATH].
35659
35660 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35661 PTR_MANGLE and PTR_DEMANGLE.
35662
35663 * socket/accept4.c (accept4): Rename to __libc_accept4.
35664 Define accept4 as a weak alias.
35665
35666 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35667 on [_DIRENT_HAVE_D_TYPE].
35668 * io/ftw.c (ftw_dir): Likewise.
35669
35670 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35671
35672 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35673
35674 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35675 Use the BSD numbers rather than the arbitrary ones we had.
35676 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35677 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35678 (SIGXCPU, SIGXFSZ): New macros.
35679 (_NSIG): Now 32.
35680
35681 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35682 initializer on [_LIBC_REENTRANT].
35683
35684 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35685 definitions inside [_POSIX_MAPPED_FILES].
35686
35687 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35688
35689 * dirent/opendir.c: Include <fcntl.h>.
35690
35691 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35692 (__libc_getspecific): Likewise.
35693 (__libc_key_create): Likewise.
35694
35695 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35696 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35697 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35698 (tmpfile64): Define as alias.
35699 * sysdeps/wordsize-64/tmpfile.c: File removed.
35700 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35701 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35703
35704 * stdio-common/vfscanf.c: Include <stdbool.h>.
35705 * nss/makedb.c: Likewise.
35706 * stdio-common/_i18n_number.h: Likewise.
35707 * argp/argp-help.c: Likewise.
35708 * posix/wordexp.c: Likewise.
35709 * sysdeps/posix/spawni.c: Likewise.
35710 * nss/nss_files/files-initgroups.c: Likewise.
35711 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35712 * nss/nss_files/files-initgroups.c: Likewise.
35713 * nss/nss_db/db-netgrp.c: Likewise.
35714 * nss/nss_db/db-initgroups.c: Likewise.
35715 * io/fchmodat.c: Include <sys/stat.h>.
35716
35717 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35718 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35719
35720 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35721 [HAVE_MMAP].
35722
35723 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35724 Add multiple inclusion protection.
35725
e5abc686
DM
357262012-07-27 David S. Miller <davem@davemloft.net>
35727
35728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35729
815e6fa3
GB
357302012-07-27 Gary Benson <gbenson@redhat.com>
35731
35732 [BZ #14298]
35733 * elf/rtld.c: Include <stap-probe.h>.
35734 (dl_main): Added static probes "init_start" and "init_complete".
35735 * elf/dl-load.c: Include <stap-probe.h>.
35736 (lose): Take new parameter "nsid".
35737 Added static probe "map_failed".
35738 (_dl_map_object_from_fd): Pass namespace id to lose.
35739 Added static probe "map_start".
35740 (open_verify): Pass namespace id to lose.
35741 * elf/dl-open.c: Include <stap-probe.h>.
35742 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35743 and "reloc_complete".
35744 * elf/dl-close.c: Include <stap-probe.h>.
35745 (_dl_close_worker): Added static probes "unmap_start" and
35746 "unmap_complete".
35747 * elf/rtld-debugger-interface.txt: New file documenting the above.
35748
9f98c16c
RM
357492012-07-26 Roland McGrath <roland@hack.frob.com>
35750
35751 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35752 rather than a string variable.
35753 * sunrpc/rpc_main.c (h_output): Likewise.
35754 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35755
f3c22df3
PT
357562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35757
35758 * inet/check_native.c: New file.
35759
3129cfc6
JM
357602012-07-26 Joseph Myers <joseph@codesourcery.com>
35761
da865e95
JM
35762 [BZ #13629]
35763 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35764 if larger part has absolute value 1.0.
35765 * math/s_clog10.c (__clog10): Likewise.
35766 * math/s_clog10f.c (__clog10f): Likewise.
35767 * math/s_clog10l.c (__clog10l): Likewise.
35768 * math/s_clogf.c (__clogf): Likewise.
35769 * math/s_clogl.c (__clogl): Likewise.
35770 * math/libm-test.inc (clog_test): Add more tests.
35771 (clog10_test): Likewise.
35772 * sysdeps/i386/fpu/libm-test-ulps: Update.
35773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35774
3129cfc6
JM
35775 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35776 (pltexit): Likewise.
35777 (La_regs): Likewise.
35778 (La_retval): Likewise.
35779 (int_retval): Likewise.
35780 Update #error for removed macros to refer only to definitions in
35781 tst-audit.h.
35782 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35783 macro.
35784 (pltexit): Likewise.
35785 (La_regs): Likewise.
35786 (La_retval): Likewise.
35787 (int_retval): Likewise.
35788 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35789 macro.
35790 (pltexit): Likewise.
35791 (La_regs): Likewise.
35792 (La_retval): Likewise.
35793 (int_retval): Likewise.
35794 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35795 macro.
35796 (pltexit): Likewise.
35797 (La_regs): Likewise.
35798 (La_retval): Likewise.
35799 (int_retval): Likewise.
35800 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35801 macro.
35802 (pltexit): Likewise.
35803 (La_regs): Likewise.
35804 (La_retval): Likewise.
35805 (int_retval): Likewise.
35806 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35807 macro.
35808 (pltexit): Likewise.
35809 (La_regs): Likewise.
35810 (La_retval): Likewise.
35811 (int_retval): Likewise.
35812 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35813 macro.
35814 (pltexit): Likewise.
35815 (La_regs): Likewise.
35816 (La_retval): Likewise.
35817 (int_retval): Likewise.
35818 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35819 macro definitions in tst-audit.h.
35820 * sysdeps/i386/tst-audit.h: New file.
35821 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35822 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35823 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35824 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35825 * sysdeps/sh/tst-audit.h: Likewise.
35826 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35827 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35828 * sysdeps/x86_64/tst-audit.h: Likewise.
35829
bfc07087
AJ
358302012-07-26 Andreas Jaeger <aj@suse.de>
35831
b1b2aaf8
AJ
35832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35833 ptrace.
35834
35835 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35836 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35837 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35838 PTRACE_O_MASK.
35839 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35840 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35841 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35842
bfc07087
AJ
35843 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35844 value.
35845
35846 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35847 _sigsys.
35848 (si_call_addr, si_syscall, si_arch): Define new macro.
35849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35850 _sigsys.
35851 (si_call_addr, si_syscall, si_arch): Define new marcro.
35852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35853 _sigsys.
35854 (si_call_addr, si_syscall, si_arch): Define new macro.
35855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35856 _sigsys.
35857 (si_call_addr, si_syscall, si_arch): Define new macro.
35858
89b4b02f
JM
358592012-07-25 Joseph Myers <joseph@codesourcery.com>
35860
35861 [BZ #13717]
35862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35863 Change to 2.4.21 where previously 2.4.1.
35864 * sysdeps/unix/sysv/linux/configure: Regenerated.
35865 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35866 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35867 Linux kernel version.
35868 (__ASSUME_STD_AUXV): Remove.
35869 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35870 kernel version.
35871 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35872 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35873 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35874 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35875 (__ASSUME_NETLINK_SUPPORT): Likewise.
35876 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35877 (__no_netlink_support): Remove conditional definition.
35878 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35879 Remove.
35880 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35881 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35882 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35883 (if_nameindex_ioctl): Remove.
35884 (if_nameindex_netlink): Do not handle __no_netlink_support.
35885 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35886 code.
35887 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35888 Remove conditional code.
35889 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35890 code.
35891 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35892 unconditional.
35893 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35894 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35895 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35896 Remove.
35897 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35898 [!__ASSUME_STD_AUXV]: Remove conditional code.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35900 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35901 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35905 code.
35906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35909 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35910 conditional code.
35911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35913 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35914 code.
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35916 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35917 conditional code.
35918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35919 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35920 code unconditional.
35921 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35922 conditional code.
35923 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35924 unconditional.
35925 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35926 conditional code.
35927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35928 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35929 unconditional.
35930 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35931 conditional code.
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35933 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35934 code unconditional.
35935 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35936 conditional code.
35937 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35938 unconditional.
35939 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35940 conditional code.
35941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35942 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35943 code unconditional.
35944 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35945 conditional code.
35946 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35947 unconditional.
35948 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35949 conditional code.
35950
842a39cd
AS
359512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35952
35953 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35954 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35955 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35956 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35957 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35958 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35959 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35960 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35961 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35962 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35963 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35964 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35965 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35966 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35967 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35968 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35969 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35971 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35973 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35974 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35976
84b3fd84
FW
359772012-07-25 Florian Weimer <fweimer@redhat.com>
35978
35979 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35980 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35981 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35982 Introduce __libc_secure_getenv.
0c7936d5
FW
35983 * stdlib/Versions (2.17): Add secure_getenv
35984 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35985 * stdlib/secure-getenv.c: Rename __secure_getenv to
35986 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35987 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35988 * stdlib/tst-secure-getenv.c: New.
35989 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35990 * manual/startup.texi (Environment Access): Document
35991 secure_getenv.
84b3fd84
FW
35992 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35993 __libc_secure_getenv.
35994 * inet/ruserpass.c (ruserpass): Likewise.
35995 * malloc/mtrace.c (mtrace): Likewise.
35996 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35997 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35998 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35999 * sysdeps/posix/tempname.c: Likewise. Evaluate
36000 HAVE_SECURE_GETENV.
36001 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36002 __secure_getenv to __libc_secure_getenv.
84b3fd84 36003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36005 Likewise.
36006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36007 Likewise.
36008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36015
56e49b71
JM
360162012-07-25 Joseph Myers <joseph@codesourcery.com>
36017
36018 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36019 (struct La_i86_retval): Likewise.
36020 (struct La_x86_64_regs): Likewise.
36021 (struct La_x86_64_retval): Likewise.
36022 (struct La_x32_regs): Likewise.
36023 (struct La_x32_retval): Likewise.
36024 (struct La_ppc32_regs): Likewise.
36025 (struct La_ppc32_retval): Likewise.
36026 (struct La_ppc64_regs): Likewise.
36027 (struct La_ppc64_retval): Likewise.
36028 (struct La_sh_regs): Likewise.
36029 (struct La_sh_retval): Likewise.
36030 (struct La_s390_32_regs): Likewise.
36031 (struct La_s390_32_retval): Likewise.
36032 (struct La_s390_64_regs): Likewise.
36033 (struct La_s390_64_retval): Likewise.
36034 (struct La_sparc32_regs): Likewise.
36035 (struct La_sparc32_retval): Likewise.
36036 (struct La_sparc64_regs): Likewise.
36037 (struct La_sparc64_retval): Likewise.
36038 (struct audit_ifaces): Remove architecture-specific pltenter and
36039 pltexit members.
36040 * sysdeps/i386/ldsodefs.h: New file.
36041 * sysdeps/powerpc/ldsodefs.h: Likewise.
36042 * sysdeps/s390/ldsodefs.h: Likewise.
36043 * sysdeps/sh/ldsodefs.h: Likewise.
36044 * sysdeps/sparc/ldsodefs.h: Likewise.
36045 * sysdeps/x86_64/ldsodefs.h: Likewise.
36046
354691b7
MP
360472012-07-25 Marek Polacek <polacek@redhat.com>
36048
36049 [BZ #6808]
36050 * math/libm-test.inc (yn_test): Add another test.
36051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36052 to ERANGE when the result is +-Inf.
36053 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36054 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36055 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36056 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36057
bf9e2071
JM
360582012-07-24 Joseph Myers <joseph@codesourcery.com>
36059
36060 * conform/data/time.h-data (NULL): Use macro-constant. Require
36061 equal to 0.
36062 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36063 clock_t.
36064 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36065
57633811
TS
360662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36067
36068 * configure.in <sysdeps resolving>: Correct printing
36069 Implies_before.
36070 * configure: Regenerate.
36071
c23c33b0
TS
360722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36073
36074 * math/w_ilogb.c: Include <limits.h>.
36075 * math/w_ilogbl.c: Likewise.
36076
b5982523
JM
360772012-07-20 Joseph Myers <joseph@codesourcery.com>
36078
36079 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36080 va_copy. Document allowing for unavailable va_copy only as
36081 pre-C99 compatibility.
36082 * manual/string.texi (Copying and Concatenation): Use va_copy
36083 instead of __va_copy in concat example.
36084
ac4ea442
PT
360852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36086
36087 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36088 (__sendto): Use create_address_port. Initialize APORT and deallocate
36089 it if not null.
36090
f98eafbd
PT
36091 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36092 with O_NOLINK passed to __file_name_lookup.
36093
898c7aab
PT
36094 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36095 with O_NOLINK passed to __file_name_lookup.
36096
0ced335a
PT
36097 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36098 negative N or less than NGIDS.
36099
b3404dbd
PT
36100 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36101 type to string_t. Set ERANGE as errno and return it if NAME is not big
36102 enough. Use memcpy instead of strncpy.
36103
0f48659e
JM
361042012-07-20 Joseph Myers <joseph@codesourcery.com>
36105
36106 * elf/Makefile (check-data): Remove.
36107 (localplt.data): New vpath directive.
36108 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36109 instead of $(check-data).
36110 * scripts/data/localplt-generic.data: Move to ...
36111 * sysdeps/generic/localplt.data: ... here.
36112 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36113 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36114 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36116 ... here.
36117 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36119 ... here.
36120 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36122 ... here.
36123 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36125 ... here.
36126 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36128 ... here.
36129 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36131 ... here.
36132
d37cbdaa
AZ
361332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36134
36135 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36136 PPC32 and PPC64 files.
36137 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36138 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36139
46f85fc2
AK
361402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36141
36142 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36143 __makecontext_ret to ...
36144 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36145 ... here and call exit if uc_link is NULL. New file.
36146 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36147 __makecontext_ret.S.
36148 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36149 __makecontext_ret to ...
36150 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36151 ... here and call exit if uc_link is NULL. New file.
36152 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36153 __makecontext_ret.S.
36154
08f43f9b
AK
361552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36156
36157 * elf/elf.h (R_390_IRELATIVE): New definition.
36158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36159 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36160 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36162 (elf_machine_lazy_rel): Likewise.
36163 * sysdeps/s390/dl-irel.h: New file.
36164 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36165 * sysdeps/s390/s390-64/memset.S: New asm code.
36166 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36167 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36169 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36170 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36171 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36173 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36174 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36175 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36176 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36177 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36178 * sysdeps/s390/s390-32/memset.S: New asm code.
36179 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36180
3b05db33
MP
361812012-07-17 Marek Polacek <polacek@redhat.com>
36182
36183 [BZ #14349]
36184 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36185 * sysdeps/s390/s390-64/configure.in: Likewise.
36186 * sysdeps/sparc/configure.in: Likewise.
36187 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36188 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36189 * sysdeps/i386/configure.in: Likewise.
36190 * sysdeps/x86_64/configure.in: Likewise.
36191 * sysdeps/sh/configure.in: Likewise.
36192 * sysdeps/s390/s390-32/configure: Regenerated.
36193 * sysdeps/s390/s390-64/configure: Likewise.
36194 * sysdeps/x86_64/configure: Likewise.
36195 * sysdeps/sh/configure: Likewise.
36196 * sysdeps/powerpc/powerpc64/configure: Likewise.
36197 * sysdeps/powerpc/powerpc32/configure: Likewise.
36198 * sysdeps/sparc/configure: Likwise.
36199 * sysdeps/i386/configure: Likewise.
36200
a66877c6
MP
36201 * elf/dl-open.c: Comment fixes.
36202
cfc82fd8
JM
362032012-07-17 Joseph Myers <joseph@codesourcery.com>
36204
bd29910a
JM
36205 * Makefile [CXX] (check-data): Remove.
36206 [CXX] (c++-types.data): New vpath directive.
36207 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36208 vpath. Do not allow for C++ type data being missing.
36209 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36210 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36211 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36212 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36213 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36214 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36215 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36217 ... here.
36218 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36220 ... here.
36221 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36223 ... here.
36224 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36226 ... here.
36227 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36229 ... here.
36230 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36232 ... here.
36233 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36235 ... here.
36236 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36238
cfc82fd8
JM
36239 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36240 definitions to architecture-specific files.
36241 (TLS_IE): Likewise.
36242 (TLS_LD): Likewise.
36243 (TLS_GD): Likewise.
36244 * sysdeps/i386/tls-macros.h: New file.
36245 * sysdeps/powerpc/tls-macros.h: Likewise.
36246 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36247 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36248 * sysdeps/sh/tls-macros.h: Likewise.
36249 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36250 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36251 * sysdeps/x86_64/tls-macros.h: Likewise.
36252
f7db3170
TS
362532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36254
07cbfc23
TS
36255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36256 zero value for regular exit case.
36257
f7db3170
TS
36258 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36259 (__start_context): Preserve zero value for regular exit case.
36260
dc97c227
TS
362612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36262 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36263
36264 * manual/setjmp.texi (setcontext): Clarify normal process
36265 termination when uc_link is the null pointer.
36266 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36267 exit call.
36268
d0cd7d02
AS
362692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36270
36271 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36272 preprocessor. Test for each exception mask separately.
36273
dd318934
AJ
362742012-07-16 Andreas Jaeger <aj@suse.de>
36275
36276 * po/ru.po: Update from translation team.
36277
8048311a
JM
362782012-07-15 Joseph Myers <joseph@codesourcery.com>
36279
36280 * conform/data/string.h-data (NULL): Use macro-constant. Require
36281 equal to 0.
36282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36283 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36284 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36285 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36287
b637d46e
AJ
362882012-07-13 Andreas Jaeger <aj@suse.de>
36289
36290 * po/fr.po: Update from translation team.
36291
541428fe
MP
362922012-07-12 Marek Polacek <polacek@redhat.com>
36293
36294 [BZ #14173]
36295 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36297 loop condition.
36298
ec332e94
JM
362992012-07-12 Joseph Myers <joseph@codesourcery.com>
36300
36301 [BZ #13717]
36302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36303 Change to 2.4.1 where previously 2.4.0.
36304 * sysdeps/unix/sysv/linux/configure: Regenerated.
36305 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36306 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36307 version.
36308 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36309 (__ASSUME_AT_CLKTCK): Remove.
36310 (__ASSUME_AT_PAGESIZE): Likewise.
36311 (__ASSUME_AT_XID): Likewise.
36312 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36313 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36314 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36315 unconditionally.
36316 (HAVE_AUX_PAGESIZE): Likewise.
36317 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36318 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36319 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36320
7b6e99be
JB
363212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36322
36323 [BZ #14307]
36324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36325 the temporary buffer used to invoke __gethostbyname2_r,
36326 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36327 host_data / struct gaih_addrtuple.
36328 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36329 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36330 header file nss/nsswitch.h.
36331 * nss/nsswitch.h (global scope): Add definition of implementation
36332 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36333 resolv/nss_dns/dns-host.c).
36334
608404eb
AJ
363352012-07-11 Andreas Jaeger <aj@suse.de>
36336
36337 * po/fr.po: Update from translation team.
36338
71220aca
AJ
36339 * po/sv.po: Update from translation team
36340 * po/fr.po: Another update from translation team.
36341
28cfe843
AZ
363422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36343
36344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36345 for subnormals or multiply small sinh result by itself.
36346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36348
6b90f981
DM
363492012-07-11 David S. Miller <davem@davemloft.net>
36350
36351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36352
c6825772
AS
363532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36354
36355 [BZ #14347]
36356 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36357 (INTERNAL_MARK): Shift it here.
36358
7b8e0d49
MP
363592012-07-10 Marek Polacek <polacek@redhat.com>
36360
36361 [BZ #14151]
36362 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36363 libc_cv_asm_global_directive with .globl.
36364 * configure: Regenerated.
36365 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36366 with .globl.
36367 * sysdeps/i386/configure: Regenerated.
36368 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36369 with .globl.
36370 * sysdeps/x86_64/configure: Regenerated.
36371 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36372 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36373 * elf/tst-unique2mod2.c: Likewise.
36374 * elf/tst-unique2mod1.c: Likewise.
36375 * elf/tst-unique1mod2.c: Likewise.
36376 * elf/tst-unique1mod1.c: Likewise.
36377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36378 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36380 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36381 * sysdeps/mach/sysdep.h: Likewise.
36382 * sysdeps/i386/sysdep.h: Likewise.
36383 * sysdeps/i386/i386-mcount.S: Likewise.
36384 * sysdeps/x86_64/_mcount.S: Likewise.
36385 * sysdeps/x86_64/sysdep.h: Likewise.
36386 * sysdeps/sh/_mcount.S: Likewise.
36387 * sysdeps/sh/sysdep.h: Likewise.
36388 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36389 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36390 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36392 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36393 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36394 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36395 * locale/localeinfo.h: Likewise.
36396 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36397 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36398
6c55cda3
RM
363992012-07-09 Roland McGrath <roland@hack.frob.com>
36400
36401 [BZ #14336]
36402 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36403 system".
36404 * manual/message.texi (The Uniforum approach): Likewise.
36405 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36406 (glibc iconv Implementation): Likewise.
36407
638a572e
JM
364082012-07-09 Joseph Myers <joseph@codesourcery.com>
36409
36410 [BZ #14337]
36411 * math/s_clog.c (__clog): Avoid scaling a value down where that
36412 could result in underflow.
36413 * math/s_clog10.c (__clog10): Likewise.
36414 * math/s_clog10f.c (__clog10f): Likewise.
36415 * math/s_clog10l.c (__clog10l): Likewise.
36416 * math/s_clogf.c (__clogf): Likewise.
36417 * math/s_clogl.c (__clogl): Likewise.
36418 * math/libm-test.inc (clog_test): Add more tests.
36419 (clog10_test): Likewise.
36420 * sysdeps/i386/fpu/libm-test-ulps: Update.
36421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36422
261f4859
AS
364232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36424
0abaf3e4
AS
36425 [BZ #14283]
36426 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36427 by 7 not 8 to examine high bit of fractional part.
36428
261f4859
AS
36429 [BZ #14042]
36430 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36431 for call to __mcount_internal.
36432 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36433 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36434 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36435
f17ac40d
JM
364362012-07-06 Joseph Myers <joseph@codesourcery.com>
36437
9ad63c23
JM
36438 [BZ #14154]
36439 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36440 approximation for values within 0x1p-13f of an odd multiple of
36441 pi/4.
36442 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36443 exception. Add more tests.
36444 * sysdeps/i386/fpu/libm-test-ulps: Update.
36445
f17ac40d
JM
36446 [BZ #6778]
36447 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36448 inputs and return -1 for them. Do not check for +Inf in case not
36449 reachable for +Inf.
36450 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36451 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36453 and return -1 for them. Do not check for +Inf in case not
36454 reachable for +Inf.
36455 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36456 define.
36457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36458 and return -1 for them. Do not check for +Inf in case not
36459 reachable for +Inf.
36460 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36461 spurious underflow.
36462 * sysdeps/i386/fpu/libm-test-ulps: Update.
36463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36464
fb21f89b
MF
364652012-07-06 Mike Frysinger <vapier@gentoo.org>
36466
36467 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36468
cdfe2c5e
JM
364692012-07-05 Joseph Myers <joseph@codesourcery.com>
36470
36471 [BZ #14157]
36472 [BZ #14331]
36473 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36474 could result in spurious underflow. Scale down values above
36475 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36476 * math/s_csqrtf.c (__csqrtf): Likewise.
36477 * math/s_csqrtl.c (__csqrtl): Likewise.
36478 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36479 spurious underflow.
36480 * sysdeps/i386/fpu/libm-test-ulps: Update.
36481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36482
70d35b67
AS
364832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36484
704bc459
AS
36485 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36486 xopen-msg.sed.
36487 * catgets/xopen-msg.awk: New file.
36488 * catgets/xopen-msg.sed: Removed.
36489
70d35b67
AS
36490 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36491 po2text.sed.
36492 * intl/po2test.awk: New file.
36493 * intl/po2test.sed: Removed.
36494
ca61cf32
JM
364952012-07-04 Joseph Myers <joseph@codesourcery.com>
36496
36497 [BZ #14328]
36498 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36499 or multiply small sinh result by itself.
36500 * math/s_ctanf.c (__ctanf): Likewise.
36501 * math/s_ctanh.c (__ctanh): Likewise.
36502 * math/s_ctanhf.c (__ctanhf): Likewise.
36503 * math/s_ctanhl.c (__ctanhl): Likewise.
36504 * math/s_ctanl.c (__ctanl): Likewise.
36505 * math/libm-test.inc (ctan_test_tonearest): New function.
36506 (ctan_test_towardzero): Likewise.
36507 (ctan_test_downward): Likewise.
36508 (ctan_test_upward): Likewise.
36509 (ctanh_test_tonearest): Likewise.
36510 (ctanh_test_towardzero): Likewise.
36511 (ctanh_test_downward): Likewise.
36512 (ctanh_test_upward): Likewise.
36513 (main): Call these new functions.
36514 * sysdeps/i386/fpu/libm-test-ulps: Update.
36515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36516
ca48a46a
MF
365172012-07-03 Mike Frysinger <vapier@gentoo.org>
36518
36519 * .gitignore: Delete /ports entry.
36520
9d63d37d
AJ
365212012-07-03 Andreas Jaeger <aj@suse.de>
36522
36523 * po/bg.po: Update from translation team.
36524 * po/cs.po: Likewise.
36525 * po/de.po: Likewise.
36526 * po/hr.po: Likewise.
36527 * po/nl.pl: Likewise.
36528 * po/pl.po: Likewise.
36529 * po/vi.po: Likewise.
36530
370ca3d2
JM
365312012-07-03 Joseph Myers <joseph@codesourcery.com>
36532
95f5a9a8
JM
36533 * Makeconfig [!+link] (+link-before-libc): New variable.
36534 [!+link] (+link-after-libc): Likewise.
36535 [!+link] (+link-tests): Likewise.
36536 [!+link] (+link): Define in terms of $(+link-before-libc) and
36537 $(+link-after-libc).
36538 [!+link-static] (+link-static-before-libc): New variable.
36539 [!+link-static] (+link-static-after-libc): Likewise.
36540 [!+link-static] (+link-static-tests): Likewise.
36541 [!+link-static] (+link-static): Define in terms of
36542 $(+link-static-before-libc) and $(+link-static-after-libc).
36543 [build-shared] (link-libc-before-gnulib): New variable.
36544 [build-shared] (link-libc-tests): Likewise.
36545 [build-shared] (link-libc): Define in terms of
36546 $(link-libc-before-gnulib).
36547 [!build-shared] (link-libc-tests): New variable.
36548 (link-libc-static-tests): New variable.
36549 [!gnulib] (gnulib-arch): New variable.
36550 [!gnulib] (gnulib-tests): Likewise.
36551 [!gnulib] (static-gnulib-arch): Likewise.
36552 [!gnulib] (static-gnulib-tests): Likewise.
36553 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36554 Define with "=" instead of ":=".
36555 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36556 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36557 * Rules (binaries-all-notests): New variable.
36558 (binaries-all-tests): Likewise.
36559 (binaries-static-notests): Likewise.
36560 (binaries-static-tests): Likewise.
36561 (binaries-all): Define using $(binaries-all-notests) and
36562 $(binaries-all-tests).
36563 (binaries-static): Define using $(binaries-static-notests) and
36564 $(binaries-static-tests).
36565 (binaries-shared-tests): New variable.
36566 (binaries-shared-notests): Likewise.
36567 (binaries-shared): Remove variable.
36568 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36569 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36570 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36571 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36572 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36573 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36574 * elf/Makefile (sln-modules): New variable.
36575 (extra-objs): Add $(sln-modules:=.o).
36576 (ldconfig-modules): Add static-stubs.
36577 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36578 * elf/static-stubs.c: New file.
36579
7a845b2c
JM
36580 [BZ #14283]
36581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36582 by 7 not 8 to examine high bit of fractional part. Use volatile
36583 variables when splitting into final array of floats if
36584 __FLT_EVAL_METHOD__ != 0.
36585 * math/libm-test.inc (cos_test): Add another test.
36586 (sin_test): Likewise.
36587 * sysdeps/i386/fpu/libm-test-ulps: Update.
36588
e2283f38
JM
36589 [BZ #14273]
36590 * math/libm-test.inc (cosh_test): Add more tests.
36591
370ca3d2
JM
36592 * version.h (RELEASE): Set to "development".
36593 (VERSION): Set to "2.16.90".
36594
ee9247c3
CD
365952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36596
36597 * NEWS: Update copyright. Remove last-updated date.
36598 Mention math library bug fixes and timezone data changes.
36599 * README: Mention GNU/Hurd, x32, and HPPA support status.
36600
4648c381
TS
366012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36602
36603 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36604
aac78a43
AJ
366052012-06-27 Andreas Jaeger <aj@suse.de>
36606
36607 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36608
ed3dbfad
AJ
366092012-06-25 Andreas Jaeger <aj@suse.de>
36610
36611 * sysdeps/s390/fpu/libm-test-ulps: Update.
36612
4d0ee855
AS
366132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36614 Thomas Schwinge <thomas@codesourcery.com>
36615
36616 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36617 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36619 fanotify_mark.
36620
af1bce34
TS
366212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36622
a9fa33ba
TS
36623 * sysdeps/mach/start.c: Remove file.
36624 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36625 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36626 * sysdeps/sh/init-first.c: Likewise.
36627
58f902b8
TS
36628 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36629 registers for frame unwinding purposes, add CFI directives.
36630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36632 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36633 Likewise.
36634
1518f58b
TS
36635 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36636 __fortify_fail returning.
36637 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36638
db9b5059
TS
36639 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36640 sysdeps/sh/____longjmp_chk.S.
36641 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36642 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36643 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36644 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36645
967705fe
TS
36646 * sysdeps/sh/abort-instr.h: New file.
36647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36648 process in case exit returns.
36649
a9def8c4
TS
36650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36651 initialize the GOT register before use.
36652
2a649725
TS
36653 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36654 calculation of ARGC > 4.
36655
af1bce34
TS
36656 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36657 meaningful names to some local labels.
36658
d230f50a
KK
366592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36660 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36661
36662 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36663 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36664 (__arch_compare_and_exchange_val_16_acq): Likewise.
36665 (__arch_compare_and_exchange_val_32_acq): Likewise.
36666 (atomic_exchange_and_add): Fix gUSA sequence.
36667 (atomic_add): Likewise.
36668 (atomic_add_negative): Likewise.
36669 (atomic_add_zero): Likewise.
36670 (atomic_bit_test_set): Likewise.
36671
0479b305
AS
366722012-06-22 Andreas Schwab <schwab@redhat.com>
36673
36674 [BZ #13579]
36675 * include/link.h (struct link_map): Add l_free_initfini.
36676 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36677 l_initfini.
36678 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36679 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36680 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36681 set.
36682
0e3933b9
CD
366832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36684
36685 * configure.in: Use AC_LANG_SOURCE.
36686 * configure: Regenerate.
36687
4248b1b1
RM
366882012-06-22 Roland McGrath <roland@hack.frob.com>
36689
36690 * configure.in (libc_cv_localstatedir): New substituted variable.
36691 * configure: Regenerated.
36692 * config.make.in (localstatedir): New variable, substituted from
36693 libc_cv_localstatedir.
36694 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36695 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36696 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36697 * sysdeps/gnu/configure: Regenerated.
36698
006dd861
JL
366992012-06-21 Jeff Law <law@redhat.com>
36700
36701 [BZ #14277]
36702 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36703 free. Simplify list management for _LIBC case.
36704
79662d42
JM
367052012-06-21 Joseph Myers <joseph@codesourcery.com>
36706
b7abb4bf
JM
36707 [BZ #14273]
36708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36709 Clear sign bit of 64-bit integer value before comparing against
36710 overflow value.
36711
79662d42
JM
36712 * sysdeps/mach/configure: Regenerated.
36713
1f150908
L
367142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36715
36716 [BZ #14278]
36717 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36718
28363bbf
JL
367192012-06-21 Jeff Law <law@redhat.com>
36720
36721 [BZ #13882]
36722 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36723 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36724 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36725 * elf/dl-open.c (dl_open_worker): Likewise.
36726
09615db4
CD
367272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36728
36729 * scripts/list-sources.sh: Scan PORTS for translations.
36730 * po/libc.pot: Regenerated.
36731
2174c6dd
AJ
367322012-06-21 Andreas Jaeger <aj@suse.de>
36733
36734 [BZ #12194]
36735 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36736 warning.
36737 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36738 * bits/byteswap-16.h (__bswap_16): Likewise.
36739 * bits/byteswap.h (__bswap_constant_16): Likewise.
36740
3ee947b1
L
367412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36742
36743 [BZ #14117]
a2f34833
L
36744 * sysdeps/i386/fpu_control.h: Removed.
36745 * sysdeps/x86_64/fpu_control.h: Moved to ...
36746 * sysdeps/x86/fpu_control.h: Here.
36747
3ee947b1
L
36748 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36749 (_FPU_SETCW): Likewise.
36750
ed1825f8
L
367512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36752
25f1282a
L
36753 [BZ #14117]
36754 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36755 * sysdeps/x86/fpu/bits/mathinline.h: This.
36756 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36757
ed1825f8
L
36758 [BZ #14050]
36759 [BZ #14117]
36760 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36761 functions if __x86_64__ is defined.
36762
36d54b74
CLT
367632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36764
36765 * string/endian.h: Add !__ASSEMBLER__ condition for including
36766 conversion interfaces.
36767
10285c21
JM
367682012-06-15 Joseph Myers <joseph@codesourcery.com>
36769
36770 [BZ #14241]
36771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36772 of ABS(x) in calculating zero to negative powers other than odd
36773 integers.
36774 * math/libm-test.inc (pow_test): Add more tests.
36775
06c5abbd
AJ
367762012-06-15 Andreas Jaeger <aj@suse.de>
36777
36778 * manual/contrib.texi (Contributors): Update entry of Liubov
36779 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36780 Machado Filho.
36781
a3aeac40
CH
367822012-06-15 Cyril Hrubis <metan@ucw.cz>
36783
36784 * string/string.h: Add __wur to GNU version of strerror_r.
36785
49bdf4c1
L
367862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36787
36788 [BZ #14229]
36789 * string/Makefile (tests): Add tst-strtok_r.
36790 * string/tst-strtok_r.c: New file.
36791 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36792 RAX_LP/RDX_LP on SAVE_PTR.
36793
834f9b8d
RM
367942012-06-14 Roland McGrath <roland@hack.frob.com>
36795
36796 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36797
75fa1921
JM
367982012-06-14 Joseph Myers <joseph@codesourcery.com>
36799
36800 * libm_test.inc (csqrt_test): Allow more spurious underflow
36801 exceptions.
36802 (j0_test): Likewise.
36803 (j1_test): Likewise.
36804 (y0_test): Likewise.
36805 (y1_test): Likewise.
36806
771766df
CD
368072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36808
36809 * po/Makefile (libc.pot): Use UTF-8 charset.
36810
ceb9e56b
PP
368112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36812
36813 [BZ #14210]
36814 Suppress sign-conversion warning from FD_SET.
36815 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36816 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36817 not unsigned long int.
36818 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36819
ddb28975
L
368202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36821
36822 [BZ #14050]
36823 [BZ #14117]
36824 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36825 __extern_always_inline instead of __extern_inline.
36826 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36827 (__signbit): Likewise.
36828 (__signbitl): Support C++ namespace.
36829 (lrintf): New inline function.
36830 (lrint): Likewise.
36831 (llrintf): Likewise.
36832 (llrint): Likewise.
36833 (fmaxf): Likewise.
36834 (fmax): Likewise.
36835 (fminf): Likewise.
36836 (fmin): Likewise.
36837 (rint): Likewise.
36838 (rintf): Likewise.
36839 (ceil): Likewise.
36840 (ceilf): Likewise.
36841 (floor): Likewise.
36842 (floorf): Likewise.
36843 (nearbyint): Likewise.
36844 (nearbyintf): Likewise.
36845
d7b4fb26
TS
368462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36847
36848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36849 non-default versions.
36850
eb55f5c2
RM
368512012-06-11 Roland McGrath <roland@hack.frob.com>
36852
36853 [BZ #14218]
36854 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36855
366af02c
TS
368562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36857
99ff6e5c
TS
36858 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36859 (FE_UPWARD, FE_DOWNWARD): Don't define.
36860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36862
366af02c
TS
36863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36864 reading it.
36865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36867
793ea851
KK
368682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36869
36870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36872 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36873 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36874
a728a38f
L
368752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36876
36877 [BZ #14117]
c08010c7
L
36878 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36879 * sysdeps/i386/fpu/Implies: New file.
36880 * sysdeps/x86_64/fpu/Implies: Likewise.
36881 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36882 * sysdeps/x86/fpu/bits/fenv.h: This.
36883
a728a38f
L
36884 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36885 __SSE_MATH__.
36886
6e230d11
SP
368872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36888
36889 [BZ #14134]
36890 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36891 character 0xffff that matches the last element of the
36892 conversion table.
36893
1b671feb
AZ
368942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36895
36896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36897 fmodl commit.
36898
6043738b
AZ
368992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36900
36901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36902 values higher than 25.6283.
36903
34ae0b32
AZ
369042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36905
36906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36907 subnormal exponent extraction and add some __builtin_expect.
36908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36909 Fix for subnormal mantissa calculation.
36910
1214ec8f
MF
369112012-06-04 Mike Frysinger <vapier@gentoo.org>
36912
36913 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36914 cpu2 is -1 and errno is not ENOSYS.
36915
f3d1f93c
L
369162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36917
36918 [BZ #14117]
0e4a3cd7
L
36919 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36920 * sysdeps/x86/bits/string.h: This.
36921 * sysdeps/x86_64/bits/string.h: Removed.
36922
6704c645
L
36923 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36924 if not compiling for x86-64, but compiling for >= i486.
36925
48495318
L
36926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36927 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36928
14adcbfc
L
36929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36930 New macro from Linux kernel 3.4.0.
36931 (FP_XSTATE_MAGIC2): Likewise.
36932 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36933 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36934 (struct _fpx_sw_bytes): New struct.
36935 (struct _xsave_hdr): Likewise.
36936 (struct _ymmh_state): Likewise.
36937 (struct _xstate): Likewise.
36938
68e408ab
L
36939 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36940 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36942 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36944 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36945
f3d1f93c
L
36946 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36947 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36948 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36949 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36950 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36951 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36952
d9dc34cd
TMQMF
369532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36954
36955 [BZ #13743]
36956 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36957 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36958 (sysdep_headers): Include sys/platform/ppc.h.
36959 * sysdeps/powerpc/test-gettimebase.c: Test for
36960 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36961 * manual/Makefile (appendices): Include platform.texi.
36962 * manual/contrib.texi (Contributors): Update @node pointers.
36963 * manual/maint.texi (Maintenance): Likewise.
36964 (Platform): New node.
36965 * manual/platform.texi: New file. Document the new features.
36966
4af3879c
SP
369672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36968 Jakub Jelinek <jakub@redhat.com>
36969
36970 [BZ #14188]
36971 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36972 where __builtin_expect is unavailable.
36973
2fd6ff13
DM
369742012-06-03 David S. Miller <davem@davemloft.net>
36975
36976 * stdlib/longlong.h: Updated from GCC.
36977
173f7220
AS
369782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36979
36980 [BZ #14042]
36981 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36982 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36983 __mcount_internal.
36984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36985 (GLIBC_2.16): Likewise.
36986
f34a1c6f
L
369872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36988
36989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36990
88a4576f
JM
369912012-06-01 Joseph Myers <joseph@codesourcery.com>
36992
ea32bcdd
JM
36993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36994 (default-abi): New variable.
36995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36996 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36997 variable.
36998 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36999 Likewise.
37000 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37001 Likewise.
37002 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37003 Likewise.
37004
88a4576f
JM
37005 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37006 definition. Document in comment.
37007
402fe938
DM
370082012-06-01 David S. Miller <davem@davemloft.net>
37009
37010 * stdlib/longlong.h: Updated from GCC.
37011
3553723f
L
370122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37013
37014 [BZ #14117]
3bd872c4
L
37015 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37016 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37017 sys/debugreg.h sys/io.h here.
37018 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37019 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37020 sys/io.h.
37021 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37022 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37023 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37024 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37025 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37026 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37027
3553723f
L
37028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37029 Define only if __x86_64__ is defined.
37030
4842e4fe
JM
370312012-06-01 Joseph Myers <joseph@codesourcery.com>
37032
c5bfe3d5
JM
37033 [BZ #14048]
37034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37035 Use int64_t for variable i.
37036 * math/libm-test.inc (fmod_test): Add more tests.
37037
4842e4fe
JM
37038 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37039 z computation is not scheduled after fetestexcept.
37040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37041 Use math_force_eval instead of asm to ensure calculation scheduled
37042 before exception test.
37043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37044 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37045
efb73488
AJ
370462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37047
37048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37049 computation is not scheduled after fetestexcept.
37050
29bcce7c
L
370512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37052
37053 [BZ #14117]
37054 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37055 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37056
73a68f94
AZ
370572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37058
37059 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37060 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37061
67b6df78
L
370622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37063
edf2933a 37064 [BZ #14117]
ebc64a18
L
37065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37066 <bits/wordsize.h>.
37067 (__WCHAR_MIN): Support __WORDSIZE == 64.
37068 (__WCHAR_MAX): Likewise.
37069
edf2933a
L
37070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37072
57c6cf40
L
37073 [BZ #14183]
37074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37075 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37076
67b6df78 37077 [BZ #14117]
8eb6281e
L
37078 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37079 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37080
aac639f4
L
37081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37082 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37083
67b6df78
L
37084 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37085 Defined to 1 if __x86_64__ isn't defined.
37086 (_STAT_VER_LINUX_OLD): New.
37087 (st_atime): Remove duplicate.
37088 (st_mtime): Likewise.
37089 (st_ctime): Likewise.
37090
1c2cfe81
DM
370912012-05-31 David S. Miller <davem@davemloft.net>
37092
37093 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37094 entries.
37095
5be8418c
AS
370962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37097
e7725326
AS
37098 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37099 gen-libm-test.pl.
37100
5be8418c
AS
37101 [BZ #14132]
37102 * elf/dl-reloc.c: Include <_itoa.h>.
37103 (_dl_reloc_bad_type): Remove use of INTUSE.
37104 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37105 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37106 * stdio-common/psiginfo.c (psiginfo): Likewise.
37107 * stdio-common/psignal.c (psignal): Likewise.
37108 * string/strsignal.c (strsignal): Likewise.
37109 * include/signal.h (_sys_siglist): Declare hidden proto.
37110 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37111 INTVARDEF with libc_hidden_data_def.
37112 * stdio-common/itoa-udigits.c: Likewise.
37113 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37114 (_itoa_lower_digits_internal): Remove declaration.
37115 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37116 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37117 (_sys_sigabbrev_internal): Remove aliases.
37118 (_sys_siglist): Define hidden alias.
37119
507352f1
MT
371202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37121
37122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37123 bits/sysctl.h.
37124
42bbb1c3
L
371252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37126
37127 [BZ #14117]
6bd784b6
L
37128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37129 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37130
8bca20f0
L
37131 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37133 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37134 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37136 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37137
f9e890a9
L
37138 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37139 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37140 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37141
471101a1
L
37142 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37143 with __addr.
37144 (insw): Likewise.
37145 (insl): Likewise.
37146 (outsb): Likewise.
37147 (outsw): Likewise.
37148 (outsl): Likewise.
37149
6451c862
L
37150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37152 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37153
a254b8c9
L
37154 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37155 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37156 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37157 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37158 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37159 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37160
b8dfdd92
L
37161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37162 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37163
578cd270
L
37164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37165 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37166
de662f5f
L
37167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37169 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37170
25653439
L
37171 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37172 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37173 to ...
37174 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37175
6bad24a0
L
37176 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37178 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37179
42bbb1c3
L
37180 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37181 for x86-64.
37182 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37183
2d10d547
JM
371842012-05-31 Joseph Myers <joseph@codesourcery.com>
37185
37186 * math/math.h (M_El): Use two more decimal places.
37187 (M_LOG2El): Likewise.
37188 (M_LOG10El): Likewise.
37189 (M_LN2l): Likewise.
37190 (M_LN10l): Likewise.
37191 (M_PIl): Likewise.
37192 (M_PI_2l): Likewise.
37193 (M_PI_4l): Likewise.
37194 (M_1_PIl): Likewise.
37195 (M_2_PIl): Likewise.
37196 (M_2_SQRTPIl): Likewise.
37197 (M_SQRT2l): Likewise.
37198 (M_SQRT1_2l): Likewise.
37199
f230c29b
DM
372002012-05-31 David S. Miller <davem@davemloft.net>
37201
37202 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37203 values between float registers.
37204 * sysdeps/sparc/sparc64/memset.S: Likewise.
37205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37206
fed806c3
MF
372072012-05-31 Mike Frysinger <vapier@gentoo.org>
37208
37209 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37210 -D_FORTIFY_SOURCE=1.
37211 (CPPFLAGS-tst-longjmp_chk.c): Define.
37212 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37213 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37214 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37215 CFLAGS-tst-wchar-h.c.
37216
30917259
MP
372172012-05-31 Marek Polacek <polacek@redhat.com>
37218
37219 [BZ #14132]
37220 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37221 __endmntent_internal): Remove declaration.
37222 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37223 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37224 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37225
1c58d5dc
DM
372262012-05-30 David S. Miller <davem@davemloft.net>
37227
37228 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37229 (___Q_simulate_exceptions): Use real FP ops rather than writing
37230 into the %fsr.
37231 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37232 Likewise.
37233
7dc00e0d
L
372342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 [BZ #14117]
0bd53985
L
37237 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37238 * sysdeps/x86/bits/xtitypes.h: This.
37239
3a257e66
L
37240 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37241 * sysdeps/x86/bits/wordsize.h: This.
37242
62f62904
L
37243 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37244 * sysdeps/x86/bits/huge_vall.h: This.
37245
404fe9d9
L
37246 * sysdeps/i386/bits/select.h: Removed.
37247 * sysdeps/x86_64/bits/select.h: Renamed to ...
37248 * sysdeps/x86/bits/select.h: This.
37249
d48d0446
L
37250 * sysdeps/i386/bits/setjmp.h: Removed.
37251 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37252 * sysdeps/x86/bits/setjmp.h: This.
37253
7dc00e0d
L
37254 * sysdeps/i386/bits/mathdef.h: Removed.
37255 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37256 * sysdeps/x86/bits/mathdef.h: This.
37257
03277f8f
AS
372582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37259
37260 [BZ #14132]
37261 * include/sys/socket.h (__connect_internal)
37262 (__libc_sa_len_internal): Remove declaration.
37263 (__connect, __libc_sa_len): Declare hidden_proto.
37264 (SA_LEN): Remove use of INTUSE.
37265 * socket/connect.c: Add libc_hidden_def.
37266 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37267 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37268 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37269 alias.
37270 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37272 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37273 of adding _internal alias.
37274
13764867
L
372752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37276
37277 [BZ #14117]
6bd97696
L
37278 * sysdeps/i386/bits/link.h: Removed.
37279 * sysdeps/i386/bits/linkmap.h: Likewise.
37280 * sysdeps/x86_64/bits/link.h: Renamed to ...
37281 * sysdeps/x86/bits/link.h: This.
37282 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37283 * sysdeps/x86/bits/linkmap.h: This.
37284
f726f0bb
L
37285 * sysdeps/i386/bits/endian.h: Removed.
37286 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37287 * sysdeps/x86/bits/endian.h: This.
37288
13764867
L
37289 * sysdeps/i386/bits/byteswap.h: Removed.
37290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37291 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37292 * sysdeps/x86/bits/byteswap.h: This.
37293 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37294 * sysdeps/x86/bits/byteswap-16.h: This.
37295 * sysdeps/i386/Implies: Add x86.
37296 * sysdeps/x86_64/Implies: Likewise.
37297
ae251b0b
DM
372982012-05-30 David S. Miller <davem@davemloft.net>
37299
37300 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37301 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37303 (FP_TRAPPING_EXCEPTIONS): Define.
37304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37305 (FP_TRAPPING_EXCEPTIONS): Define.
37306 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37307 subnormals only when inexact has been signalled or underflow
37308 exceptions are enabled.
37309 (_FP_PACK_CANONICAL): Likewise.
37310
d5c90867
L
373112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37312
37313 [BZ #14183]
37314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37315 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37316
63f1549e
RH
373172012-05-30 Richard Henderson <rth@twiddle.net>
37318
8d8f2279
RH
37319 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37320 with #ifndef NOT_IN_libc.
37321
63f1549e
RH
37322 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37323 marked to avoid plt entry.
37324
0ab0291b
L
373252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37326
37327 [BZ #14112]
37328 * Makeconfig (default-abi): New macro.
37329 (abi-includes): Likewise.
37330 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37331 $(abi-$(default-abi)-lib-soname) for soname if defined.
37332 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37333 abi-variants.
37334 * Makefile (installed-stubs): Likewise.
37335 * include/stubs-biarch.h: Removed.
37336 * scripts/lib-names.awk: Only handle one library at a time.
37337 * scripts/soversions.awk: Remove WORDSIZE support.
37338 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37339 entries.
37340 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37341 Removed.
37342 (syscall-list-default-condition): Likewise.
37343 (syscall-list-default-condition): Likewise.
37344 (syscall-list-includes): Likewise.
37345 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37346 syscall-list-* with abi-*. Handle undefined abi-variants.
37347 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37348 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37349 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37350 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37351 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37352 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37353 Removed.
37354 (syscall-list-32-options): Likewise.
37355 (syscall-list-32-condition): Likewise.
37356 (syscall-list-64-options): Likewise.
37357 (syscall-list-64-condition): Likewise.
37358 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37359 macro.
37360 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37361 Renamed to ...
37362 (abi-*): This.
37363 (abi-64-ld-soname): New macro.
37364 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37365 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37366 Renamed to ...
37367 (abi-*): This.
37368 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37369 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37370
4da0431d
JM
373712012-05-30 Joseph Myers <joseph@codesourcery.com>
37372
3a85279c
JM
37373 * sysdeps/unix/sysv/linux/kernel-features.h
37374 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37375 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37376 include <kernel-features.h>.
37377 [!__NR_ftruncate64]: Remove conditional code.
37378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37379 [__NR_ftruncate64]: Make code unconditional.
37380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37381 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37382 include <kernel-features.h>.
37383 [!__NR_ftruncate64]: Remove conditional code.
37384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37385 [__NR_ftruncate64]: Make code unconditional.
37386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37388 include <kernel-features.h>.
37389 [!__NR_ftruncate64]: Remove conditional code.
37390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37391 [__NR_ftruncate64]: Make code unconditional.
37392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37394 include <kernel-features.h>.
37395 [!__NR_ftruncate64]: Remove conditional code.
37396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37397 [__NR_ftruncate64]: Make code unconditional.
37398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37399
4da0431d
JM
37400 * configure.in (libc_cv_fpie): Weaken to a compile test using
37401 LIBC_TRY_CC_OPTION.
37402 * configure: Regenerated.
37403
11ef492c
AK
374042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37405
37406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37410 Refreshed.
37411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37417 Refreshed.
37418
d66ef399
DM
374192012-05-27 David S. Miller <davem@davemloft.net>
37420
37421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37422 (___Q_zero): New.
37423 (__Q_simulate_exceptions): Return void. Change to simulate
37424 exceptions by writing into the %fsr.
37425 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37426 (__Qp_handle_exceptions): Likewise.
37427 (numbers): Delete.
37428 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37429 __Qp_handle_exceptions.
37430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37431 __Qp_handle_exceptions.
37432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37433 as unused and give dummy FP_RND_NEAREST initializer.
37434 (FP_INHIBIT_RESULTS): Define.
37435 (___Q_simulate_exceptions): Update declaration.
37436 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37437 formatting.
37438 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37439 as unused and give dummy FP_RND_NEAREST initializer.
37440 (__Qp_handle_exceptions): Update declaration.
37441 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37442 formatting.
37443
04fb54b5
TS
374442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37445
37446 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37447 the temporary FPU control word.
37448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37449 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37451 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37452 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37453 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37454 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37455 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37456 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37457 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37458 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37459
3f99608f
KK
374602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37461
37462 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37463 fields.
37464
65a4de4e
CLT
374652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37466
37467 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37468 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37469 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37470 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37471 Likewise.
37472 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37473 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37474 Likewise.
37475
15749d40
UD
374762012-05-27 Ulrich Drepper <drepper@gmail.com>
37477
37478 * po/h.po: Update from translation team.
37479
25dbcb27
AS
374802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37481
3d3f8e55
AS
37482 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37483
25dbcb27
AS
37484 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37485 handling of denormals.
37486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37487 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37489 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37493 Likewise.
37494
7ad47a80 374952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37496
37497 [BZ #14152]
37498 * math/libm-test.inc (fma_test): Don't always expect underflow
37499 exception.
37500
9c6ea9fa
SP
375012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37502
37503 [BZ #12416]
37504 * elf/tst-execstack.c: Include stackinfo.h.
37505 (do_test): Adjust test case to ensure that pthread_getattr_np
37506 behaviour remains the same after marking stack executable.
37507
a8239222
JM
375082012-05-25 Joseph Myers <joseph@codesourcery.com>
37509
37510 * sysdeps/unix/sysv/linux/kernel-features.h
37511 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37512 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37513 kernel-features.h.
37514 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37515 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37516 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37517 kernel-features.h.
37518 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37519 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37520
918b5606
L
375212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 * configure.in: Define the default includes to being none.
37524 * configure: Regenerated.
37525
3a097cc7
RM
375262012-05-25 Roland McGrath <roland@hack.frob.com>
37527
8422c9a5
RM
37528 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37529 * sysdeps/x86_64/setjmp.S: Likewise.
37530 * sysdeps/i386/bsd-setjmp.S: Likewise.
37531 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37532 * sysdeps/i386/setjmp.S: Likewise.
37533 * sysdeps/i386/__longjmp.S: Likewise.
37534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37535 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37536
3a097cc7
RM
37537 * include/stap-probe.h: New file.
37538 * configure.in: Handle --enable-systemtap.
37539 * configure: Regenerated.
37540 * config.h.in (USE_STAP_PROBE): New #undef.
37541 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37542 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37543 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37544
21708942
JM
375452012-05-25 Joseph Myers <joseph@codesourcery.com>
37546
37547 [BZ #13717]
37548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37549 to 2.4.0 where earlier.
37550 * sysdeps/unix/sysv/linux/configure: Regenerated.
37551 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37552 <kernel-features.h>.
37553 [__ASSUME_32BITUIDS]: Make code unconditional.
37554 [!__ASSUME_32BITUIDS]: Remove conditional code.
37555 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37556 <kernel-features.h>.
37557 [__ASSUME_32BITUIDS]: Make code unconditional.
37558 [!__ASSUME_32BITUIDS]: Remove conditional code.
37559 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37560 [__ASSUME_32BITUIDS]: Make code unconditional.
37561 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37562 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37563 <kernel-features.h>.
37564 [__ASSUME_32BITUIDS]: Make code unconditional.
37565 [!__ASSUME_32BITUIDS]: Remove conditional code.
37566 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37567 <kernel-features.h>.
37568 [__ASSUME_32BITUIDS]: Make code unconditional.
37569 [!__ASSUME_32BITUIDS]: Remove conditional code.
37570 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37571 <kernel-features.h>.
37572 [__ASSUME_32BITUIDS]: Make code unconditional.
37573 [!__ASSUME_32BITUIDS]: Remove conditional code.
37574 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37575 <kernel-features.h>.
37576 [__ASSUME_32BITUIDS]: Make code unconditional.
37577 [!__ASSUME_32BITUIDS]: Remove conditional code.
37578 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37579 <kernel-features.h>.
37580 [__ASSUME_32BITUIDS]: Make code unconditional.
37581 [!__ASSUME_32BITUIDS]: Remove conditional code.
37582 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37583 <kernel-features.h>.
37584 [__ASSUME_32BITUIDS]: Make code unconditional.
37585 [!__ASSUME_32BITUIDS]: Remove conditional code.
37586 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37587 <kernel-features.h>.
37588 [__ASSUME_32BITUIDS]: Make code unconditional.
37589 [!__ASSUME_32BITUIDS]: Remove conditional code.
37590 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37591 <kernel-features.h>.
37592 [__ASSUME_32BITUIDS]: Make code unconditional.
37593 [!__ASSUME_32BITUIDS]: Remove conditional code.
37594 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37595 <kernel-features.h>.
37596 [__ASSUME_32BITUIDS]: Make code unconditional.
37597 [!__ASSUME_32BITUIDS]: Remove conditional code.
37598 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37599 <kernel-features.h>.
37600 [__ASSUME_32BITUIDS]: Make code unconditional.
37601 [!__ASSUME_32BITUIDS]: Remove conditional code.
37602 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37603 <kernel-features.h>.
37604 [__NR_setresgid] (__setresgid): Do not declare.
37605 [__ASSUME_32BITUIDS]: Make code unconditional.
37606 [!__ASSUME_32BITUIDS]: Remove conditional code.
37607 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37608 <kernel-features.h>.
37609 [__NR_setresuid] (__setresuid): Do not declare.
37610 [__ASSUME_32BITUIDS]: Make code unconditional.
37611 [!__ASSUME_32BITUIDS]: Remove conditional code.
37612 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37613 <kernel-features.h>.
37614 [__ASSUME_32BITUIDS]: Make code unconditional.
37615 [!__ASSUME_32BITUIDS]: Remove conditional code.
37616 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37617 <kernel-features.h>.
37618 [__ASSUME_32BITUIDS]: Make code unconditional.
37619 [!__ASSUME_32BITUIDS]: Remove conditional code.
37620 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37621 <kernel-features.h>.
37622 [__ASSUME_32BITUIDS]: Make code unconditional.
37623 [!__ASSUME_32BITUIDS]: Remove conditional code.
37624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37625 <kernel-features.h>.
37626 [__ASSUME_32BITUIDS]: Make code unconditional.
37627 [!__ASSUME_32BITUIDS]: Remove conditional code.
37628 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37629 <kernel-features.h>.
37630 [__ASSUME_32BITUIDS]: Make code unconditional.
37631 [!__ASSUME_32BITUIDS]: Remove conditional code.
37632 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37633 <kernel-features.h>.
37634 [__ASSUME_32BITUIDS]: Make code unconditional.
37635 [!__ASSUME_32BITUIDS]: Remove conditional code.
37636 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37637 <kernel-features.h>.
37638 [__ASSUME_32BITUIDS]: Make code unconditional.
37639 [!__ASSUME_32BITUIDS]: Remove conditional code.
37640 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37641 <kernel-features.h>.
37642 [__ASSUME_32BITUIDS]: Make code unconditional.
37643 [!__ASSUME_32BITUIDS]: Remove conditional code.
37644 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37645 <kernel-features.h>.
37646 [__ASSUME_32BITUIDS]: Make code unconditional.
37647 [!__ASSUME_32BITUIDS]: Remove conditional code.
37648 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37649 <kernel-features.h>.
37650 [__ASSUME_32BITUIDS]: Make code unconditional.
37651 [!__ASSUME_32BITUIDS]: Remove conditional code.
37652 * sysdeps/unix/sysv/linux/kernel-features.h
37653 (__ASSUME_SETRESUID_SYSCALL): Remove.
37654 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37655 (__ASSUME_32BITUIDS): Likewise.
37656 (__ASSUME_LDT_WORKS): Likewise.
37657 (__ASSUME_O_DIRECTORY): Likewise.
37658 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37659 architecture but not kernel version.
37660 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37661 (__ASSUME_MMAP2_SYSCALL): Likewise.
37662 (__ASSUME_STAT64_SYSCALL): Likewise.
37663 (__ASSUME_IPC64): Likewise.
37664 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37665 <kernel-features.h>.
37666 [__ASSUME_32BITUIDS]: Make code unconditional.
37667 [!__ASSUME_32BITUIDS]: Remove conditional code.
37668 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37669 <kernel-features.h>.
37670 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37671 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37672 132096]: Remove conditional code.
37673 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37674 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
37683 <kernel-features.h>.
37684 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37685 unconditional.
37686 (__setresgid): Do not declare.
37687 [__ASSUME_32BITUIDS]: Make code unconditional.
37688 [!__ASSUME_32BITUIDS]: Remove conditional code.
37689 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37690 <kernel-features.h>.
37691 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37692 unconditional.
37693 (__setresuid): Do not declare.
37694 [__ASSUME_32BITUIDS]: Make code unconditional.
37695 [!__ASSUME_32BITUIDS]: Remove conditional code.
37696 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37697 <kernel-features.h>.
37698 [__ASSUME_32BITUIDS]: Make code unconditional.
37699 [!__ASSUME_32BITUIDS]: Remove conditional code.
37700 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37701 <kernel-features.h>.
37702 [__ASSUME_32BITUIDS]: Make code unconditional.
37703 [!__ASSUME_32BITUIDS]: Remove conditional code.
37704
a386f1cc
RH
377052012-05-25 Richard Henderson <rth@twiddle.net>
37706
37707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37708 dl_hwcap to ifunc resolver.
37709 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37710 elf_ifunc_invoke.
37711 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37712 dl_hwcap to ifunc resolver.
37713 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37714
b6550497
JM
377152012-05-24 Joseph Myers <joseph@codesourcery.com>
37716
37717 [BZ #14153]
37718 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37719 for |x| <= 2**-26, not 2**-57.
37720 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37721 exception.
37722
b0bc23a1
JL
377232012-05-24 Jeff Law <law@redhat.com>
37724
37725 * stdio-common/Makefile (tests): Add bug25.
37726 * stdio-common/bug25.c: New test.
37727
347c92e9
L
377282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 [BZ #13576]
37731 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37732 multiple of MALLOC_ALIGNMENT in size.
37733 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37734
6bcc8b3f
JM
377352012-05-24 Joseph Myers <joseph@codesourcery.com>
37736
37737 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37738 Require >= 256.
37739 (FILENAME_MAX): Use macro-int-constant.
37740 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37741 (_IOFBF): Use macro-int-constant.
37742 (_IOLBF): Likewise.
37743 (_IONBF): Likewise.
37744 (SEEK_CUR): Likewise.
37745 (SEEK_END): Likewise.
37746 (SEEK_SET): Likewise.
37747 (TMP_MAX): Likewise.
37748 (EOF): Use macro-int-constant. Require < 0.
37749 (NULL): Use macro-constant. Require == 0.
37750 (stdin): Require type to be FILE *.
37751 (stdout): Likewise.
37752 (stderr): Likewise.
37753 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37754 macro-int-constant.
37755 (EXIT_SUCCESS): Likewise.
37756 (NULL): Use macro-constant. Require == 0.
37757 (RAND_MAX): Use macro-int-constant.
37758 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37759 [C99-based standards] (strtof): Require function.
37760 [C99-based standards] (strtold): Likewise.
37761 [C99-based standards] (strtoll): Likewise.
37762 [C99-based standards] (strtoull): Likewise.
37763 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37764 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37765 [ISO || ISO99 || ISO11] (math.h): Likewise.
37766 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37767 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37769
d18ea0c5
AS
377702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37771
37772 [BZ #14132]
56d25bb8
AS
37773 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37774 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37775 * intl/dgettext.c (DCGETTEXT): Likewise.
37776 * intl/gettext.c (DCGETTEXT): Likewise.
37777 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37778 * posix/regex_internal.h (gettext): Likewise.
37779 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37780 Remove declaration.
37781 * include/argz.h (__argz_count_internal)
37782 (__argz_stringify_internal): Remove declaration.
37783 (__argz_count, __argz_stringify): Declare hidden proto.
37784 * intl/dcgettext.c: Remove use of INTDEF.
37785 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37786 * string/argz-stringify.c: Likewise.
37787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37789 Declare hidden proto.
d18ea0c5
AS
37790 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37791 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37792 Declare hidden proto.
37793 * include/stdio.h (__asprintf_internal): Don't declare.
37794 (__asprintf): Don't define as macro. Declare hidden proto.
37795 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37796 (__fsetlocking): Declare hidden proto.
37797 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37798 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37799 hidden proto.
37800 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37801 (_IO_setlinebuf): Remove use of INTUSE.
37802 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37803 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37804 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37805 Remove declaration.
37806 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37807 (_IO_do_flush): Remove use of INTUSE.
37808 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37809 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37810 (_IO_adjust_column, _IO_least_wmarker)
37811 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37812 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37813 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37814 (_IO_default_doallocate, _IO_wdefault_doallocate)
37815 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37816 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37817 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37818 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37819 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37820 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37821 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37822 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37823 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37824 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37825 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37826 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37827 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37828 proto.
37829 (_IO_flush_all_internal, _IO_adjust_column_internal)
37830 (_IO_default_uflow_internal, _IO_default_finish_internal)
37831 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37832 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37833 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37834 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37835 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37836 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37837 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37838 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37839 (_IO_file_close_internal, _IO_file_close_it_internal)
37840 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37841 (_IO_file_init_internal, _IO_file_attach_internal)
37842 (_IO_file_fopen_internal, _IO_file_read_internal)
37843 (_IO_file_sync_internal, _IO_file_seek_internal)
37844 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37845 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37846 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37847 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37848 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37849 (_IO_list_all_internal, _IO_link_in_internal)
37850 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37851 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37852 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37853 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37854 (_IO_do_write_internal, _IO_padn_internal)
37855 (_IO_getline_info_internal, _IO_getline_internal)
37856 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37857 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37858 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37859 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37860 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37861 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37862 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37863 with libc_hidden_ver, remove use of INTUSE.
37864 * libio/genops.c: Likewise.
37865 * libio/freopen.c: Likewise.
37866 * libio/freopen64.c: Likewise.
37867 * libio/iofclose.c: Likewise.
37868 * libio/iofdopen.c: Likewise.
37869 * libio/iofflush.c: Likewise.
37870 * libio/iofflush_u.c: Likewise.
37871 * libio/iofgets.c: Likewise.
37872 * libio/iofgets_u.c: Likewise.
37873 * libio/iofopen.c: Likewise.
37874 * libio/iofopncook.c: Likewise.
37875 * libio/iofread.c: Likewise.
37876 * libio/iofread_u.c: Likewise.
37877 * libio/ioftell.c: Likewise.
37878 * libio/iofwrite.c: Likewise.
37879 * libio/iogetline.c: Likewise.
37880 * libio/iogets.c: Likewise.
37881 * libio/iogetwline.c: Likewise.
37882 * libio/iopadn.c: Likewise.
37883 * libio/iopopen.c: Likewise.
37884 * libio/ioseekoff.c: Likewise.
37885 * libio/ioseekpos.c: Likewise.
37886 * libio/iosetbuffer.c: Likewise.
37887 * libio/iosetvbuf.c: Likewise.
37888 * libio/ioungetc.c: Likewise.
37889 * libio/ioungetwc.c: Likewise.
37890 * libio/iovdprintf.c: Likewise.
37891 * libio/iovsprintf.c: Likewise.
37892 * libio/iovsscanf.c: Likewise.
37893 * libio/memstream.c: Likewise.
37894 * libio/obprintf.c: Likewise.
37895 * libio/oldfileops.c: Likewise.
37896 * libio/oldiofclose.c: Likewise.
37897 * libio/oldiofdopen.c: Likewise.
37898 * libio/oldiofopen.c: Likewise.
37899 * libio/oldiopopen.c: Likewise.
37900 * libio/oldstdfiles.c: Likewise.
37901 * libio/putc.c: Likewise.
37902 * libio/setbuf.c: Likewise.
37903 * libio/setlinebuf.c: Likewise.
37904 * libio/stdfiles.c: Likewise.
37905 * libio/strops.c: Likewise.
37906 * libio/vasprintf.c: Likewise.
37907 * libio/vscanf.c: Likewise.
37908 * libio/vsnprintf.c: Likewise.
37909 * libio/vswprintf.c: Likewise.
37910 * libio/wfiledoalloc.c: Likewise.
37911 * libio/wfileops.c: Likewise.
37912 * libio/wgenops.c: Likewise.
37913 * libio/wmemstream.c: Likewise.
37914 * libio/wstrops.c: Likewise.
37915 * libio/__fpurge.c: Likewise.
37916 * libio/__fsetlocking.c: Likewise.
37917 * assert/assert.c: Likewise.
37918 * debug/fgets_chk.c: Likewise.
37919 * debug/fgets_u_chk.c: Likewise.
37920 * debug/fread_chk.c: Likewise.
37921 * debug/fread_u_chk.c: Likewise.
37922 * debug/gets_chk.c: Likewise.
37923 * debug/obprintf_chk.c: Likewise.
37924 * debug/vasprintf_chk.c: Likewise.
37925 * debug/vdprintf_chk.c: Likewise.
37926 * debug/vsnprintf_chk.c: Likewise.
37927 * debug/vsprintf_chk.c: Likewise.
37928 * malloc/mtrace.c: Likewise.
37929 * misc/error.c: Likewise.
37930 * misc/syslog.c: Likewise.
37931 * stdio-common/asprintf.c: Likewise.
37932 * stdio-common/fxprintf.c: Likewise.
37933 * stdio-common/getw.c: Likewise.
37934 * stdio-common/isoc99_fscanf.c: Likewise.
37935 * stdio-common/isoc99_scanf.c: Likewise.
37936 * stdio-common/isoc99_vfscanf.c: Likewise.
37937 * stdio-common/isoc99_vscanf.c: Likewise.
37938 * stdio-common/isoc99_vsscanf.c: Likewise.
37939 * stdio-common/printf-prs.c: Likewise.
37940 * stdio-common/printf_fp.c: Likewise.
37941 * stdio-common/printf_fphex.c: Likewise.
37942 * stdio-common/printf_size.c: Likewise.
37943 * stdio-common/putw.c: Likewise.
37944 * stdio-common/scanf.c: Likewise.
37945 * stdio-common/sprintf.c: Likewise.
37946 * stdio-common/tmpfile.c: Likewise.
37947 * stdio-common/vfprintf.c: Likewise.
37948 * stdio-common/vfscanf.c: Likewise.
37949 * stdlib/strfmon_l.c: Likewise.
37950 * sunrpc/openchild.c: Likewise.
37951 * sunrpc/xdr_stdio.c: Likewise.
37952 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37953 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37954
d6c33fda
RM
379552012-05-24 Roland McGrath <roland@hack.frob.com>
37956
c1487492
RM
37957 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37958
37959 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37960 in the third column, to generate for the shared library an IFUNC
37961 that uses _dl_vdso_vsym.
37962 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37963 * Makeconfig (object-suffixes-noshared): New variable.
37964
37965 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37966 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37967 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37968 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37969
d6c33fda
RM
37970 [BZ #14132]
37971 * include/sys/time.h (__gettimeofday): Remove macro.
37972 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37973 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37974 Remove INTDEF.
37975 (__gettimeofday): Add libc_hidden_def.
37976 (gettimeofday): Add libc_hidden_weak.
37977 * sysdeps/mach/gettimeofday.c: Likewise.
37978 * sysdeps/posix/gettimeofday.c: Likewise.
37979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37980 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37982 (__gettimeofday_internal): Remove strong_alias.
37983 (__gettimeofday): Add libc_hidden_def.
37984 (gettimeofday): Add libc_hidden_weak.
37985 * sysdeps/unix/syscalls.list (gettimeofday):
37986 Remove __gettimeofday_internal alias.
37987
b5a2bbe6
L
379882012-05-24 Daniel Jacobowitz <drow@false.org>
37989 H.J. Lu <hongjiu.lu@intel.com>
37990
37991 [BZ #12495]
37992 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37993 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37994 (largebin_index_32_big): New.
37995 (largebin_index): Use it for 16-byte alignment.
37996 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37997 correction with front_misalign.
37998
cfba4fda
L
379992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38000
7f907421
L
38001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38003 Likewise.
38004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38005 Likewise.
38006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38007 Likewise.
38008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38009 Likewise.
38010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38011 Likewise.
38012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38013 Likewise.
38014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38015 Likewise.
38016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38017 Likewise.
38018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38019 Likewise.
38020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38021 Likewise.
38022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38023 Likewise.
38024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38025 Likewise.
38026
cfba4fda
L
38027 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38028 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38029
80bad0cc
JM
380302012-05-24 Joseph Myers <joseph@codesourcery.com>
38031
7a25eb06
JM
38032 [BZ #10846]
38033 [BZ #14036]
38034 * math/libm-test.inc (exp_test): Add test from bug 14036.
38035 (pow_test): Add test from bug 10846.
38036
795405f9
JM
38037 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38038 and other flags.
38039 (special_function): Do not include flags in test name.
38040 (parse_args): Likewise.
38041 * sysdeps/i386/fpu/libm-test-ulps: Update.
38042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38046
80bad0cc
JM
38047 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38048 exceptions.
38049 * math/libm-test.inc ("Philosophy"): Update comment about
38050 exception testing.
38051 (UNDERFLOW_EXCEPTION): New macro.
38052 (UNDERFLOW_EXCEPTION_OK): Likewise.
38053 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38054 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38055 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38056 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38057 (INVALID_EXCEPTION_OK): Update value.
38058 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38059 (OVERFLOW_EXCEPTION_OK): Likewise.
38060 (IGNORE_ZERO_INF_SIGN): Likewise.
38061 (test_exceptions): Handle underflow exceptions.
38062 (acos_test): Update for underflow exception expectations.
38063 (cexp_test): Likewise.
38064 (clog_test): Likewise.
38065 (clog10_test): Likewise.
38066 (csqrt_test): Likewise.
38067 (ctan_test): Likewise.
38068 (ctanh_test): Likewise.
38069 (exp_test): Likewise.
38070 (exp10_test): Likewise.
38071 (exp2_test): Likewise.
38072 (expm1_test): Likewise.
38073 (fma_test): Likewise.
38074 (j0_test): Likewise.
38075 (jn_test): Likewise.
38076 (nexttoward_test): Likewise.
38077 (pow_test): Likewise.
38078 (scalbn_test): Likewise.
38079 (scalbln_test): Likewise.
38080 (tan_test): Likewise.
38081 (y1_test): Likewise.
38082 * sysdeps/i386/fpu/libm-test-ulps: Update.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38084
9e0e3d0b
DM
380852012-05-23 David S. Miller <davem@davemloft.net>
38086
38087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38088 (__libc_sigaction): Remove unused local variables.
38089
ccd0a08f
L
380902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38091
38092 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38093
62bdf9a6
PE
380942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38095
f8591f80
PE
38096 mktime: avoid signed integer overflow
38097 * time/mktime.c (__mktime_internal): Do not mishandle the case
38098 where diff == INT_MIN.
38099
94c7d826
PE
38100 mktime: simplify computation of average
38101 * time/mktime.c (ranged_convert): Use new time_t_avg function
38102 instead of rolling our own (probably-slower) code.
38103
ce73d683
PE
38104 mktime: do not assume signed right shift propagates sign bit
38105 * time/mktime.c (isdst_differ): New static function.
38106 (__mktime_internal): No need to normalize tm_isdst now.
38107 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38108 tm_isdst values.
38109
72a22e59
PE
38110 mktime: merge another wrapv change from gnulib
38111 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38112 from some compilers.
38113
68605433
PE
38114 mktime: remove incorrect attempt at unusual arithmetics
38115 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38116 The code didn't really work on such machines anyway.
38117 (TYPE_MINIMUM): Assume two's complement.
38118 (twos_complement_arithmetic): Verify that long_int and time_t
38119 are two's complement (or unsigned, in the latter case).
38120
03cf7fe3
PE
38121 mktime: check signed shifts on long_int and time_t, too
38122 * time/mktime.c (SHR): Check that shifts work as desired
38123 on the types long_int and time_t too, as SHR is used on
38124 such types.
38125
f04dfbc2
PE
38126 mktime: do not assume 'long' is wide enough
38127 * time/mktime.c (verify): Move decl up.
38128 (long_int): New type.
38129 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38130 to remove assumption in the code that 'long' is wide enough to
38131 store year values. This assumption is not true on x32 and on
38132 some non-glibc platforms.
38133
62bdf9a6
PE
38134 mktime: merge wrapv change from gnulib
38135 * time/mktime.c (WRAPV): New macro.
38136 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38137 (guess_time_tm, __mktime_internal): Do not assume that signed
38138 integer overflow wraps around; modern compilers generate code
38139 where this assumption is no longer valid.
38140
5e292e4f
L
381412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38142
38143 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38144 Replace "jmp L(pseudo_end)" with "ret".
38145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38146 Likewise.
38147
8caf8c87
AJ
381482012-05-23 Andreas Jaeger <aj@suse.de>
38149
38150 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38151 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38152
1a09dc56
AJ
381532012-05-23 Andreas Jaeger <aj@suse.de>
38154 Maximilian Attems <max@stro.at>
38155
38156 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38157 New macros.
38158
1c87aba0
L
381592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38160
38161 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38162 code so that pseudo_end is just ret and the stack pointer is
38163 correct also for static library in error case.
38164
40e45bd5
JM
381652012-05-23 Joseph Myers <joseph@codesourcery.com>
38166
c2670533
JM
38167 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38168 move to syscalls.list.
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38173
40e45bd5
JM
38174 * manual/install.texi (Running make install): Do not mention Linux
38175 kernel version for which pt_chown is not needed.
38176 (Linux): Do not mention problems with nscd with 2.0 kernels.
38177 * INSTALL: Regenerated.
38178
be08eda5
AJ
381792012-05-23 Andreas Jaeger <aj@suse.de>
38180
38181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38182 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38183 macro.
38184 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38186 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38188 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38194 * sysdeps/unix/sysv/linux/bits/in.h
38195 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38196
a6a056bb
RM
381972012-05-22 Roland McGrath <roland@hack.frob.com>
38198
38199 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38200 (PREPARE_VERSION): Just use assert instead, it will be elided
38201 under [NDEBUG] anyway.
38202
c9009328
L
382032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 * sysdeps/unix/sysv/linux/Makefile: Include
38206 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38207 (sysdep_routines): Remove sysctl.
c9009328
L
38208 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38209 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38210 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38211 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38212 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38213
73338355
AJ
382142012-05-22 Andreas Jaeger <aj@suse.de>
38215
38216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38217 that pseudo_end is just ret and the stack pointer is correct also
38218 for static library in error case.
38219
d44638b0
PP
382202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38221
38222 [BZ #14122]
38223 * nss/nsswitch.c (defconfig_entries): New variable.
38224 (__nss_database_lookup): Don't leak defconfig entries.
38225 (nss_parse_service_list): Don't leak on error paths.
38226 (free_database_entries): New function.
38227 (free_defconfig): New function.
38228 (free_mem): Move common code to free_database_entries.
38229
31a39bd8
L
382302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38231
da0331a8
L
38232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38233 Add arch_prctl.
38234 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38235
31a39bd8
L
38236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38237 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38239 New macro.
38240 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38241 (INTERNAL_SYSCALL_TYPES): Likewise.
38242 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38243 (LOAD_REGS_TYPES_[1-6]): Likewise.
38244 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38245 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38246
45470df3
AZ
382472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38248
38249 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38250 copysignl for GLIBC_2_0.
38251 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38252 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38254 logbl for GLIBC_2_0.
38255 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38256 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38257
98a61bcb
L
382582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38259
a4f6e481
L
38260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38262
f63d5db6
L
38263 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38264 Use "neg %eax".
38265
98a61bcb
L
38266 * time/mktime.c: Update copyright years.
38267
95770f14
PE
382682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38269
6226efbd
PE
38270 mktime: merge comment-quoting-style change from gnulib
38271 * time/mktime.c: Quote 'like this' in comments.
38272 The GNU coding standards suggest that we no longer quote `like this',
38273 as "`" and "'" are typically rendered asymmetrically nowadays.
38274 The typical gnulib style is to quote 'like this' when quoting
38275 code, and "like this" when quoting English.
38276
b99e4f78
PE
38277 * time/mktime.c (compile-command): Add "-I.".
38278
643e01e6
PE
38279 mktime: merge mktime-internal.h change from gnulib
38280 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38281
2554247d
PE
38282 mktime: merge time_r change from gnulib
38283 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38284
826dd0ab
PE
38285 mktime: merge DEBUG change from gnulib
38286 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38287 case system <time.h> has a #define.
38288
bd83aabe
PE
38289 mktime: merge <sys/types.h> change from gnulib
38290 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38291 since <time.t> is now guaranteed to define time_t.
38292
95770f14
PE
38293 mktime: merge HAVE_CONFIG_H change from gnulib
38294 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38295
5e1a27a9
L
382962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38297
0e44a77e
L
38298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38299 Use "neg %eax".
38300
5e1a27a9
L
38301 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38302 __rlim_t cast.
38303 (struct rusage): Use anonymous union to pad each field to
38304 __syscall_slong_t.
38305
46259bec
DM
383062012-05-21 David S. Miller <davem@davemloft.net>
38307
38308 * Makefules (o-iterator): Remove .s cases.
38309 (compile-command.s): Delete.
38310 (COMPILE.s): Delete.
38311 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38312
59f0c22e
JM
383132012-05-21 Joseph Myers <joseph@codesourcery.com>
38314
38315 * configure.in (libc_cv_predef_stack_protector): Only consider
38316 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38317 * configure: Regenerated.
38318
20c07380
L
383192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38320
bbb3154b
L
38321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38322 New macro. Use R*LP on int and pointer.
38323 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38324 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38325 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38326 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38327
20c07380
L
38328 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38329 [__WORDSIZE_TIME64_COMPAT32] instead of
38330 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38331 (struct utmp): Likewise.
38332 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38333 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38334 Renamed to ...
38335 (__WORDSIZE_TIME64_COMPAT32): This.
38336 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38337 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38338 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38339 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38341 (__WORDSIZE_TIME64_COMPAT32): New macro.
38342
d8d1017e
AJ
383432012-05-21 Andreas Jaeger <aj@suse.de>
38344
38345 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38346 only if [SHARED]. Add prototype for __wcschr_ia32.
38347
6c7fb145
RM
383482012-05-21 Roland McGrath <roland@hack.frob.com>
38349
38350 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38351 of %rbp unmolested in the jmp_buf while mangling the low bits.
38352 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38353 unmolested high bits of %rbp while demangling the low bits.
38354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38355
66274218
AJ
383562012-05-21 Andreas Jaeger <aj@suse.de>
38357
07c58f8f
AJ
38358 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38359 * sunrpc/svc_simple.c: Use it for registerrpc.
38360 * sunrpc/xcrypt.c: Use it for passwd2des.
38361
66274218
AJ
38362 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38363
61f65140
L
383642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38365
38366 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38367 Don't define if [__SYSCALL_WORDSIZE != 32].
38368 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38369 New macro.
38370
5fefb436
AJ
383712012-05-21 Bruno Haible <bruno@clisp.org>
38372 Andreas Jaeger <aj@suse.de>
38373
38374 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38375 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38376 inptr and inend for must_buffer_ch.
38377 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38378 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38379 * stdio-common/Makefile (tests): Remove bug15.
38380 (bug15-ENV): Remove macro.
38381 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38382 anymore.
38383
d8e272ab
AJ
383842012-05-19 Andreas Jaeger <aj@suse.de>
38385 Roland McGrath <roland@hack.frob.com>
38386
38387 * manual/contrib.texi: Completely rewritten. It contains now an
38388 alphabetical list of contributors and their contributions.
38389
4a56a162
RH
383902012-05-21 Richard Henderson <rth@twiddle.net>
38391
38392 * misc/getauxval.c (__getauxval): Use unsigned long int.
38393 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38394 (getauxval): Use unsigned long int.
38395
d024d23c
L
383962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38397
38398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38399
cbc00a03
RM
384002012-05-21 Roland McGrath <roland@hack.frob.com>
38401
38402 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38403 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38404 __alignof__ (long double).
38405
478143fa
AZ
384062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38407
38408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38409
c7683a6d
RH
384102012-05-20 Richard Henderson <rth@twiddle.net>
38411
38412 * misc/getauxval.c: New file.
38413 * misc/sys/auxv.h: New file.
38414 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38415 (routines): Add getauxval.
38416 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38417 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38418 * elf/dl-sysdep.c (_dl_auxv): Remove.
38419 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38420 * elf/dl-support.c (_dl_auxv): New variable.
38421 (_dl_aux_init): Initialize it.
38422 * manual/startup.texi (Auxiliary Vector): New node.
38423 * sysdeps/generic/bits/hwcap.h: New file.
38424 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38425 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38426 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38427 * sysdeps/sparc/sysdep.h: ... here. Include it.
38428 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38431 Update.
c7683a6d
RH
38432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38440
a6f1845d
AZ
384412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38442
38443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38444
cbcbe830
DM
384452012-05-19 David S. Miller <davem@davemloft.net>
38446
38447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38448
e0b16cc2
JM
384492012-05-19 Joseph Myers <joseph@codesourcery.com>
38450
38451 [BZ #14123]
38452 * math/s_ccosh.c: Include <float.h>
38453 (__ccosh): Avoid internal overflow calculating sinh and cosh
38454 values before multiplying by sin and cos values.
38455 * math/s_ccoshf.c: Likewise.
38456 * math/s_ccoshl.c: Likewise.
38457 * math/s_csin.c: Likewise.
38458 * math/s_csinf.c: Likewise.
38459 * math/s_csinl.c: Likewise.
38460 * math/s_csinh.c: Likewise.
38461 * math/s_csinhf.c: Likewise.
38462 * math/s_csinhl.c: Likewise.
38463 * math/libm-test.inc (ccos_test): Add more tests.
38464 (ccosh_test): Likewise.
38465 (csin_test): Likewise.
38466 (csinh_test): Likewise.
38467 * sysdeps/i386/fpu/libm-test-ulps: Update.
38468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38469
6ad13e08
L
384702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38471
f66f0ce8
L
38472 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38473 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38474
6ad13e08
L
38475 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38476
b1d072a7
JM
384772012-05-19 Joseph Myers <joseph@codesourcery.com>
38478
38479 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38480 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38481 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38482 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38483 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38484 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38485 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38486 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38487 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38488 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38489 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38490 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38491 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38492 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38493 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38494 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38495 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38496 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38497 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38498 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38499 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38500 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38501 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38502 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38503 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38504 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38505 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38506 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38507 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38508 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38509 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38510
9eae47cb
AJ
385112012-05-18 Andreas Jaeger <aj@suse.de>
38512
38513 * csu/.gitignore: Delete.
38514
bb07f69f
L
385152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38516
38517 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38518 (timex): Use __syscall_slong_t.
38519
e6bdb741
AJ
385202012-05-18 Andreas Jaeger <aj@suse.de>
38521 Carlos O'Donell <carlos_odonell@mentor.com>
38522
38523 * manual/install.texi (Configuring and compiling): Update
38524 description about files modified in the source directory.
d6c33fda 38525 * INSTALL: Regenerated.
e6bdb741 38526
1b74487e
L
385272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38528
38529 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38530 value. Use "or" to set return value to -1.
38531 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38532 negate return value.
38533
a88b64b9
TMQMF
385342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38535
57f41c40
AS
38536 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38537 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38538 failure if the compiler has Graphite support disabled.
38539 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38540 Likewise.
57f41c40
AS
38541 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38542 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38544 Likewise.
38545
3707636e
L
385462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38547
610b8622
L
38548 * sysdeps/x86_64/x32/_itoa.h: New file.
38549
7cd195df
L
38550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38551 getdents system call only if kernel and user dirents have the
38552 same d_ino and d_off.
38553
94b07d20
L
38554 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38555 LLONG_MAX != LONG_MAX.
38556 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38557 (_fitoa_word): Likewise.
38558
18298070
L
38559 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38560 years.
38561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38564
553c7ea4
L
38565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38566 include <bits/wordsize.h>. Check __x86_64__ instead of
38567 __WORDSIZE.
38568 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38569 if __x86_64__ is defined. Use anonymous union on fpstate.
38570
3707636e
L
38571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38572 anonymous union.
38573
b53ef01a
AS
385742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38575
37fb1dc0
AS
38576 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38577 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38579 Refer to _rtld_local_ro instead of _rtld_global_ro.
38580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38581 Likewise.
38582 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38583 Likewise.
38584 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38585 Likewise.
38586 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38587 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38588 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38589
b53ef01a
AS
38590 * sysdeps/powerpc/powerpc32/dl-machine.c
38591 (__elf_machine_runtime_setup) [PROF]: Don't reference
38592 _dl_prof_resolve.
38593
7a185db2
AJ
385942012-05-18 Andreas Jaeger <aj@suse.de>
38595
38596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38597 function only available for GCCs before 3.4 since GCC 3.4
38598 introduced a builtin.
38599 (lrint): Likewise.
38600 (llrintf): Likewise.
38601 (llrint): Likewise.
38602 (fmaxf): Likewise.
38603 (fmax): Likewise.
38604 (fminf): Likewise.
38605 (fmin): Likewise.
38606 (rint): Likewise.
38607 (rintf): Likewise.
38608 (nearbyint): Likewise.
38609 (nearbyintf): Likewise.
38610 (ceil): Likewise.
38611 (ceilf): Likewise.
38612 (floor): Likewise.
38613 (floorf): Likewise.
38614
3e5aef87
L
386152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38616
428bd707
L
38617 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38618 on both fields and cast pointer to __syscall_ulong_t.
38619
3e5aef87
L
38620 * bits/types.h (__fsword_t): New type.
38621 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38622 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38624 (__FSWORD_T_TYPE): Likewise.
38625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38626 (__FSWORD_T_TYPE): Likewise.
38627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38628 (__FSWORD_T_TYPE): Likewise.
38629 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38630 (__FSWORD_T_TYPE): Likewise.
38631 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38632 __SWORD_TYPE with __fsword_t.
38633 (statfs64): Likewise.
38634
1ba7c3dc
DM
386352012-05-17 David S. Miller <davem@davemloft.net>
38636
38637 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38638
59910343
AJ
386392012-05-17 Andreas Jaeger <aj@suse.de>
38640
38641 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38642 warning.
38643
2e4c1e9e
L
386442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38645
38646 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38647
de7f5ce7
AJ
386482012-05-17 Andreas Jaeger <aj@suse.de>
38649
38650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38651 when it is used.
38652
286abc3d
CM
386532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38654
38655 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38656
477cc68e
L
386572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38658
38659 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38660 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38661
1a0994f5
CD
386622012-05-17 Andreas Jaeger <aj@suse.de>
38663 Carlos O'Donell <carlos_odonell@mentor.com>
38664
38665 [BZ #14059]
38666 * sysdeps/x86_64/multiarch/init-arch.h
38667 (bit_YMM_Usable): Rename to...
38668 (bit_AVX_Usable): ... this.
38669 (bit_FMA4_Usable): New macro.
38670 (bit_XMM_state): New macro.
38671 (bit_YMM_state): New macro.
38672 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38673 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38674 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38675 (CPUID_OSXSAVE): New macro.
38676 (CPUID_AVX): New macro.
38677 (CPUID_FMA4): New macro.
38678 (index_YMM_Usable): Rename to...
38679 (index_AVX_Usable): ... this.
38680 (HAS_AVX): Use HAS_ARCH_FEATURE.
38681 (HAS_FMA4): Likewise.
38682 (HAS_YMM_USABLE): Remove.
38683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38684 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38685 are present.
38686 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38687 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38688 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38689 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38690 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38691
0af797de
CM
386922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38693
38694 * math/libm-test.c: Support platforms without multiple rounding modes.
38695 * math/bug-nextafter.c: Support platforms without FP exceptions.
38696 * math/bug-nexttoward.c: Likewise.
38697 * math/test-fenv.c: Likewise.
38698 * math/test-misc.c: Likewise.
38699 * stdlib/bug-getcontext.c: Likewise.
38700
e39745ff
AJ
387012012-05-17 Andreas Jaeger <aj@suse.de>
38702
38703 * manual/examples/search.c (critter_cmp): Change signature to
38704 avoid warnings.
38705 * manual/string.texi (Collation Functions): Likewise.
38706
48970aba
L
387072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38708
38709 * bits/types.h: Fold copyright years.
38710 * bits/typesizes.h: Likewise.
38711 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38715 * time/time.h: Likewise.
38716
bedee953
PP
387172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38718
38719 [BZ #208]
38720 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38721 in instead of returning them. Return void.
38722 (__libc_mallinfo): Accumulate over all arenas.
38723 (__malloc_stats): Adjust for change in int_mallinfo interface.
38724
61653dfb
RM
387252012-05-16 Roland McGrath <roland@hack.frob.com>
38726
30b99d79
RM
38727 [BZ #10375]
38728 * configure.in (NM): Add AC_CHECK_TOOL for it.
38729 (libc_extra_cflags): New substituted variable.
38730 Check for -fstack-protector being used implicitly.
38731 * configure: Regenerated.
38732 * config.make.in (config-extra-cflags): New variable,
38733 gets @libc_extra_cflags@.
38734 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38735
61653dfb
RM
38736 [BZ #10375]
38737 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38738 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38739 * configure: Regenerated.
38740 * config.make.in (CPPUNDEFS): New substituted variable.
38741 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38742 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38743 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38744
661768bb
L
387452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38746
38747 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38748 (mq_attr): Use __syscall_slong_t.
38749
d4261567
L
387502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38751
38752 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38753 Check __x86_64__ instead of __WORDSIZE.
38754 (_STAT_VER_LINUX): Likewise.
38755 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38756 __syscall_ulong_t and __syscall_slong_t.
38757 (stat64): Likewise.
38758
cf3ff365
L
387592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38762
76cf3e4d
L
387632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38764
38765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38766
a637753a
L
387672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38768
38769 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38770 __syscall_ulong_t.
38771
d5e05119
L
38772 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38773 include <bits/wordsize.h>. Check __x86_64__ instead of
38774 __WORDSIZE.
38775 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38776 defined.
38777 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38778
f62ee380
L
38779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38780 include <bits/wordsize.h>. Check __x86_64__ instead of
38781 __WORDSIZE.
38782 (user_regs_struct): Use "__extension__ unsigned long long"
38783 instead of "unsigned long" if __x86_64__ is defined.
38784 (user): Likewise. Pad after pointer field if __ILP32__ is
38785 defined.
38786
4e124ced
JM
387872012-05-16 Joseph Myers <joseph@codesourcery.com>
38788
6a3951a0
JM
38789 * configure.in (makeinfo): Require version 4.5 or later. Allow
38790 versions 5 to 9.
38791 * configure: Regenerated.
38792 * manual/install.texi (texinfo): Increase version requirement to
38793 4.5 or later.
38794 * INSTALL: Regenerated.
38795
4e124ced
JM
38796 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38797
953ca31a
L
387982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38799
38800 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38801
617aca05
L
38802 * sysdeps/x86_64/x32/ffs.c: New file.
38803
5762f7ae
L
38804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38805 __syscall_ulong_t.
38806 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38807 defined. Use __syscall_ulong_t.
38808 (shminfo): Use __syscall_ulong_t.
38809 (shm_info): Likewise.
38810
a26b6856
L
38811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38812 __syscall_ulong_t.
38813
cb2b9ef7
L
38814 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38815 <bits/wordsize.h>.
38816 (msgqnum_t): Use __syscall_ulong_t.
38817 (msglen_t): Likewise.
38818 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38819 __syscall_ulong_t.
38820
34683bb0
L
38821 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38822 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38823
84a68786
L
38824 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38825
48baa5f1
L
38826 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38827 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38828
180be88b
L
38829 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38830 __syscall_slong_t.
38831
5e90c8ad
L
38832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38833 include <bits/wordsize.h>. Check __x86_64__ instead of
38834 __WORDSIZE.
38835
23dfb58b
L
38836 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38837 "unsigned long long int" if __x86_64__ is defined.
38838 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38839
ce5d54b0
L
38840 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38841 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38842 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38843
13dc9eac
L
38844 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38845 <stdint.h>.
38846 (GET_PC): Cast to uintptr_t first.
38847 (GET_FRAME): Likewise.
38848 (GET_STACK): Likewise.
38849
a7895d15
L
38850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38852 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38854 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38856 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38857 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38858 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38861 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38863 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38864 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38869 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38871 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38873 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38875 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38876 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38877 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38878 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38879
656416c9
AS
388802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38881
5bd66283
AS
38882 * Makerules (+depfiles): Also collect depfiles from .oS in
38883 $(extra-objs).
38884 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38885 .oS, $(libnldbl-routines)).
38886
656416c9
AS
38887 * Makerules (native-compile-mkdep-flags): Define.
38888 * sunrpc/Makefile (extra-objs): Add $(addprefix
38889 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38890 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38891 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38892 calling $(make-target-directory).
38893
a46f2169
L
388942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 * bits/types.h (__snseconds_t): Removed.
38897 * time/time.h (struct timespec): Replace __snseconds_t with
38898 __syscall_slong_t.
38899 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38900 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38901 Likewise.
38902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38903 (__SNSECONDS_T_TYPE): Likewise.
38904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38905 (__SNSECONDS_T_TYPE): Likewise.
38906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38907 (__SNSECONDS_T_TYPE): Likewise.
38908
6af6528b
L
389092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38910
38911 * sysdeps/mach/hurd/bits/typesizes.h
38912 (__SYSCALL_SLONG_TYPE): New macro.
38913 (__SYSCALL_ULONG_TYPE): Likewise.
38914
de986b56
L
389152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38916
38917 * bits/types.h (__syscall_slong_t): New type.
38918 (__syscall_ulong_t): Likewise.
38919
38920 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38921 (__SYSCALL_ULONG_TYPE): Likewise.
38922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38923 (__SYSCALL_SLONG_TYPE): Likewise.
38924 (__SYSCALL_ULONG_TYPE): Likewise.
38925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38926 (__SYSCALL_SLONG_TYPE): Likewise.
38927 (__SYSCALL_ULONG_TYPE): Likewise.
38928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38929 (__SYSCALL_SLONG_TYPE): Likewise.
38930 (__SYSCALL_ULONG_TYPE): Likewise.
38931
85736dc7
L
389322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38933
38934 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38935 Add sigaltstack-offsets.sym.
38936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38937 <sigaltstack-offsets.h>.
38938 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38939 longjmp_msg pointer.
38940 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38941 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38942 signal stack.
38943 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38944
cc03b296
JM
389452012-05-15 Joseph Myers <joseph@codesourcery.com>
38946
a9538892
JM
38947 * elf/stackguard-macros.h: Remove file.
38948 * sysdeps/generic/stackguard-macros.h: New file.
38949 * sysdeps/i386/stackguard-macros.h: Likewise.
38950 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38951 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38952 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38953 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38954 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38955 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38956 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38957 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38958 <elf/stackguard-macros.h>.
38959
cc03b296
JM
38960 [BZ #14109]
38961 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38962 __aligned__ in attribute.
38963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38964 (gregset_t): Likewise.
38965
93171016
L
389662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38967
38968 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38969 * sysdeps/x86_64/64/Implies-after: Here. New file.
38970 * sysdeps/x86_64/x32/Implies-after: New file.
38971
d86813a0
L
389722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38973
38974 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38975 and access return value for _dl_profile_fixup. Use R10_LP to
38976 load frame size.
38977
2953ec75
L
389782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38979
38980 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38981
3b550e9e
L
389822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38983
38984 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38985 * sysdeps/x86_64/x32/sysdep.h: New file.
38986
eda41706
L
389872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38988
38989 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38990 * sysdeps/x86_64/setjmp.S: Likewise.
38991
9ea01d93
AZ
389922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38993
38994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38996 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38998 remove unused global constant.
38999
02a91938
CM
390002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39001
39002 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39003 include of <not-cancel.h>.
39004
6540185f
RM
390052012-05-15 Roland McGrath <roland@hack.frob.com>
39006
39007 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39008
509072a0
AJ
390092012-05-15 Jeff Law <law@redhat.com>
39010 Andreas Jaeger <aj@suse.de>
39011
39012 [BZ #13594]
39013 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39014 out from...
39015 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39016 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39017 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39018 code changing __hst_map_handle.map.
39019
ba75122d
RM
390202012-05-15 Roland McGrath <roland@hack.frob.com>
39021
39022 * configure.in (sysnames): Look for Implies-before and Implies-after
39023 files.
39024 * configure: Regenerated.
39025
890d8bd8
L
390262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39027
39028 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39029 8-byte data alignment with LP_SIZE alignment.
39030
f6ee6623
L
390312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39032
39033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39034 into R10_LP.
39035
ea2626f6
L
390362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39039
085f715e
L
390402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39041
39042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39043 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39045 Likewise.
39046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39047
be8498fc
L
390482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39049
39050 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39051 (stackinfo_sub_sp): Likewise.
39052
70bc83b9
L
390532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39054
39055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39056 RAX_LP.
39057
9bc0b730
L
390582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39059
39060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39061 into R*_LP.
39062
6d2850e7
L
390632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39064
39065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39066 sizes into R*_LP.
39067
3cb84561
L
390682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39069
39070 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39071
54e2ed81
L
390722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39073
39074 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39075 into R11_LP and load __x86_64_shared_cache_size_half into
39076 R8_LP.
39077
8a17f349
L
390782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39079
39080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39081 R8_LP.
39082
777b1eea
AZ
390832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39084
39085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39086 logb for POWER7.
39087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39088 logbf for POWER7.
39089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39090 logbl for POWER7.
39091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39092 powerpc32/power7/fpu/s_logb.c via #include.
39093 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39094 powerpc32/power7/fpu/s_logbf.c via #include.
39095 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39096 powerpc32/power7/fpu/s_logbl.c via #include.
39097
d20d4ac2
JM
390982012-05-15 Joseph Myers <joseph@codesourcery.com>
39099
39100 * README.libm: Remove file.
39101
6cdef1ab
L
391022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39105 count for x32. Use R*_LP and omit operand-size suffix.
39106
0b254d8f
L
391072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39108
39109 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39110 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39111 * sysdeps/x86_64/x32/shlib-versions: New file.
39112
ceb809dc
RM
391132012-05-14 Roland McGrath <roland@hack.frob.com>
39114
39115 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39116 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39117 Use _dl_fatal_printf instead.
39118
37f1abd4
JM
391192012-05-14 Joseph Myers <joseph@codesourcery.com>
39120
39121 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39122 set if not set by the user. Do not allow for being unset.
39123 * sysdeps/unix/sysv/linux/configure: Regenerated.
39124
11de3a33
L
391252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39126
39127 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39128 the `q' suffix from lea and replace .quad with ASM_ADDR.
39129
e02f153a
L
391302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39131
39132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39133 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39134 instead of $17.
39135 (PTR_DEMANGLE): Likewise.
39136
520ae0fd
L
391372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39138
39139 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39140 (LP_OP): Likewise.
39141 (ASM_ADDR): Likewise.
39142 (RAX_LP): Likewise.
39143 (RBP_LP): Likewise.
39144 (RBX_LP): Likewise.
39145 (RCX_LP): Likewise.
39146 (RDI_LP): Likewise.
39147 (RSI_LP): Likewise.
39148 (RSP_LP): Likewise.
39149 (R8_LP): Likewise.
39150 (R9_LP): Likewise.
39151 (R10_LP): Likewise.
39152 (R10_LP): Likewise.
39153 (R11_LP): Likewise.
39154 (R12_LP): Likewise.
39155 (R13_LP): Likewise.
39156 (R14_LP): Likewise.
39157 (R15_LP): Likewise.
39158
b985be81
L
391592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39160
39161 * sysdeps/x86_64/x32/dl-machine.h: New file.
39162
6a4888ff
AJ
391632012-05-14 Andreas Jaeger <aj@suse.de>
39164
39165 * manual/Makefile (subdir): Remove export of subdir.
39166 (all): Remove target.
39167 (.PHONY): Remove all from list.
39168 (mkinstalldirs): Remove.
39169 (.PHONY): Remove installdirs from list.
39170 ($(inst_infodir)/libc.info): Use make-target-directory.
39171 (installdirs): Remove.
39172 (subdir_%): Remove.
39173 (glibc-targets): Remove.
39174 (lib): Remove.
39175 (stubs): Remove.
39176 ($(objpfx)stubs ../po/manual.pot): Remove.
39177 ($(objpfx)stamp%): Remove.
39178 (make-target-directory): Remove.
39179 (subdir_install): Remove.
39180 (routines): Remove.
39181 (aux): Remove.
39182 (sources): Remove.
39183 (objects): Remove.
39184 (headers): Remove.
39185
39186 [BZ #13750]
39187 * manual/.gitignore: Remove, it's not needed anymore.
39188 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39189 all files in it.
39190 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39191 directory.
39192 (texis): Renamed to $(objpfx)texis.
39193 (texis-path): New, contains path to generated files.
39194 (chapters.%): Use texis-path for complete path, add extra argument
39195 libc-texinfo.sh.
39196 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39197 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39198 (summary,texi, stamp-summary): Use complete path of
39199 files. Generate files in build dir.
39200 (dir-add.texi): Build in build dir.
39201 (libm-err.texi,stamp-libm-err): Likewise.
39202 (version.texi, stamp-version): Likewise.
39203 (.%c.texi): Likewise.
39204 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39205 (mostlyclean): Remove target.
39206 (realclean): Remove target.
39207 (generated): Add new variable with contents from mostlyclean and
39208 realclean, remove entries duplicated in common-mostlyclean, add
39209 stamp-libm-err and stamp-version.
39210 (generated-dirs): Add libc directory.
39211 ($(inst_infodir)/libc.info): Install files from build dir.
39212
39213 * manual/install.texi (Configuring and compiling): Adjust since
39214 the info files are not part of the tar ball anymore.
39215
7ac77294
AJ
392162012-05-14 Andreas Jaeger <aj@suse.de>
39217
39218 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39219 variable.
39220
ffb7875d
JM
392212012-05-14 Joseph Myers <joseph@codesourcery.com>
39222
39223 [BZ #13717]
39224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39225 to 2.2.0 where earlier.
39226 * sysdeps/unix/sysv/linux/configure: Regenerated.
39227 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39228 Remove conditional code.
39229 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39230 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39231 Remove conditional code.
39232 [!__NR_lchown]: Likewise.
39233 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39234 [__NR_lchown]: Likewise.
39235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39236 comment referencing __ASSUME_LCHOWN_SYSCALL.
39237 * sysdeps/unix/sysv/linux/i386/sigaction.c
39238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39241 Remove conditional code.
39242 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39243 (__protocol_available): Remove #if 0 code.
39244 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39245 conditional code.
39246 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39247 * sysdeps/unix/sysv/linux/kernel-features.h
39248 (__ASSUME_GETCWD_SYSCALL): Don't define.
39249 (__ASSUME_REALTIME_SIGNALS): Likewise.
39250 (__ASSUME_PREAD_SYSCALL): Likewise.
39251 (__ASSUME_PWRITE_SYSCALL): Likewise.
39252 (__ASSUME_POLL_SYSCALL): Likewise.
39253 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39254 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39255 non-SPARC.
39256 (__ASSUME_SIOCGIFNAME): Don't define.
39257 (__ASSUME_MSG_NOSIGNAL): Likewise.
39258 (__ASSUME_SENDFILE): Define unconditionally.
39259 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39260 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39261 conditional code.
39262 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39263 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39265 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39266 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39267 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39268 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39293 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39294 Remove conditional code.
39295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39296 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39297 Remove conditional code.
39298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39299 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39300 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39301 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39302 Remove conditional code.
39303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39304 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39305 Remove conditional code.
39306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39307 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39308 Remove conditional code.
39309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39310 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39311 Remove conditional code.
39312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39313 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39314 Remove conditional code.
39315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39316 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39319 * sysdeps/unix/sysv/linux/sigaction.c
39320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39322 * sysdeps/unix/sysv/linux/sigpending.c
39323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39325 * sysdeps/unix/sysv/linux/sigprocmask.c
39326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39328 * sysdeps/unix/sysv/linux/sigsuspend.c
39329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39332 (__libc_missing_rt_sigs): Remove.
39333 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39334 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39335 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39336 Remove conditional code.
39337 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39338 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39339 return 1.
39340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39341 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39342 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39343 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39344
1bfb7291
AJ
393452012-05-14 Andreas Jaeger <aj@suse.de>
39346
caae5a81
AJ
39347 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39348 it's not used in glibc.
39349 (__coshm1): Likewise.
39350 (__acosh1p): Likewise.
39351 (__sgn): Likewise.
39352
1bfb7291
AJ
39353 * manual/string.texi (Copying and Concatenation): Add missing
39354 variable in concat example.
39355 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39356
c044d724
L
393572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39358
144c5467 39359 [BZ #14103]
c044d724
L
39360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39361 __builtin_clzl with __builtin_clzll.
39362
2523c62b
L
393632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39364
39365 [BZ #14104]
39366 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39367 libc_freeres_ptr.
39368
d7bb4c42
LD
393692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39370
39371 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39372 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39373 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39374 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39375
9dc4e1fb
MF
393762012-05-14 Mike Frysinger <vapier@gentoo.org>
39377
39378 * NEWS: Update ia64 info.
39379
c7df0112
AS
393802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39381
39382 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39383 used as bcopy.
39384
dc70356c
TS
393852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39386
39387 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39388 * sysdeps/unix/syscalls.list (dup3): Likewise.
39389 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39390 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39391
9fb1a21f
L
393922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39393
39394 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39395 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39396
4822a2a5
L
393972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39398
39399 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39400 thread pointer.
39401 (TLS_IE): Use mov/add instead of movq/addq to load thread
39402 pointer.
39403 (TLS_GD_PREFIX): New.
39404 (TLS_GD): Use it.
39405
842b81d6
DM
394062012-05-11 David S. Miller <davem@davemloft.net>
39407
39408 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39409 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39410 (_FPU_SETCW): Likewise.
39411
1cf463cd
L
394122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39413
39414 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39415 is 32-byte aligned.
39416
60cc4a18
AS
394172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39418
39419 [BZ #11837]
39420 * iconvdata/gb18030.c: Update tables.
39421 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39422 characters specially.
39423 (BODY for TO_LOOP): Add encoding of missing ranges.
39424
febb44a4
TS
394252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39426
39427 [BZ #13673]
39428 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39429 * sysdeps/mach/hurd/dup3.c: Likewise.
39430 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39431 * sysdeps/powerpc/memmove.c:: Likewise.
39432
0a10fb9e
L
394332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39436 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39437
df8a552f
L
394382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39439
39440 * elf/elf.h (R_X86_64_RELATIVE64): New.
39441 (R_X86_64_NUM): Updated.
39442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39443 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39444 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39445 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39446 tst-quad1pie tst-quad2pie
39447 (modules-names): Add tst-quadmod1 tst-quadmod2.
39448 ($(objpfx)tst-quad1): New dependency.
39449 ($(objpfx)tst-quad2): Likewise.
39450 ($(objpfx)tst-quad1pie): Likewise.
39451 ($(objpfx)tst-quad2pie): Likewise.
39452 * sysdeps/x86_64/tst-quad1.c: New file.
39453 * sysdeps/x86_64/tst-quad1pie.c: New file.
39454 * sysdeps/x86_64/tst-quad2.c: Likewise.
39455 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39456 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39457 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39458 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39459 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39460
f34d6f84
ST
394612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39462
f42d41d1
ST
39463 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39464 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39465 * streams/stropts.h (t_scalar_t): Define type.
39466
3c3571fc
ST
39467 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39468 (_PATH_PRESERVE): Set to "/var/lib".
39469 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39470
61f06bd3
ST
39471 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39472 instead of int.
39473
918d4d71
ST
39474 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39475 if __dir_mkfile succeeded.
39476
f34d6f84
ST
39477 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39478 checking for _hurd_dtablesize. Unlock it right after having
39479 finished _hurd_dtable allocation.
39480
10589b4a
TS
394812012-05-10 Thomas Schwinge <thomas@schwinge.name>
39482
674cdbc7
TS
39483 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39484 * sysdeps/mach/hurd/configure: Regenerated.
39485 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39486 special-casing to...
39487 * sysdeps/gnu/configure.in: ... this new file.
39488 * sysdeps/unix/sysv/linux/configure: Regenerated.
39489 * sysdeps/gnu/configure: New generated file.
39490
8e41b99f
TS
39491 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39492 for Linux: use nsec instead of usec, as well as:
39493 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39494 members of type struct timespec.
39495 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39496 New macros.
39497 (struct stat64): Likewise.
39498 (_STATBUF_ST_NSEC): New macro.
39499 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39500
10589b4a
TS
39501 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39502 __strtoul_internal rather than strtoul.
39503
63643c85
PT
395042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39505
39506 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39507 and reject them.
39508
3faebe6a
ST
395092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39510
39511 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39512 which preserves existing values.
39513 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39514
c6474b07
PT
395152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39516
39517 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39518 TIMEOUT values. Return EINVAL for NFDS values either negative or
39519 greater than FD_SETSIZE.
39520
1043890b
ST
395212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39522
39523 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39524 allocated, call __vm_protect to finish enabling the existing space, and
39525 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39526 allocate the remainder.
39527
37ed8b9b
PT
395282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39529
39530 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39531 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39532
db653660
ST
395332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39534
37ed8b9b
PT
39535 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39536 sysdeps/mach/hurd/readlink.c.
b29d4053 39537
db653660
ST
39538 * posix/tst-sysconf.c (posix_options): Only use
39539 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39540 _POSIX_SYNCHRONIZED_IO when they are defined
39541 * sysdeps/mach/hurd/bits/posix_opt.h:
39542 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39543 (_XOPEN_REALTIME): Undefine macro.
39544 (_XOPEN_REALTIME_THREADS): Undefine macro.
39545 (_XOPEN_SHM): Undefine macro.
39546 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39547 macro to -1.
39548 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39549 macro to -1.
39550 (_POSIX_ASYNC_IO): Undefine macro.
39551 (_POSIX_PRIORITIZED_IO): Undefine macro.
39552 (_POSIX_SPIN_LOCKS): Define macro to -1.
39553
ee16e894
ST
39554 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39555 SA_NODEFER, SA_RESETHAND.
39556 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39557 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39558 F_DUPFD_CLOEXEC.
39559
6103ae3b
TS
395602012-05-10 Thomas Schwinge <thomas@schwinge.name>
39561
39562 * elf/Makefile (pldd-modules): Define unconditionally.
39563
80b4e5f3
TS
395642012-05-10 Thomas Schwinge <thomas@schwinge.name>
39565
39566 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39567
edadcbd6
ST
395682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39569
39570 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39571 Return ENOENT when name is empty.
39572 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39573
80694780
TS
395742012-05-10 Thomas Schwinge <thomas@schwinge.name>
39575
1792c087
TS
39576 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39577
80694780
TS
39578 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39579
6b645f0d
ST
395802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39581
80694780
TS
39582 Fix mlock in all cases except non-readable pages.
39583 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39584 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39585
6b645f0d
ST
39586 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39587 (__mkdir): When path is `/', just fail with EEXIST.
39588 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39589
e468f8a3
TS
395902012-05-10 Thomas Schwinge <thomas@schwinge.name>
39591
39592 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39593 <sys/uio.h> (for writev).
39594 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39595 and <sys/param.h> (for MIN).
39596
a4186cff
PT
395972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39598
39599 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39600 REQUESTED_TIME. Properly set the remaining time and return EINTR
39601 if interrupted.
39602
510bbf14
TS
396032012-05-10 Thomas Schwinge <thomas@schwinge.name>
39604
39605 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39606 Depend on against $(link-rpcuserlibs).
39607
5d5722e8
ST
396082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39609
a4186cff
PT
39610 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39611 (__libc_stack_end): Do not use attribute_relro.
39612 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39613 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39614 to libthread-provided value.
a4186cff
PT
39615 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39616 attribute_relro.
5d5722e8 39617
37233df9
TS
396182012-05-10 Thomas Schwinge <thomas@schwinge.name>
39619
be971a2b
TS
39620 [BZ #3748]
39621 * bits/libc-lock.h (__libc_once_get): New macro.
39622 * sysdeps/mach/bits/libc-lock.h: Likewise.
39623 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39625 instead of using implementation details.
39626
37233df9
TS
39627 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39628 * libio/freopen.c: Likewise.
39629 * libio/freopen64.c: Likewise.
39630 * misc/syslog.c: Likewise.
39631 * nscd/connections.c: Likewise.
39632 * nscd/netgroupcache.c: Likewise.
39633 * sysdeps/posix/getcwd.c: Likewise.
39634
38de94a5
RM
396352012-05-10 Roland McGrath <roland@hack.frob.com>
39636
39637 * math/w_ilogbf.c: Add #include <limits.h>.
39638
67530489
ST
396392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39640
a4186cff 39641 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39642 path instead of returning without unlocking.
39643
67530489
ST
39644 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39645 immediate-write ioctls.
39646 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39647
5aa3a74a
TS
396482012-05-10 Thomas Schwinge <thomas@schwinge.name>
39649
18bad2ae
TS
39650 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39651 __builtin_frame_address instead of making assumptions about the
39652 location of the return address relative to DATA. Force early load of
39653 the return address.
39654 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39655 __builtin_frame_address.
39656
5aa3a74a
TS
39657 dup3 for GNU Hurd.
39658 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39659 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39660 implement dup3 and do some further code clean-ups.
39661 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39663
ecd0de9a
ST
396642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39665
cd9fa985
ST
39666 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39667
a4186cff
PT
39668 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39669 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39670 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39671 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39672 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39673 d->port.lock.
802ca5a5 39674
a4186cff
PT
39675 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39676 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39677 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39678
bcf55240
TS
396792012-05-10 Thomas Schwinge <thomas@schwinge.name>
39680
6960eb42
TS
39681 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39682 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39683 definitions.
39684
eb43375f
TS
39685 accept4 for GNU Hurd.
39686 * include/sys/socket.h (__libc_accept4): New prototype.
39687 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39688 to implement __libc_accept4.
39689 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39690 __libc_accept4.
39691 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39692
bcf55240
TS
39693 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39694 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39695 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39696 signal-defines.sym.
39697
6178c55b
ST
396982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39699
a4186cff 39700 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39701
6f080c2f
TS
397022012-05-10 Thomas Schwinge <thomas@schwinge.name>
39703
39704 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39705 assertion on O_CLOEXEC flag.
39706 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39707 * hurd/intern-fd.c: Likewise.
39708 * hurd/port2fd.c: Likewise.
39709
bcfe3a54
ST
397102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39711
39712 [BZ #3906]
39713 * bits/in.h (IPV6_PKTINFO): Define new macro.
39714 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39715
89c9aa49
AZ
397162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39717
39718 [BZ #13954]
39719 [BZ #13955]
39720 [BZ #13956]
39721 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39723 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39724 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39726 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39727 * math/libm-test.inc (logb_test) : Additional logb tests.
39728
021db4be
AJ
397292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39730 Andreas Jaeger <aj@suse.de>
39731
39732 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39733 * configure: Regenerated.
39734 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39735 * config.make.in (link-obsolete-rpc): New substituted variable.
39736 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39737 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39738 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39739 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39740 so that libc.a contains the symbols.
39741 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39742 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39743 * sunrpc/auth_none.c: Likewise.
39744 * sunrpc/auth_unix.c: Likewise.
39745 * sunrpc/authdes_prot.c: Likewise.
39746 * sunrpc/authuxprot.c: Likewise.
39747 * sunrpc/clnt_gen.c: Likewise.
39748 * sunrpc/clnt_perr.c: Likewise.
39749 * sunrpc/clnt_raw.c: Likewise.
39750 * sunrpc/clnt_simp.c: Likewise.
39751 * sunrpc/clnt_tcp.c: Likewise.
39752 * sunrpc/clnt_udp.c: Likewise.
39753 * sunrpc/clnt_unix.c: Likewise.
39754 * sunrpc/des_crypt.c: Likewise.
39755 * sunrpc/des_soft.c: Likewise.
39756 * sunrpc/get_myaddr.c: Likewise.
39757 * sunrpc/key_call.c: Likewise.
39758 * sunrpc/key_prot.c: Likewise.
39759 * sunrpc/netname.c: Likewise.
39760 * sunrpc/pm_getmaps.c: Likewise.
39761 * sunrpc/pm_getport.c: Likewise.
39762 * sunrpc/pmap_clnt.c: Likewise.
39763 * sunrpc/pmap_prot.c: Likewise.
39764 * sunrpc/pmap_prot2.c: Likewise.
39765 * sunrpc/pmap_rmt.c: Likewise.
39766 * sunrpc/publickey.c: Likewise.
39767 * sunrpc/rpc_cmsg.c: Likewise.
39768 * sunrpc/rpc_common.c: Likewise.
39769 * sunrpc/rpc_dtable.c: Likewise.
39770 * sunrpc/rpc_prot.c: Likewise.
39771 * sunrpc/rpc_thread.c: Likewise.
39772 * sunrpc/rtime.c: Likewise.
39773 * sunrpc/svc.c: Likewise.
39774 * sunrpc/svc_auth.c: Likewise.
39775 * sunrpc/svc_raw.c: Likewise.
39776 * sunrpc/svc_run.c: Likewise.
39777 * sunrpc/svc_tcp.c: Likewise.
39778 * sunrpc/svc_udp.c: Likewise.
39779 * sunrpc/svc_unix.c: Likewise.
39780 * sunrpc/svcauth_des.c: Likewise.
39781 * sunrpc/xcrypt.c: Likewise.
39782 * sunrpc/xdr.c: Likewise.
39783 * sunrpc/xdr_array.c: Likewise.
39784 * sunrpc/xdr_float.c: Likewise.
39785 * sunrpc/xdr_intXX_t.c: Likewise.
39786 * sunrpc/xdr_mem.c: Likewise.
39787 * sunrpc/xdr_rec.c: Likewise.
39788 * sunrpc/xdr_ref.c: Likewise.
39789 * sunrpc/xdr_sizeof.c: Likewise.
39790 * sunrpc/xdr_stdio.c: Likewise.
39791
b5c086a2
RM
397922012-05-10 Roland McGrath <roland@hack.frob.com>
39793
39794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39795 change. Update copyright years.
39796
6d74dd09
JM
397972012-05-10 Joseph Myers <joseph@codesourcery.com>
39798
39799 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39800
28e72501
MK
398012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39802 Joseph Myers <joseph@codesourcery.com>
39803 Paul Pluzhnikov <ppluzhnikov@google.com>
39804
39805 [BZ #14012]
39806 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39807 requiring rpcgen.
39808 [cross-compiling] (extra-libs): Likewise.
39809 [cross-compiling] (extra-libs-others): Likewise.
39810 [cross-compiling] (librpcsvc-routines): Likewise.
39811 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39812 [cross-compiling] (omit-deps): Likewise.
39813 (sunrpc-CPPFLAGS): New variable.
39814 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39815 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39816 (cross-rpcgen-objs): New variable.
39817 (extra-objs): Append $(cross-rpcgen-objs).
39818 ($(cross-rpcgen-objs)): New rule.
39819 ($(objpfx)cross-rpcgen): Likewise.
39820 (rpcgen-cmd): Define to use $(built-program-file). Expand
39821 comment.
39822 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39823 ($(objpfx)x%.stmp): Likewise.
39824 * sunrpc/proto.h [IS_IN_build] (_): Define.
39825 [IS_IN_build] (_libc_intl_domainname): Likewise.
39826
c8c59454
L
398272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39828
39829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39830 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39831 and R_X86_64_TPOFF64.
39832
6f27cd16
JM
398332012-05-10 Joseph Myers <joseph@codesourcery.com>
39834
39835 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39836 sysdeps/unix/sysv/syscalls.list.
39837 (stime): Likewise.
39838 (utime): Likewise.
39839 * sysdeps/unix/sysv/syscalls.list: Remove file.
39840
02467e1c
PE
398412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39842
39843 [BZ #3440]
39844 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39845 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39846 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39847 (__LC_IDENTIFICATION): Make these macros useful in #if
39848 expressions, as required by C99.
39849
da392631
AS
398502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39851
39852 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39853 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39854 after this.
39855
8115f29b
L
398562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39857
39858 * stdlib/longlong.h: Updated from GCC.
39859
bdd74070
AJ
398602012-05-09 Andreas Jaeger <aj@suse.de>
39861
edfe0dbe
AJ
39862 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39863 default is first entry.
39864 (run_mode): Set type.
39865 (main): Remove informal message about syslog.
39866 (options): Fix typo.
39867
bcfe3a54
ST
39868 [BZ #14053]
39869 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39870 to asm.
bcfe3a54
ST
39871 (lrint): Likewise.
39872 (llrintf): Likewise.
39873 (llrint): Likewise.
39874 (rint): Likewise.
39875 (rintf): Likewise.
39876 (nearbyint): Likewise.
39877 (nearbyintf): Likewise.
bdd74070 39878
91d8d69e
AJ
398792012-05-09 Andreas Jaeger <aj@suse.de>
39880 Pedro Alves <palves@redhat.com>
39881
39882 * nscd/nscd.c (run_mode): Use enum.
39883 (main): Cleanup coding style issue.
39884
bb90b80b
AJ
398852012-05-09 Alexandre Oliva <aoliva@redhat.com>
39886 Andreas Jaeger <aj@suse.de>
39887
bcfe3a54
ST
39888 * nscd/nscd.c (go_background): Replaced with...
39889 (run_mode): ... this.
bb90b80b 39890 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39891 (options): Add -F --foreground.
39892 (main): Implement it.
39893 (parse_opt): Parse it.
bb90b80b 39894
1a4b75a1
AJ
398952012-05-09 Andreas Jaeger <aj@suse.de>
39896
39897 [BZ #14083]
39898 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39899 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39900 -Wconversion warning.
39901 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39902 Likewise.
39903
b1cc2472
JM
399042012-05-09 Joseph Myers <joseph@codesourcery.com>
39905
39906 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39907 == 0.
39908 (LC_ALL): Use macro-int-constant.
39909 (LC_COLLATE): Likewise.
39910 (LC_CTYPE): Likewise.
39911 (LC_MESSAGES): Likewise.
39912 (LC_MONETARY): Likewise.
39913 (LC_NUMERIC): Likewise.
39914 (LC_TIME): Likewise.
39915 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39916 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39918 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39919 Specify type.
39920 [C99-based standards] (float_t): Expect type.
39921 [C99-based standards] (double_t): Expect type.
39922 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39923 type.
39924 [C99-based standards] (HUGE_VALL): Likewise.
39925 [C99-based standards] (INFINITY): Likewise.
39926 [C99-based standards] (NAN): Likewise.
39927 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39928 [C99-based standards] (FP_NAN): Likewise.
39929 [C99-based standards] (FP_NORMAL): Likewise.
39930 [C99-based standards] (FP_SUBNORMAL): Likewise.
39931 [C99-based standards] (FP_ZERO): Likewise.
39932 [C99-based standards] (FP_FAST_FMA): Use
39933 optional-macro-int-constant. Specify type. Require == 1.
39934 [C99-based standards] (FP_FAST_FMAF): Likewise.
39935 [C99-based standards] (FP_FAST_FMAL): Likewise.
39936 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39937 [C99-based standards] (FP_ILOGBNAN): Likewise.
39938 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39939 Specify type.
39940 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39941 [C99-based standards] (math_errhandling): Specify type.
39942 [ISO99 || ISO11] (signgam): Do not allow.
39943 [non-C99-based standards] (copysignf): Do not allow.
39944 [non-C99-based standards] (exp2f): Likewise.
39945 [non-C99-based standards] (log2f): Likewise.
39946 [non-C99-based standards] (modff): Allow.
39947 [non-C99-based standards] (erff): Do not allow.
39948 [non-C99-based standards] (erfcf): Likewise.
39949 [non-C99-based standards] (gammaf): Likewise.
39950 [non-C99-based standards] (hypotf): Likewise.
39951 [non-C99-based standards] (j0f): Likewise.
39952 [non-C99-based standards] (j1f): Likewise.
39953 [non-C99-based standards] (jnf): Likewise.
39954 [non-C99-based standards] (lgammaf): Likewise.
39955 [non-C99-based standards] (tgammaf): Likewise.
39956 [non-C99-based standards] (y0f): Likewise.
39957 [non-C99-based standards] (y1f): Likewise.
39958 [non-C99-based standards] (ynf): Likewise.
39959 [non-C99-based standards] (isnanf): Likewise.
39960 [non-C99-based standards] (acoshf): Likewise.
39961 [non-C99-based standards] (asinhf): Likewise.
39962 [non-C99-based standards] (atanhf): Likewise.
39963 [non-C99-based standards] (cbrtf): Likewise.
39964 [non-C99-based standards] (expm1f): Likewise.
39965 [non-C99-based standards] (ilogbf): Likewise.
39966 [non-C99-based standards] (log1pf): Likewise.
39967 [non-C99-based standards] (logbf): Likewise.
39968 [non-C99-based standards] (nextafterf): Likewise.
39969 [non-C99-based standards] (remainderf): Likewise.
39970 [non-C99-based standards] (rintf): Likewise.
39971 [non-C99-based standards] (scalbf): Likewise.
39972 [non-C99-based standards] (copysignl): Likewise.
39973 [non-C99-based standards] (exp2l): Likewise.
39974 [non-C99-based standards] (log2l): Likewise.
39975 [non-C99-based standards] (modfl): Allow.
39976 [non-C99-based standards] (erfl): Do not allow.
39977 [non-C99-based standards] (erfcl): Likewise.
39978 [non-C99-based standards] (gammal): Likewise.
39979 [non-C99-based standards] (hypotl): Likewise.
39980 [non-C99-based standards] (j0l): Likewise.
39981 [non-C99-based standards] (j1l): Likewise.
39982 [non-C99-based standards] (jnl): Likewise.
39983 [non-C99-based standards] (lgammal): Likewise.
39984 [non-C99-based standards] (tgammal): Likewise.
39985 [non-C99-based standards] (y0l): Likewise.
39986 [non-C99-based standards] (y1l): Likewise.
39987 [non-C99-based standards] (ynl): Likewise.
39988 [non-C99-based standards] (isnanl): Likewise.
39989 [non-C99-based standards] (acoshl): Likewise.
39990 [non-C99-based standards] (asinhl): Likewise.
39991 [non-C99-based standards] (atanhl): Likewise.
39992 [non-C99-based standards] (cbrtl): Likewise.
39993 [non-C99-based standards] (expm1l): Likewise.
39994 [non-C99-based standards] (ilogbl): Likewise.
39995 [non-C99-based standards] (log1pl): Likewise.
39996 [non-C99-based standards] (logbl): Likewise.
39997 [non-C99-based standards] (nextafterl): Likewise.
39998 [non-C99-based standards] (remainderl): Likewise.
39999 [non-C99-based standards] (rintl): Likewise.
40000 [non-C99-based standards] (scalbl): Likewise.
40001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40002 [non-C99-based standards] (FP_*): Do not allow.
40003 [C99-based standards] (FP_*): Change to
40004 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40005 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40006 allow.
40007 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40008 (SIG_ERR): Likewise.
40009 [X/Open-based standards] (SIG_HOLD): Likewise.
40010 (SIG_IGN): Likewise.
40011 (SIGABRT): Use macro-int-constant. Specify type. Require
40012 positive value.
40013 (SIGFPE): Likewise.
40014 (SIGILL): Likewise.
40015 (SIGINT): Likewise.
40016 (SIGSEGV): Likewise.
40017 (SIGTER): Likewise.
40018 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40019 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40020 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40021 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40022 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40023 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40024 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40025 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40026 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40027 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40028 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40029 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40030 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40031 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40032 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40033 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40034 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40035 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40036 [X/Open-based standards] (SIGTRAP): Likewise.
40037 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40038 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40039 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40040 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40041 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40042 allow.
40043
b9f1922d
IW
400442012-05-08 Ian Wienand <ianw@vmware.com>
40045
40046 [BZ #14080]
40047 * time/tzset.c (__tzset_parse_tz): Update default rules for
40048 daylight time changes in the Energy Policy Act of 2005.
40049
1db86e88
AJ
400502012-05-09 Andreas Jaeger <aj@suse.de>
40051
40052 [BZ #13983]
40053 * elf/ldconfig.c (parse_conf): Change string to make clear that
40054 ldconfig only issued a warning if ld.so.conf does not exist.
40055
dee4a4e3
DM
400562012-05-08 David S. Miller <davem@davemloft.net>
40057
ee0db190
DM
40058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40059 movxtod instead of popping the value on the stack.
40060
dee4a4e3
DM
40061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40062
6a43ec98
CD
400632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40064
40065 * config.h.in: Add HAVE_ARM_PCS_VFP.
40066
05c2c961
RMG
400672012-05-08 Roland Mc Grath <roland@hack.frob.com>
40068
bcfe3a54
ST
40069 [BZ #13979]
40070 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40071 checking but the checks are disabled for any reason.
05c2c961 40072
4b30f61a
L
400732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40074
40075 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40076 and ELF64_R_TYPE with ELFW(R_TYPE).
40077
eee2bc67
JM
400782012-05-08 Joseph Myers <joseph@codesourcery.com>
40079
7ea5391a
JM
40080 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40081 (ulimit): Likewise.
40082
eee2bc67
JM
40083 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40084 (settimeofday): Likewise.
40085
abb66a67
MF
400862012-05-08 Mike Frysinger <vapier@gentoo.org>
40087
40088 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40089 a struct th_u2 inside the union, and move tu_block/tu_code into
40090 a new th_u3 union of tu_block/tu_code inside of that. Move
40091 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40092 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40093 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40094 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40095 (th_stuff): Change to th_u1.tu_stuff.
40096 (th_data): Define.
40097 (th_msg): Change to th_u1.th_u2.tu_data.
40098
7f18b530
DM
400992012-05-07 David S. Miller <davem@davemloft.net>
40100
05760585
DM
40101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40102
7f18b530
DM
40103 [BZ #14074]
40104 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40105 (SETUP_PIC_REG): Use it.
40106 (SETUP_PIC_REG_LEAF): Use it.
40107
495fd99f
JM
401082012-05-07 Joseph Myers <joseph@codesourcery.com>
40109
40110 [BZ #13885]
40111 [BZ #13923]
40112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40113 USE_AS_EXPM1L.
40114 (EXPL_FINITE): Likewise.
40115 (FLDLOG): Likewise.
40116 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40117 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40118 e_expl.S.
40119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40120 USE_AS_EXPM1L.
40121 (EXPL_FINITE): Likewise.
40122 (FLDLOG): Likewise.
40123 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40124 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40125 e_expl.S.
40126 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40127 test of -max_value argument for long double.
40128 * sysdeps/i386/fpu/libm-test-ulps: Update.
40129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40130
6693d694
DM
401312012-05-06 David S. Miller <davem@davemloft.net>
40132
40133 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40134 quad soft-float symbols whose references which are compiler
40135 generated.
40136 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40137
6c23e11c
JM
401382012-05-06 Joseph Myers <joseph@codesourcery.com>
40139
d8b82cad
JM
40140 [BZ #13884]
40141 [BZ #13914]
40142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40143 USE_AS_EXP10L.
40144 (EXPL_FINITE): Likewise.
40145 (FLDLOG): Likewise.
40146 (c0): Likewise.
40147 (c1): Likewise.
40148 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40149 Adjust comments for base varying.
40150 (__expl_finite): Change alias to EXPL_FINITE.
40151 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40152 e_expl.S.
40153 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40154 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40156 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40158 USE_AS_EXP10L.
40159 (EXPL_FINITE): Likewise.
40160 (FLDLOG): Likewise.
40161 (c0): Likewise.
40162 (c1): Likewise.
40163 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40164 Adjust comments for base varying.
40165 (__expl_finite): Change alias to EXPL_FINITE.
40166 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40167 tests for bugs.
40168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40169
6c23e11c
JM
40170 [BZ #14064]
40171 * math/libm-test.inc (check_float_internal): Correct ulp
40172 calculation for subnormal expected results.
40173
29ba805c
AJ
401742012-05-06 Andreas Jaeger <aj@suse.de>
40175
40176 * Makeconfig (+math-flags): New, set to -frounding-math.
40177 (+cflags): Add +math-flags so that all of glibc gets compiled with
40178 it.
40179
40180 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40181
7b17aeda
JM
401822012-05-05 Joseph Myers <joseph@codesourcery.com>
40183
5779f134
JM
40184 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40185 Disable one test.
40186
41498f4d
JM
40187 [BZ #13787]
40188 [BZ #13922]
40189 [BZ #14036]
40190 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40191 (__ieee754_expl): Allow for and saturate large arguments.
40192 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40193 (u_threshold): Likewise.
40194 (__exp): Call __ieee754_exp before checking for overflow and
40195 underflow.
40196 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40197 (u_threshold): Likewise.
40198 (__expf): Call __ieee754_expf before checking for overflow and
40199 underflow.
40200 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40201 (u_threshold): Likewise.
40202 (__expl): Call __ieee754_expl before checking for overflow and
40203 underflow.
40204 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40205 (__ieee754_expl): Allow for and saturate large arguments.
40206 * math/libm-test.inc (exp_test): Add another test. Do not allow
40207 missing overflow exception on overflow.
40208 (expm1_test): Do not allow missing overflow exception on overflow.
40209
6698b8bf
JM
40210 * sysdeps/i386/fpu/e_expl.c: Move to ...
40211 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40212 rather than using inline asm.
40213 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40214 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40215 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40216
7b17aeda
JM
40217 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40218 (nice): Likewise.
40219 (poll): Likewise.
40220 (signal): Likewise.
40221 (time): Likewise.
40222 (times): Likewise.
40223
f7c85819
JM
402242012-05-04 Joseph Myers <joseph@codesourcery.com>
40225
40226 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40227 sysdeps/unix/common/syscalls.list.
40228 (fchmod): Likewise.
40229 (fchown): Likewise.
40230 (ftruncate): Likewise.
40231 (getrusage): Likewise.
40232 (gettimeofday): Likewise.
40233 (setpgid): Likewise.
40234 (setregid): Likewise.
40235 (setreuid): Likewise.
40236 (sigaction): Likewise.
40237 (truncate): Likewise.
40238 (vhangup): Likewise.
40239 * sysdeps/unix/common/syscalls.list: Remove file.
40240 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40241 * sysdeps/unix/sysv/linux/Implies: Likewise.
40242
336270d0
L
402432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40244
40245 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40247 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40248 Moved to ...
40249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40250 Here.
40251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40252 to ...
40253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40255 to ...
40256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40257 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40258 to ...
40259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40260 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40261 to ...
40262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40263 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40264 to ...
40265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40267 to ...
40268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40270 to ...
40271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40272 Here.
40273 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40274 to ...
40275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40276 Here.
40277 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40278 to ...
40279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40280 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40281 Moved to ...
40282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40283 Here.
40284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40285 to ...
40286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40287
d128e450
JM
402882012-05-04 Joseph Myers <joseph@codesourcery.com>
40289
fa8ee516
JM
40290 * sysdeps/unix/common/bits/dirent.h: Remove file.
40291 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40292
d128e450
JM
40293 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40294 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40295 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40296 * sysdeps/unix/bsd/isatty.c: Likewise.
40297 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40298 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40299 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40300
ff8faaf0 403012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40302
62881be4 40303 [BZ #13563]
31dc8730
AZ
40304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40305 long double comparison inaccuracies.
40306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40308
6fef930c
AS
403092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40310
40311 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40313
8f203e6c
JM
403142012-05-04 Joseph Myers <joseph@codesourcery.com>
40315
40316 [BZ #14049]
40317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40318 nonzero digits before rounding a hex value.
40319 * stdlib/tst-strtod.c (tests): Add another test.
40320
5197d9c2
AK
403212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40322
40323 * sysdeps/s390/fpu/libm-test-ulps: Update.
40324
f0c1dedf
AJ
403252012-05-03 Andreas Jaeger <aj@suse.de>
40326
40327 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40328 does not get optimized out.
40329 (malloc_opt_barrier): New.
40330
a65ef2ae 403312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40332 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40333
2b942cb7 40334 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40335 intermediate file deletion.
2b942cb7 40336 (generated): Add .symlist files.
a65ef2ae 40337
54b71e02
JM
403382012-05-03 Joseph Myers <joseph@codesourcery.com>
40339
40340 [BZ #13775]
40341 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40342 Redirect under this condition.
40343 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40344 [__USE_GNU] (__dprintf_chk): Not under this condition.
40345 [__USE_GNU] (__vdprintf_chk): Likewise.
40346 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40347 under this condition.
40348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40349 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40350 [__USE_XOPEN2K8] (vdprintf): Likewise.
40351 [__USE_GNU] (__dprintf_chk): Not under this condition.
40352 [__USE_GNU] (__vdprintf_chk): Likewise.
40353 [__USE_GNU] (dprintf): Likewise.
40354 [__USE_GNU] (vdprintf): Likewise.
40355
d3dfcc41
RM
403562012-05-03 Roland McGrath <roland@hack.frob.com>
40357
40358 * elf/Makefile (common-generated): Set this instead of generated for
40359 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40360 $(all-built-dso)-derived lists.
40361
7ac30cc5
AJ
403622012-05-03 Andreas Jaeger <aj@suse.de>
40363
0c51e550
AJ
40364 * sysdeps/i386/fpu/libm-test-ulps: Update.
40365
7ac30cc5
AJ
40366 * FAQ: Removed.
40367 * FAQ.in: Likewise.
40368 * scripts/gen-FAQ.pl: Likewise.
40369 * manual/install.texi (Installation): Point to online location of
40370 FAQ.
40371 * Makefile (files-for-dist): Remove FAQ.
40372 (FAQ): Remove.
40373
d4c2917f
AM
403742012-05-02 Allan McRae <allan@archlinux.org>
40375
40376 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40377 (LDFLAGS-reldepmod5.so): Likewise.
40378 (LDFLAGS-reldep6mod1.so): Likewise.
40379 (LDFLAGS-reldep6mod4.so): Likewise.
40380 (LDFLAGS-reldep8mod3.so): Likewise.
40381 (LDFLAGS-unload4mod1.so): Likewise.
40382 (LDFLAGS-unload4mod2.so): Likewise.
40383 (LDFLAGS-tst-initorder): Likewise.
40384 (LDFLAGS-tst-initordera2.so): Likewise.
40385 (LDFLAGS-tst-initordera3.so): Likewise.
40386 (LDFLAGS-tst-initordera4.so): Likewise.
40387 (LDFLAGS-tst-initorderb2.so): Likewise.
40388 (LDFLAGS-noload): Likewise.
40389 (LDFLAGS-next): Likewise.
40390 (LDFLAGS-order2mod1.so): Likewise.
40391 (LDFLAGS-order2mod2.so): Likewise.
40392 (LDFLAGS-tst-initorder2): Likewise.
40393 (LDFLAGS-tst-initorder2a.so): Likewise.
40394 (LDFLAGS-tst-initorder2b.so): Likewise.
40395 (LDFLAGS-tst-initorder2c.so): Likewise.
40396 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40397
d77f993f
DM
403982012-05-02 David S. Miller <davem@davemloft.net>
40399
40400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40401
171a70b4
PP
404022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40403
40404 [BZ #14055]
40405 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40406
0be196ad
AJ
404072012-05-02 Andreas Jaeger <aj@suse.de>
40408
40409 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40410 since we manipulate rounding mode.
40411 (CPPFLAGS-test-idouble.c): Likewise.
40412 (CPPFLAGS-test-ifloat.c): Likewise.
40413 (CFLAGS-test-ldouble.c): Likewise.
40414 (CFLAGS-test-double.c): Likewise.
40415 (CFLAGS-test-float.c): Likewise.
40416 (CFLAGS-test-misc.c): Likewise.
40417 (CFLAGS-test-test-fenv.c): Likewise.
40418
4f9d04aa
AZ
404192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40420
2b942cb7
RM
40421 [BZ #2550]
40422 [BZ #2570]
40423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40424 comparisons to determine direction to adjust input.
4f9d04aa 40425
82a79e7d
RM
404262012-05-01 Roland McGrath <roland@hack.frob.com>
40427
f5a01ca9
RM
40428 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40429 output to the target.
40430
90fe4186
RM
40431 * scripts/localplt.awk: New file.
40432 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40433 (check-localplt-CFLAGS): Variable removed.
40434 ($(all-built-dso:=.jmprel)): New static pattern rule.
40435 (generated): Add those targets.
40436 (localplt-built-dso): New variable.
40437 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40438
40439 * elf/check-localplt.c: File removed.
40440
82397ed6
RM
40441 * scripts/check-execstack.awk: New file.
40442 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40443 (check-execstack-CFLAGS): Variable removed.
40444 ($(objpfx)check-execstack.h): Target removed.
40445 ($(objpfx)execstack-default): New target.
40446 (generated): Add that instead of check-execstack.h.
40447 ($(all-built-dso:=.phdr)): New static pattern rule.
40448 (generated): Add those targets.
40449 * elf/check-execstack.c: File removed.
40450
82a79e7d
RM
40451 * scripts/check-textrel.awk: New file.
40452 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40453 (check-textrel-CFLAGS): Variable removed.
40454 (all-built-dso): Use := to define.o
40455 ($(all-built-dso:=.dyn)): New static pattern rule.
40456 (generated): Add those targets.
40457 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40458 * config.make.in (READELF): New substituted variable.
40459 * elf/check-textrel.c: File removed.
40460
62fde54f 404612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40462
615605c9
JM
40463 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40464 allow.
40465 * conform/data/ctype.h-data [C99-based standards] (isblank):
40466 Expect function.
40467 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40468 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40470 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40471 Specify type. Require positive value.
40472 (EILSEQ): Likewise.
40473 (ERANGE): Likewise.
40474 [ISO || POSIX] (EILSEQ): Do not expect.
40475 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40476 Specify type. Require positive value.
40477 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40478 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40479 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40480 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40481 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40482 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40483 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40484 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40485 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40486 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40487 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40488 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40489 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40490 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40491 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40492 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40493 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40494 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40495 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40496 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40497 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40498 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40499 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40500 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40501 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40502 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40503 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40504 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40505 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40506 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40507 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40508 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40509 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40510 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40511 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40512 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40513 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40514 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40515 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40516 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40517 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40518 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40519 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40520 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40521 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40522 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40523 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40524 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40525 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40526 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40527 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40528 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40529 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40530 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40531 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40532 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40533 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40534 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40535 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40536 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40537 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40538 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40539 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40540 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40541 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40542 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40543 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40544 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40545 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40546 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40547 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40548 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40549 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40550 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40551 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40552 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40553 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40554 Require >= 2.
40555 (FLT_ROUNDS): Expect as macro, not constant.
40556 (FLT_MANT_DIG): Use macro-int-constant.
40557 (DBL_MANT_DIG): Likewise.
40558 (LDBL_MANT_DIG): Likewise.
40559 (FLT_DIG): Likewise.
40560 (DBL_DIG): Likewise.
40561 (LDBL_DIG): Likewise.
40562 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40563 (DBL_MIN_EXP): Likewise.
40564 (LDBL_MIN_EXP): Likewise.
40565 (FLT_MAX_EXP): Use macro-int-constant.
40566 (DBL_MAX_EXP): Likewise.
40567 (LDBL_MAX_EXP): Likewise.
40568 (FLT_MAX_10_EXP): Likewise.
40569 (DBL_MAX_10_EXP): Likewise.
40570 (LDBL_MAX_10_EXP): Likewise.
40571 (FLT_MAX): Use macro-constant.
40572 (DBL_MAX): Likewise.
40573 (LDBL_MAX): Likewise.
40574 (FLT_EPSILON): Use macro-constant. Give upper bound.
40575 (DBL_EPSILON): Likewise.
40576 (LDBL_EPSILON): Likewise.
40577 (FLT_MIN): Likewise.
40578 (DBL_MIN): Likewise.
40579 (LDBL_MIN): Likewise.
40580 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40581 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40582 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40583 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40584 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40585 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40586 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40587 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40588 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40589 [ISO11] (FLT_TRUE_MIN): Likewise.
40590 [ISO11] (LDBL_TRUE_MIN): Likewise.
40591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40592 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40593 (SCHAR_MIN): Use macro-int-constant. Specify type.
40594 (SCHAR_MAX): Likewise.
40595 (UCHAR_MAX): Likewise.
40596 (CHAR_MIN): Likewise.
40597 (CHAR_MAX): Likewise.
40598 (MB_LEN_MAX): Use macro-int-constant.
40599 (SHRT_MIN): Use macro-int-constant. Specify type.
40600 (SHRT_MAX): Likewise.
40601 (USHRT_MAX): Likewise.
40602 (INT_MAX): Likewise.
40603 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40604 bound negative.
40605 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40606 bound with "U".
40607 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40608 bound with "L".
40609 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40610 bound negative. Suffix upper bound with "L".
40611 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40612 bound with "UL".
40613 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40614 Specify type.
40615 [C99-based standards] (LLONG_MAX): Likewise.
40616 [C99-based standards] (ULLONG_MAX): Likewise.
40617 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40618 == 0.
40619 [ISO11] (max_align_t): Require type.
40620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40621
c9140a62
JM
40622 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40623 from $CFLAGS, without defining away __attribute__ calls.
40624 (checknamespace): Use $CFLAGS_namespace.
40625
9af0bf29
JM
40626 * conform/conformtest.pl (@keywords): Only include C99 keywords
40627 for standards based on C99 or C11.
40628
343222a2
JM
40629 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40630 Disable tests.
40631 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40632 UNIX98]: Likewise.
40633
661f8cf0
JM
40634 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40635 usability of symbols in #if.
40636
ee74b9cb
JM
40637 * conform/conformtest.pl: If macro or constant types start
40638 "promoted:", expect the symbol to be of the following type
40639 promoted by the integer promotions.
62fde54f 40640
aafc49b3
JM
40641 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40642 in one place. Also handle "macro-constant".
40643
fefdf574
JM
40644 * conform/conformtest.pl: Only accept expected macro values with
40645 "==". Parse all "macro" lines in one place.
40646 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40647
f2d922fe
JM
40648 * conform/conformtest.pl: Handle braced types on "constant" lines
40649 instead of handling "typed-constant".
40650 * conform/data/signal.h-data: Use "constant" instead of
40651 "typed-constant".
40652
d22956c9
JM
40653 * conform/conformtest.pl: Handle "optional-" at start of lines in
40654 one place rather than duplicating several cases. Handle each
40655 format of "macro" line with initial "optional-".
40656
028e2e38
JM
40657 * conform/conformtest.pl: Only accept expected constant or
40658 optional-constant values with "==". Parse all "constant" lines in
40659 one place. Parse all "optional-constant" lines in one place.
40660 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40661 * conform/data/fmtmsg.h-data: Likewise.
40662 * conform/data/netinet/in.h-data: Likewise.
40663 * conform/data/tar.h-data: Likewise.
40664 * conform/data/limits.h-data: Use "==" form on "constant" and
40665 "optional-constant" lines.
40666
1b8f2850
JM
40667 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40668 Use -std=c99 for XOPEN2K.
40669 (@knownproblems): Remove.
40670 (newtoken): Don't check %isknown.
40671
a05a144b
JM
40672 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40673 Do not expect macro.
40674 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40675 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40676 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40677 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40678 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40679 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40680 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40681 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40682 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40683 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40684 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40685 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40686 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40687 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40688 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40689 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40690 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40691 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40692 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40693 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40694 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40695 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40698 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40699 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40700 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40701 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40702 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40703 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40704 [XPG3] (acosh): Likewise.
40705 [XPG3] (asinh): Likewise.
40706 [XPG3] (atanh): Likewise.
40707 [XPG3] (cbrt): Likewise.
40708 [XPG3] (expm1): Likewise.
40709 [XPG3] (ilogb): Likewise.
40710 [XPG3] (log1p): Likewise.
40711 [XPG3] (logb): Likewise.
40712 [XPG3] (nextafter): Likewise.
40713 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40714 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40715 [XPG3] (remainder): Likewise.
40716 [XPG3] (rint): Likewise.
40717 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40718 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40719 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40720 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40721 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40722 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40723 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40724 [UNIX98 || XOPEN2K] (scalb): Expect.
40725 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40726 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40727 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40728 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40729 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40730 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40731 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40732 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40733 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40734 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40735 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40736 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40737 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40738 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40739 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40740 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40741 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40742 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40743 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40744 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40745 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40746 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40747 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40748 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40749 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40750 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40751 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40752 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40753 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40754 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40755 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40756 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40757 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40758 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40759 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40760 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40761 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40762 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40763 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40764 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40765 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40766 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40767 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40768 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40769 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40770 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40771 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40772 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40773 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40774 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40775 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40776 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40777 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40778 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40779 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40780 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40781 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40782 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40783 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40784 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40785 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40786 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40787 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40788 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40789 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40790 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40791 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40792 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40793 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40794 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40795 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40796 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40797 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40798 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40799 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40800 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40801 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40802 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40803 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40804 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40805 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40806 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40807 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40808 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40809 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40810 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40811 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40812 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40813 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40814 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40815 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40816 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40817 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40818 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40819 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40820 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40821 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40822 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40823 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40824 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40825 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40826 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40827 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40828 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40829 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40830 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40831 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40832 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40833 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40834 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40835 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40836 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40837 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40838 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40839 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40840 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40841 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40842 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40843 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40844 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40845 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40846 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40847 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40848 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40849 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40850 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40851 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40852 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40853 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40854 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40855 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40856 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40857 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40858 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40859 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40860 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40861 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40862
73c5ebe3
JM
40863 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40864 _XOPEN_SOURCE_EXTENDED for XPG4.
40865
39c33b6c
JM
40866 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40867
62fde54f
JM
40868 * Makeconfig (localtime): Remove variable.
40869 (inst_localtime-file): Likewise.
40870
0741d64c
AS
408712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40872
40873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40874 Update.
40875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40876 Update.
40877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40878 Update.
40879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40880 Update.
40881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40882 Update.
40883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40884 Update.
40885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40886 Update.
40887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40888 Update.
40889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40890 Update.
40891
7cb029ee
JM
408922012-05-01 Joseph Myers <joseph@codesourcery.com>
40893
40894 [BZ #2550]
40895 [BZ #2570]
40896 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40897 comparisons to determine direction to adjust input.
40898 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40899 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40901 Likewise.
40902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40903 Likewise.
40904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40905 Likewise.
40906 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40908 Likewise.
40909 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40910 Likewise.
40911 * math/libm-test.inc (nexttoward_test): Add more tests.
40912
412bd966
AS
409132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40914
40915 [BZ #14040]
40916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40917 in version GLIBC_2.1, not GLIBC_2.0.
40918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40919 Likewise.
40920
9568c0c2
JM
409212012-04-30 Joseph Myers <joseph@codesourcery.com>
40922
adfbc8ac
JM
40923 [BZ #13942]
40924 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40925 (1 - x) * (1 + x).
40926 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40927 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40928 * math/libm-test.inc (acos_test): Add more tests.
40929 (asin_test): Likewise.
40930 * sysdeps/i386/fpu/libm-test-ulps: Update.
40931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40932
5ba3cc69
JM
40933 [BZ #14034]
40934 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40935 of square root.
40936 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40938 * math/libm-test.inc (acos_test_tonearest): New function.
40939 (acos_test_towardzero): Likewise.
40940 (acos_test_downward): Likewise.
40941 (acos_test_upward): Likewise.
40942 (asin_test_tonearest): Likewise.
40943 (asin_test_towardzero): Likewise.
40944 (asin_test_downward): Likewise.
40945 (asin_test_upward): Likewise.
40946 (main): Call the new functions.
40947 * sysdeps/i386/fpu/libm-test-ulps: Update.
40948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40949
9568c0c2
JM
40950 [BZ #13884]
40951 [BZ #13924]
40952 * math/e_exp10.c: Include <float.h>.
40953 (__ieee754_exp10): Handle underflow here rather than multiplying
40954 large negative argument by M_LN10.
40955 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40956 of __ieee754_expf.
40957 * math/e_exp10l.c: Include <float.h>.
40958 (__ieee754_exp10l): Handle underflow here rather than multiplying
40959 large negative argument by M_LN10l.
40960 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40961 spurious overflow exception on underflow.
40962
5ac3ea17
MP
409632012-04-29 Marek Polacek <polacek@redhat.com>
40964
40965 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40966 (__fortify_function): New macro.
40967 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40968 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40969 __extern_always_inline.
40970 * libio/bits/stdio2.h: Likewise.
40971 * libio/bits/stdio.h: Likewise.
40972 * string/string.h: Likewise.
40973 * string/bits/string3.h: Likewise.
40974 * include/stdio.h: Likewise.
40975 * stdlib/bits/stdlib.h: Likewise.
40976 * stdlib/stdlib.h: Likewise.
40977 * rt/bits/mqueue2.h: Likewise.
40978 * rt/mqueue.h: Likewise.
40979 * posix/bits/unistd.h: Likewise.
40980 * posix/unistd.h: Likewise.
40981 * io/bits/poll2.h: Likewise.
40982 * io/bits/fcntl2.h: Likewise.
40983 * io/fcntl.h: Likewise.
40984 * io/sys/poll.h: Likewise.
40985 * misc/bits/syslog.h: Likewise.
40986 * misc/bits/syslog-ldbl.h: Likewise.
40987 * misc/sys/syslog.h: Likewise.
40988 * socket/bits/socket2.h: Likewise.
40989 * socket/sys/socket.h: Likewise.
40990 * debug/tst-chk1.c: Likewise.
40991 * wcsmbs/bits/wchar2.h: Likewise.
40992 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40993 * wcsmbs/wchar.h: Likewise.
40994
ecf0ebfb
AJ
409952012-04-29 Andreas Jaeger <aj@suse.de>
40996
40997 * Makerules (tests): Remove enable-check-abi protection.
40998 (check-abi-warn): Remove.
40999 (check-abi-%): Remove check-abi-warn usage.
41000
41001 * configure.in: Remove check-abi configure option.
41002 * configure: Regenerated.
41003 * config.make.in (enable-check-abi): Remove.
41004
6d5c57fa
AS
410052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41006
24c5d07e 41007 [BZ #14033]
ded5180a
AS
41008 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41009 double functions to double *_finite functions.
41010
7e0d315d
AS
41011 [BZ #13941]
41012 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41013 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41014 LDBL_MIN_EXP.
41015 * stdio-common/Makefile (tests): Add tst-sprintf3.
41016 * stdio-common/tst-sprintf3.c: New file.
41017
6d5c57fa
AS
41018 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41019 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41020
0749ff8b
JM
410212012-04-28 Joseph Myers <joseph@codesourcery.com>
41022
41023 * conform/conformtest.pl: Remove duplicate typed-constant
41024 handling.
41025
8dbd5d7b
DM
410262012-04-28 David S. Miller <davem@davemloft.net>
41027
41028 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41029 (check-abi-%): Remove AWK script prerequisite and explicit
41030 abilist directory.
41031 (check-abi): Rewrite to just diff the symlist with the abilist.
41032 (config-tls, config-abi-config): Delete, no longer used.
41033 (update-abi-%): Remove AWK script and explicit abilist directory.
41034 (update-abi): Rewrite to simply compare and conditionally copy the
41035 symlist and the sysdep abilist file. Remove update-abi-config
41036 checks.
41037 * abilist/ld.abilist: Remove.
41038 * abilist/libBrokenLocale.abilist: Remove.
41039 * abilist/libanl.abilist: Remove.
41040 * abilist/libcrypt.abilist: Remove.
41041 * abilist/libdl.abilist: Remove.
41042 * abilist/librt.abilist: Remove.
41043 * abilist/libthread_db.abilist: Remove.
41044 * abilist/libutil.abilist: Remove.
41045 * scripts/extract-abilist.awk: Remove.
41046 * scripts/merge-abilist.awk: Remove.
41047 * sysdeps/generic/libcidn.abilist: New file.
41048 * sysdeps/generic/libnss_compat.abilist: New file.
41049 * sysdeps/generic/libnss_db.abilist: New file.
41050 * sysdeps/generic/libnss_dns.abilist: New file.
41051 * sysdeps/generic/libnss_files.abilist: New file.
41052 * sysdeps/generic/libnss_hesiod.abilist: New file.
41053 * sysdeps/generic/libnss_nis.abilist: New file.
41054 * sysdeps/generic/libnss_nisplus.abilist: New file.
41055 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41056 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41057 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41058 file.
41059 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41060 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41061 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41062 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41063 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41065 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41066 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41067 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41068 file.
41069 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41070 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41072 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41073 file.
41074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41075 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41076 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41078 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41080 file.
41081 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41082 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41083 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41084 file.
41085 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41087 New file.
41088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41089 New file.
41090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41091 New file.
41092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41093 New file.
41094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41095 New file.
41096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41097 New file.
41098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41099 New file.
41100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41101 New file.
41102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41103 New file.
41104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41105 New file.
41106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41107 New file.
41108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41109 New file.
41110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41111 New file.
41112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41113 file.
41114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41115 New file.
41116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41117 New file.
41118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41119 file.
41120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41121 New file.
41122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41123 New file.
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41125 file.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41127 New file.
41128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41129 New file.
41130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41131 New file.
41132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41133 New file.
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41135 New file.
41136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41137 New file.
41138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41140 file.
41141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41142 New file.
41143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41144 file.
41145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41146 file.
41147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41148 file.
41149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41150 file.
41151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41152 file.
41153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41154 New file.
41155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41156 file.
41157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41158 file.
41159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41160 New file.
41161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41162 file.
41163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41165 file.
41166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41167 New file.
41168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41169 file.
41170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41171 file.
41172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41173 file.
41174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41175 file.
41176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41177 file.
41178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41179 New file.
41180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41181 file.
41182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41183 file.
41184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41185 New file.
41186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41187 file.
41188 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41189 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41190 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41191 file.
41192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41193 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41194 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41195 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41196 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41197 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41198 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41200 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41201 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41204 file.
41205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41206 New file.
41207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41208 file.
41209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41210 file.
41211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41212 file.
41213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41214 file.
41215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41216 file.
41217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41218 New file.
41219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41220 New file.
41221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41222 file.
41223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41224 New file.
41225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41226 file.
41227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41229 file.
41230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41231 New file.
41232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41233 file.
41234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41235 file.
41236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41237 file.
41238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41239 file.
41240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41241 file.
41242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41243 New file.
41244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41245 New file.
41246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41247 file.
41248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41249 New file.
41250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41251 file.
41252
41d73a1b
JM
412532012-04-28 Joseph Myers <joseph@codesourcery.com>
41254
41255 * conform/conformtest.pl: Fix typo in handling typed-constant from
41256 allow-header.
41257
28aeeda4
JM
412582012-04-27 Joseph Myers <joseph@codesourcery.com>
41259
adae8f5e
JM
41260 * README: Cut down references to pre-2.6 Linux kernels and
41261 Linuxthreads. Update lists of configurations in libc and ports
41262 and sort alphabetically. Say "or newer" with Linux kernel version
41263 requirements.
41264
28aeeda4
JM
41265 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41266
a462cb63
RA
412672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41268
41269 [BZ #887]
41270 * math/libm-test.inc (logb_test_downward): New test to expose
41271 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41272 rounding mode.
41273
6ad3493e
JM
412742012-04-27 Joseph Myers <joseph@codesourcery.com>
41275
41276 [BZ #14027]
41277 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41278 to be done.
41279 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41280 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41281
2ce4f015
JM
412822012-04-26 Joseph Myers <joseph@codesourcery.com>
41283
5aeb141a
JM
41284 * sysdeps/unix/i386/brk.S: Remove file.
41285 * sysdeps/unix/i386/dl-brk.S: Likewise.
41286 * sysdeps/unix/i386/pipe.S: Likewise.
41287 * sysdeps/unix/i386/sigreturn.S: Likewise.
41288 * sysdeps/unix/i386/syscall.S: Likewise.
41289 * sysdeps/unix/i386/vfork.S: Likewise.
41290 * sysdeps/unix/i386/wait.S: Likewise.
41291
7143acae
JM
41292 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41293 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41294
2ce4f015
JM
41295 * configure.in (arm*-none*): Do not allow without
41296 --enable-hacker-mode.
41297 (netbsd*): Remove case setting base_os.
41298 (386bsd*): Likewise.
41299 (freebsd*): Likewise.
41300 (bsdi*): Likewise.
41301 (osf*): Likewise.
41302 (sunos*): Likewise.
41303 (ultrix*): Likewise.
41304 (newsos*): Likewise.
41305 (dynix*): Likewise.
41306 (*bsd*): Likewise.
41307 (sysv*): Likewise.
41308 (isc*): Likewise.
41309 (esix*): Likewise.
41310 (sco*): Likewise.
41311 (minix*): Likewise.
41312 (irix4*): Likewise.
41313 (irix6*): Likewise.
41314 (solaris[2-9]*): Likewise.
41315 (none): Likewise.
41316 * configure: Regenerated.
41317
0ac229c8
AZ
413182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41319
41320 [BZ #11521]
41321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41322 overflow or cancellation in calculating denominator.
41323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41325 down expression to avoid unexpected rounding in newer GCCs.
41326 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41327
33f244f4
DM
413282012-04-26 David S. Miller <davem@davemloft.net>
41329
41330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41331 long-double compat symbols.
41332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41345
cfa1f3e8
DM
413462012-04-25 David S. Miller <davem@davemloft.net>
41347
41348 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41349 HWCAP_* values only after the memory barriers have been defined.
41350 (atomic_full_barrier): Define.
41351 (atomic_read_barrier): Define.
41352 (atomic_write_barrier): Define.
41353
6e236b92
SP
413542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41355
41356 * shlib-versions: Add libgcc_s version information.
41357 * sysdeps/generic/libgcc_s.h: Remove.
41358 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41359 libgcc_s.h.
41360 * sysdeps/gnu/unwind-resume.c: Likewise.
41361 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41362
aab39a09
DM
413632012-04-25 David S. Miller <davem@davemloft.net>
41364
41365 * sysdeps/unix/sparc/brk.S: Delete.
41366 * sysdeps/unix/sparc/dl-brk.S: Delete.
41367 * sysdeps/unix/sparc/pipe.S: Delete.
41368 * sysdeps/unix/sparc/sysdep.S: Delete.
41369 * sysdeps/unix/sparc/sysdep.h: Delete.
41370 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41371 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41372 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41374 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41375 (JUMPTARGET): Remove.
41376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41377 sysdeps/unix/sparc/sysdep.h
41378 (ENTRY, END): Remove.
41379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41380
a3cc4f48
JM
413812012-04-25 Joseph Myers <joseph@codesourcery.com>
41382
2ed8cda2
JM
41383 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41384 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41385 -DIS_IN_build.
41386
35d76d59
JM
41387 * timezone/README: Update upstream location and email address for
41388 tzcode and tzdata.
41389 * timezone/zdump.c: Update from tzcode 2012b.
41390 * timezone/zic.c: Likewise.
41391
a3cc4f48
JM
41392 * configure.in (libc_cv_as_needed): Remove test.
41393 * configure: Regenerated.
41394 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41395 conditional definition.
41396 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41397 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41398 * config.make.in (have-as-needed): Remove variable.
41399
ceab42c3
SP
414002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41401 Paul Pluzhnikov <ppluzhnikov@google.com>
41402
41403 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41404 strings correctly.
41405
3ce2865f
CLT
414062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41407
41408 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41409 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41410 * sysdeps/sh/strlen.S: Likewise.
41411
f37e0d68
JM
414122012-04-24 Joseph Myers <joseph@codesourcery.com>
41413
ae186e9a
JM
41414 * sysdeps/unix/fork.S: Remove file.
41415 * sysdeps/unix/i386/fork.S: Likewise.
41416 * sysdeps/unix/sparc/fork.S: Likewise.
41417
b96914af
JM
41418 * sysdeps/unix/system.c: Remove file.
41419 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41420
f37e0d68
JM
41421 * sysdeps/unix/getegid.S: Remove file.
41422 * sysdeps/unix/geteuid.S: Likewise.
41423
87ef29ca
RM
414242012-04-24 Roland McGrath <roland@hack.frob.com>
41425
83bcd236
RM
41426 * scripts/check-localplt.awk: New file.
41427 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41428 of diff.
41429 * scripts/data/localplt-generic.data: Add a comment.
41430
87ef29ca
RM
41431 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41432 NODE when __dir_mkfile failed.
41433 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41434 Reported by Ludovic Courtès <ludo@gnu.org>.
41435
e5a6e567
AJ
414362012-04-24 Andreas Jaeger <aj@suse.de>
41437
41438 * Makerules (common-clean): Also remove gen-as-const-headers
41439 files.
41440
c1820385
JM
414412012-04-24 Joseph Myers <joseph@codesourcery.com>
41442
41443 * Makerules (native-compile): Do not change working directory for
41444 build. Use $(OUTPUT_OPTION) in command.
41445 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41446
94e02fc4
AZ
414472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41448
41449 [BZ #13886]
41450 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41451 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41452 * math/libm-test.inc (floor_test): Add more tests.
41453 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41454
3a533ca3
JM
414552012-04-24 Joseph Myers <joseph@codesourcery.com>
41456
940ab4b3
JM
41457 * sysdeps/unix/getdents.c: Remove file.
41458 * sysdeps/unix/sysv/getdents.c: Likewise.
41459 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41460
90e037bd
JM
41461 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41462 sysdeps/unix/mman/syscalls.list.
41463 (mmap): Likewise.
41464 (mprotect): Likewise.
41465 (msync): Likewise.
41466 (munmap): Likewise.
41467 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41468 * sysdeps/unix/mman/syscalls.list: Remove.
41469 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41470
3a533ca3
JM
41471 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41472 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41473 * configure: Regenerated.
41474 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41475 $(libgcc_s_suffix).
41476 * config.make.in (libgcc_s_suffix): Remove variable.
41477
1ad743de
JM
414782012-04-23 Joseph Myers <joseph@codesourcery.com>
41479
4ad451e2
JM
41480 * sysdeps/unix/sysv/gethostname.c: Move to ...
41481 * sysdeps/posix/gethostname.c: ... here.
41482
5e37ce39
JM
41483 * sysdeps/unix/execve.S: Remove file.
41484
1ad743de
JM
41485 * sysdeps/unix/_exit.S: Remove file.
41486
4e681b5b
AJ
414872012-04-23 Andreas Jaeger <aj@suse.de>
41488
41489 [BZ #13739]
41490 * manual/Makefile: Remove make dist support, there's no
41491 need for a stand-alone documentation tar ball.
41492 (TEXI2DVI): Define always, it's not in Makeconfig.
41493 (dist): Removed.
41494 (tar-it): Removed.
41495 (edition): Removed.
41496 (glibc-doc-$(edition).tar): Removed
41497 (%.Z): Removed.
41498 (%.gz): Removed.
41499 (%.uu): Removed.
41500 (ETAGS): Remove, it's in Makeconfig.
41501 (move-if-change): Remove, it's in Makeconfig.
41502
38686a03 415032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41504
41505 [BZ #13970]
41506 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41507 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41508 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41509 (strtod_l, strtof_l, strtold_l): Remove __wur.
41510 It is not necessarily an error to ignore strtol's return value.
41511 One can reliably look at the stored endptr to decide whether
41512 the number had valid syntax.
41513
7c0616fa
AJ
415142012-04-21 Andreas Jaeger <aj@suse.de>
41515
803cb6b7 41516 [BZ #13739]
7c0616fa
AJ
41517 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41518
b0fe253f
JM
415192012-04-21 Joseph Myers <joseph@codesourcery.com>
41520
41521 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41522 * sysdeps/unix/sysv/Versions: Remove file.
41523
8280f22d
MT
415242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41525
41526 [BZ #13927]
41527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41528
75ce411f 415292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41530
41531 [BZ #7064]
41532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41533 version from __vm86.
41534
097d59fa
JM
415352012-04-20 Joseph Myers <joseph@codesourcery.com>
41536
a90f3bcb
JM
41537 * sysdeps/unix/common/lxstat.c: Remove file.
41538 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41539
edc7ea78
JM
41540 * sysdeps/unix/sysv/Makefile: Remove file.
41541
cb78c221
JM
41542 * sysdeps/unix/sysv/direct.h: Remove file.
41543
efa6a45f
JM
41544 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41545 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41546 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41547 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41548 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41549 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41550 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41551
9c9f2d0c
JM
41552 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41553
4541c83b
JM
41554 * sysdeps/unix/xmknod.c: Remove file.
41555 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41556
f5d153a0
JM
41557 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41558
aa746595
JM
41559 * sysdeps/unix/sysv/i386/time.S: Remove file.
41560
cce5905e
JM
41561 * sysdeps/unix/fxstat.c: Remove file.
41562 * sysdeps/unix/xstat.c: Likewise.
41563 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41564
37fa3841
JM
41565 * sysdeps/unix/sysv/sigaction.c: Remove file.
41566
ff1962a3
JM
41567 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41568 (sysdep_headers): Remove variable.
41569 [termio.h not in sysdep_headers] (generated): Likewise.
41570 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41571 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41572 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41573 * sysdeps/unix/sysv/tcflow.c: Likewise.
41574 * sysdeps/unix/sysv/tcflush.c: Likewise.
41575 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41576 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41577 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41578 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41579 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41580
e7740d31
JM
41581 * sysdeps/unix/siglist.c: Remove file.
41582
ee06f18b
JM
41583 * sysdeps/unix/getppid.S: Remove file.
41584
097d59fa
JM
41585 * sysdeps/unix/mkdir.c: Remove file.
41586 * sysdeps/unix/rmdir.c: Likewise.
41587
ff3d51ec
AS
415882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41589
41590 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41591 ERR_MAX value.
41592 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41593 errlist-compat value.
41594
50f81fd7
DM
415952012-04-18 David S. Miller <davem@davemloft.net>
41596
41597 * sysdeps/generic/memcopy.h (reg_char): Delete.
41598 * debug/strcat_chk.c: Use char, not reg_char.
41599 * debug/strcpy_chk.c: Likewise.
41600 * debug/strncat_chk.c: Likewise.
41601 * debug/strncpy_chk.c: Likewise.
41602 * string/memchr.c: Likewise.
41603 * string/memrchr.c: Likewise.
41604 * string/rawmemchr.c: Likewise.
41605 * string/strcat.c: Likewise.
41606 * string/strchr.c: Likewise.
41607 * string/strchrnul.c: Likewise.
41608 * string/strcmp.c: Likewise.
41609 * string/strcpy.c: Likewise.
41610 * string/strncat.c: Likewise.
41611 * string/strncmp.c: Likewise.
41612 * string/strncpy.c: Likewise.
41613
8ff41c46
WS
416142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41615
41616 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41617 __builtin_memcopy is called when src and dest ranges are known to not
41618 overlap.
41619
6b652f46
WS
416202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41621
41622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41623 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41624 fwd_align_merge macro call.
41625 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41626 bwd_align_merge macro call.
41627 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41628
b282631e
WS
416292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41630
41631 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41632 bwd_align_merge macros.
41633 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41634 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41635 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41636
95aa737c
DM
416372012-04-18 David S. Miller <davem@davemloft.net>
41638
41639 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41640
7a99a614
AJ
416412012-04-18 Andreas Jaeger <aj@suse.de>
41642
41643 [BZ# 6794]
41644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41645 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41647
41648 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41649 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41650 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41651
41652 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41653 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41654 Adjust for changed ldbl-128 files.
41655
41656 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41657 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41658 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41659
e5270c23
DM
416602012-04-17 David S. Miller <davem@davemloft.net>
41661
41662 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41663
fb5e92c9
AS
416642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41665
41666 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41667 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41668 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41669 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41670 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41671 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41672
76da7265
AZ
416732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41674
41675 [BZ #6794]
41676 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41677 * math/libm-test.inc: Add ilogb errno and exception tests.
41678 * math/w_ilogb.c: New file: ilogb wrapper.
41679 * math/w_ilogbf.c: New file: ilogbf wrapper.
41680 * math/w_ilogbl.c: New file: ilogbl wrapper.
41681 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41682 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41683 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41684 exception being thrown with 0.0 as argument.
41685 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41686 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41687 exception being thrown with 0.0 as argument.
41688 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41689 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41690 exception being thrown with 0.0 as argument.
41691 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41692 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41693 exception being thrown with 0.0 as argument.
41694 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41695 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41697 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41699 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41700 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41701 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41702 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41703
0396e69d
PB
417042012-04-17 Petr Baudis <pasky@ucw.cz>
41705
41706 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41707 with altivec.
41708
750b5926
MP
417092012-04-16 Marek Polacek <polacek@redhat.com>
41710
41711 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41712
751728a1
MP
417132012-04-16 Marek Polacek <polacek@redhat.com>
41714
41715 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41716 operands of fdivp instruction.
41717
34a27407
L
417182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41721 * elf/tst-auditmod3b.c: Likewise.
41722 * elf/tst-auditmod4b.c: Likewise.
41723 * elf/tst-auditmod5b.c: Likewise.
41724 * elf/tst-auditmod6b.c: Likewise.
41725 * elf/tst-auditmod6c.c: Likewise.
41726 * elf/tst-auditmod7b.c: Likewise.
41727 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41728 * sysdeps/x86_64/preconfigure.in: Likewise.
41729 * sysdeps/x86_64/preconfigure: Regenerated.
41730
7e73e17d
L
417312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41732
41733 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41734 __ILP32__.
41735
c7a6ab72
AB
417362012-04-13 Antoine Balestrat <merkil33@gmail.com>
41737
41738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41739 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41740
a9e8e0e0
CL
417412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41742
41743 [BZ #13973]
41744 * locale/iso-639.def: Fix gl language name. Spotted by
41745 Yaron Shahrabani.
41746
ec98af7d
RM
417472012-04-12 Roland McGrath <roland@hack.frob.com>
41748
41749 [BZ #2074]
41750 * libio/libio.h (__io_write_fn): Update comment.
41751
247c3ede
PB
417522012-04-12 Petr Baudis <pasky@ucw.cz>
41753
41754 [BZ #2074]
41755 * stdio.texi (Hook Functions): The user provided writer function
41756 is not allowed to return -1.
41757
55939d6d
DM
417582012-04-11 David S. Miller <davem@davemloft.net>
41759
41760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41761
90020f5a
MF
417622012-04-11 Mike Frysinger <vapier@gentoo.org>
41763
41764 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41765 Add a leading slash to rtkaio.
41766
288f9098
JM
417672012-04-11 Jim Meyering <meyering@redhat.com>
41768
90020f5a
MF
41769 [BZ #11959]
41770 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41771 It is not necessarily an error to ignore fwrite's return
41772 value. One can reliably use ferror to test for errors after
41773 the fact.
288f9098 41774
4be2b570
L
417752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41776
41777 * bits/types.h (__snseconds_t): New type.
41778 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41779
41780 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41782 (__SNSECONDS_T_TYPE): Likewise.
41783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41784 (__SNSECONDS_T_TYPE): Likewise.
41785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41786 (__SNSECONDS_T_TYPE): Likewise.
41787
288f9098 417882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41789
41790 [BZ #2636]
41791 * manual/time.texi (Processor Time): Return type of times is
41792 elapsed real time since an arbitrary point in the past.
41793 (CPU Time): Move CLK_TCK from here...
41794 (Processor Time): ...to here. Correct description.
41795 * manual/conf.texi (Constants for Sysconf): Correct description of
41796 _SC_CLK_TCK.
41797
d7dd4413
DM
417982012-04-10 David S. Miller <davem@davemloft.net>
41799
41800 [BZ #13967]
41801 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41802 where the is a gap between DT_REL(A) and DT_JMPREL.
41803
b46068fc
L
418042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41805
41806 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41807 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41808 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41809
73d65cc3
SP
418102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41811
41812 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41813 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41814 (dl_main): Handle --inhibit-cache.
41815 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41816 _dl_inhibit_cache.
41817 * elf/dl-load.c (_dl_map_object): Use it.
41818 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41819
bcc8d661
JM
418202012-04-09 Joseph Myers <joseph@codesourcery.com>
41821
8f9a2fae
JM
41822 [BZ #13872]
41823 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41824 (__ieee754_powl): Saturate large exponents rather than testing for
41825 overflow of y*log2(x).
41826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41827 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41828 exceptions.
41829
bcc8d661
JM
41830 [BZ #11521]
41831 * math/s_ctan.c: Include <float.h>.
41832 (__ctan): Avoid internal overflow or cancellation in calculating
41833 denominator.
41834 * math/s_ctanf.c: Likewise.
41835 * math/s_ctanl.c: Likewise.
41836 * math/s_ctanh.c: Likewise.
41837 * math/s_ctanhf.c: Likewise.
41838 * math/s_ctanhl.c: Likewise.
41839 * math/libm-test.inc (ctan_test): Add more tests.
41840 (ctanh_test): Likewise.
41841 * sysdeps/i386/fpu/libm-test-ulps: Update.
41842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41843
823fbbb4
AJ
418442012-04-09 Andreas Jaeger <aj@suse.de>
41845
03879793
AJ
41846 [BZ #6894]
41847 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41848 is an optional BSD extension.
41849
823fbbb4
AJ
41850 [BZ #10254]
41851 * manual/stdio.texi (Opening Streams): Document additional fopen
41852 parameters.
41853
8de131cb
RM
418542012-04-09 Roland McGrath <roland@hack.frob.com>
41855
41856 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41857 %eax without telling the compiler.
41858
c0ed9d7d
CD
418592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41860
41861 [BZ # 13963]
41862 * manual/install.texi: Use sourceware.org.
41863
c483f6b4
JM
418642012-04-09 Joseph Myers <joseph@codesourcery.com>
41865
d7dd9453
JM
41866 [BZ #13873]
41867 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41868 (__ieee754_pow): Generate overflow and underflow using huge*huge
41869 and tiny*tiny rather than just returning constant infinity or zero
41870 for large exponents.
41871 * math/libm-test.inc (pow_test): Require overflow exceptions for
41872 applicable cases of large exponents.
41873
c483f6b4
JM
41874 [BZ #706]
41875 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41876 (__ieee754_pow): Use iterative multiplication algorithm only for
41877 integer exponents with absolute value below 1024. Check for odd
41878 integer exponents when using algorithm for real exponents.
41879 * math/libm-test.inc (pow_test): Add more tests.
41880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41881
d2de7579
JM
418822012-04-08 Joseph Myers <joseph@codesourcery.com>
41883
41884 [BZ #13705]
41885 * math/libm-test.inc (exp_test): Do not allow overflow exception
41886 on underflow test.
41887
f77f1232
AJ
418882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41889
41890 [BZ #13705]
41891 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41892 instead of __kernel_standard_f.
41893
3884932b
MF
418942012-04-08 Mike Frysinger <vapier@gentoo.org>
41895
41896 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41897 * sysdeps/x86_64/memset_chk.S: Likewise.
41898
54472e9c
AJ
418992012-04-08 Andreas Jaeger <aj@suse.de>
41900
6ab0fbfc
AJ
41901 [BZ #10153]
41902 * manual/startup.texi (Environment Access): Describe return value
41903 for putenv and setenv.
41904
61efba8c
AJ
41905 [BZ #6895]
41906 * manual/filesys.texi (Directory Entries): Add description for
41907 DT_LNK.
41908
95c3f29a
AJ
41909 [BZ #6890]
41910 * manual/filesys.texi (Directory Entries): Clarify that it's file
41911 system not operating system in the description of DT_UNKNOWN.
41912
54472e9c
AJ
41913 [BZ #6578]
41914 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41915
624254b1
SC
419162012-04-08 Stephen Compall <s11@member.fsf.org>
41917
41918 [BZ #6649]
41919 * manual/llio.texi (Opening and Closing Files): Add cross
41920 reference to explain mode argument.
41921
1e4920e0
MF
419222012-04-07 Mike Frysinger <vapier@gentoo.org>
41923
41924 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41925 * sysdeps/x86_64/memset_chk.S: Likewise.
41926
5ed848f3
DM
419272012-04-07 David S. Miller <davem@davemloft.net>
41928
41929 * elf/elf.h (R_SPARC_WDISP10): Define.
41930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41931 R_SPARC_SIZE32.
41932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41933 R_SPARC_SIZE64 and R_SPARC_H34.
41934
96154cd8
CD
419352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41936
41937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41938 conditions and remove no longer applicable assertion.
41939
9904dc47
L
419402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41941
41942 * bits/byteswap.h: Include <features.h>.
41943 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41944 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41945
f8887d0a
L
419462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41947
41948 * bits/byteswap.h (__bswap_16): Removed.
41949 Include <bits/byteswap-16.h> to get __bswap_16.
41950 * sysdeps/i386/bits/byteswap.h: Likewise.
41951 * sysdeps/s390/bits/byteswap.h: Likewise.
41952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41953 * bits/byteswap-16.h: New file.
41954 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41955 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41956 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41957 * string/Makefile (headers): Add bits/byteswap-16.h.
41958
62470f60
PP
419592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41960
41961 [BZ #13895]
41962 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41963 extra indirection.
41964 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41965 * nss/tst-nss-static.c: New.
41966
4dad7bab
RM
419672012-04-06 Robert Millan <rmh@gnu.org>
41968
41969 [BZ #6486]
41970 * manual/llio.texi (File Position Primitive): lseek
41971 refers to WHENCE when it really means OFFSET.
41972
e9142a17
AJ
419732012-04-06 Andreas Jaeger <aj@suse.de>
41974
2c040eff
AJ
41975 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41976 strncmp declarations.
41977
e9142a17
AJ
41978 * abilist/libc.abilist: Add __poll and __ppoll.
41979
ff9f1c5f
DM
419802012-04-05 David S. Miller <davem@davemloft.net>
41981
dcd2ae90
DM
41982 * scripts/check-local-headers.sh: Accept a host triplet in the
41983 path matched by the exclude regexp.
41984
993eb054
DM
41985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41986 definition.
41987 * sysdeps/powerpc/powerpc32/dl-machine.h
41988 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41989 * sysdeps/s390/s390-32/dl-machine.h
41990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41991 * sysdeps/sparc/sparc32/dl-machine.h
41992 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41993 * sysdeps/sparc/sparc64/dl-machine.h
41994 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41995
ff9f1c5f
DM
41996 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41997 lazy binding.
48e2e132 41998 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41999 undefined symbol errors.
42000
48e2e132 42001 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42002 DT_NEEDED entries.
42003
e80d6f94
MM
420042012-04-05 Michael Matz <matz@suse.de>
42005
42006 [BZ #13592]
42007 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42008
349fa79f
AJ
420092012-04-05 Andreas Jaeger <aj@suse.de>
42010
42011 [BZ #13908]
42012 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42013 comment.
42014
f402708f
KK
420152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42016
42017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42018 which ROUND is no valid rounding mode.
42019
2ecccfc9
KK
420202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42021
42022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42023 read again.
42024 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42025
8a53f50f
KK
420262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42027
42028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42029 an exception using FPU order intentionally.
42030
420312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42032
42033 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42034 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42035 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42036 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42037
d653abb7
SJ
420382012-04-05 Simon Josefsson <simon@josefsson.org>
42039
42040 [BZ #12340]
42041 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42042 EINVAL when BUFLEN is too smal.
42043
c3b1bf7d
TS
420442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42045
42046 [BZ #13553]
42047 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42048 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42049
b1aa60f3
AJ
420502012-04-03 Andreas Jaeger <aj@suse.de>
42051
c3b1bf7d 42052 [BZ #13938]
67f60a26
AJ
42053 * manual/setjmp.texi (System V contexts): Fix sentence.
42054
b1aa60f3
AJ
42055 [BZ #13926]
42056 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42057 New macro for this case.
42058 [!__GNUC__] (__bswap_64): New inline function for this case.
42059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42060 * bits/byteswap.h: Likewise.
42061 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42062 ull, guard with __GLIBC_HAVE_LONG_LONG.
42063
42064 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42065 __GLIBC_HAVE_LONG_LONG.
42066
42067 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42068 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42069
39c59c35
TMQMF
420702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42071
42072 [BZ #13691]
42073 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42074 inptr and inend, rather than using last_ch.
42075
135ffda8
DM
420762012-04-02 David S. Miller <davem@davemloft.net>
42077
42078 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42079 * stdio-common/printf-parse.h (read_int): Change return type to
42080 'int', return -1 on INT_MAX overflow.
42081 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42082 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42083 overflows INT_MAX. Check for overflow of in-format-string precision
42084 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42085 SIZE_MAX not INT_MAX for integer overflow test.
42086 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42087 skip the construct in the format string but do not record anything.
42088 * stdio-common/bug22.c: Adjust to test both width/prevision
42089 INT_MAX overflow as well as total length INT_MAX overflow. Check
42090 explicitly for proper errno values.
42091
228c019e
TS
420922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42093
302cadd3
TS
42094 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42095 CHAR_MAX.
42096 * string/test-strcmp.c [! WIDE]: Likewise.
42097 * time/tst-mktime2.c: Likewise for INT_MAX.
42098 * string/test-string.h: #include <sys/param.h> for MIN.
42099
228c019e
TS
42100 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42101 * sysdeps/i386/init-first.c (init): Likewise.
42102 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42103 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42104 * sysdeps/sh/init-first.c (init): Likewise.
42105
cfa633f5
UD
421062012-04-01 Ulrich Drepper <drepper@gmail.com>
42107
42108 * po/ru.po: Update from translation team.
d1635ef8 42109 * po/vi.po: Likewise.
cfa633f5 42110
6cd0a5ea
SP
421112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42112
42113 * resolv/nss_dns/dns-host.c: Merge copyright years.
42114
4b43400f
LD
421152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42116
42117 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42118 Optimize memcpy with prefetch if
42119 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42120 src, dst pointers have unequal 16 byte alignments.
42121
48c41d04
SP
421222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42123
42124 [BZ #13928]
42125 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42126 from a CNAME entry and return the minimum ttl for the query.
42127 (gaih_getanswer_slice): Likewise.
42128
b8dc394d
JL
421292012-03-30 Jeff Law <law@redhat.com>
42130
42131 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42132 due to long keys.
42133 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42134 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42135
2f5a5ed0
JL
42136 * resolv/nss_dns/dns-host.c: Update copyright year.
42137
1d39e359
UD
421382012-03-30 Ulrich Drepper <drepper@gmail.com>
42139
c030f70c 42140 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42141 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42142
1d39e359
UD
42143 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42144 comments for sendmmsg.
42145
421462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42147
42148 [BZ #13691]
42149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42150 with only 1 character between 0x0041 and 0x01b0.
42151 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42152 * wcsmbs/tst-mbsnrtowcs.c: New file.
42153
20fde227
DM
421542012-03-29 David S. Miller <davem@davemloft.net>
42155
42156 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42157 small copies by hand.
42158
984a4237
JL
421592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42160
42161 [BZ #13761]
57f41c40
AS
42162 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42163 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42164 group memberships.
984a4237 42165
18c9d62b
DM
421662012-03-28 David S. Miller <davem@davemloft.net>
42167
88d85d4f
DM
42168 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42169 that branches into memcpy.
42170 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42171 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42173 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42175 bits.
42176 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42177 implementation too.
42178 * sysdeps/sparc/mempcpy.S: New file.
42179
e5aa83e1
DM
42180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42181 the IFUNC routine in the libc case.
42182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42183
88570753
DM
42184 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42186 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42187 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42188 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42189 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42190 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42191 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42192
249d7567
DM
42193 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42194 loop to 256 bytes instead of 64 bytes and fix test signedness.
42195
18c9d62b
DM
42196 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42197 * sysdeps/sparc/sparc32/Makefile: rather than here...
42198 * sysdeps/sparc/sparc64/Makefile: and here.
42199
05f3d1f6
UD
422002012-03-28 Ulrich Drepper <drepper@gmail.com>
42201
42202 * malloc/mallocbug.c: Avoid warnings about unused variables.
42203
86ae07a8
JL
422042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42205
42206 [BZ #13760]
42207 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42208 in the right place. Discard and retry query if response is
42209 larger than input buffer size.
42210
41bf21a1
JM
422112012-03-28 Joseph Myers <joseph@codesourcery.com>
42212
d6270972
JM
42213 [BZ #369]
42214 [BZ #2678]
42215 [BZ #3866]
42216 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42217 x for large integer exponent.
42218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42219 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42220 sign of result as needed afterwards.
42221 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42222 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42223 result for underflowing pow the same as for overflow.
42224 (__kernel_standard_l): Handle powl overflow and underflow here
42225 rather than calling __kernel_standard.
42226 * math/libm-test.inc (pow_test): Add more tests.
42227
414fca03 42228 [BZ #3868]
41bf21a1
JM
42229 [BZ #13879]
42230 [BZ #13910]
42231 [BZ #13911]
42232 [BZ #13912]
42233 [BZ #13913]
42234 [BZ #13915]
42235 [BZ #13916]
42236 [BZ #13917]
42237 [BZ #13918]
42238 [BZ #13919]
42239 [BZ #13920]
42240 [BZ #13921]
42241 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42242 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42243 (__kernel_standard_l): New function.
42244 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42245 __kernel_standard.
42246 * math/w_acosl.c (__acosl): Likewise.
42247 * math/w_asinl.c (__asinl): Likewise.
42248 * math/w_atan2l.c (__atan2l): Likewise.
42249 * math/w_atanhl.c (__atanhl): Likewise.
42250 * math/w_coshl.c (__coshl): Likewise.
42251 * math/w_exp10l.c (__exp10l): Likewise.
42252 * math/w_exp2l.c (__exp2l): Likewise.
42253 * math/w_fmodl.c (__fmodl): Likewise.
42254 * math/w_hypotl.c (__hypotl): Likewise.
42255 * math/w_j0l.c (__j0l, __y0l): Likewise.
42256 * math/w_j1l.c (__j1l, __y1l): Likewise.
42257 * math/w_jnl.c (__jnl, __ynl): Likewise.
42258 * math/w_lgammal.c (__lgammal): Likewise.
42259 * math/w_log10l.c (__log10l): Likewise.
42260 * math/w_log2l.c (__log2l): Likewise.
42261 * math/w_logl.c (__logl): Likewise.
42262 * math/w_powl.c (__powl): Likewise.
42263 * math/w_remainderl.c (__remainderl): Likewise.
42264 * math/w_scalbl.c (sysv_scalbl): Likewise.
42265 * math/w_sinhl.c (__sinhl): Likewise.
42266 * math/w_sqrtl.c (__sqrtl): Likewise.
42267 * math/w_tgammal.c (__tgammal): Likewise.
42268 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42269 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42270 * math/libm-test.inc (acos_test): Add more tests.
42271 (acosh_test): Likewise.
42272 (asin_test): Likewise.
42273 (atanh_test): Likewise.
42274 (exp_test): Likewise.
42275 (exp10_test): Likewise.
42276 (exp2_test): Likewise.
42277 (expm1_test): Likewise.
42278 (lgamma_test): Likewise.
42279 (log_test): Likewise.
42280 (log10_test): Likewise.
42281 (log1p_test): Likewise.
42282 (log2_test): Likewise.
42283 (pow_test): Do not allow some spurious overflow exceptions.
42284 (sqrt_test): Add more tests.
42285 (tgamma_test): Likewise.
42286 (y0_test): Likewise.
42287 (y1_test): Likewise.
42288 (yn_test): Likewise.
42289
dd62fda6
AB
422902012-03-27 Anton Blanchard <anton@samba.org>
42291
42292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42293 MAP_HUGETLB.
42294 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42297
1e3cdfda
AJ
422982012-03-27 David S. Miller <davem@davemloft.net>
42299
b855ab85
DM
42300 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42301
1e3cdfda
AJ
42302 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42303 have-as-vis3 check.
42304
423052012-03-27 Andreas Jaeger <aj@suse.de>
42306
42307 * sysdeps/x86_64/elf/configure.in: Moved to ...
42308 * sysdeps/x86_64/configure.in: ... here.
42309 * sysdeps/x86_64/elf/start.S: Moved to ...
42310 * sysdeps/x86_64/start.S: ... here.
42311 * sysdeps/x86_64/elf/configure: Delete.
42312
42313 * sysdeps/x86_64/configure.in: Merge contents from
42314 sysdeps/i386/configure.in (without i686 check).
42315
42316 * sysdeps/i386/elf/Versions: Merge into ...
42317 * sysdeps/i386/Versions: ... this.
42318 * sysdeps/i386/elf/Versions: Delete file.
42319 * sysdeps/i386/elf/start.S: Moved to ...
42320 * sysdeps/i386/start.S: ...here.
42321 * sysdeps/i386/elf/configure.in: Merge into...
42322 * sysdeps/i386/configure.in: ...here.
42323 * sysdeps/i386/elf/configure.in: Delete file.
42324 * sysdeps/i386/elf/configure: Delete file.
42325
42326 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42327 * debug/backtracesyms.c: ... here.
42328 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42329 * debug/backtracesymsfd.c: ... here.
42330 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42331 * sysdeps/generic/ifunc-sel.h: ... here.
42332
42333 * sysdeps/unix/i386/start.c: Delete file.
42334 * sysdeps/unix/sparc/start.c: Delete file.
42335 * sysdeps/unix/start.c: Delete file.
42336
42337 * sysdeps/sh/elf/configure.in: Moved to ...
42338 * sysdeps/sh/configure.in: ... here.
42339 * sysdeps/sh/elf/start.S: Moved to ...
42340 * sysdeps/sh/start.S: ... here.
42341 * sysdeps/sh/elf/configure: Delete file.
42342
42343 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42344 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42345 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42346 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42347 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42348 * sysdeps/powerpc/powerpc64/start.S: here.
42349 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42350 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42351 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42352 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42353 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42354
42355 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42356 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42357 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42358 * sysdeps/powerpc/powerpc32/start.S: ... here.
42359 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42360 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42361 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42362
42363 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42364 * sysdeps/powerpc/ifunc-sel.h: ... here.
42365 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42366 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42367
42368 * sysdeps/sparc/elf/configure.in: Moved to ...
42369 * sysdeps/sparc/configure.in: ... here.
42370 * sysdeps/sparc/elf/configure: Delete file.
42371 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42372 * sysdeps/sparc/sparc32/start.S: ... here.
42373 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42374 * sysdeps/sparc/sparc64/start.S: ... here.
42375 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42376 * sysdeps/sparc/sparc32/Makefile: ... this.
42377 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42378 * sysdeps/sparc/sparc64/Makefile: ... this.
42379
42380 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42381 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42382 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42383 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42384 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42385 * sysdeps/s390/s390-32/setjmp.S: ... here.
42386 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42387 * sysdeps/s390/s390-32/configure.in: ... here.
42388 * sysdeps/s390/s390-32/elf/configure: Delete file.
42389 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42390 * sysdeps/s390/s390-32/start.S: ... here.
42391
42392 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42393 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42394 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42395 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42396 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42397 * sysdeps/s390/s390-64/setjmp.S: ... here.
42398 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42399 * sysdeps/s390/s390-64/configure.in: ... here
42400 * sysdeps/s390/s390-64/elf/configure: Delete file.
42401 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42402 * sysdeps/s390/s390-64/start.S: ... here.
42403 * sysdeps/s390/s390-64/elf/configure: Delete.
42404
42405 * configure.in: Remove support for elf directories in sysdeps.
42406
42407 * configure: Regenerated.
42408 * sysdeps/i386/configure: Regenerated.
42409 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42410 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42411 * sysdeps/s390/s390-32/configure: Regenerated.
42412 * sysdeps/s390/s390-64/configure: Regenerated.
42413 * sysdeps/sh/configure: Regenerated.
42414 * sysdeps/sparc/configure: Regenerated.
42415 * sysdeps/x86_64/configure: Regenerated.
42416
a3f61311
AS
424172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42418
c876e002
AS
42419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42420
a3f61311
AS
42421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42422 denormal result into account.
42423
ac4c54f0
RM
424242012-03-25 Roland McGrath <roland@hack.frob.com>
42425
42426 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42427 Reported by Allan McRae <allan@archlinux.org>.
42428
6a9b9c02
JL
424292012-03-23 Jeff Law <law@redhat.com>
42430
42431 * nss/getnssent.c (__nss_getent): Fix typo.
42432
4c42a0c1
DM
424332012-03-23 David S. Miller <davem@davemloft.net>
42434
42435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42436
1532c7ac
L
424372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42440 to pad to uint64_t for each field.
42441 (dl_tls_index): Replace unsigned long with uint64_t.
42442
3ff42526
PP
424432012-03-23 Daniel Jacobowitz <dmj@google.com>
42444 Paul Pluzhnikov <ppluzhnikov@google.com>
42445
42446 [BZ #6528]
42447 * grp/Makefile (otherlibs): Don't set it.
42448 * inet/Makefile (otherlibs): Likewise.
42449 * login/Makefile (otherlibs): Likewise.
42450 * nscd/Makefile (otherlibs): Likewise.
42451 * posix/Makefile (otherlibs): Likewise.
42452 * pwd/Makefile (otherlibs): Likewise.
42453 * rt/Makefile (otherlibs): Likewise.
42454 * sunrpc/Makefile (otherlibs): Likewise.
42455 * nss/Makefile (otherlibs): Likewise.
42456 Add libnss_files to routines and static-only-routines.
42457 ($(objpfx)getent): Remove rule.
42458 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42459 static-only-routines.
42460
7c69cd14
JM
424612012-03-22 Joseph Myers <joseph@codesourcery.com>
42462
42463 [BZ #13892]
42464 * math/s_cexp.c: Include <float.h>.
42465 (__cexp): Handle exp result overflowing not necessarily
42466 overflowing both real and imaginary parts of result.
42467 * math/s_cexpf.c: Likewise.
42468 * math/s_cexpl.c: Likewise.
42469 * math/libm-test.inc (cexp_test): Add more tests.
42470 * sysdeps/i386/fpu/libm-test-ulps: Update.
42471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42472
81b035fe
L
424732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42474
42475 * include/link.h (ELFW): New macro.
42476 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42477 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42478
1da7940c
L
424792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42480
42481 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42482 with uint64_t.
42483
b749dbb9
L
424842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42485
42486 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42487 declaration.
42488 (struct La_x32_retval): Likewise.
42489
2ff87f3f
L
424902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42491
42492 * sysdeps/x86_64/preconfigure.in: New file.
42493 * sysdeps/x86_64/preconfigure: New generated file.
42494
c0df8e69
JM
424952012-03-22 Joseph Myers <joseph@codesourcery.com>
42496
48e44791
JM
42497 [BZ #13824]
42498 * math/e_exp2l.c: Include <float.h>.
42499 (__ieee754_exp2l): Handle overflow and underflow cases
42500 separately. Only pass fractional part of argument to
42501 __ieee754_expl.
42502 * math/libm-test.inc (exp2_test): Add more tests.
42503
c0df8e69
JM
42504 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42505 negating x to take absolute value.
42506 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42507 Likewise.
42508 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42509 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42510 Likewise.
42511 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42512 computing low part if x was negated.
42513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42514
c8e43ba7
L
425152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42516
42517 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42518 la_x32_gnu_pltexit.
42519 (pltexit): Cast int_retval to ptrdiff_t.
42520 * elf/tst-auditmod3b.c: Likewise.
42521 * elf/tst-auditmod4b.c: Likewise.
42522 * elf/tst-auditmod5b.c: Likewise.
42523 * elf/tst-auditmod6b.c: Likewise.
42524 * elf/tst-auditmod6c.c: Likewise.
42525 * elf/tst-auditmod7b.c: Likewise.
42526
42527 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42528 and x32_gnu_pltexit.
42529
42530 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42531 __ELF_NATIVE_CLASS.
42532 (La_x32_regs): New macro.
42533 (La_x32_retval): Likewise.
42534 (la_x32_gnu_pltenter): New function prototype.
42535 (la_x32_gnu_pltexit): Likewise.
42536
7998fa78
AS
425372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42538
dcb33988
AS
42539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42540 exponent.
42541
233fc563
AS
42542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42543
7998fa78
AS
42544 * configure.in (libc_cv_cc_nofma): Check for option to disable
42545 generation of FMA instructions.
42546 * configure: Regenerate.
42547 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42548 * sysdeps/ieee754/dbl-64/Makefile: New file.
42549 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42550 Remove brandred-fma4.
42551 (CFLAGS-brandred-fma4.c): Remove.
42552 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42554 define.
42555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42556 define.
42557
8e95c99a
L
425582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42559
42560 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42561 LLONG_MAX != LONG_MAX.
42562 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42563 (_fitoa_word): Likewise.
42564 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42565 LLONG_MAX != LONG_MAX.
42566 * stdio-common/_itowa.h: Include <_itoa.h>.
42567 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42568 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42569 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42570 only if not defined.
42571 (_ITOA_WORD_TYPE): Likewise.
42572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42573 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42574
6f4db457
DM
425752012-03-21 David S. Miller <davem@davemloft.net>
42576
42577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42578
7785fe5a
L
425792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42580
42581 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42582 of x86_64 when setting libc_cv_slibdir, libdir and
42583 libc_cv_localedir.
42584 * sysdeps/unix/sysv/linux/configure: Regenerated.
42585
4535cd55
JM
425862012-03-21 Joseph Myers <joseph@codesourcery.com>
42587
42588 * manual/lang.texi (Old Varargs): Remove section.
42589 (How Variadic): Update menu.
42590 (va_start): Do not mention varargs.h.
42591
17228132
TS
425922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42593 Joseph Myers <joseph@codesourcery.com>
42594
42595 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42596 link test.
42597 * configure: Regenerated.
42598
8149f976
TS
425992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42600
05f3d1f6
UD
42601 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42602 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42603 conformtest.pl
8149f976 42604
1a4ac776
JM
426052012-03-21 Joseph Myers <joseph@codesourcery.com>
42606
be22ce65
JM
42607 * NOTES: Remove.
42608 * Makefile (files-for-dist): Remove NOTES.
42609 (NOTES): Remove rule.
42610 * README: Don't refer to NOTES.
42611 * manual/creature.texi: Don't include macros.texi.
42612 * manual/intro.texi (creature.texi): Remove comment referring to
42613 NOTES.
42614
40b601fb
JM
42615 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42616 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42617 * configure: Regenerated.
42618 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42619 LIBC_TRY_CC_OPTION.
42620 (libc_cv_as_i686): Likewise.
42621 (libc_cv_cc_avx): Likewise.
42622 (libc_cv_cc_sse2avx): Likewise.
42623 (libc_cv_cc_fma4): Likewise.
42624 (libc_cv_cc_novzeroupper): Likewise.
42625 * sysdeps/i386/configure: Regenerated.
42626
1a4ac776
JM
42627 [BZ #13883]
42628 * sysdeps/i386/fpu/s_cexp.S: Remove.
42629 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42630 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42631 * math/libm-test.inc (cexp_test): Add more tests.
42632 * sysdeps/i386/fpu/libm-test-ulps: Update.
42633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42634
a458e7fe
AM
426352012-03-21 Allan McRae <allan@archlinux.org>
42636
42637 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42638
0cb7efc5
JM
426392012-03-21 Joseph Myers <joseph@codesourcery.com>
42640
42641 [BZ #13871]
42642 * math/w_exp2.c: Do not include <float.h>.
42643 (o_threshold, u_threshold): Remove.
42644 (__exp2): Calculate result before checking finiteness and calling
42645 __kernel_standard.
42646 * math/w_exp2f.c: Likewise.
42647 * math/w_exp2l.c: Likewise.
42648 * math/libm-test.inc (exp2_test): Require overflow exception for
42649 1e6 input.
2460d3aa
JM
42650
42651 [BZ #3866]
42652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42653 range of signed 64-bit integers before using fistpll. Remove
42654 checks for whether integers fit in mantissa bits.
42655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42656 the range of signed 32-bit integers before using fistpl. Remove
42657 checks for whether integers fit in mantissa bits.
42658 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42659 (__ieee754_powl): Test for y outside the range of signed 64-bit
42660 integers before using fistpll. Reduce 64-bit values to 63-bit
42661 ones as needed.
42662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42663 divide-by-zero is raised for zero to large negative powers.
42664 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42665 (__ieee754_powl): Test for y outside the range of signed 64-bit
42666 integers before using fistpll. Reduce 64-bit values to 63-bit
42667 ones as needed.
42668 * math/libm-test.inc (pow_test): Add more tests.
42669
eb96ffb0
L
426702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42671
42672 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42673 <stdio-common/_itoa.h>.
42674 * debug/segfault.c: Likewise.
42675 * elf/dl-cache.c: Likewise.
42676 * elf/dl-minimal.c: Likewise.
42677 * elf/dl-misc.c: Likewise.
42678 * elf/dl-sysdep.c: Likewise.
42679 * elf/dl-version.c: Likewise.
42680 * elf/rtld.c: Likewise.
42681 * hurd/hurdsock.c: Likewise.
42682 * hurd/lookup-retry.c: Likewise.
42683 * malloc/malloc.c: Likewise.
42684 * malloc/mtrace.c: Likewise.
42685 * nscd/nscd_getgr_r.c: Likewise.
42686 * nscd/nscd_getpw_r.c: Likewise.
42687 * nscd/nscd_getserv_r.c: Likewise.
42688 * posix/getopt_init.c: Likewise.
42689 * posix/wordexp.c: Likewise.
42690 * stdio-common/_itoa.c: Likewise.
42691 * stdio-common/printf_fphex.c: Likewise.
42692 * stdio-common/vfprintf.c: Likewise.
42693 * string/_strerror.c: Likewise.
42694 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42695 * sysdeps/i386/i686/hp-timing.h: Likewise.
42696 * sysdeps/mach/_strerror.c: Likewise.
42697 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42698 * sysdeps/mach/hurd/sethostid.c: Likewise.
42699 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42700 * sysdeps/mach/xpg-strerror.c: Likewise.
42701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42703 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42704 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42706 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42708 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42709 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42710 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42711 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42712 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42713 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42714 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42715 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42716 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42717 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42718 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42719 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42720 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42721 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42722
42723 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42724
42725 * stdio-common/_itoa.h: Moved to ...
42726 * sysdeps/generic/_itoa.h: Here.
42727
42728 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42729
42730 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42731 instead of "_itoa.h" and "_itowa.h".
42732 * stdio-common/vfprintf.: Likewise.
42733
d1af992d
L
427342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42735
42736 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42737 <bits/wordsize.h>.
42738 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42739 (__signbit): Likwise.
42740 (llrintf): Likwise.
42741 (llrint): Likwise.
42742
114883e0
L
427432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42744
42745 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42746 __WORDSIZE != 64.
42747
c135cc1b
JM
427482012-03-20 Joseph Myers <joseph@codesourcery.com>
42749
42750 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42751 OVERFLOW_EXCEPTION_OK.
42752 * math/libm-test.inc ("Philosophy"): Update comment about
42753 exception testing.
42754 (OVERFLOW_EXCEPTION): Define.
42755 (OVERFLOW_EXCEPTION_OK): Likewise.
42756 (INVALID_EXCEPTION_OK): Renumber.
42757 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42758 (IGNORE_ZERO_INF_SIGN): Likewise.
42759 (test_exceptions): Handle FE_OVERFLOW.
42760 (exp10_test): Expect overflow exceptions.
42761 (exp2_test): Likewise.
42762 (expm1_test): Likewise.
42763 (nextafter_test): Likewise.
42764 (pow_test): Likewise.
42765 (scalbn_test): Likewise.
42766 (scalbln_test): Likewise.
42767
95443d88
L
427682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42769
42770 * sysdeps/x86_64/bits/atomic.h
42771 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42772 64bit integer.
42773 (atomic_exchange_acq): Likewise.
42774 (__arch_exchange_and_add_body): Likewise.
42775 (__arch_add_body): Likewise.
42776 (atomic_add_negative): Likewise.
42777 (atomic_add_zero): Likewise.
42778
490df6c4
L
427792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42780
c2722551 42781 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42782 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42783
5e52b189
L
427842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42785
42786 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42787 Check __x86_64__ instead of __WORDSIZE.
42788
a9879d4c
L
427892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42790
42791 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42792
5df98260
DM
427932012-03-19 David S. Miller <davem@davemloft.net>
42794
e1497744
DM
42795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42796
5df98260
DM
42797 * sysdeps/sparc/fpu/fenv_private.h: New file.
42798 * sysdeps/sparc/fpu/math_private.h: Use it.
42799 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42800 Remove.
57f41c40 42801 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42802 (libc_feholdexcept_setroundl): Remove.
42803 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42804 Remove.
42805 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42806 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42807
b4c35121
L
428082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42809
42810 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42811 int64_t instead of long int.
42812 (INSERT_WORDS64): Likwise.
42813
56965fd7
L
428142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42815
42816 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42817 _Unwind_GetCFA return to _Unwind_Ptr first.
42818
83d1aec8
JM
428192012-03-19 Joseph Myers <joseph@codesourcery.com>
42820
1897ad44
JM
42821 [BZ #13629]
42822 * math/s_clog.c: Include <float.h>.
42823 (__clog): Scale large or subnormal inputs.
42824 * math/s_clogf.c: Likewise.
42825 * math/s_clogl.c: Likewise.
42826 * math/s_clog10.c: Include <float.h>.
42827 (M_LOG10_2): Define.
42828 (__clog10): Scale large or subnormal inputs.
42829 * math/s_clog10f.c: Likewise.
42830 * math/s_clog10l.c: Likewise.
42831 * math/libm-test.inc (clog_test): Add more tests.
42832 (clog10_test): Likewise.
42833 * sysdeps/i386/fpu/libm-test-ulps: Update.
42834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42835
7726d6a9
JM
42836 [BZ #11451]
42837 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42838 x and y.
42839 * math/libm-test.inc (atan2_test): Add another test.
42840
83d1aec8
JM
42841 * Makerules (common-objdir-compile): Remove.
42842 * sysdeps/unix/Makefile (config-generated): Do not add
42843 $(unix-generated) to variable.
42844 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42845 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42846 Remove rule.
42847 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42848 Likewise.
42849 [generic bits/local_lim.h] (before-compile): Do not append to
42850 variable.
42851 [generic bits/local_lim.h] (common-generated): Likewise.
42852 [generic sys/param.h] (before-compile): Do not append to variable.
42853 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42854 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42855 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42857 include.
42858 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42859 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42860 [generic sys/param.h] ($(addprefix
42861 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42862 [generic sys/param.h] (common-generated): Do not append to
42863 variable.
42864 [generic sys/param.h] (sysdep_headers): Likewise.
42865 [generic bits/errno.h] (before-compile): Do not append to
42866 variable.
42867 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42868 rule.
42869 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42870 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42871 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42872 [generic bits/errno.h] (common-generated): Do not append to
42873 variable.
42874 [generic bits/ioctls.h] (before-compile): Do not append to
42875 variable.
42876 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42877 rule.
42878 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42879 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42880 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42881 rule.
42882 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42883 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42884 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42885 [generic bits/ioctls.h] (common-generated): Do not append to
42886 variable.
42887 [generic sys/syscall.h] (syscall.h): Remove variable.
42888 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42889 rule.
42890 [generic sys/syscall.h] (before-compile): Do not append to
42891 variable.
42892 [generic sys/syscall.h] (common-generated): Likewise.
42893 * sysdeps/unix/errnos-tmpl.c: Remove file.
42894 * sysdeps/unix/errnos.awk: Likewise.
42895 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42896 * sysdeps/unix/ioctls.awk: Likewise.
42897 * sysdeps/unix/mk-local_lim.c: Likewise.
42898 * sysdeps/unix/snarf-ioctls: Likewise.
42899
4851a949
RH
429002012-03-19 Richard Henderson <rth@twiddle.net>
42901
bd37f2ee
RH
42902 * sysdeps/i386/fpu/fenv_private.h: New file.
42903 * sysdeps/i386/fpu/math_private.h: Use it.
42904 (math_opt_barrier, math_force_eval): Remove.
42905 (libc_feholdexcept_setround_53bit): Remove.
42906 (libc_feupdateenv_53bit): Remove.
42907 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42908 (math_opt_barrier, math_force_eval): Remove.
42909 (libc_feholdexcept): Remove.
42910 (libc_feholdexcept_setround): Remove.
42911 (libc_fetestexcept, libc_fesetenv): Remove.
42912 (libc_feupdateenv_test): Remove.
42913 (libc_feupdateenv, libc_feholdsetround): Remove.
42914 (libc_feresetround): Remove.
42915
d0adc922
RH
42916 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42917 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42918
0fe0f1f8
RH
42919 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42920 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42921 (libc_feupdateenv_testl): New.
42922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42923 (libc_feupdateenv_testf): New.
42924 (libc_feupdateenv): Use libc_feupdateenv_test.
42925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42926 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42927
eb92c487
RH
42928 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42929 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42930 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42931 (libc_feresetround_noex): New.
42932 (libc_feresetround_noexf): New.
42933 (libc_feresetround_noexl): New.
42934 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42935 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42936 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42937 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42938 SET_RESTORE_ROUND.
42939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42941 (__cos): Likewise.
42942 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42943 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42944 SET_RESTORE_ROUND_NOEX.
42945 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42946 SET_RESTORE_ROUND_NOEXF.
42947 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42948 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42949 (libc_feholdsetroundf): New.
42950 (libc_feresetround, libc_feresetroundf): New.
42951
7d2e8012
RH
42952 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42953 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42954 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42955
b4dabbb4
RH
42956 * sysdeps/generic/math_private.h: Include <fenv.h>.
42957 (default_libc_feholdexcept): New.
42958 (default_libc_feholdexcept_setround): New.
42959 (default_libc_fesetenv, default_libc_feupdateenv): New.
42960 (libc_feholdexcept): Only define if undefined.
42961 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42962 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42963 (libc_feholdexcept_setroundl): Likewise.
42964 (libc_feholdexcept_setround_53bit): Likewise.
42965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42966 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42967 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42968 (libc_feupdateenv_53bit): Likewise.
42969 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42970 (libc_feholdexcept): Convert from macro to inline function.
42971 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42972 (libc_fesetenv, libc_feupdateenv): Likewise.
42973
4851a949
RH
42974 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42975 not previously defined.
42976 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42977 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42978 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42979 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42980 * sysdeps/ieee754/flt-32/math_private.h: New file.
42981 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42982 math_private.h below SET_FLOAT_WORD.
42983 (__isnan, __isinf_ns, __finite): Remove.
42984 (__isnanf, __isinf_nsf, __finitef): Remove.
42985
e79d442e
AS
429862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42987
42988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42989
90b80344
DM
429902012-03-17 David S. Miller <davem@davemloft.net>
42991
42992 [BZ #6471]
42993 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42994 for 2.16.
42995
edc21804
DM
429962012-03-16 David S. Miller <davem@davemloft.net>
42997
77e927af
DM
42998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42999 warnings.
43000
374976dd
DM
43001 [BZ #6471]
43002 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43003 properly.
43004 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43005 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43006 sysdep_routines when subdir is sysvipc.
43007 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43008 __getshmlba helper.
43009
edc21804
DM
43010 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43011
473c3ef3
L
430122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43013
43014 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43015 [__LP64__].
43016
eb0f39b6
L
430172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43018
43019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43020 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43021 (__lround): Renamed to ...
43022 (__llround): This. Replace long int with long long int.
43023 Define lround functions as aliases of llround functions.
43024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43025
6b6cd74b
L
430262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43027
43028 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43029 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43030 adresses to uintptr_t. Replace "long int" and "unsigned long
43031 int" with "greg_t" on va_arg.
43032
f1a77b01
L
430332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43034
43035 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43036 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43037
43038 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43039 Move e_machine check before EI_CLASS check. Handle x32
43040 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43041 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43042 SKIP_EM_IA_64 and include
43043 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43044
43045 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43046 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43047 (add_system_dir): New macro.
43048
43049 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43050 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43051
11b90b9f
JM
430522012-03-16 Joseph Myers <joseph@codesourcery.com>
43053
c36e1d23
JM
43054 [BZ #2551]
43055 [BZ #2552]
43056 [BZ #2553]
43057 [BZ #2554]
43058 [BZ #2562]
43059 [BZ #2563]
43060 [BZ #2565]
43061 [BZ #2566]
43062 [BZ #2576]
43063 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43064 (y0): Likewise.
43065 * math/w_j0f.c (j0f): Likewise.
43066 (y0f): Likewise.
43067 * math/w_j0l.c (__j0l): Likewise.
43068 (__y0l): Likewise.
43069 * math/w_j1.c (j1): Likewise.
43070 (y1): Likewise.
43071 * math/w_j1f.c (j1f): Likewise.
43072 (y1f): Likewise.
43073 * math/w_j1l.c (__j1l): Likewise.
43074 (__y1l): Likewise.
43075 * math/w_jn.c (jn): Likewise.
43076 (yn): Likewise.
43077 * math/w_jnf.c (jnf): Likewise.
43078 (ynf): Likewise.
43079 * math/w_jnl.c (__jnl): Likewise.
43080 (__ynl): Likewise.
43081 * math/libm-test.inc (j0_test): Add more tests.
43082 (j1_test): Likewise.
43083 (jn_test): Likewise. Add trailing semicolon to existing test.
43084 (y0_test): Likewise.
43085 (y1_test): Likewise.
43086 * sysdeps/i386/fpu/libm-test-ulps: Update.
43087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43088
11b90b9f
JM
43089 [BZ #13851]
43090 [BZ #13854]
43091 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43092 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43093 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43095 (__tanl): Set errno for infinite argument.
43096 * sysdeps/i386/fpu/mptan.c: Remove.
43097 * sysdeps/i386/fpu/s_tan.S: Likewise.
43098 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43099 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43100 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43101 * math/libm-test.inc (tan_test): Add more tests and enable more
43102 tests for double and long double.
43103 * sysdeps/i386/fpu/libm-test-ulps: Update.
43104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43105
6a1bd2a1
JK
431062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43107
43108 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43109 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43110
10a803e0
RM
431112012-03-16 Roland McGrath <roland@hack.frob.com>
43112
43113 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43114 * configure.in: Use it for both main tree and add-ons.
43115 * configure: Regenerated.
43116
f196c7f7
L
431172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43118
43119 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43120
8848d99d
JM
431212012-03-16 Joseph Myers <joseph@codesourcery.com>
43122
96cbe7f4
JM
43123 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43124 in comment.
43125
8848d99d
JM
43126 [BZ #13851]
43127 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43128 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43132 infinite argument.
43133 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43135 != 0 for prec == 2.
43136 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43137 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43138 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43139 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43140 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43141 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43142 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43143 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43144 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43145 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43146 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43147 * math/libm-test.inc (cos_test): Add more tests and enable more
43148 tests for long double.
43149 (sin_test): Likewise.
43150 (sincos_test): Likewise.
43151 * sysdeps/i386/fpu/libm-test-ulps: Update.
43152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43153
dd7f4703
DM
431542012-03-16 David S. Miller <davem@davemloft.net>
43155
43156 * sysdeps/sparc/fpu/math_private.h: New file.
43157
006f1daa
DM
431582012-03-15 David S. Miller <davem@davemloft.net>
43159
c0c83bc8
DM
43160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43161 file.
e6a62e18 43162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43164 file.
e6a62e18
DM
43165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43171 sysdep routines.
43172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43173
88cb87d9
DM
43174 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43175 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43176
006f1daa 43177 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43179 sparc-ifunc.h
006f1daa 43180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43182 Likewise.
43183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43184 Likewise.
006f1daa
DM
43185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43189 Likewise.
006f1daa
DM
43190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43195 Likewise.
43196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43197 Likewise.
006f1daa
DM
43198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43222
11e0098e
AS
432232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43224
43225 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43226 scaling.
43227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43228
e85b09d0
AJ
432292012-03-15 Andreas Jaeger <aj@suse.de>
43230
43231 [BZ #13852]
43232 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43233 ieee754/flt-32 implementation for sin, cos and sincos.
43234 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43235 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43236 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43237 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43238 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43239 ieee754/flt-32 implementation for tan.
43240
43241 * math/libm-test.inc (cos_test): Enable some large input tests for
43242 float as well
43243 (sin_test): Likewise.
43244 (sincos_test): Likewise.
43245 (tan_test): Add tests for large input.
43246
43247 * sysdeps/i386/fpu/libm-test-ulps: Update.
43248
81c64153
AJ
432492012-03-15 Andreas Jaeger <aj@suse.de>
43250
43251 [BZ #13658]
43252 * math/libm-test.inc (cos_test): Add more test cases.
43253 (sin_test): Likewise.
43254 (sincos_test): Likewise.
43255
7bbfa5c6
AJ
432562012-03-15 Andreas Jaeger <aj@suse.de>
43257
43258 [BZ #13837]
43259 * math/libm-test.inc (cos_test): Add a test case for large input
43260 value.
43261 (sin_test): Likewise.
43262 (sincos_test): Likewise.
43263
57f41c40
AS
432642012-03-15 Andreas Jaeger <aj@suse.de>
43265 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43266
43267 [BZ #13658]
0671f479 43268 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43269 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43270 * sysdeps/i386/fpu/branred.c: Likewise.
43271 * sysdeps/i386/fpu/dosincos.c: Likewise.
43272 * sysdeps/i386/fpu/mpa.c: Likewise.
43273 * sysdeps/i386/fpu/s_cos.S: Likewise.
43274 * sysdeps/i386/fpu/s_sin.S: Likewise.
43275 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43276 * sysdeps/i386/fpu/sincos32.c: Likewise.
43277
43278 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43279 Define.
43280 (libc_feupdateenv_53bit): Define.
43281 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43282 Define.
43283 (libc_feupdateenv_53bit): Define.
43284
43285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43286 53 bit (without extend i386 double precision).
43287
43288 * math/libm-test.inc (sincos_test): Add tests for large input.
43289 (sin): Likewise.
43290 (cos): Likewise.
43291
43292 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43293
9cad04ea
AS
432942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43295
43296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43297
f7062b9a
DM
432982012-03-15 David S. Miller <davem@davemloft.net>
43299
43300 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43301 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43302 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43303 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43316 file.
f7062b9a 43317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43319 file.
f7062b9a 43320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43322 file.
f7062b9a 43323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43325 file.
f7062b9a
DM
43326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43328 fmin/fmax sysdep routines.
43329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43330
7bd951ff
DM
433312012-03-14 David S. Miller <davem@davemloft.net>
43332
559398ab
DM
43333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43362 routines.
43363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43364 file.
559398ab 43365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43367 file.
559398ab 43368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43370 file.
559398ab 43371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43373 file.
559398ab 43374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43376 file.
559398ab 43377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43379 file.
43380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43381 file.
43382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43383 file.
43384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43385 file.
43386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43387 New file.
43388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43389 file.
43390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43391 file.
559398ab 43392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43394 file.
559398ab 43395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43397 file.
559398ab 43398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43400 file.
559398ab 43401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43403 VIS3 routines.
559398ab
DM
43404
43405 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43406 New file.
43407
5a1c1e32
DM
43408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43409
eae47a36
DM
43410 * sysdeps/sparc/configure.in: New file.
43411 * sysdeps/sparc/configure: Generate.
43412 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43413 * configure: Regenerate.
43414 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43415 * config.make.in (have-as-vis3): New.
43416 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43417 available use -Av9d instead of -Av9a.
43418 * sysdeps/sparc/sparc64/Makefile: Likewise.
43419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43421 New file.
43422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43423 file.
43424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43425 New file.
43426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43427 file.
eae47a36
DM
43428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43433
c0c83bc8
DM
43434 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43435 fzeros/fnegs to load 0x80000000 into a float register instead of
43436 using the stack.
7bd951ff
DM
43437 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43438
bd951ccb
JM
434392012-03-14 Joseph Myers <joseph@codesourcery.com>
43440
43441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43442 bits/syscall.h.
43443 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43444 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43445 ($(inst_includedir)/bits/syscall.h): Remove rule.
43446 ($(objpfx)bits/syscall.d): Include instead of
43447 $(objpfx)syscall-list.d.
43448 (generated): Change syscall-list.h and syscall-list.d to
43449 bits/syscall.h and bits/syscall.d.
43450
bb4e6db2
RM
434512012-03-14 Roland McGrath <roland@hack.frob.com>
43452
43453 [BZ #13846]
43454 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43455
aa4a2ae1
JM
434562012-03-14 Joseph Myers <joseph@codesourcery.com>
43457
e456826d
JM
43458 [BZ #13841]
43459 * math/s_csqrt.c: Include <float.h>.
43460 (__csqrt): Scale large or subnormal inputs.
43461 * math/s_csqrtf.c: Likewise.
43462 * math/s_csqrtl.c: Likewise.
43463 * math/libm-test.inc (csqrt_test): Add more tests.
43464 * sysdeps/i386/fpu/libm-test-ulps: Update.
43465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43466
aa4a2ae1
JM
43467 [BZ #13840]
43468 * math/libm-test.inc (hypot_test): Add more tests.
43469
7c10fd35
DM
434702012-03-13 David S. Miller <davem@davemloft.net>
43471
43472 [BZ #13840]
43473 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43474 double-precision for the calculation instead of scaling.
43475
f453b98b
JM
434762012-03-13 Joseph Myers <joseph@codesourcery.com>
43477
43478 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43479 manipulate bits before adding and subtracting TWO52[sx].
43480 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43482 Likewise.
43483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43484
09a3453f
DM
434852012-03-13 David S. Miller <davem@davemloft.net>
43486
8e59da90
DM
43487 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43488 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43490 rtld-global-offsets.h
43491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43492
2a8ab7f2
DM
43493 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43494 large parameters.
43495
10f62770
DM
43496 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43497
5f0bdb18
DM
43498 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43499 'err' in the ifdef scope in which it is actually used.
43500
09a3453f
DM
43501 * nss/nss_db/db-init.c: Include string.h
43502
b4b2eb5e
DM
435032012-03-12 David S. Miller <davem@davemloft.net>
43504
98bb2f1c
DM
43505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43506 masking out of the most significant byte of random value used.
43507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43508 Fix coding style in previous change.
43509
b4b2eb5e
DM
43510 * sysdeps/unix/sysv/linux/kernel-features.h
43511 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43512 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43513 expression.
43514 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43515 later.
43516
6e226b09
DM
435172012-03-11 David S. Miller <davem@davemloft.net>
43518
a1bcbd40
DM
43519 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43520 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43522 for 'resultvar' otherwise things get truncated on 64-bit.
43523
cb9d6174
DM
43524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43525 Fix masking out of the most significant byte of random value used.
43526
6e226b09
DM
43527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43528
058c132d
AS
435292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43530
43531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43532
2d2cd515
DM
435332012-03-09 David S. Miller <davem@davemloft.net>
43534
43535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43536 variables with appropriate CPP guards.
57f41c40
AS
43537 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43538 from the frame pointer, not the stack pointer. Correct layout
43539 comments. Fix test on resulting framesize and the management of
43540 the outregs buffer for pltexit. Preserve floating point return
43541 values across _dl_call_pltexit call.
2d2cd515
DM
43542 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43543 framesize and the management of the outregs buffer for pltexit.
43544 Preserve floating point return values across _dl_call_pltexit
43545 call.
57f41c40
AS
43546 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43547 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43548 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43549 (print_exit): Fix format string for return register value.
43550
9a07f9d0
JM
435512012-03-10 Joseph Myers <joseph@codesourcery.com>
43552
43553 * sunrpc/Makefile (others): Add rpcgen.
43554 ($(objpfx)rpcgen): Remove special build rule and dependency on
43555 libc.
43556 * sunrpc/rpcgen.c: New file.
43557
547b5e30
PE
435582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43559
c524201a
PE
43560 [BZ #13673]
43561 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43562 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43563 * sysdeps/i386/crti.S: Likewise.
43564 * sysdeps/i386/crtn.S: Likewise.
43565 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43566 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43567 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43568 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43569 * sysdeps/sh/crti.S: Likewise.
43570 * sysdeps/sh/crtn.S: Likewise.
43571 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43572
7b6235f2
PE
43573 [BZ #13673]
43574 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43575 with URL.
43576 * locale/programs/locfile-kw.gperf: Likewise.
43577 * locale/programs/charmap-kw.h: Regenerated.
43578 * locale/programs/locfile-kw.h: Likewise.
43579
547b5e30
PE
43580 [BZ #13673]
43581 * intl/plural.y: Replace FSF snail mail address with URL.
43582 * intl/plural.c: Regenerated.
43583
5f0a5dae
RH
435842012-03-09 Richard Henderson <rth@twiddle.net>
43585
43586 * include/math_private.h: Remove file.
43587 * math/math_private.h: Move file ...
43588 * sysdeps/generic/math_private.h: ... here.
43589
b8c03620
RH
43590 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43591 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43592 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43593
4e234f5d 43594 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43595 and <math_private.h>.
43596 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43597 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43598 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43599 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43600 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43601 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43602 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43607 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43608 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43610 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43620 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43621 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43622 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43626 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43628 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43629 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43630 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43631 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43633 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43634 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43636 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43637 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43638 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43639 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43640 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43641 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43642 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43643 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43644 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43645 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43653 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43655 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43657 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43659 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43660 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43661 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43662 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43663 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43664 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43676 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43678 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43683 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43684 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43687 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43689 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43690 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43691 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43693 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43696 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43697 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43698 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43699 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43701 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43702 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43703 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43704 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43706 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43707 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43708 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43710 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43711 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43712 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43713 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43714 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43715 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43716 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43717 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43718 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43719 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43723 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43724 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43725 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43726 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43727 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43729 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43730 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43731 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43732 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43733 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43734 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43736 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43737 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43738 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43739 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43740 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43742 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43743 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43744 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43745 * sysdeps/ieee754/k_standard.c: Likewise.
43746 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43747 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43749 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43751 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43752 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43762 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43763 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43764 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43765 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43766 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43767 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43768 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43769 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43770 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43771 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43776 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43777 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43778 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43779 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43780 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43781 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43783 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43784 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43785 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43786 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43787 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43788 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43789 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43790 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43791 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43792 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43797 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43798 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43799 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43802 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43803 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43804 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43805 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43806 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43807 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43808 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43823 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43827 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43828 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43831 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43836 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43842 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43847 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43850 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43855 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43858 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43859 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43860 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43861 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43865 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43867 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43868 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43869 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43873 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43878 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43882 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43885 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43886 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43888 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43889 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43890 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43895 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43896 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43899 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43901 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43902 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43903 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43905 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43906 * sysdeps/ieee754/s_lib_version.c: Likewise.
43907 * sysdeps/ieee754/s_matherr.c: Likewise.
43908 * sysdeps/ieee754/s_signgam.c: Likewise.
43909 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43910 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43911 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43912 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43913 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43914 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43915 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43916 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43917 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43918 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43919 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43920 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43921 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43922 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43923 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43924 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43925 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43926 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43930
1991fa03
JM
439312012-03-09 Joseph Myers <joseph@codesourcery.com>
43932
43933 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43934 * sunrpc/rpc_main.c: Likewise.
43935 * sunrpc/rpc_svcout.c: Likewise.
43936
60d6f5a6
DM
439372012-03-09 David S. Miller <davem@davemloft.net>
43938
43939 * include/math_private.h: New file.
43940
4962050e
JM
439412012-03-09 Joseph Myers <joseph@codesourcery.com>
43942
02a6f887
JM
43943 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43944 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43945 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43946 from <bits/socket_type.h>.
43947 (enum __socket_type): Don't define here.
43948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43950 bits/socket_type.h.
43951
c6e013c1
JM
43952 [BZ #13566]
43953 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43954 checking __USE_GNU.
43955
4962050e
JM
43956 * Makerules ($(inst_includedir)/%.h): New rule.
43957 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43958 (install-others): Remove variable setting.
43959 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43960
38842f45
RH
439612012-03-08 Richard Henderson <rth@twiddle.net>
43962
67bb6da6
RH
43963 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43964 from macro to inline function; merge with the
43965 !__LIBC_INTERNAL_MATH_INLINES version.
43966 (__ieee754_sqrtf): Likewise.
43967
15194b4b
RH
43968 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43969 to inline function.
43970 (__rintf, __floor, __floorf): Likewise.
43971
64e21ede
RH
43972 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43973 macro to inline function.
43974 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43975
38842f45
RH
43976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43977 not <math/math_private.h>.
43978
c64bf5fe
DM
439792012-03-08 David S. Miller <davem@davemloft.net>
43980
43981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43982 copyright year.
43983 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43984
82d86f28
TS
439852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43986
43987 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43988 normalization.
43989 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43990 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43991
aea5d727
UD
439922012-03-08 Ulrich Drepper <drepper@gmail.com>
43993
43994 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43995 be defined individually, they must be defined as a block. Define
43996 S for printing a string instead of hidint the different by using a
43997 macro for adding the 'l'.
43998 * stdio-common/tst-fphex-wide.c: Adjust.
43999
70bca0a3
MP
440002012-03-07 Marek Polacek <polacek@redhat.com>
44001
44002 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44003
65b81130
MP
440042012-03-08 Marek Polacek <polacek@redhat.com>
44005
44006 [BZ #13806]
44007 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44008 * stdio-common/tst-fphex.c: Define a few macros to make the
44009 test reusable. Use them.
44010 * stdio-common/tst-fphex-wide.c: New file.
44011
07037eeb
JM
440122012-03-08 Joseph Myers <joseph@codesourcery.com>
44013
a7a93d50
JM
44014 [BZ #6911]
44015 * manual/macros.texi (gnusystems): New macro.
44016 (nongnusystems): Likewise.
44017 (gnulinuxhurdsystems): Likewise.
44018 (gnuhurdsystems): Likewise..
44019 (gnulinuxsystems): Likewise.
44020 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44021 variants of the GNU system, not "GNU system".
44022 * manual/conf.texi: Likewise.
44023 * manual/errno.texi: Likewise. Update example of errno macro
44024 expansion.
44025 * manual/filesys.texi: Likewise.
44026 (getumask): Document as specific to GNU/Hurd.
44027 * manual/install.texi: Likewise. Reword some references to
44028 GNU/Linux.
44029 * manual/intro.texi: Likewise.
44030 * manual/io.texi: Likewise.
44031 (File Name Portability): Detail which constraints are inapplicable
44032 to all GNU systems and which are only inapplicable to GNU/Hurd.
44033 * manual/job.texi: Likewise.
44034 * manual/llio.texi: Likewise.
44035 (O_NOCTTY): Document as present on GNU/Linux.
44036 * manual/maint.texi: Likewise.
44037 * manual/memory.texi: Likewise.
44038 * manual/pattern.texi: Likewise.
44039 * manual/pipe.texi: Likewise.
44040 * manual/process.texi: Likewise.
44041 * manual/resource.texi: Likewise.
44042 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44043 child on GNU/Hurd.
44044 * manual/setjmp.texi: Likewise.
44045 * manual/signal.texi: Likewise.
44046 * manual/startup.texi: Likewise.
44047 * manual/stdio.texi: Likewise.
44048 * manual/terminal.texi: Likewise.
44049 (ONLCR): Document as POSIX.
44050 (OXTABS): Document availability on GNU/Linux as XTABS.
44051 (ONOEOT): Document availability separately from other bits.
44052 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44053 * manual/time.texi: Likewise.
44054 * manual/users.texi: Likewise.
44055 * INSTALL: Regenerated.
44056 * sysdeps/gnu/errlist.c: Regenerated.
44057
07037eeb
JM
44058 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44059 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44060 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44061 puts.
44062 * configure: Regenerated.
44063
d1d3431a
JM
440642012-03-07 Joseph Myers <joseph@codesourcery.com>
44065
af6a1e37
JM
44066 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44067 default includes instead of AC_HEADER_CHECK.
44068 * sysdeps/i386/configure: Regenerated.
44069
d1d3431a
JM
44070 [BZ #10716]
44071 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44072 * math/s_cacoshf.c (__cacoshf): Likewise.
44073 * math/s_cacoshl.c (__cacoshl): Likewise.
44074 * math/s_casinh.c (__casinh): Set signs of result from argument.
44075 * math/s_casinhf.c (__casinhf): Likewise.
44076 * math/s_casinhl.c (__casinhl): Likewise.
44077 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44078 (casinh_test): Add more tests.
44079 * sysdeps/i386/fpu/libm-test-ulps: Update.
44080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44081
482ff4da
UD
440822012-03-07 Ulrich Drepper <drepper@gmail.com>
44083
872fda05
UD
44084 * po/zh_TW.po: Update from translation team.
44085
a4300c7a
UD
44086 * login/Makefile (distribute): Remove variable.
44087 * catgets/Makefile: Likewise.
44088 * mach/Makefile: Likewise.
44089 * malloc/Makefile: Likewise.
44090 * misc/Makefile: Likewise.
44091 * iconv/Makefile: Likewise.
44092 * nscd/Makefile: Likewise.
44093 * hurd/Makefile: Likewise.
44094 * manual/Makefile: Likewise.
44095 * locale/Makefile: Likewise.
44096 * intl/Makefile: Likewise.
44097 * conform/Makefile: Likewise.
44098 * nss/Makefile: Likewise.
44099 * time/Makefile: Likewise.
44100 * soft-fp/Makefile: Likewise.
44101 * dirent/Makefile: Likewise.
44102 * gmon/Makefile: Likewise.
44103 * po/Makefile: Likewise.
44104 * rt/Makefile: Likewise.
44105 * socket/Makefile: Likewise.
44106 * math/Makefile: Likewise.
44107 * signal/Makefile: Likewise.
44108 * debug/Makefile: Likewise.
44109 * elf/Makefile: Likewise.
44110 * timezone/Makefile: Likewise.
44111 * stdlib/Makefile: Likewise.
44112 * iconvdata/Makefile: Likewise.
44113 * sunrpc/Makefile: Likewise.
44114 * io/Makefile: Likewise.
44115 * argp/Makefile: Likewise.
44116 * inet/Makefile: Likewise.
44117 * hesiod/Makefile: Likewise.
44118 * grp/Makefile: Likewise.
44119 * csu/Makefile: Likewise.
44120 * wctype/Makefile: Likewise.
44121 * crypt/Makefile: Likewise.
44122 * libio/Makefile: Likewise.
44123 * string/Makefile: Likewise.
44124 * nis/Makefile: Likewise.
44125 * resolv/Makefile: Likewise.
44126 * stdio-common/Makefile: Likewise.
44127 * wcsmbs/Makefile: Likewise.
44128 * dlfcn/Makefile: Likewise.
44129 * posix/Makefile: Likewise.
44130
3b7c4e74 44131 [BZ #6959]
482ff4da
UD
44132 * timezone/Makefile: Don't install timezone files, just the programs
44133 and scripts.
44134
f72ed77d
UD
441352012-03-06 Ulrich Drepper <drepper@gmail.com>
44136
a000466f
UD
44137 * nss/databases.def: Add missing gshadow entry.
44138
f72ed77d
UD
44139 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44140
a53b7a4e
MP
441412012-03-06 Marek Polacek <polacek@redhat.com>
44142
44143 [BZ #13726]
44144 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44145 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44146 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44147 * stdio-common/tst-long-dbl-fphex.c: New file.
44148
e9258400
DM
441492012-03-06 David S. Miller <davem@davemloft.net>
44150
44151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44152 (set_obp_int): New function.
44153 (get_obp_int): New function.
44154 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44155 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44156 Avoid unused variable warnings on 'val' and use builtin_expect.
44157 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44158 __builtin_expect.
e9258400
DM
44159 (INLINE_CLONE_SYSCALL): Likewise.
44160
3bd2c723
DM
441612012-03-05 David S. Miller <davem@davemloft.net>
44162
44163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44164
bbb78d03
AS
441652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44166
884c5db4
AS
44167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44168
bbb78d03
AS
44169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44170 only for |x| >= 40.
44171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44172
1c9f702a 441732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44174
44175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44176 Replace gettimeofday with __vdso_gettimeofday.
44177
7be16f82
RM
44178 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44179 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44180 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44181
44182 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44183 time with __vdso_time.
44184
ed58a00f
JM
441852012-03-05 Joseph Myers <joseph@codesourcery.com>
44186
44187 * manual/lang.texi (size_t): Note types to which size_t may be
44188 equivalent with the GNU C Library, but do not describe when
44189 differences between them are significant.
44190
30ee4ced
AJ
441912012-03-05 Andreas Jaeger <aj@suse.de>
44192
44193 * sysdeps/i386/fpu/libm-test-ulps: Update.
44194
b7cd39e8
JM
441952012-03-05 Joseph Myers <joseph@codesourcery.com>
44196
44197 [BZ #3976]
44198 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44199 (__ieee754_pow): Save and restore rounding mode and use
44200 round-to-nearest for main computations.
44201 * math/libm-test.inc (pow_test_tonearest): New function.
44202 (pow_test_towardzero): Likewise.
44203 (pow_test_downward): Likewise.
44204 (pow_test_upward): Likewise.
44205 (main): Call the new functions.
44206 * sysdeps/i386/fpu/libm-test-ulps: Update.
44207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44208
44209 [BZ #3976]
44210 * math/libm-test.inc (cosh_test_tonearest): New function.
44211 (cosh_test_towardzero): Likewise.
44212 (cosh_test_downward): Likewise.
44213 (cosh_test_upward): Likewise.
44214 (sinh_test_tonearest): Likewise.
44215 (sinh_test_towardzero): Likewise.
44216 (sinh_test_downward): Likewise.
44217 (sinh_test_upward): Likewise.
44218 (main): Call the new functions.
44219 * sysdeps/i386/fpu/libm-test-ulps: Update.
44220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44221
6c6a98c9
TV
442222012-03-05 Tom de Vries <tom@codesourcery.com>
44223
44224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44225 default stack guard is set in last bytes.
44226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44227
21bb2d2e 442282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44229
21bb2d2e 44230 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44231
21bb2d2e
AJ
44232 [BZ #13656]
44233 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44234 possibly allocate from heap instead of stack.
44235 * stdio-common/bug-vfprintf-nargs.c: New file.
44236 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44237
c6922934
AS
442382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44239
44240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44241
bc957d53
MP
442422012-03-03 Marek Polacek <polacek@redhat.com>
44243
44244 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44245 * math/math_private.h: Likewise.
44246 * stdlib/tst-strtod.c: Likewise.
44247 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44248 * sysdeps/x86_64/bits/atomic.h: Likewise.
44249
6358490d
DM
442502012-03-02 David S. Miller <davem@davemloft.net>
44251
44252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44256 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44257 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44258 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44259 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44260
01ae168d
RM
442612012-03-02 Roland McGrath <roland@hack.frob.com>
44262
d9a17c07
RM
44263 [BZ #13792]
44264 * manual/examples/README: New file, says the example source files
44265 can be used under GPL>=2.
44266 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44267 line containing just "*/".
44268 * manual/examples/add.c: Add copyright header (GPL>=2).
44269 * manual/examples/argp-ex1.c: Likewise.
44270 * manual/examples/argp-ex2.c: Likewise.
44271 * manual/examples/argp-ex3.c: Likewise.
44272 * manual/examples/argp-ex4.c: Likewise.
44273 * manual/examples/atexit.c: Likewise.
44274 * manual/examples/db.c: Likewise.
44275 * manual/examples/dir.c: Likewise.
44276 * manual/examples/dir2.c: Likewise.
44277 * manual/examples/execinfo.c: Likewise.
44278 * manual/examples/filecli.c: Likewise.
44279 * manual/examples/filesrv.c: Likewise.
44280 * manual/examples/fmtmsgexpl.c: Likewise.
44281 * manual/examples/genpass.c: Likewise.
44282 * manual/examples/inetcli.c: Likewise.
44283 * manual/examples/inetsrv.c: Likewise.
44284 * manual/examples/isockad.c: Likewise.
44285 * manual/examples/longopt.c: Likewise.
44286 * manual/examples/memopen.c: Likewise.
44287 * manual/examples/memstrm.c: Likewise.
44288 * manual/examples/mkfsock.c: Likewise.
44289 * manual/examples/mkisock.c: Likewise.
44290 * manual/examples/mygetpass.c: Likewise.
44291 * manual/examples/pipe.c: Likewise.
44292 * manual/examples/popen.c: Likewise.
44293 * manual/examples/rprintf.c: Likewise.
44294 * manual/examples/search.c: Likewise.
44295 * manual/examples/select.c: Likewise.
44296 * manual/examples/setjmp.c: Likewise.
44297 * manual/examples/sigh1.c: Likewise.
44298 * manual/examples/sigusr.c: Likewise.
44299 * manual/examples/stpcpy.c: Likewise.
44300 * manual/examples/strdupa.c: Likewise.
44301 * manual/examples/strftim.c: Likewise.
44302 * manual/examples/strncat.c: Likewise.
44303 * manual/examples/subopt.c: Likewise.
44304 * manual/examples/swapcontext.c: Likewise.
44305 * manual/examples/termios.c: Likewise.
44306 * manual/examples/testopt.c: Likewise.
44307 * manual/examples/testpass.c: Likewise.
44308 * manual/examples/timeval_subtract.c: Likewise.
44309
01ae168d
RM
44310 [BZ #13792]
44311 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44312 function to ...
44313 * manual/timeval_subtract.c.texi: ... here, new file.
44314
49efa33d
DM
443152012-03-02 David S. Miller <davem@davemloft.net>
44316
44317 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44318
28afd92d
JM
443192012-03-02 Joseph Myers <joseph@codesourcery.com>
44320
804360ed
JM
44321 [BZ #3976]
44322 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44323 (__sin): Save and restore rounding mode and use round-to-nearest
44324 for all computations.
44325 (__cos): Save and restore rounding mode and use round-to-nearest
44326 for all computations.
44327 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44328 <fenv.h>.
44329 (tan): Save and restore rounding mode and use round-to-nearest for
44330 all computations.
44331 * math/libm-test.inc (cos_test_tonearest): New function.
44332 (cos_test_towardzero): Likewise.
44333 (cos_test_downward): Likewise.
44334 (cos_test_upward): Likewise.
44335 (sin_test_tonearest): Likewise.
44336 (sin_test_towardzero): Likewise.
44337 (sin_test_downward): Likewise.
44338 (sin_test_upward): Likewise.
44339 (tan_test_tonearest): Likewise.
44340 (tan_test_towardzero): Likewise.
44341 (tan_test_downward): Likewise.
44342 (tan_test_upward): Likewise.
44343 (main): Call the new functions.
44344 * sysdeps/i386/fpu/libm-test-ulps: Update.
44345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44346
a6d06d7b
JM
44347 [BZ #10135]
44348 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44349 small n, then large n, before computing and testing k+n.
44350 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44352 Likewise.
44353 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44354 Likewise.
44355 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44356 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44357 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44358 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44361 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44362 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44363 * math/libm-test.inc (scalbn_test): Add more tests.
44364 (scalbln_test): Likewise.
44365
07e12bb3
JM
44366 * manual/filesys.texi (mode_t): Describe constraints on size and
44367 signedness, not exact equivalence to a particular type.
44368 (ino_t): Likewise.
44369 (ino64_t): Likewise.
44370 (dev_t): Likewise.
44371 (nlink_t): Likewise.
44372 (blkcnt_t): Likewise.
44373 (blkcnt64_t): Likewise.
44374 * manual/llio.texi (off_t): Likewise.
44375
28afd92d
JM
44376 [BZ #3976]
44377 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44378 (__ieee754_exp): Save and restore rounding mode and use
44379 round-to-nearest for all computations.
44380 * math/libm-test.inc (exp_test_tonearest): New function.
44381 (exp_test_towardzero): Likewise.
44382 (exp_test_downward): Likewise.
44383 (exp_test_upward): Likewise.
44384 (main): Call the new functions.
44385 * sysdeps/i386/fpu/libm-test-ulps: Update.
44386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44387
b1eeb65d
CD
443882012-03-01 Chris Demetriou <cgd@google.com>
44389
44390 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44391 have predictable order.
44392
53362a4b
DM
443932012-03-01 David S. Miller <davem@davemloft.net>
44394
3c969083
DM
44395 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44396
759707de
DM
44397 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44398 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44399 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44400 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44401
dfdb8ff2
DM
44402 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44403 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44404 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44406 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44407 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44408 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44409 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44410 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44411
ead89f96
DM
44412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44413
7f66bd07
DM
44414 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44415 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44416 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44417
53362a4b
DM
44418 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44419 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44420 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44421 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44422 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44425 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44426 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44427 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44428 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44434 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44435 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44436 * sysdeps/sparc/elf/configure: Regenerated.
44437
7b1902cb
JM
444382012-03-01 Joseph Myers <joseph@codesourcery.com>
44439
bec039bc
JM
44440 * configure.in (AS, LD): Require binutils 2.20 or later.
44441 * configure: Regenerated.
44442 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44443 as required minimum version.
44444 * INSTALL: Regenerated.
44445
7b1902cb
JM
44446 [BZ #2541]
44447 [BZ #4108]
44448 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44449 before squaring exponent.
44450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44451 bottom long double and 27 bits of top long double before squaring
44452 exponent.
44453 * math/libm-test.inc (erfc_test): Add more tests.
44454 * sysdeps/i386/fpu/libm-test-ulps: Update.
44455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44457
f775c276
KT
444582012-03-01 Kai Tietz <ktietz@redhat.com>
44459
44460 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44461 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44462 containing bit-fields.
44463 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44464 * soft-fp/single.h (_FP_UNION_S): Likewise.
44465 * soft-fp/double.h (_FP_UNION_D): Likewise.
44466
5b8a4d4a
JM
444672012-02-29 Joseph Myers <joseph@codesourcery.com>
44468
0bab47b6
JM
44469 [BZ #13786]
44470 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44471 not include ../strcmp.S.
44472 [USE_AS_STRNCASECMP_L]: Likewise.
44473 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44474 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44475 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44476 (__strncasecmp_l_ia32): Define as alias to
44477 __strncasecmp_l_nonascii.
44478
0fcad3e2
JM
44479 [BZ #5794]
44480 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44481 * sysdeps/i386/fpu/libm-test-ulps: Update.
44482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44483
5b8a4d4a
JM
44484 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44486
8fdceb2e
JL
444872012-02-29 Jeff Law <law@redhat.com>
44488
44489 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44490 out of bounds read.
44491
1f393a11
MP
444922012-02-29 Marek Polacek <polacek@redhat.com>
44493
44494 [BZ #13706]
44495 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44496 * elf/Makefile: Add rules to run tst-unused-dep.out.
44497
8847f037
DM
444982012-02-28 David S. Miller <davem@davemloft.net>
44499
44500 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44501 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44503 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44504 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44505 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44506
169d7f11
JM
445072012-02-29 Joseph Myers <joseph@codesourcery.com>
44508
44509 * math/libm-test.inc (llround_test): Move one test from
44510 lround_test. Use TEST_f_L in moved test.
44511 (lround_test): Move misplaced test to llround_test. Add testcase
44512 from bug 2561.
44513
39adf059
UD
445142012-02-28 Ulrich Drepper <drepper@gmail.com>
44515
44516 * sysdeps/x86_64/fpu/e_expf.S: New file.
44517 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44518
71b5d1c5
SB
445192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44520
44521 [BZ #13637]
44522 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44523 of remain_len that may cause incomplete multi-byte character and
44524 false match.
44525 * posix/bug-regex33.c: New file.
44526 * posix/Makefile (tests): Add bug-regex33.
44527
1f77f049
JM
445282012-02-28 Joseph Myers <joseph@codesourcery.com>
44529
44530 * manual/macros.texi: New file.
44531 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44532 * manual/libc.texinfo: Include macros.texi.
44533 * manual/creatute.texi: Likewise.
44534 * manual/install.texi: Likewise.
44535 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44536 @glibcadj{} in references to the GNU C Library.
44537 * manual/charset.texi: Likewise.
44538 * manual/conf.texi: Likewise.
44539 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44540 when not using those macros.
44541 * manual/creature.texi: Likewise.
44542 * manual/crypt.texi: Likewise.
44543 * manual/errno.texi: Likewise.
44544 * manual/filesys.texi: Likewise.
44545 * manual/header.texi: Likewise.
44546 * manual/install.texi: Likewise.
44547 * manual/intro.texi: Likewise.
44548 * manual/io.texi: Likewise.
44549 * manual/job.texi: Likewise.
44550 * manual/lang.texi: Likewise.
44551 * manual/libc.texiinfo: Likewise.
44552 * manual/llio.texi: Likewise.
44553 * manual/locale.texi: Likewise.
44554 * manual/maint.texi: Likewise.
44555 * manual/math.texi: Likewise.
44556 * manual/memory.texi: Likewise.
44557 * manual/message.texi: Likewise.
44558 * manual/nss.texi: Likewise.
44559 * manual/pattern.texi: Likewise.
44560 * manual/process.texi: Likewise.
44561 * manual/resource.texi: Likewise.
44562 * manual/search.texi: Likewise.
44563 * manual/setjmp.texi: Likewise.
44564 * manual/signal.texi: Likewise.
44565 * manual/socket.texi: Likewise.
44566 * manual/startup.texi: Likewise.
44567 * manual/stdio.texi: Likewise.
44568 * manual/string.texi: Likewise.
44569 * manual/sysinfo.texi: Likewise.
44570 * manual/syslog.texi: Likewise.
44571 * manual/terminal.texi: Likewise.
44572 * manual/time.texi: Likewise.
44573 * manual/users.texi: Likewise.
44574 * INSTALL: Regenerated.
44575 * NOTES: Regenerated.
d40c5d54 44576 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44577
450bf206
AS
445782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44579
44580 * include/dirent.h: Include <dirstream.h> before
44581 <dirent/dirent.h>.
44582
741a235b
DM
445832012-02-28 David S. Miller <davem@davemloft.net>
44584
44585 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44586 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44587 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44588 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44589
d6b5aa58
DM
445902012-02-27 David S. Miller <davem@davemloft.net>
44591
1aff59a3
DM
44592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44594 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44595 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44596
d6b5aa58
DM
44597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44598 frame pointer instead of stack pointer relative arg slot.
44599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44602
433f48bf
CD
446032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44604
44605 [BZ #3992]
44606 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44607
d674b76d
DM
446082012-02-27 David S. Miller <davem@davemloft.net>
44609
44610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44616 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44618
0e7727f7
JM
446192012-02-27 Joseph Myers <joseph@codesourcery.com>
44620
44621 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44622 later. Allow versions 5-9.
43be4ca2 44623 * configure: Regenerated.
0e7727f7
JM
44624 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44625 required minimum version and 4.6 as recommended version. Do not
44626 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44627 * INSTALL: Regenerated.
0e7727f7 44628
a78bc654
DM
446292012-02-27 David S. Miller <davem@davemloft.net>
44630
428d5830
DM
44631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44637 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44639
a78bc654
DM
44640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44641 manipulate bits before adding and subtracting TWO112[sx].
44642 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44643
4579f81c
RM
446442012-02-27 Roland McGrath <roland@hack.frob.com>
44645
36c8acb4
RM
44646 [BZ #13775]
44647 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44648 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44649 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44650 being in POSIX, because they are in 1003.1-2008.
44651
84ad622b
RM
44652 * rt/tst-aio.c: Include <fcntl.h>.
44653 * rt/tst-aio7.c: Likewise.
44654 * rt/tst-aio64.c: Likewise.
44655
4579f81c
RM
44656 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44657
abd923db
JM
446582012-02-27 Joseph Myers <joseph@codesourcery.com>
44659
44660 * manual/install.texi (--with-headers): Describe headers as
44661 interface headers, not private headers.
44662 (Specific advice for GNU/Linux systems): Describe use of headers
44663 from "make headers_install", not private headers from older
44664 kernels.
43be4ca2 44665 * INSTALL: Regenerated.
abd923db
JM
44666 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44667 Change to 2.6.19.
44668 * sysdeps/unix/sysv/linux/configure: Regenerated.
44669
6664049b
JM
44670 * manual/llio.texi (fclean): Remove documentation.
44671
bb8b6697
JM
44672 * manual/Makefile (libc-texi-generated): New variable. Include
44673 version.texi.
44674 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44675 $(libc-texi-generated), not duplicated list of files.
44676 (version.texi, stamp-version): New rules.
44677 (realclean): Remove $(libc-texi-generated), not individual files
44678 from that list. Do not remove dir-add.texinfo.
44679 * manual/libc.texinfo: Comment out uses of edition numbers and
44680 references to printed manual. Remove last-updated dates.
44681 (EDITION): Comment out.
44682 (ISBN): Likewise.
44683 (VERSION, UPDATED): Remove.
44684 (version.texi): Include.
44685
12e5c3b9
AS
446862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44687
44688 * sysdeps/posix/spawni.c: Include <signal.h>.
44689 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44690 * sysdeps/pthread/aio_fsync.c: Likewise.
44691
4efeffc1 446922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44693
ba63ba08
UD
44694 * conform/Makefile (tests): Run only when not cross-compiling and
44695 when fast-check is not defined.
44696
d94a4670
UD
44697 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44698 * conform/data/limits.h-data: Fixes for POSIX2008.
44699 * conform/run-conformtest.sh: Run all tests.
44700 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44701 headers.
44702 * include/bits/dlfcn.h: Likewise.
44703 * include/langinfo.h: Likewise.
44704 * include/monetary.h: Likewise.
44705 * include/sys/poll.h: Likewise.
44706
44707 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44708 for __USE_GNU.
44709 * posix/spawn.h: Define __need_sigset_t.
44710 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44711 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44712 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44713 to get sigevent_t only.
44714 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44715 only for __USE_GNU.
44716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44717 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44718 process_vm_writev only for __USE_GNU.
44719 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44720
44721 * conform/Makefile: For now ignore errors from run-conformtest.
44722 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44723 POSIX to avoid namespace pollution. Don't prepend headers.
44724 * conform/data/aio.h-data: Fixes for POSIX testing.
44725 * conform/data/fcntl.h-data: Likewise.
44726 * conform/data/glob.h-data: Likewise.
44727 * conform/data/grp.h-data: Likewise.
44728 * conform/data/pthread.h-data: Likewise.
44729 * conform/data/pwd.h-data: Likewise.
44730 * conform/data/signal.h-data: Likewise.
44731 * conform/data/spawn.h-data: Likewise.
44732 * conform/data/stdio.h-data: Likewise.
44733 * conform/data/stdlib.h-data: Likewise.
44734 * conform/data/stropts.h-data: Likewise.
44735 * conform/data/sys/mman.h-data: Likewise.
44736 * conform/data/sys/stat.h-data: Likewise.
44737 * conform/data/sys/types.h-data: Likewise.
44738 * conform/data/sys/wait.h-data: Likewise.
44739 * conform/data/time.h-data: Likewise.
44740 * conform/data/unistd.h-data: Likewise.
44741 * conform/data/utime.h-data: Likewise.
44742
44743 * io/sys/stat.h: fchmod was always in POSIX.
44744 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44745 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44746 * rt/aio.h: Define __need_timespec before including <time.h>.
44747 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44748 struct. Add forward declaration of pthread_attr_t and use it in
44749 sigevent.
44750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44751 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44752 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44753 always remove CLK_TCK definition.
44754
c20105c3
AS
447552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44756
44757 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44758
7a270350
UD
447592012-02-25 Ulrich Drepper <drepper@gmail.com>
44760
31341567
UD
44761 * conform/run-conformtest.sh: New file.
44762 * conform/Makefile: Run run-conformtest for tests.
44763 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44764 support.
44765
44766 * conform/data/uchar.h-data: New file.
44767 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44768 * conform/data/arpa/inet.h-data: Likewise.
44769 * conform/data/assert.h-data: Likewise.
44770 * conform/data/complex.h-data: Likewise.
44771 * conform/data/cpio.h-data: Likewise.
44772 * conform/data/ctype.h-data: Likewise.
44773 * conform/data/dirent.h-data: Likewise.
44774 * conform/data/dlfcn.h-data: Likewise.
44775 * conform/data/errno.h-data: Likewise.
44776 * conform/data/fcntl.h-data: Likewise.
44777 * conform/data/float.h-data: Likewise.
44778 * conform/data/fmtmsg.h-data: Likewise.
44779 * conform/data/fnmatch.h-data: Likewise.
44780 * conform/data/ftw.h-data: Likewise.
44781 * conform/data/glob.h-data: Likewise.
44782 * conform/data/grp.h-data: Likewise.
44783 * conform/data/iconv.h-data: Likewise.
44784 * conform/data/inttypes.h-data: Likewise.
44785 * conform/data/langinfo.h-data: Likewise.
44786 * conform/data/libgen.h-data: Likewise.
44787 * conform/data/limits.h-data: Likewise.
44788 * conform/data/locale.h-data: Likewise.
44789 * conform/data/math.h-data: Likewise.
44790 * conform/data/monetary.h-data: Likewise.
44791 * conform/data/mqueue.h-data: Likewise.
44792 * conform/data/ndbm.h-data: Likewise.
44793 * conform/data/net/if.h-data: Likewise.
44794 * conform/data/netdb.h-data: Likewise.
44795 * conform/data/netinet/in.h-data: Likewise.
44796 * conform/data/nl_types.h-data: Likewise.
44797 * conform/data/poll.h-data: Likewise.
44798 * conform/data/pthread.h-data: Likewise.
44799 * conform/data/pwd.h-data: Likewise.
44800 * conform/data/regex.h-data: Likewise.
44801 * conform/data/sched.h-data: Likewise.
44802 * conform/data/search.h-data: Likewise.
44803 * conform/data/semaphore.h-data: Likewise.
44804 * conform/data/setjmp.h-data: Likewise.
44805 * conform/data/signal.h-data: Likewise.
44806 * conform/data/spawn.h-data: Likewise.
44807 * conform/data/stdarg.h-data: Likewise.
44808 * conform/data/stdio.h-data: Likewise.
44809 * conform/data/stdlib.h-data: Likewise.
44810 * conform/data/string.h-data: Likewise.
44811 * conform/data/strings.h-data: Likewise.
44812 * conform/data/stropts.h-data: Likewise.
44813 * conform/data/sys/ipc.h-data: Likewise.
44814 * conform/data/sys/mman.h-data: Likewise.
44815 * conform/data/sys/msg.h-data: Likewise.
44816 * conform/data/sys/resource.h-data: Likewise.
44817 * conform/data/sys/select.h-data: Likewise.
44818 * conform/data/sys/sem.h-data: Likewise.
44819 * conform/data/sys/shm.h-data: Likewise.
44820 * conform/data/sys/socket.h-data: Likewise.
44821 * conform/data/sys/stat.h-data: Likewise.
44822 * conform/data/sys/statvfs.h-data: Likewise.
44823 * conform/data/sys/time.h-data: Likewise.
44824 * conform/data/sys/timeb.h-data: Likewise.
44825 * conform/data/sys/times.h-data: Likewise.
44826 * conform/data/sys/types.h-data: Likewise.
44827 * conform/data/sys/uio.h-data: Likewise.
44828 * conform/data/sys/un.h-data: Likewise.
44829 * conform/data/sys/utsname.h-data: Likewise.
44830 * conform/data/sys/wait.h-data: Likewise.
44831 * conform/data/syslog.h-data: Likewise.
44832 * conform/data/tar.h-data: Likewise.
44833 * conform/data/termios.h-data: Likewise.
44834 * conform/data/utime.h-data: Likewise.
44835 * conform/data/utmpx.h-data: Likewise.
44836 * conform/data/varargs.h-data: Likewise.
44837 * conform/data/wchar.h-data: Likewise.
44838 * conform/data/wctype.h-data: Likewise.
44839 * conform/data/wordexp.h-data: Likewise.
44840
44841 * include/stropts.h: New file.
44842 * include/uchar.h: New file.
44843 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44844 * include/assert.h: Likewise.
44845 * include/ctype.h: Likewise.
44846 * include/dirent.h: Likewise.
44847 * include/dlfcn.h: Likewise.
44848 * include/fcntl.h: Likewise.
44849 * include/fnmatch.h: Likewise.
44850 * include/glob.h: Likewise.
44851 * include/grp.h: Likewise.
44852 * include/libio.h: Likewise.
44853 * include/locale.h: Likewise.
44854 * include/math.h: Likewise.
44855 * include/net/if.h: Likewise.
44856 * include/netdb.h: Likewise.
44857 * include/netinet/in.h: Likewise.
44858 * include/pthread.h: Likewise.
44859 * include/pwd.h: Likewise.
44860 * include/regex.h: Likewise.
44861 * include/sched.h: Likewise.
44862 * include/search.h: Likewise.
44863 * include/setjmp.h: Likewise.
44864 * include/signal.h: Likewise.
44865 * include/stdio.h: Likewise.
44866 * include/stdlib.h: Likewise.
44867 * include/string.h: Likewise.
44868 * include/sys/cdefs.h: Likewise.
44869 * include/sys/mman.h: Likewise.
44870 * include/sys/msg.h: Likewise.
44871 * include/sys/resource.h: Likewise.
44872 * include/sys/select.h: Likewise.
44873 * include/sys/socket.h: Likewise.
44874 * include/sys/stat.h: Likewise.
44875 * include/sys/statvfs.h: Likewise.
44876 * include/sys/time.h: Likewise.
44877 * include/sys/times.h: Likewise.
44878 * include/sys/uio.h: Likewise.
44879 * include/sys/utsname.h: Likewise.
44880 * include/sys/wait.h: Likewise.
44881 * include/termios.h: Likewise.
44882 * include/time.h: Likewise.
44883 * include/ulimit.h: Likewise.
44884 * include/unistd.h: Likewise.
44885 * include/utime.h: Likewise.
44886 * include/wchar.h: Likewise.
44887 * include/wctype.h: Likewise.
44888 * include/wordexp.h: Likewise.
44889
44890 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44891
7a270350
UD
44892 * time/time.h: TIME_UTC must be a macro.
44893 Make timespec_get available for ISO C11 only as well.
44894
7724defc
UD
448952012-02-24 Ulrich Drepper <drepper@gmail.com>
44896
44897 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44898 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44899
6b1d1d46
JM
449002012-02-24 Joseph Myers <joseph@codesourcery.com>
44901
44902 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44903
0f8bbd69
JM
449042012-02-24 Joseph Myers <joseph@codesourcery.com>
44905
44906 * manual/texinfo.tex: Update to version 2012-01-19.16.
44907
66ab80bc
JM
449082012-02-24 Joseph Myers <joseph@codesourcery.com>
44909
44910 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44911
74981cc5
RM
449122012-02-24 Roland McGrath <roland@hack.frob.com>
44913
ee968201
RM
44914 [BZ #13738]
44915 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44916 * manual/fdl-1.3.texi: New file.
44917 * manual/fdl-1.1.texi: File removed.
44918
74981cc5
RM
44919 [BZ #13738]
44920 * manual/libc.texinfo (FDL_VERSION): New @set.
44921 Use it for mention of FDL in cover text.
44922 (Documentation License): Use it in @include file name.
44923
7bb764bc
JM
449242012-02-22 Joseph Myers <joseph@codesourcery.com>
44925 Roland McGrath <roland@hack.frob.com>
44926
44927 [BZ #5461]
57f41c40
AS
44928 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44929 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44930 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44931 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44932 name.
44933 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44934
6cbeae47
JM
449352012-02-22 Joseph Myers <joseph@codesourcery.com>
44936
44937 [BZ #2547]
44938 [BZ #11365]
44939 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44940 manipulate bits before adding and subtracting TWO23[sx].
44941 * math/libm-test.inc (nearbyint_test): Add more tests.
44942
fe45ce09
JM
449432012-02-22 Joseph Myers <joseph@codesourcery.com>
44944
44945 [BZ #2548]
44946 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44947 bits before adding and subtracting TWO23[sx].
44948 * math/libm-test.inc (rint_test): Add more tests.
44949 (rint_test_tonearest): Likewise.
44950 (rint_test_towardzero): Likewise.
44951 (rint_test_downward): Likewise.
44952 (rint_test_upward: Likewise.
44953
ff3b3d82
JM
449542012-02-22 Joseph Myers <joseph@codesourcery.com>
44955
44956 [BZ #10110]
44957 * include/stdc-predef.h: New file. Extracted from features.h.
44958 * include/features.h: Include stdc-predef.h.
44959 * Makefile (headers): Add stdc-predef.h.
44960 * CONFORMANCE (Compiler limitations): Update.
44961
ef0aab35
JM
449622012-02-22 Joseph Myers <joseph@codesourcery.com>
44963
44964 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44965
58639409
DM
449662012-02-21 David S. Miller <davem@davemloft.net>
44967
44968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44969 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44970
c0e70b25
DM
449712012-02-20 David S. Miller <davem@davemloft.net>
44972
44973 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44974 using a normal save/restore sequence, rather than allocating a
44975 dummy stack frame just to store a frame pointer and restore.
44976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44977
fb06851d
JM
449782012-02-21 Joseph Myers <joseph@codesourcery.com>
44979
44980 * manual/install.texi: Fix stray word in line-wrapped comment.
44981
7a8b71c3
DM
449822012-02-20 David S. Miller <davem@davemloft.net>
44983
d510c123
DM
44984 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44985 both binutils and gcc support GOTDATA.
44986
0722d7c2
DM
44987 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44988 "rd %pc" in the PIC register setup sequences.
44989
3d2b3019
DM
44990 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44991 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44992 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44993 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44994 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44999 (SYSCALL_ERROR_HANDLER): Likewise.
45000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45003 (SYSCALL_ERROR_HANDLER): Likewise.
45004
c80098a9
DM
45005 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45006 (HAVE_GCC_GOTDATA): New.
45007 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45008 relocation support in both binutils and gcc.
45009 * sysdeps/sparc/elf/configure: Regenerate.
45010
3a2545a0
DM
45011 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45012 * sysdeps/sparc/sparc32/elf/configure: Delete.
45013 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45014 * sysdeps/sparc/sparc64/elf/configure: Delete.
45015 * sysdeps/sparc/elf/configure.in: New file.
45016 * sysdeps/sparc/elf/configure: Generate.
45017
7a8b71c3
DM
45018 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45019 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45020 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45021 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45022 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45023
f1e86fca
JM
450242012-02-21 Joseph Myers <joseph@codesourcery.com>
45025
45026 * manual/install.texi: Do not mention specific glibc version
45027 numbers.
45028 * manual/libc.texinfo (VERSION, UPDATED): Update.
45029 (@copying): Use @copyright{} and range of years.
45030
0e7dfaef
JM
450312012-02-21 Joseph Myers <joseph@codesourcery.com>
45032
45033 [BZ #13695]
45034 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45035 [crti.S not in sysdirs] (generated): Do not append.
45036 [crti.S not in sysdirs] (omit-deps): Likewise.
45037 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45038 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45039 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45040 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45041 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45042 Likewise.
45043 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45044 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45045 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45046 * csu/defs.awk: Remove file.
45047 * sysdeps/generic/initfini.c: Likewise.
45048 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45049 variable.
45050 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45051 Likewise.
45052
599af3ca
JM
450532012-02-20 Joseph Myers <joseph@codesourcery.com>
45054
45055 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45056 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45057 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45060 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45061 <bits/epoll.h>.
45062 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45063 (__EPOLL_PACKED): Define to empty if not defined by
45064 <bits/epoll.h>.
45065 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45067 bits/epoll.h.
45068
0e499750
JM
450692012-02-20 Joseph Myers <joseph@codesourcery.com>
45070
45071 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45072 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45074 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45075 <bits/timerfd.h>.
45076 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45078 bits/timerfd.h.
45079
5ad91f6e
JM
450802012-02-20 Joseph Myers <joseph@codesourcery.com>
45081
45082 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45083 in C locale.
45084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45085 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088
06b99b02
AJ
450892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45090
45091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45092 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45093
7638c0fd
AS
450942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45095
45096 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45097 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45098 defined.
45099 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45100 Likewise.
45101 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45102 entry for 2.16.
45103
92221550
AJ
451042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45105
45106 * math/w_acos.c: Use non-signaling floating-point comparisons.
45107 * math/w_acosf.c: Likewise.
45108 * math/w_acosh.c: Likewise.
45109 * math/w_acoshf.c: Likewise.
45110 * math/w_acoshl.c: Likewise.
45111 * math/w_acosl.c: Likewise.
45112 * math/w_asin.c: Likewise.
45113 * math/w_asinf.c: Likewise.
45114 * math/w_asinl.c: Likewise.
45115 * math/w_atanh.c: Likewise.
45116 * math/w_atanhf.c: Likewise.
45117 * math/w_atanhl.c: Likewise.
45118 * math/w_exp2.c: Likewise.
45119 * math/w_exp2f.c: Likewise.
45120 * math/w_exp2l.c: Likewise.
45121 * math/w_j0.c: Likewise.
45122 * math/w_j0f.c: Likewise.
45123 * math/w_j0l.c: Likewise.
45124 * math/w_j1.c: Likewise.
45125 * math/w_j1f.c: Likewise.
45126 * math/w_j1l.c: Likewise.
45127 * math/w_jn.c: Likewise.
45128 * math/w_jnf.c: Likewise.
45129 * math/w_log.c: Likewise.
45130 * math/w_log10.c: Likewise.
45131 * math/w_log10f.c: Likewise.
45132 * math/w_log10l.c: Likewise.
45133 * math/w_log2.c: Likewise.
45134 * math/w_log2f.c: Likewise.
45135 * math/w_log2l.c: Likewise.
45136 * math/w_logf.c: Likewise.
45137 * math/w_logl.c: Likewise.
45138 * math/w_sqrt.c: Likewise.
45139 * math/w_sqrtf.c: Likewise.
45140 * math/w_sqrtl.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45144 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45145 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45146
ebaf36eb
JM
451472012-02-19 Joseph Myers <joseph@codesourcery.com>
45148
45149 [BZ #9739]
45150 * manual/string.texi (strnlen): Use correct parameter name in
45151 equivalent expression.
45152
71c254a6
JM
451532012-02-19 Joseph Myers <joseph@codesourcery.com>
45154
45155 [BZ #11174]
45156 * manual/users.texi (seteuid): Consistently use neweuid for
45157 argument name.
45158
16d2c631
JM
451592012-02-19 Joseph Myers <joseph@codesourcery.com>
45160
45161 [BZ #13704]
45162 * manual/nss.texi (Services in the NSS configuration): Correct
45163 list of services in example configuration file.
45164
cd837b09
NB
451652012-02-19 Nick Bowler <nbowler@draconx.ca>
45166
45167 [BZ #11322]
45168 * manual/arith.texi: Remove statements about negative zero
45169 behaving identically to zero.
45170
02c4bbad
JM
451712012-02-18 Joseph Myers <joseph@codesourcery.com>
45172
45173 [BZ #5993]
45174 * manual/install.texi: Do not document upgrading from libc5.
45175
366842e7
JM
451762012-02-18 Joseph Myers <joseph@codesourcery.com>
45177
45178 [BZ #4596]
45179 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45180
dd54084d
DM
451812012-02-18 David S. Miller <davem@davemloft.net>
45182
45183 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45184 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45185 %o7 across the call.
45186 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45187 instead.
45188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45189 SETUP_PIC_REG_LEAF.
45190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45191 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45192 * sysdeps/sparc/crtn.S: Likewise.
45193
2bcc53a3
UD
451942012-02-17 Ulrich Drepper <drepper@gmail.com>
45195
45196 * aout/Makefile: Remove.
45197
09c093b5
RK
451982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45199
45200 [BZ #13058]
45201 * manual/examples/argp-ex1.c (main): Format definition in GNU
45202 style.
45203 * manual/examples/argp-ex2.c (main): Likewise.
45204 * manual/examples/argp-ex3.c (main): Likewise.
45205 * manual/examples/argp-ex4.c (main): Likewise.
45206 * manual/examples/longopt.c (main): Use new-style prototype
45207 definition.
45208 * manual/examples/strncat.c (main): Specify return type and use
45209 (void) for arguments.
45210 * manual/examples/subopt.c (main): Use char **argv argument.
45211
2ee633a2
JM
452122012-02-17 Joseph Myers <joseph@codesourcery.com>
45213
45214 [BZ #5077]
45215 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45216 rounding modes.
45217
0520adde
FB
452182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45219
45220 [BZ #6907]
45221 * manual/string.texi (strchr): Change when strchrnul is
45222 recommended.
45223
3f4081cd
DGM
452242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45225
45226 [BZ #174]
45227 * manual/locale.texi (setlocale): Document LOCPATH.
45228
d1b10e78
JM
452292012-02-17 Joseph Myers <joseph@codesourcery.com>
45230
45231 [BZ #10210]
45232 * manual/process.texi (execle): Move @dots{} before last argument.
45233
79c6869c
PB
452342012-02-17 Paul Bolle <pebolle@tiscali.nl>
45235
45236 [BZ #12047]
45237 * manual/charset.texi (Generic Charset Conversion): Fix typo
45238 (LC_TYPE -> LC_CTYPE).
45239
cc6e48bc
NB
452402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45241
45242 [BZ #5805]
45243 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45244 (scalbnf): Likewise.
45245 (scalbnl): Likewise.
45246 (scalbln): Likewise.
45247 (scalblnf): Likewise.
45248 (scalblnl): Likewise.
45249 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45250 (vwarnx): Likewise.
45251 (verr): Likewise.
45252 (verrx): Likewise.
45253 * manual/filesys.texi (telldir): Use braces around return type.
45254 * manual/llio.texi (mmap): Add space after comma.
45255 (mmap64): Likewise.
45256 * manual/math.texi (jn): Use @var{} on parameter names.
45257 (jnf): Likewise.
45258 (jnl): Likewise.
45259 (yn): Likewise.
45260 (ynf): Likewise.
45261 (ynl): Likewise.
45262 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45263 line.
45264 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45265 "...".
45266 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45267 (sched_get_priority_max): Likewise.
45268 * manual/signal.texi (sigvec): Add space after comma.
45269 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45270 names.
45271 (if_indextoname): Likewise.
45272 (if_freenameindex): Likewise.
45273 (sendto): Use ',' instead of '.' in prototype.
45274 * manual/startup.texi (syscall): Use @dots{} instead of literal
45275 "...".
45276 * manual/stdio.texi (__fpending): Separate initial words of
45277 paragraph from @deftypefun line.
45278 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45279 "...".
45280 (vsyslog): Use @var{} on parameter names.
45281 * manual/terminal.texi (stty): Use @var{} on parameter names.
45282 * manual/users.texi (getutmp): Use @var{} on parameter names.
45283 (getutmpx): Likewise.
45284
5b23062f
JM
452852012-02-17 Joseph Myers <joseph@codesourcery.com>
45286
45287 [BZ #6884]
45288 * manual/stdio.texi (fopen): Fix typos in description of
45289 ",ccs=STRING".
45290
8dee4833
AJ
452912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45292
45293 [BZ #4026]
45294 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45295 get clock_id definition.
45296
9078ce93
TS
452972012-02-17 Thomas Schwinge <thomas@schwinge.name>
45298
45299 [BZ #4822]
45300 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45301 (madvise): Cast every argument to void on its own.
45302
3835c55f
JM
453032012-02-17 Joseph Myers <joseph@codesourcery.com>
45304
45305 [BZ #9902]
45306 * manual/startup.texi (Exit Status): Fix typo.
45307
35c47e37
JM
453082012-02-17 Joseph Myers <joseph@codesourcery.com>
45309
45310 [BZ #10140]
45311 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45312 * manual/examples/argp-ex2.c: Likewise.
45313 * manual/examples/argp-ex3.c: Likewise.
45314
e3b69ca7
RH
453152012-02-16 Richard Henderson <rth@redhat.com>
45316
45317 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45318 * sysdeps/s390/s390-32/initfini.c: Remove.
45319 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45320 * sysdeps/s390/s390-64/initfini.c: Remove.
45321
df83af67
KK
453222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45323
45324 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45325 compiler output for sysdeps/generic/initfini.c.
45326 * sysdeps/sh/elf/initfini.c: Remove file.
45327
f63f3380
DM
453282012-02-16 David S. Miller <davem@davemloft.net>
45329
fb59b3a4
DM
45330 [BZ #11494]
45331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45332
f63f3380
DM
45333 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45334 * sysdeps/sparc/crti.S: New file.
45335 * sysdeps/sparc/crtn.S: New file.
45336 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45337 * sysdeps/sparc/sparc64/Makefile: Likewise.
45338
df6a4a4a
MF
453392012-02-15 Mike Frysinger <vapier@gentoo.org>
45340
6dd8f3dc 45341 [BZ #3335]
df6a4a4a
MF
45342 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45343
1cac7236
RM
453442012-02-15 Roland McGrath <roland@hack.frob.com>
45345
d2c736f8
RM
45346 [BZ #4822]
45347 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45348
1cac7236
RM
45349 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45350 (write, read, close): Likewise.
45351 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45352
8e475601
JM
453532012-02-15 Joseph Myers <joseph@codesourcery.com>
45354
45355 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45356 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45357 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45358 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45359 <bits/signalfd.h>.
45360 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45362 bits/signalfd.h.
45363
ed656b40
MP
453642012-02-14 Marek Polacek <polacek@redhat.com>
45365
45366 * sysdeps/x86_64/crti.S: New file.
45367 * sysdeps/x86_64/crtn.S: New file.
45368 * sysdeps/x86_64/elf/initfini.c: Remove file.
45369
2a979d3a
JM
453702012-02-13 Joseph Myers <joseph@codesourcery.com>
45371
45372 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45373 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45374 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45375 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45376 <bits/inotify.h>.
45377 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45379 bits/inotify.h.
45380
2a418ac3
JM
453812012-02-13 Joseph Myers <joseph@codesourcery.com>
45382
45383 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45384 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45385 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45386 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45387 <bits/eventfd.h>.
45388 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45390 bits/eventfd.h.
45391
fb779be7
TS
453922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45393
e19e83c5
RM
45394 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45395 __feraiseexcept instead of feraiseexcept.
7c35ffed 45396
fb779be7
TS
45397 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45398 nanosleep invocations.
45399 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45400 strings, and add error checking for a nanosleep invocations.
45401
59ba27a6
PE
454022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45403
45404 Replace FSF snail mail address with URLs, as per GNU coding standards.
45405 Most of the snail mail addresses were wrong anyway, and omitting
45406 them makes the source code easier to maintain. Almost all of the
45407 changes are to license notices and to locale LC_IDENTIFICATION
45408 addresses, except for this one:
45409 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45410 not its snail mail address.
45411
57b957eb
RH
454122012-02-09 Richard Henderson <rth@twiddle.net>
45413
af850b1c
RH
45414 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45415 of kernel-features.h.
45416
57b957eb
RH
45417 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45418
6b73181a
MP
454192012-02-08 Marek Polacek <polacek@redhat.com>
45420
45421 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45422 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45423 * sysdeps/gnu/_G_config.h: Likewise.
45424 * sysdeps/generic/_G_config.h: Likewise.
45425
26ecc33a
AS
454262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45427
6c6dbc63
AS
45428 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45429 tests.
45430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45431
e216c012
AS
45432 * sysdeps/powerpc/powerpc32/crti.S: New file.
45433 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45434 * sysdeps/powerpc/powerpc64/crti.S: New file.
45435 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45436
26ecc33a
AS
45437 * Makeconfig (have-initfini): Don't set.
45438 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45439 * configure.in (nopic_initfini): Don't substitute.
45440 * config.h.in (HAVE_INITFINI): Don't #undef.
45441 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45442 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45443
3add8e13
JM
454442012-02-08 Joseph Myers <joseph@codesourcery.com>
45445
45446 Support crti.S and crtn.S provided directly by architectures.
45447 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45448 [crti.S in sysdirs] (omit-deps): Likewise.
45449 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45450 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45451 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45452 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45453 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45454 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45455 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45456 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45457 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45458 compiler output for sysdeps/generic/initfini.c.
45459 * sysdeps/i386/elf/Makefile: Remove file.
45460 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45461
a22f12b4
MP
454622012-02-07 Marek Polacek <polacek@redhat.com>
45463
45464 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45465 * sysdeps/gnu/_G_config.h: Likewise.
45466 * sysdeps/mach/hurd/_G_config.h: Likewise.
45467
148cf100
MP
454682012-02-07 Marek Polacek <polacek@redhat.com>
45469
45470 * math/Makefile (tests): Add tst-CMPLX2.
45471 * math/tst-CMPLX2.c: New file.
45472
cfdc0dd7
AS
454732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45474
84ba42c4
AS
45475 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45476
cfdc0dd7
AS
45477 * math/libm-test.inc (jn_test): Add missing L suffix.
45478
622c86f4
MP
454792012-02-06 Marek Polacek <polacek@redhat.com>
45480
45481 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45482 * sysdeps/i386/fpu/e_powf.S: Likewise.
45483 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45484 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45485 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45486 * sysdeps/i386/fpu/e_pow.S: Likewise.
45487 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45488 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45489 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45490 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45491 * sysdeps/i386/fpu/e_log2.S: Likewise.
45492 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45493 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45494 * sysdeps/i386/fpu/e_powl.S: Likewise.
45495 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45496 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45497 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45498 * sysdeps/i386/fpu/e_logl.S: Likewise.
45499 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45500 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45501 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45502 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45503 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45504 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45505 * sysdeps/i386/fpu/e_log.S: Likewise.
45506 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45507 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45508 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45509 * sysdeps/i386/fpu/e_logf.S: Likewise.
45510 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45511 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45512 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45513 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45514 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45515 * sysdeps/i386/fpu/e_log10.S: Likewise.
45516 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45518 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45519 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45520 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45521 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45522 * sysdeps/i386/asm-syntax.h: Likewise.
45523 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45526 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45527 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45528 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45529 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45530 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45531 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45532 * sysdeps/powerpc/sysdep.h: Likewise.
45533 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45534 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45535
d4a54ac6
JM
455362012-02-06 Joseph Myers <joseph@codesourcery.com>
45537
45538 [BZ #411]
45539 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45540
314054ea
JM
455412012-02-06 Joseph Myers <joseph@codesourcery.com>
45542
45543 * sysdeps/i386/sysdep.h: Include <features.h>.
45544 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45545 version.
45546
d8e0ca50
JM
455472012-02-05 Joseph Myers <joseph@codesourcery.com>
45548
45549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45550 Define.
45551 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45552 LOAD_PIC_REG_STR.
45553
b1da7dd9
JM
455542012-02-03 Joseph Myers <joseph@codesourcery.com>
45555
45556 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45557 (SETUP_PIC_REG): Use GET_PC_THUNK.
45558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45559 macro.
45560
9a1d9254
JM
455612012-02-03 Joseph Myers <joseph@codesourcery.com>
45562
45563 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45564 for non-PIC compilation.
45565 (SETUP_PIC_REG): Add .p2align directive.
45566 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45567 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45568 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45569 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45570 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45571 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45574 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45575 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45576 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45577 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45578 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45579 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45580 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45581 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45582 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45583 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45584 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45585 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45586 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45588 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45589 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45590 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45594 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45595 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45596 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45597 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45598 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45599 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45600 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45601 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45602 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45603 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45604 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45605 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45606 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45607
65dc3b75
JM
456082012-02-03 Joseph Myers <joseph@codesourcery.com>
45609
45610 * math/tst-CMPLX.c: Include <stdio.h>.
45611
d55bf177
JM
456122012-01-31 Joseph Myers <joseph@codesourcery.com>
45613
45614 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45615 float.
45616 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45617 * sysdeps/sparc/bits/mathdef.h: Likewise.
45618
69db4f8f
MP
456192012-01-31 Marek Polacek <polacek@redhat.com>
45620
45621 * libio/libio.h: Don't define _PARAMS.
45622 * locale/programs/config.h: Don't define PARAMS.
45623 * stdlib/strtol_l.c: Likewise.
45624 (__strtol_l): Remove PARAMS from the prototype.
45625
41b81892
UD
456262012-01-31 Ulrich Drepper <drepper@gmail.com>
45627
3b49edc0
UD
45628 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45629 names. Just use the correct names. Remove unnecessary wrapper
45630 functions.
45631 * malloc/arena.c: Likewise.
45632 * malloc/hooks.c: Likewise.
45633
41b81892
UD
45634 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45635 ARENA_TEST says not to. Simplify test for creation of a new arena.
45636 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45637
27a25b6e
UD
456382012-01-30 Ulrich Drepper <drepper@gmail.com>
45639
45640 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45641 into tail calls.
45642 (update_get_addr): New function.
45643 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45644 GET_ADDR_MODULE parameter.
45645
c8a89e7d
JM
456462012-01-30 Joseph Myers <joseph@codesourcery.com>
45647
45648 * crypt/cert.c: Remove __STDC__ conditionals.
45649 * crypt/crypt-entry.c: Likewise.
45650 * crypt/crypt_util.c: Likewise.
45651 * libio/filedoalloc.c: Likewise.
45652 * libio/fileops.c: Likewise.
45653 * libio/genops.c: Likewise.
45654 * libio/iofclose.c: Likewise.
45655 * libio/iofdopen.c: Likewise.
45656 * libio/iofopen.c: Likewise.
45657 * libio/iofopen64.c: Likewise.
45658 * libio/iogetdelim.c: Likewise.
45659 * libio/iopopen.c: Likewise.
45660 * libio/obprintf.c: Likewise.
45661 * libio/oldfileops.c: Likewise.
45662 * libio/oldiofclose.c: Likewise.
45663 * libio/oldiofdopen.c: Likewise.
45664 * libio/oldiofopen.c: Likewise.
45665 * libio/oldiopopen.c: Likewise.
45666 * libio/wfiledoalloc.c: Likewise.
45667 * libio/wgenops.c: Likewise.
45668 * locale/programs/xmalloc.c: Likewise.
45669 * misc/syslog.c: Likewise.
45670 * stdio-common/xbug.c: Likewise.
45671 * string/memchr.c: Likewise.
45672 * string/memcmp.c: Likewise.
45673 * string/memrchr.c: Likewise.
45674 * string/rawmemchr.c: Likewise.
45675 * sysdeps/posix/getcwd.c: Likewise.
45676 * time/strftime_l.c: Likewise.
45677
3b100462
JM
456782012-01-30 Joseph Myers <joseph@codesourcery.com>
45679
45680 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45681 * config.make.in (config-cflags-sse2avx): Define.
45682 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45683 Fix typo.
45684
607998af
CM
456852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45686
45687 * scripts/config.guess: Update from upstream config git repository.
45688 * scripts/config.sub: Likewise.
45689
3601428f
CM
456902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45691
3ac8b282
CM
45692 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45693 (EM_NUM): Update.
45694 (R_TILEPRO_*, R_TILEGX_*): New macros.
45695
e034841e
CM
45696 * scripts/firstversions.awk: Fix bug in version range handling.
45697
540d7568
CM
45698 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45699
3601428f
CM
45700 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45701
463de862
CM
45702 * include/sys/epoll.h: New file.
45703 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45704 libc_hidden_def.
45705
73139a76
UD
457062012-01-28 Ulrich Drepper <drepper@gmail.com>
45707
96bc5b45
UD
45708 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45709 Avoid unnecessary __WORDSIZE == 64 test.
45710 (fmaxf): Use VEX format if possible.
45711 (fmax): Likewise.
45712 (fminf): Likewise.
45713 (fmin): Likewise.
45714
56f6f6a2
UD
45715 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45716 * math/math_private.h: Remove libc_fegetround* and
45717 libc_fesetround*.
45718 * sysdeps/i386/configure.in: Check for -msse2avx.
45719 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45720 also if SSE2AVX is defined.
45721 Remove libc_fegetround* and libc_fesetround*.
45722 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45723 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45725 of HAS_YMM_USABLE.
45726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45727 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45729 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45731
73139a76
UD
45732 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45733
d73f93a4
AZ
457342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45735
45736 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45737 size is not set.
45738 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45739
6ee65ed6
UD
457402012-01-27 Ulrich Drepper <drepper@gmail.com>
45741
45742 [BZ #13618]
45743 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45744 relocation.
45745 * Makeconfig (libm): Define.
45746 * elf/Makefile: Add rules to build and run tst-relsort1.
45747 * elf/tst-relsort1.c: New file.
45748 * elf/tst-relsort1mod1.c: New file.
45749 * elf/tst-relsort1mod2.c: New file.
45750
8db21882
JM
457512012-01-27 Joseph Myers <joseph@codesourcery.com>
45752
45753 * math/s_ldexp.c: Remove __STDC__ conditionals.
45754 * math/s_ldexpf.c: Likewise.
45755 * math/s_ldexpl.c: Likewise.
45756 * math/s_nextafter.c: Likewise.
45757 * math/s_nexttowardf.c: Likewise.
45758 * math/s_significand.c: Likewise.
45759 * math/s_significandf.c: Likewise.
45760 * math/s_significandl.c: Likewise.
45761 * math/w_jnl.c: Likewise.
45762 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45763 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45764 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45765 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45766 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45781 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45782 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45783 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45784 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45785 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45786 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45787 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45788 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45789 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45790 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45792 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45793 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45794 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45795 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45796 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45797 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45798 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45799 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45800 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45801 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45802 * sysdeps/ieee754/k_standard.c: Likewise.
45803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45804 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45805 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45806 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45807 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45808 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45810 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45811 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45812 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45813 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45814 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45815 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45816 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45817 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45819 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45822 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45828 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45832 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45833 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45834 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45835 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45836 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45837 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45838 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45839 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45840 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45841 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45843 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45846 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45847 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45848 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45850 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45853 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45856 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45857 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45858 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45859 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45860 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45862 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45863 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45864 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45865 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45867 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45868 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45869 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45870 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45872 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45873 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45874 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45875 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45876 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45877 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45878 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45880 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45881 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45882 * sysdeps/ieee754/s_matherr.c: Likewise.
45883 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45884 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45887
965a54a4
JM
458882012-01-26 Joseph Myers <joseph@codesourcery.com>
45889
45890 * crypt/md5.h: Remove __STDC__ conditionals.
45891 * libio/libioP.h: Likewise.
45892 * locale/programs/config.h: Likewise.
45893 * sysdeps/generic/sysdep.h: Likewise.
45894 * sysdeps/i386/asm-syntax.h: Likewise.
45895 * sysdeps/s390/asm-syntax.h: Likewise.
45896 * sysdeps/unix/sysdep.h: Likewise.
45897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45899
7071ad79
JM
459002012-01-26 Joseph Myers <joseph@codesourcery.com>
45901
45902 * libio/libio.h: Remove __STDC__ conditionals.
45903 * malloc/obstack.h: Likewise.
45904 * math/complex.h: Likewise.
45905 * math/math.h: Likewise.
45906 * sysdeps/generic/_G_config.h: Likewise.
45907 * sysdeps/gnu/_G_config.h: Likewise.
45908 * sysdeps/mach/hurd/_G_config.h: Likewise.
45909 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45910 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45911 * sysdeps/sparc/bits/mathdef.h: Likewise.
45912
afc5ed09
UD
459132012-01-26 Ulrich Drepper <drepper@gmail.com>
45914
45915 [BZ #13583]
45916 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45917 Clean up HAS_* macros.
afc5ed09 45918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45919 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45920 possible.
45921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45922 HAS_AVX.
45923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45928
bdb6de1d
JM
459292012-01-25 Joseph Myers <joseph@codesourcery.com>
45930
45931 * elf/tst-unique3.cc (gets): Remove declaration.
45932 * elf/tst-unique3lib.cc (gets): Likewise.
45933 * elf/tst-unique3lib2.cc (gets): Likewise.
45934 * elf/tst-unique4.cc (gets): Likewise.
45935
b15549e6
UD
459362012-01-24 Ulrich Drepper <drepper@gmail.com>
45937
45938 * include/stdio.h: Add C++ protection. Add gets declarations and
45939 definitions.
45940 * debug/tst-chk1.c: Don't declare gets here.
45941 * stdio-common/tst-gets.c: Likewise.
45942
a037381f
JM
459432012-01-24 Joseph Myers <joseph@codesourcery.com>
45944
45945 * posix/glob: Remove directory.
45946
f1d4aa75
JM
459472012-01-24 Joseph Myers <joseph@codesourcery.com>
45948
45949 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45950
81c0c964
PT
459512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45952
45953 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45954 of the non-standard EPFNOSUPPORT.
45955
0ea698ae
ST
459562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45957
45958 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45959 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45960 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45961
d220b117
UD
459622012-01-21 Ulrich Drepper <drepper@gmail.com>
45963
45964 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45965
3e1aa84e
UD
459662012-01-20 Ulrich Drepper <drepper@gmail.com>
45967
45968 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45969 transient errors.
45970 * nscd/grpcache.c (cache_addgr): Likewise.
45971 * nscd/hstcache.c (cache_addhst): Likewise.
45972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45973 * nscd/pwdcache.c (cache_addpw): Likewise.
45974 * nscd/servicescache.c (cache_addserv): Likewise.
45975
400aa020
UD
459762012-01-16 Ulrich Drepper <drepper@gmail.com>
45977
d77e7869
UD
45978 * malloc/malloc.c: Various cleanups.
45979 * malloc/hooks.c: Likewise.
45980
400aa020
UD
45981 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45982 * stdlib/bug-fmtmsg1.c: New file.
45983
45984 * stdlib/fmtmsg.c (init): Add missing unlock.
45985 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45986
e0a309cf
MP
459872012-01-12 Marek Polacek <polacek@redhat.com>
45988
45989 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45990 and _GNU_SOURCE.
45991
929d11c7
WS
459922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45993
45994 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45995 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45996 macro to ensure uniqueness of label name.
45997 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45998 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45999
41d0e869
UD
460002012-01-11 Ulrich Drepper <drepper@gmail.com>
46001
0cc5ed3b
UD
46002 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46003
41d0e869
UD
46004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46005 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46006 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46008
a47a831a
UD
460092012-01-10 Ulrich Drepper <drepper@gmail.com>
46010
daa891c0
UD
46011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46012
46013 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46014 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46015 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46016
e58ef0f2
UD
46017 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46018
a47a831a 46019 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46020 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46023
46024 * math/bits/math-finite.h: Add ldexp support.
46025
a0bfc9c7
MP
460262012-01-10 Marek Polacek <polacek@redhat.com>
46027
46028 * locale/programs/localedef.h (show_archive_content): Add noreturn
46029 attribute.
46030
d6e97a1d
UD
460312012-01-09 Ulrich Drepper <drepper@gmail.com>
46032
46033 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46034
d5835c26
UD
460352012-01-08 Ulrich Drepper <drepper@gmail.com>
46036
e5f484c6
UD
46037 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46038
d5835c26
UD
46039 * io/Makefile (headers): Add bits/poll2.h.
46040
d1f741e9
WS
460412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46042
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46044 typo #include statement.
46045
ec09c1c4
UD
460462012-01-08 Ulrich Drepper <drepper@gmail.com>
46047
46048 * include/sys/cdefs.h: Define __attribute_alloc_size.
46049 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46050 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46051 * elf/pldd.c: Likewise.
46052 * iconv/iconv_charmap.c: Likewise.
46053 * iconv/iconvconfig.c: Likewise.
46054 * iconv/strtab.c: Likewise.
46055 * locale/programs/locale.c: Likewise.
46056 * locale/programs/localedef.h: Likewise.
46057 * locale/programs/simple-hash.c: Likewise.
46058 * nscd/nscd.h: Likewise.
46059 * nss/makedb.c: Likewise.
46060 * sysdeps/generic/ldconfig.h: Likewise.
46061 * locale/programs/localedef.c: Remove xmalloc prototype.
46062 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46063
20b38e03
PP
460642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46065
46066 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46067 appropriate.
46068
a0da5fe1
UD
460692012-01-08 Ulrich Drepper <drepper@gmail.com>
46070
1d5a644a 46071 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46072 * math/tst-CMPLX.c: New file.
1d5a644a 46073
8784a6db
UD
46074 * math/complex.h (CMPLXL): Fix typo.
46075
d9a216c0
UD
46076 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46077 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46078 GLIBC_2.16.
46079 * debug/tst-chk1.c: Add poll and ppoll tests.
46080 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46081 * include/sys/poll.h: Add hidden proto for ppoll.
46082 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46083 * sysdeps/mach/hurd/ppoll.c: Likewise.
46084 * io/ppoll.c: Likewise.
46085 * debug/poll_chk.c: New file.
46086 * debug/ppoll_chk.c: New file.
46087 * include/bits/poll2.h: New file.
46088 * io/bits/poll2.h: New file.
46089
ac097f5c
UD
46090 [BZ #1350]
46091 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46092
2119dcfa
UD
46093 * configure.in: static is always set to yes. Remove.
46094 * config.make.in: Don't set build-static.
46095 * Makeconfig: Remove use of build-static.
46096 * dlfcn/Makefile: Likewise.
46097 * elf/Makefile: Likewise.
46098 * math/Makefile: Likewise.
46099 * misc/Makefile: Likewise.
46100 * nptl/Makefile: Likewise.
46101 * sysdeps/mach/hurd/Makefile: Likewise.
46102
121766a9
UD
46103 * configure.in: PWD_P is not used anymore.
46104 * config.make.in: Remove PWD_P entry.
46105
51a1d39c 46106 * configure.in: Remove last remnants of RANLIB.
8720d066 46107 No need to check for signed size_t anymore.
215f4bdc
UD
46108 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46109 and IA-64.
3857022a 46110 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46111 * aclocal.m4: Likewise.
46112
d3ed7225
UD
46113 * wcsmbs/mbrtoc16.c: Implement using towc function.
46114 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46115 * wcsmbs/wcsmbsload.c: Likewise.
46116 * iconv/gconv_simple.c: Likewise.
46117 * iconv/gconv_int.h: Likewise.
46118 * iconv/gconv_builtin.h: Likewise.
46119 * iconv/iconv_prog.c: Remove CHAR16 handling.
46120
46121 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46122
46123 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46124
a0da5fe1
UD
46125 * configure.in: Remove --with-elf and --enable-bounded options.
46126 Dont set base_machine for ia64. More non-ELF conditions removed.
46127 Remove testing and setting of leading underscore information.
46128 * config.make.in (build-bounded): Set to no.
46129 * config.h.in: Remove NO_UNDERSCORES entry.
46130 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46131 them.
46132 * csu/start.c: Remove !NO_UNDERSCORE code.
46133 * locale/localeinfo.h: Likewise.
46134 * sysdeps/generic/machine-gmon.h: Likewise.
46135 * sysdeps/generic/sysdep.h: Likewise.
46136 * sysdeps/i386/sysdep.h: Likewise.
46137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46138 * sysdeps/mach/sysdep.h: Likewise.
46139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46141 * sysdeps/sh/sysdep.h: Likewise.
46142 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46143 * sysdeps/unix/i386/sysdep.S: Likewise.
46144 * sysdeps/unix/sparc/start.c: Likewise.
46145 * sysdeps/unix/sparc/sysdep.S: Likewise.
46146 * sysdeps/unix/sparc/sysdep.h: Likewise.
46147 * sysdeps/unix/start.c: Likewise.
46148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46149 * sysdeps/x86_64/sysdep.h: Likewise.
46150
df78418a
UD
461512012-01-07 Ulrich Drepper <drepper@gmail.com>
46152
a784e502
UD
46153 [BZ #13553]
46154 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46155 for non-gcc.
46156 * argp/argp-fmtstream.h: Use const instead __const.
46157 * argp/argp.h: Likewise.
46158 * assert/assert.h: Likewise.
46159 * bits/fenv.h: Likewise.
46160 * bits/sched.h: Likewise.
46161 * bits/sigset.h: Likewise.
46162 * bits/sigthread.h: Likewise.
46163 * catgets/nl_types.h: Likewise.
46164 * conform/data/pthread.h-data: Likewise.
46165 * crypt/crypt-private.h: Likewise.
46166 * crypt/crypt.h: Likewise.
46167 * crypt/crypt_util.c: Likewise.
46168 * ctype/ctype.h: Likewise.
46169 * debug/execinfo.h: Likewise.
46170 * debug/mbsnrtowcs_chk.c: Likewise.
46171 * debug/mbsrtowcs_chk.c: Likewise.
46172 * debug/wcsnrtombs_chk.c: Likewise.
46173 * debug/wcsrtombs_chk.c: Likewise.
46174 * debug/wcstombs_chk.c: Likewise.
46175 * dirent/dirent.h: Likewise.
46176 * dlfcn/dlfcn.h: Likewise.
46177 * elf/neededtest4.c: Likewise.
46178 * grp/grp.h: Likewise.
46179 * gshadow/gshadow.h: Likewise.
46180 * iconv/gconv.h: Likewise.
46181 * iconv/gconv_int.h: Likewise.
46182 * iconv/gconv_simple.c: Likewise.
46183 * iconv/iconv.h: Likewise.
46184 * iconv/loop.c: Likewise.
46185 * iconv/skeleton.c: Likewise.
46186 * include/aio.h: Likewise.
46187 * include/aliases.h: Likewise.
46188 * include/argz.h: Likewise.
46189 * include/arpa/inet.h: Likewise.
46190 * include/assert.h: Likewise.
46191 * include/dirent.h: Likewise.
46192 * include/dlfcn.h: Likewise.
46193 * include/execinfo.h: Likewise.
46194 * include/fcntl.h: Likewise.
46195 * include/fenv.h: Likewise.
46196 * include/glob.h: Likewise.
46197 * include/grp.h: Likewise.
46198 * include/libintl.h: Likewise.
46199 * include/mntent.h: Likewise.
46200 * include/netdb.h: Likewise.
46201 * include/pwd.h: Likewise.
46202 * include/rpc/netdb.h: Likewise.
46203 * include/sched.h: Likewise.
46204 * include/search.h: Likewise.
46205 * include/shadow.h: Likewise.
46206 * include/signal.h: Likewise.
46207 * include/stdio.h: Likewise.
46208 * include/stdlib.h: Likewise.
46209 * include/string.h: Likewise.
46210 * include/sys/socket.h: Likewise.
46211 * include/sys/stat.h: Likewise.
46212 * include/sys/statfs.h: Likewise.
46213 * include/sys/statvfs.h: Likewise.
46214 * include/sys/syslog.h: Likewise.
46215 * include/sys/time.h: Likewise.
46216 * include/sys/uio.h: Likewise.
46217 * include/time.h: Likewise.
46218 * include/unistd.h: Likewise.
46219 * include/utmp.h: Likewise.
46220 * include/wchar.h: Likewise.
46221 * include/wctype.h: Likewise.
46222 * inet/aliases.h: Likewise.
46223 * inet/arpa/inet.h: Likewise.
46224 * inet/netinet/ether.h: Likewise.
46225 * inet/netinet/in.h: Likewise.
46226 * intl/libintl.h: Likewise.
46227 * io/bits/fcntl2.h: Likewise.
46228 * io/fcntl.h: Likewise.
46229 * io/ftw.h: Likewise.
46230 * io/sys/poll.h: Likewise.
46231 * io/sys/stat.h: Likewise.
46232 * io/sys/statfs.h: Likewise.
46233 * io/sys/statvfs.h: Likewise.
46234 * io/utime.h: Likewise.
46235 * libio/bits/stdio.h: Likewise.
46236 * libio/bits/stdio2.h: Likewise.
46237 * libio/libio.h: Likewise.
46238 * libio/libioP.h: Likewise.
46239 * libio/stdio.h: Likewise.
46240 * locale/lc-ctype.c: Likewise.
46241 * locale/locale.h: Likewise.
46242 * login/utmp.h: Likewise.
46243 * malloc/arena.c: Likewise.
46244 * malloc/malloc.c: Likewise.
46245 * malloc/malloc.h: Likewise.
46246 * malloc/mcheck.c: Likewise.
46247 * malloc/mtrace.c: Likewise.
46248 * math/bits/mathcalls.h: Likewise.
46249 * math/fenv.h: Likewise.
46250 * math/math_private.h: Likewise.
46251 * misc/bits/error.h: Likewise.
46252 * misc/bits/syslog.h: Likewise.
46253 * misc/err.h: Likewise.
46254 * misc/error.h: Likewise.
46255 * misc/fstab.h: Likewise.
46256 * misc/mntent.h: Likewise.
46257 * misc/regexp.h: Likewise.
46258 * misc/search.h: Likewise.
46259 * misc/sgtty.h: Likewise.
46260 * misc/sys/mman.h: Likewise.
46261 * misc/sys/syslog.h: Likewise.
46262 * misc/sys/uio.h: Likewise.
46263 * misc/sys/xattr.h: Likewise.
46264 * misc/ttyent.h: Likewise.
46265 * nis/rpcsvc/ypclnt.h: Likewise.
46266 * nss/nss.h: Likewise.
46267 * posix/bits/unistd.h: Likewise.
46268 * posix/fnmatch.h: Likewise.
46269 * posix/glob.h: Likewise.
46270 * posix/sched.h: Likewise.
46271 * posix/spawn.h: Likewise.
46272 * posix/sys/wait.h: Likewise.
46273 * posix/unistd.h: Likewise.
46274 * posix/wordexp.h: Likewise.
46275 * pwd/pwd.h: Likewise.
46276 * resolv/netdb.h: Likewise.
46277 * resource/sys/resource.h: Likewise.
46278 * rt/aio.h: Likewise.
46279 * rt/bits/mqueue2.h: Likewise.
46280 * rt/mqueue.h: Likewise.
46281 * shadow/shadow.h: Likewise.
46282 * signal/signal.h: Likewise.
46283 * socket/send.c: Likewise.
46284 * socket/sendto.c: Likewise.
46285 * socket/sys/socket.h: Likewise.
46286 * stdio-common/printf.h: Likewise.
46287 * stdlib/bits/stdlib.h: Likewise.
46288 * stdlib/fmtmsg.h: Likewise.
46289 * stdlib/monetary.h: Likewise.
46290 * stdlib/stdlib.h: Likewise.
46291 * stdlib/ucontext.h: Likewise.
46292 * streams/stropts.h: Likewise.
46293 * string/argz.h: Likewise.
46294 * string/bits/string2.h: Likewise.
46295 * string/string.h: Likewise.
46296 * string/strings.h: Likewise.
46297 * sunrpc/rpc/auth.h: Likewise.
46298 * sunrpc/rpc/auth_des.h: Likewise.
46299 * sunrpc/rpc/clnt.h: Likewise.
46300 * sunrpc/rpc/netdb.h: Likewise.
46301 * sunrpc/rpc/pmap_clnt.h: Likewise.
46302 * sunrpc/rpc/xdr.h: Likewise.
46303 * sysdeps/generic/inttypes.h: Likewise.
46304 * sysdeps/generic/net/if.h: Likewise.
46305 * sysdeps/generic/sys/swap.h: Likewise.
46306 * sysdeps/gnu/net/if.h: Likewise.
46307 * sysdeps/gnu/utmpx.h: Likewise.
46308 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46309 * sysdeps/i386/i486/bits/string.h: Likewise.
46310 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46311 * sysdeps/s390/bits/string.h: Likewise.
46312 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46313 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46314 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46315 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46316 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46317 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46318 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46319 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46320 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46321 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46322 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46323 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46324 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46325 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46326 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46327 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46328 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46330 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46332 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46333 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46334 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46335 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46336 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46337 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46338 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46340 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46342 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46343 * sysvipc/sys/ipc.h: Likewise.
46344 * sysvipc/sys/msg.h: Likewise.
46345 * sysvipc/sys/sem.h: Likewise.
46346 * sysvipc/sys/shm.h: Likewise.
46347 * termios/termios.h: Likewise.
46348 * time/sys/time.h: Likewise.
46349 * time/time.h: Likewise.
46350 * wcsmbs/bits/wchar2.h: Likewise.
46351 * wcsmbs/uchar.h: Likewise.
46352 * wcsmbs/wchar.h: Likewise.
46353 * wctype/wctype.h: Likewise.
46354
0269750c
UD
46355 [BZ #13551]
46356 * Makeconfig: Remove all but ELF support including AIX support.
46357 * Makerules: Likewise.
46358 * config.h.in: Likewise.
46359 * config.make.in: Likewise.
46360 * configure: Likewise.
46361 * configure.in: Likewise.
46362 * csu/Makefile: Likewise.
46363 * csu/version.c: Likewise.
46364 * debug/Makefile: Likewise.
46365 * dlfcn/Makefile: Likewise.
46366 * elf/Makefile: Likewise.
46367 * extra-lib.mk: Likewise.
46368 * iconv/Makefile: Likewise.
46369 * include/libc-symbols.h: Likewise.
46370 * include/shlib-compat.h: Likewise.
46371 * resolv/Makefile: Likewise.
46372 * resolv/res_libc.c: Likewise.
46373 * rt/Makefile: Likewise.
46374 * sysdeps/i386/asm-syntax.h: Likewise.
46375 * sysdeps/i386/sysdep.h: Likewise.
46376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46377 * sysdeps/mach/sysdep.h: Likewise.
46378 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46379 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46380 * sysdeps/s390/asm-syntax.h: Likewise.
46381 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46383 * sysdeps/sh/sysdep.h: Likewise.
46384 * sysdeps/unix/sparc/sysdep.h: Likewise.
46385 * sysdeps/wordsize-32/divdi3.c: Likewise.
46386 * sysdeps/x86_64/sysdep.h: Likewise.
46387
00bbd29b
UD
46388 * argp/Versions: Remove _argp_unlock_xxx.
46389
46390 [BZ #13559]
46391 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46392 * abilist/libBrokenLocale.abilist: Likewise.
46393 * abilist/libanl.abilist: Likewise.
46394 * abilist/libc.abilist: Likewise.
46395 * abilist/libcrypt.abilist: Likewise.
46396 * abilist/libdl.abilist: Likewise.
46397 * abilist/libm.abilist: Likewise.
46398 * abilist/libnsl.abilist: Likewise.
46399 * abilist/libpthread.abilist: Likewise.
46400 * abilist/libresolv.abilist: Likewise.
46401 * abilist/librt.abilist: Likewise.
46402 * abilist/libthread_db.abilist: Likewise.
46403 * abilist/libutil.abilist: Likewise.
46404 * abilist/libnss_db.abilist: New file.
46405
46406 * scripts/abilist.awk: Add support for indirect functions.
46407
a2693a0e
UD
46408 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46409
3f05895f
UD
46410 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46411
ecb6fb48
UD
46412 * shlib-versions: Remove entries for ports architectures.
46413
664f8cb9
UD
46414 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46415 files in ports.
46416 * elf/stackguard-macros.h: Remove support for IA-64.
46417 * elf/tst-auditmod1.c: Likewise.
46418 * sysdeps/generic/ldsodefs.h: Likewise.
46419
7ae81d88
UD
46420 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46421 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46422 configure files.
46423
bdeba135
UD
46424 [BZ #13552]
46425 * configure.in: Remove --enable-omitfp support.
46426 * FAQ.in: Adjust.
46427 * config.make.in: Likewise.
46428 * Makeconfig: Likewise.
46429 * manual/install.texi: Likewise.
46430
d75a0a62
UD
46431 In case anyone cares, the IA-64 architecture could move to ports.
46432 * sysdeps/ia64/*: Removed.
46433 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46434 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46435
dcc9756b
UD
46436 [BZ #13555]
46437 * configure.in: Remove entries for unsupported architectures.
46438
d3761ebc 46439 [BZ #13533]
9954432e
UD
46440 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46441 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46442 routines.
46443 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46444 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46445 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46446 fall back to using wcrtomb.
46447 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46448 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46449 renaming.
46450 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46451 * wcsmbs/tst-c16c32-1.c: New file.
46452
46453 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46454 local variable.
46455
c3a87236
UD
46456 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46457
28926a1b
UD
46458 * elf/tst-unique3.cc: Add explicit declaration of gets.
46459 * elf/tst-unique3lib.cc: Likewise.
46460 * elf/tst-unique3lib2.cc: Likewise.
46461 * elf/tst-unique4.cc: Likewise.
46462
df78418a
UD
46463 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46464
8ecd6b2a
JM
464652012-01-06 Joseph Myers <joseph@codesourcery.com>
46466
46467 [BZ #13566]
46468 * assert/assert.h (static_assert): Don't define for C++.
46469 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46470 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46471
9f115170
UD
464722012-01-03 Ulrich Drepper <drepper@gmail.com>
46473
5e0d0300
UD
46474 * iconv/loop.c (single loop): Fix assertion in storing of
46475 remaining bytes.
46476
9f115170
UD
46477 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46478
81fb02b0
UD
464792012-01-01 Ulrich Drepper <drepper@gmail.com>
46480
46481 * posix/getconf.c: Update copyright year.
46482 * nss/getent.c: Likewise.
a316c1f6 46483 * nss/makedb.c: Likewise.
81fb02b0
UD
46484 * iconv/iconvconfig.c: Likewise.
46485 * iconv/iconv_prog.c: Likewise.
46486 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46487 * elf/pldd.c: Likewise.
46488 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46489 * catgets/gencat.c: Likewise.
46490 * csu/version.c: Likewise.
46491 * elf/ldd.bash.in: Likewise.
46492 * elf/sprof.c (print_version): Likewise.
46493 * locale/programs/locale.c: Likewise.
46494 * locale/programs/localedef.c: Likewise.
a316c1f6 46495 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46496 * nscd/nscd.c (print_version): Likewise.
46497 * debug/xtrace.sh: Likewise.
46498 * malloc/memusage.sh: Likewise.
46499 * malloc/mtrace.pl: Likewise.
46500 * debug/catchsegv.sh: Likewise.
46501
2ba92745
JJ
465022011-12-30 Jakub Jelinek <jakub@redhat.com>
46503
46504 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46505 pure attribute.
46506
dadebdae
UD
465072011-12-24 Ulrich Drepper <drepper@gmail.com>
46508
d3761ebc 46509 [BZ #13533]
db6af3eb
UD
46510 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46511 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46512 transformations.
46513 * iconv/gconv_int.h: Likewise.
46514 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46515 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46516 from libc for GLIBC_2.16.
46517 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46518 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46519 * wcsmbs/uchar.h: Really define mbstate_t.
46520 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46521 * wcsmbs/c16rtomb.c: New file.
46522 * wcsmbs/mbrtoc16.c: New file.
46523 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46524 for C/POSIX locale.
46525 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46526 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46527
dadebdae
UD
46528 * wcsmbs/wchar.h: Add missing __restrict.
46529
67371b56
UD
465302011-12-23 Ulrich Drepper <drepper@gmail.com>
46531
74033a25
UD
46532 [BZ #13532]
46533 * time/Makefile (routines): Add timespec_get.
46534 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46535 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46536 timespec for ISO C11.
46537 * time/timespec_get.c: New file.
46538 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46539 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46540
380d7e87
UD
46541 [BZ #13531]
46542 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46543 * stdlib/stdlib.h: Declare aligned_alloc.
46544 * Versions.def: Add GLIBC_2.16 for libc.
46545 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46546
4e9e7a35
UD
46547 [BZ 13527]
46548 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46549 ISO C11.
46550
380d7e87 46551 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46552 code.
46553
03a71829
UD
46554 [BZ #13528]
46555 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46556
839e283e
UD
46557 [BZ #13529]
46558 * assert/assert.h (static_assert): Define.
46559
ce5294e2 46560 * version.h: Update for 2.16 development version.
90fa7312 46561
8d44e150 46562 [BZ #13526]
d7809905
UD
46563 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46564 _ISOC11_SOURCE.
46565
c0da14cd
UD
46566 * version.h (RELEASE): Bump for 2.15 release.
46567 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46568
530a3249
MP
46569 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46570 Patch by Marek Polacek <mpolacek@redhat.com>.
46571
67371b56
UD
46572 * bits/byteswap.h: Protect long long constants with __extension__.
46573 * sysdeps/i386/bits/byteswap.h: Likewise.
46574 * sysdeps/ia64/bits/byteswap.h: Likewise.
46575 * sysdeps/s390/bits/byteswap.h: Likewise.
46576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46577
15db4de1
LD
465782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46579
46580 [BZ #13540]
bbe315ea
LD
46581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46582 destination buffer.
15db4de1
LD
46583 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46584
2b2596b1
MP
465852011-12-23 Marek Polacek <polacek@redhat.com>
46586
46587 * elf/dl-addr.c (determine_info): Add inline keyword.
46588 * elf/tst-auditmod4b.c (check_avx): Likewise.
46589 * elf/tst-auditmod6b.c (check_avx): Likewise.
46590 * elf/tst-auditmod6c.c (check_avx): Likewise.
46591 * elf/tst-auditmod7b.c (check_avx): Likewise.
46592
70c6c246
UD
465932011-12-23 Ulrich Drepper <drepper@gmail.com>
46594
46595 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46596 !__SSE_MATH__.
46597
c044cf14
LD
465982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46599
15db4de1 46600 [BZ #13540]
c044cf14
LD
46601 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46602 processing for last bytes.
46603
6b13d9d9
BH
466042011-08-06 Bruno Haible <bruno@clisp.org>
46605
d455f537
BH
46606 [BZ #13061]
46607 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46608 U+0385, not to U+1FEE.
46609
6b13d9d9
BH
46610 [BZ #13062]
46611 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46612 entry for U+00A5 U+0301.
46613
db910efd
UD
466142011-12-22 Ulrich Drepper <drepper@gmail.com>
46615
27deeafc
UD
46616 [BZ #13166]
46617 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46618 buffer for the output is too small.
46619
aed9d171
UD
46620 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46621 optimization.
46622
db910efd
UD
46623 [BZ #13185]
46624 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46625 SSE flags if possible.
46626
2bd779ae
LD
466272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46628
e7f9dac3 46629 [BZ #13540]
2bd779ae
LD
46630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46631 processing for last bytes.
46632
154bfc16
JM
466332011-12-22 Joseph Myers <joseph@codesourcery.com>
46634
46635 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46636 (syscall-list-default-options, syscall-list-default-condition)
46637 (syscall-list-includes): Define.
46638 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46639 list of ABIs and options and #if conditions for each ABI. Do not
46640 handle common syscalls between ABIs specially.
46641 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46642 Remove.
46643 (syscall-list-variants, syscall-list-32bit-options)
46644 (syscall-list-32bit-condition, syscall-list-64bit-options)
46645 (syscall-list-64bit-condition): Define.
46646 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46647 (syscall-list-variants, syscall-list-32bit-options)
46648 (syscall-list-32bit-condition, syscall-list-64bit-options)
46649 (syscall-list-64bit-condition): Define.
46650 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46651 Remove.
46652 (syscall-list-variants, syscall-list-32bit-options)
46653 (syscall-list-32bit-condition, syscall-list-64bit-options)
46654 (syscall-list-64bit-condition): Define.
46655 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46656 Remove.
46657 (syscall-list-variants, syscall-list-32bit-options)
46658 (syscall-list-32bit-condition, syscall-list-64bit-options)
46659 (syscall-list-64bit-condition): Define.
46660
21eaf3a5
UD
466612011-12-22 Ulrich Drepper <drepper@gmail.com>
46662
16c6f992
UD
46663 * locale/iso-639.def: Add brx entry.
46664
41043168
UD
46665 [BZ #13328]
46666 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46667 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46668
21eaf3a5
UD
46669 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46670 __feraiseexcept_renamed.
46671
e3a851a2
UD
466722011-12-21 Ulrich Drepper <drepper@gmail.com>
46673
4920765e
UD
46674 [BZ #13538]
46675 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46676 EPOLLET with unsigned values.
46677 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46679
e3a851a2
UD
46680 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46681 to large cancellation.
46682 * math/s_cacoshf.c: Likewise.
46683 * math/s_cacoshl.c: Likewise.
46684
b27e24b8
RK
466852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46686
46687 [BZ #13305]
aebefeee 46688 [BZ #12786]
b27e24b8
RK
46689 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46690 * math/s_cacoshf.c: Likewise.
46691 * math/s_cacoshl.c: Likewise.
46692
ee190f67
UD
466932011-12-21 Ulrich Drepper <drepper@gmail.com>
46694
46695 [BZ #13439]
46696 * iconv/gconv.h: Define __GCONV_SWAP.
46697 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46698 * iconvdata/utf-16.c: Likewise.
46699 * iconvdata/utf-32.c: Likewise.
46700
707f25df
AS
467012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46702
46703 [BZ #13524]
46704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46705 numerator after shifting it by one limb.
46706
d2daaa1e
RÁE
467072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46708
46709 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46710 under [__USE_EXTERN_INLINES].
46711
a4647e72
UD
467122011-12-17 Ulrich Drepper <drepper@gmail.com>
46713
46714 [BZ #13446]
46715 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46716
f0b264f1
AZ
467172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46718
46719 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46720 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46721 optimized code.
46722 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46723 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46724 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46725 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46726 for strncasecmp/strncasecmp_l compilation.
46727 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46728 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46729
8ef4f244
MP
467302011-12-08 Marek Polacek <mpolacek@redhat.com>
46731
46732 [BZ #13484]
46733 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46734 of __asm__.
46735
97ac2654
UD
467362011-12-17 Ulrich Drepper <drepper@gmail.com>
46737
46738 [BZ #13506]
46739 * time/tzfile.c (__tzfile_read): Check values from file header.
46740
91d2a845
WS
467412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46742
46743 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46744 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46745 * powerpc/powerpc32/dl-start.S: Likewise.
46746 * powerpc/powerpc32/elf/start.S: Likewise.
46747 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46748 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46749 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46750 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46751 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46752 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46753 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46754 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46755 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46756 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46757 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46758 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46759 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46760 * powerpc/powerpc32/memset.S: Likewise.
46761 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46762 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46763 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46764 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46765 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46766 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46767 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46768 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46769 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46770 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46771 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46772 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46773 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46774
a1267ba1
AZ
467752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46776
46777 * math/libm-test.inc: Added more nearbyint tests.
46778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46782
ad8ac1bd
RL
467832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46784
46785 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46786 FD_CLOEXEC.
46787
1d3e4b61
UD
467882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46789
46790 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46791 Add wcscpy-ssse3 wcscpy-c.
46792 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46793 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46794 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46795 * sysdeps/x86_64/wcschr.S: New file.
46796 * sysdeps/x86_64/wcsrchr.S: New file.
46797 * string/test-strcmp.c: Remove checking of wcscmp function for
46798 wrong alignments.
46799 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46800 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46801 wcsrchr-sse2 wcsrchr-c.
46802 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46803 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46804 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46805 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46806 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46807 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46808 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46809 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46810 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46811 * wcsmbc/wcschr.c (WCSCHR): New macro.
46812
5b330a2d
UD
468132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46814
46815 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46816 * wcsmbs/test-wcsrchr.c: New file.
46817 * string/test-strrchr.c: Add wcsrchr support.
46818 (WIDE): New macro.
46819 * wcsmbs/test-wcscpy.c: New file.
46820 * string/test-strcpy.c: Add wcscpy support.
46821 (WIDE): New macro.
26428b7c 46822
f039c043
UD
468232011-12-10 Ulrich Drepper <drepper@gmail.com>
46824
46825 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46826 the inner loop.
46827
850fb039
AS
468282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46829
46830 [BZ #13472]
46831 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46832
4efbd5cb
UD
468332011-12-04 Ulrich Drepper <drepper@gmail.com>
46834
52ff5dd0 46835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46836 Minor optimizations.
52ff5dd0 46837
4efbd5cb
UD
46838 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46839 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46840 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46841
8a426e12
UD
468422011-12-03 Ulrich Drepper <drepper@gmail.com>
46843
aff2453d
UD
46844 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46845 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46846 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46847 for gcc to avoid warnings.
46848 * inet/Makefile (tests): Add tst-checks.
46849 * inet/tst-checks.c: New file.
46850
46851 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46852 warning.
46853
46854 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46855 __wmemcmp_sse2.
46856
46857 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46858 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46859
8a426e12
UD
46860 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46861
9bea3473
UD
468622011-12-02 Ulrich Drepper <drepper@gmail.com>
46863
3a965496
UD
46864 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46865 problem.
46866
9bea3473
UD
46867 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46868
f101631b
UD
468692011-11-29 Joseph Myers <joseph@codesourcery.com>
46870
46871 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46872 conditional on GCC version.
46873 (__arch_compare_and_exchange_val_8_acq)
46874 (__arch_compare_and_exchange_val_16_acq)
46875 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46876 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46877 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46878
a98275aa
UD
468792011-12-02 Joseph Myers <joseph@codesourcery.com>
46880
46881 * sysdeps/sh/backtrace.c: New file.
46882
d4cc29a2
AS
468832011-12-02 Andreas Schwab <schwab@redhat.com>
46884
46885 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46886 parenthesis.
46887
6257af2d
AS
468882011-12-01 Andreas Schwab <schwab@redhat.com>
46889
46890 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46891 falling back to utime.
46892
b5f44c1a
AS
468932011-11-30 Andreas Schwab <schwab@redhat.com>
46894
46895 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46896 expectations for float.
46897
f3a6cc0a
AS
468982011-11-29 Andreas Schwab <schwab@redhat.com>
46899
46900 * locale/weight.h (findidx): Add parameter len.
46901 * locale/weightwc.h (findidx): Likewise.
46902 * posix/fnmatch_loop.c (FCT): Adjust caller.
46903 * posix/regcomp.c (build_equiv_class): Likewise.
46904 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46905 * posix/regexec.c (check_node_accept_bytes): Likewise.
46906 * string/strcoll_l.c (STRCOLL): Likewise.
46907 * string/strxfrm_l.c (STRXFRM): Likewise.
46908
9d65ea3a
UD
469092011-11-17 Ulrich Drepper <drepper@gmail.com>
46910
46911 * Makefile.in: Remove CVSOPT handling.
46912 * configure.in: Remove use of AC_REVISION.
46913 * iconvdata/Makefile (distribute): No need to filter out CVS.
46914 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46915 handling.
46916
5583a086
AS
469172011-11-16 Andreas Schwab <schwab@redhat.com>
46918
46919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46920 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46921 [USE_AS_STRNCASECMP_L]: Likewise.
46922 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46923 NO_TLS_DIRECT_SEG_REFS.
46924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46925 Fix argument offsets for non-PIC.
46926 [USE_AS_STRNCASECMP_L]: Likewise.
46927 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46928 NO_TLS_DIRECT_SEG_REFS.
46929
d62a8200
UD
469302011-11-15 Ulrich Drepper <drepper@gmail.com>
46931
9d65ea3a 46932 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46933 O_CLOEXEC.
46934 * locale/loadlocale.c (_nl_load_locale): Likewise.
46935
09f93bd3
AS
469362011-11-15 Andreas Schwab <schwab@redhat.com>
46937
446514f9
AS
46938 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46939 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46941 (SYSCALL_GETTIME): Set errno on error.
46942
09f93bd3
AS
46943 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46944 count references to noai6ai_cached.
46945
312be3f9
UD
469462011-11-15 Ulrich Drepper <drepper@gmail.com>
46947
46948 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46949
46950 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46951 FD_CLOEXEC for /proc/self/maps.
46952
46953 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46954 FD_CLOEXEC for /proc/meminfo.
46955
46956 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46957 gai.conf.
46958
46959 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46960 FD_CLOEXEC for given file.
46961
46962 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46963
46964 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46965 FD_CLOEXEC for /etc/hosts.
46966 (_gethtent): Likewise.
46967
46968 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46969
46970 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46971 cancellation and set FD_CLOEXEC for /etc/netgroup.
46972
46973 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46974 reading /etc/publickey.
46975
46976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46977 allow cancellation when reading /etc/group.
46978
46979 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46980 cancellation.
46981 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46982
46983 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46984 when using data file.
46985
46986 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46987
46988 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46989 (write_nis_obj): Use "c" and "e" in fopen.
46990
46991 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46992
46993 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46994
46995 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46996
46997 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46998
46999 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47000 locale.alias.
47001
47002 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47003
47004 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47005
47006 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47007
47008 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47009 file parsing and set FD_CLOEXEC.
47010
82af0fa8
UD
470112011-11-14 Ulrich Drepper <drepper@gmail.com>
47012
47013 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47014
a5fb313c
AS
470152011-11-14 Andreas Schwab <schwab@redhat.com>
47016
47017 * malloc/arena.c (arena_get2): Don't call reused_arena when
47018 _int_new_arena failed.
47019
6abf3465
UD
470202011-11-14 Ulrich Drepper <drepper@gmail.com>
47021
47022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47023 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47024 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47025 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47028 to compile strcasecmp and strncasecmp.
47029 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47030 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47031
47032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47033
76e3966e
UD
470342011-11-13 Ulrich Drepper <drepper@gmail.com>
47035
47036 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47037 locale-defines.sym to gen-as-const-headers.
47038 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47039 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47041 to compile strcasecmp and strncasecmp.
47042 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47043 strcasecmp_l and strncasecmp_l.
47044 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47045 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47046 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47047 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47048 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47049 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47050 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47051 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47052 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47053 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47054 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47055
ab26144e
UD
470562011-11-12 Ulrich Drepper <drepper@gmail.com>
47057
7edb22ef
UD
47058 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47059 result of SYSDEP_GETTIME_CPU to retval.
47060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47061 parameter list to macro. Remove trailing semicolon. Adjust users.
47062
9694fc44
UD
47063 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47064 variable.
47065
8ad89ef8
UD
47066 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47067 mantissa words.
47068 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47069
0c822ef9
UD
47070 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47071 from unused variable.
47072
874e0564
UD
47073 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47074 DWARF definitions.
47075 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47076 for assembling.
47077
3a2edc79
UD
47078 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47079 over namespaces.
47080
f3c2577f
UD
47081 * sunrpc/rpc_prot.c (rejected): Fix case value.
47082
294ce126
UD
47083 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47084 unsigned long long int to avoid warnings in shift.
47085
5e2b63c6
UD
47086 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47087 of use of trans.
47088 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47089 variable tmp.
47090
e7f4b08e
UD
47091 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47092 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47093 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47094
ab26144e
UD
47095 * nis/nis_table.c (nis_list): Use variable of correct type for
47096 result of __follow_path call.
47097
8a6d5255
AZ
470982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47099
47100 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47101 of math functions ceil, trunc, floor, round, and sqrt, when
47102 avaliable on the platform.
47103 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47104 name clash.
47105 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47106 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47107 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47108
aaddc98c
MP
471092011-10-30 Marek Polacek <mpolacek@redhat.com>
47110
47111 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47113
95b7042b
RM
471142011-11-11 Roland McGrath <roland@hack.frob.com>
47115
47116 * include/unistd.h: Fix __readlink return type.
47117 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47118
57769839
UD
471192011-11-11 Ulrich Drepper <drepper@gmail.com>
47120
47121 * stdlib/ucontext.h: Undo last change for makecontext.
47122
edc5984d
AS
471232011-11-11 Andreas Schwab <schwab@redhat.com>
47124
98591e58
AS
47125 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47126
edc5984d
AS
47127 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47128 * setjmp/setjmp.h: Mark functions as non-leaf.
47129 * setjmp/bits/setjmp2.h: Likewise.
47130 * stdlib/ucontext.h: Likewise.
47131
77cdc054
AS
471322011-11-10 Andreas Schwab <schwab@redhat.com>
47133
47134 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47135 (reused_arena): Don't check arena limit.
47136 (arena_get2): Atomically check arena limit.
47137
fe72eebd
UD
471382011-11-08 Ulrich Drepper <drepper@gmail.com>
47139
5f078c32
UD
47140 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47141 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47142
fe72eebd
UD
47143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47144 instructions.
47145
ae1bc2fa
AS
471462011-11-07 Andreas Schwab <schwab@redhat.com>
47147
7583a88d
AS
47148 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47149 handler when locking.
47150
ae1bc2fa
AS
47151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47152 Fix size of allocated buffer.
47153
10fb0bfa
AS
471542011-11-04 Andreas Schwab <schwab@redhat.com>
47155
998832a4
AS
47156 [BZ #10103]
47157 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47158 declarations for long double functions.
47159 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47160
10fb0bfa
AS
47161 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47162
3d7ba52b
AS
471632011-11-03 Andreas Schwab <schwab@redhat.com>
47164
a9ae54a1
AS
47165 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47166 installed.
47167
3d7ba52b
AS
47168 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47169 is disabled.
47170
bc8db248
ST
471712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47172
47173 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47174
45b96dd6
AS
471752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47176
647776f6
AS
47177 * include/alloca.h (stackinfo_alloca_round): Define.
47178 (extend_alloca): Use it.
47179 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47180 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47181 here.
47182
d91a8b93
AS
47183 * scripts/check-local-headers.sh: Ignore libaudit.h.
47184
45b96dd6
AS
47185 * nscd/Makefile (extra-objs): Make recursively expanded.
47186
432d41ce
UD
471872011-11-01 Ulrich Drepper <drepper@gmail.com>
47188
34372fc6
UD
47189 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47191
fadb59f8
UD
47192 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47193 * posix/tst-rfc3484-2.c: Likewise.
47194 * posix/tst-rfc3484-3.c: Likewise.
47195
78239589
UD
47196 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47197 process_vm_writev.
47198 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47199 process_vm_writev.
47200 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47201 process_vm_writev from libc using GLIBC_2.15 version.
47202
432d41ce
UD
47203 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47204
02f9c6cf
PP
472052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47206
47207 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47208 stack usage.
47209
3a2c0242
UD
472102011-10-31 Ulrich Drepper <drepper@gmail.com>
47211
f4ec4833
UD
47212 [BZ #13367]
47213 * nss/getent.c (initgroups_keys): Show error message in case no group
47214 names are given.
47215
3a2c0242
UD
47216 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47217 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47218 __bump_nl_timestamp.
47219 * nscd/connections (nscd_init): When host database is served open
47220 netlink socket and request notification about configuration changes.
47221 (main_loop_poll): Track netlink file descriptor and bump timestamp
47222 in case data becomes available.
47223 (main_loop_epoll): Likewise.
47224 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47225 (database_pers_head): Add extra_data fileds.
47226 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47227 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47228 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47229 Adjust caller.
47230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47231 in6ai data, call __free_in6ai.
47232 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47233 Add -DHAVE_NETLINK.
47234 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47235 interface information. Reuse previous data if netlink timestamp
47236 is not changed.
47237 (__bump_nl_timestamp): New function.
47238 (__free_in6ai): New function.
47239
636064eb
UD
472402011-10-30 Ulrich Drepper <drepper@gmail.com>
47241
47242 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47243 close_not_cancel_no_status here.
47244 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47245
9beb2334
UD
472462011-10-29 Ulrich Drepper <drepper@gmail.com>
47247
6ef76f3b
UD
47248 [BZ #13276]
47249 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47250 return value.
47251
0ffc4f3e 47252 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47253 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47254 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47255
cb95113e
UD
472562011-07-03 Andreas Jaeger <aj@suse.de>
47257
47258 [BZ #10709]
47259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47260 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47261 * math/libm-test.inc (sin_test): Add test case.
47262
a1b560ff
UD
472632011-10-29 Ulrich Drepper <drepper@gmail.com>
47264
c9aaface
UD
47265 [BZ #13337]
47266 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47267 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47268
d272e7f1
UD
47269 * elf/chroot_canon.c (chroot_canon): Cleanups.
47270
1bc33071
UD
47271 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47272
1760874d
TJ
47273 [BZ #13335]
47274 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47275 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47276
51d91b18
UD
47277 * string/test-strchr.c: Make usable for strchrnul testing.
47278 * string/test-strchrnul.c: New file.
47279 * string/Makefile (strop-tests): Add strchrnul.
47280
a1b560ff 47281 * po/it.po: Update from translation team.
b611fb81 47282 * po/es.po: Likewise.
a1b560ff 47283
a5b81e1f
UD
472842011-10-28 Ulrich Drepper <drepper@gmail.com>
47285
fd52bc6d
UD
47286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47287 the three constants needed as parameters. Drop the others.
47288 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47289 __m128i_strloadu_tolower.
52e4b9eb
UD
47290 Create and initialize variable zero and use it in all the places
47291 where _mm_setzero_si128 was used.
fd52bc6d 47292
a5b81e1f
UD
47293 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47294 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47295 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47296 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47297 anymore.
47298 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47299 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47300 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47301 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47302 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47303 __mpranred, __mptan.
47304 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47305 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47306 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47307 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47308 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47309 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47311 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47312 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47313
b4343346
AS
473142011-10-28 Andreas Schwab <schwab@redhat.com>
47315
0c92d8a8
AS
47316 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47317 redefine if SHARED.
47318 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47319
b4343346
AS
47320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47321 wide char related routines to wcsmbs subdir.
47322
3871f58f
AS
473232011-10-27 Andreas Schwab <schwab@redhat.com>
47324
47325 [BZ #13344]
47326 * misc/sys/cdefs.h (__THROWNL): Define.
47327 * posix/unistd.h: Use __THREADNL instead of __THREAD
47328 for memory synchronization functions.
47329
94d44d9f
RM
473302011-10-26 Roland McGrath <roland@hack.frob.com>
47331
21b64b15 47332 [BZ #13349]
94d44d9f
RM
47333 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47334 doesn't exist.
47335 * manual/stdio.texi (Obstack Streams): Node removed.
47336
f6ce9294
AS
473372011-10-26 Andreas Schwab <schwab@redhat.com>
47338
80479147
AS
47339 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47342
f6ce9294
AS
47343 * math/math_private.h (math_force_eval): Allow non-addressable
47344 arguments.
47345 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47346
618280a1
UD
473472011-10-25 Ulrich Drepper <drepper@gmail.com>
47348
e0016b11
UD
47349 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47350 file is not needed.
47351
47352 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47359 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47360 Add AVX variants.
47361 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47362 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47363 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47364 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47366 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47367 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47369 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47370 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47371 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47372 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47374 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47375 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47376 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47377 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47378 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47379 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47380
47381 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47382 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47383
618280a1
UD
47384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47385 place. Use VEX encoding when compiling for AVX.
47386
37822576
AS
473872011-10-25 Andreas Schwab <schwab@redhat.com>
47388
1f1e1947
AS
47389 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47390 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47391
37822576
AS
47392 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47393
31ea014d
UD
473942011-10-25 Ulrich Drepper <drepper@gmail.com>
47395
d7826aa1 47396 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47397 useless if() expression.
d7826aa1
UD
47398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47399 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47400 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47403 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47408 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47409 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47410 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47411 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47412 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47413 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47414 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47417
31ea014d
UD
47418 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47419
16437fec
AS
474202011-10-25 Andreas Schwab <schwab@redhat.com>
47421
47422 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47423 condition.
47424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47425
31d3cc00
UD
474262011-10-25 Ulrich Drepper <drepper@gmail.com>
47427
47428 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47429 .text section. Avoid duplicate constants.
47430 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47440 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47441 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47442 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47443 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47446 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47447 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47448 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47453 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47454 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47455 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47456 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47457 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47463 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47464 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47465 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47466 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47467 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47468 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47469 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47470 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47475
58985aa9
UD
474762011-10-24 Ulrich Drepper <drepper@gmail.com>
47477
202c9deb
UD
47478 * sysdeps/x86_64/dla.h: Move to ...
47479 * sysdeps/x86_64/fpu/dla.h: ...here.
47480 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47481 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47482
af968f62
UD
47483 * config.make.in: Add have-mfma4 entry.
47484 * configure.in: Substitute libc_cv_cc_fma4.
47485 * math/Makefile (dbl-only-routines): Add sincostab.
47486 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47487 Use __sincostab not sincos.
47488 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47489 name is a macro.
47490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47494 using __copysign.
47495 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47496 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47497 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47498 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47499 and __inv.
47500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47501 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47502 __copysign.
47503 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47504 define aliases when function name is a macro.
47505 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47506 sysdeps/ieee754/dbl-64/sincos.tbl.
47507 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47508 fma4-enabled routines.
47509 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47510 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47511 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47512 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47513 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47514 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47516 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47517 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47518 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47519 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47521 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47522 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47524 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47525 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47526 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47527 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47528 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47529 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47530 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47532 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47533 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47534 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47536 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47537 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47538 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47539
58985aa9
UD
47540 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47541 rename.
47542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47549 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47550
a201fbcf
AS
475512011-10-24 Andreas Schwab <schwab@redhat.com>
47552
47553 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47554
fc2ee42a
LD
475552011-10-23 Ulrich Drepper <drepper@gmail.com>
47556
bb3129bd
UD
47557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47558
0275fff8
UD
47559 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47560 prediction.
47561 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47562
2fa2ae85
UD
47563 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47564 Remove unused variable magic_bits.
47565 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47566
fc2ee42a
LD
47567 * string/strnlen.c: Define and use STRNLEN macro.
47568 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47569 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47571 * wcsmbs/wcslen.c: Define and use WCSLEN.
47572 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47573 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47574 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47575 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47576 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47577 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47578 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47579
ce7dd29f
LD
475802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47581
47582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47583 strnlen-sse2-no-bsf.
47584 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47585 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47586 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47587 Add strnlen support.
47588 (USE_AS_STRNLEN): New macro.
47589 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47590 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47591 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47592 * sysdeps/x86_64/wcslen.S: New file.
47593
979c70a3
MZ
475942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47595
47596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47597 XMM-moves are used for copying on small sizes.
47598
2d09f82f
LD
475992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47600
47601 * wcsmbs/Makefile (strop-tests): Add wcschr.
47602 * wcsmbs/test-wcschr.c: New file.
47603 * string/test-strchr.c: Update.
47604 Add wcschr support.
47605 (WIDE): New macro.
47606
619fccca
LD
476072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47608
2d09f82f 47609 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47610 * wcsmbs/test-wcslen.c: New file.
47611 * string/test-strlen.c: Update.
47612 Add wcslen support.
47613 (WIDE): New macro.
47614
09f699ea
UD
476152011-10-23 Ulrich Drepper <drepper@gmail.com>
47616
47617 * po/it.po: Update from translation team.
47618
95584d3b
LD
476192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47620
47621 * sysdeps/x86_64/wcscmp.S: Update.
47622 Fix wrong comparison semantics.
47623 wcscmp shall use signed comparison not unsigned.
47624 Don't use substraction to avoid overflow bug.
47625 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47626 * wcsmbc/wcscmp.c: Likewise.
47627 * string/test-strcmp.c: Likewise.
47628 Add new tests to check cases with negative values.
47629
c8b3296b
UD
476302011-10-23 Ulrich Drepper <drepper@gmail.com>
47631
47632 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47633 * sysdeps/x86_64/dla.h: ...here. New file.
47634 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47643
246ad57a
AS
476442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47645
47646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47647 __ynl_finite aliases.
47648
a1a87169
UD
476492011-10-22 Ulrich Drepper <drepper@gmail.com>
47650
0d355eb7
UD
47651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47652
a1a87169
UD
47653 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47654 define DLA_FMA.
47655 [DLA_FMA] (EMULV): Use DLA_FMA.
47656 [DLA_FMA] (MUL12): Use EMULV.
47657 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47658 that are not needed.
47659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47666
ee2aafe0
AS
476672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47668
47669 * math/s_nan.c: Undef __nan.
47670 * math/s_nanf.c: Undef __nanf.
47671 * math/s_nanl.c: Undef __nanl.
47672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47673 "math_private.h".
47674
bc62c2fb
UD
476752011-10-22 Ulrich Drepper <drepper@gmail.com>
47676
77425c63
UD
47677 * math/s_catan.c: Add branch predictions.
47678 * math/s_catanf.c: Likewise.
47679 * math/s_catanh.c: Likewise.
47680 * math/s_catanhf.c: Likewise.
47681 * math/s_catanhl.c: Likewise.
47682 * math/s_catanl.c: Likewise.
47683 * math/s_cexp.c: Likewise.
47684 * math/s_cexpf.c: Likewise.
47685 * math/s_cexpl.c: Likewise.
47686 * math/s_clog.c: Likewise.
47687 * math/s_clog10.c: Likewise.
47688 * math/s_clog10f.c: Likewise.
47689 * math/s_clog10l.c: Likewise.
47690 * math/s_clogf.c: Likewise.
47691 * math/s_clogl.c: Likewise.
47692 * math/s_csqrt.c: Likewise.
47693 * math/s_csqrtf.c: Likewise.
47694 * math/s_csqrtl.c: Likewise.
47695 * math/s_ctanf.c: Likewise.
47696 * math/s_ctanh.c: Likewise.
47697 * math/s_ctanhf.c: Likewise.
47698 * math/s_ctanhl.c: Likewise.
47699 * math/s_ctanl.c: Likewise.
47700
bc62c2fb
UD
47701 * math/math_private.h: Define __nan, __nanf, __nanl.
47702 * math/s_cacosh.c: Include <math_private.h>.
47703 * math/s_cacoshl.c: Likewise.
47704 * math/s_casinh.c: Likewise.
47705 * math/s_casinhf.c: Likewise.
47706 * math/s_casinhl.c: Likewise.
47707 * math/s_ccos.c: Rely entire on ccosh.
47708 * math/s_ccosf.c: Rely entire on ccoshf.
47709 * math/s_ccosl.c: Rely entirely on ccoshl.
47710 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47711 Remove tests for FE_INVALID.
47712 * math/s_ccoshf.c: Likewise.
47713 * math/s_ccoshl.c: Likewise.
47714 * math/s_csin.c: Likewise.
47715 * math/s_csinf.c: Likewise.
47716 * math/s_csinh.c Likewise.
47717 * math/s_csinhf.c: Likewise.
47718 * math/s_csinhl.c: Likewise.
47719 * math/s_csinl.c: Likewise.
47720 * math/s_ctan.c: Likewise.
47721 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47722 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47724
8ec250a4
UD
477252011-10-21 Ulrich Drepper <drepper@gmail.com>
47726
c196fed8
UD
47727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47728 compilation problems.
47729
8ec250a4
UD
47730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47731 __builtin_expect.
47732
8d4f46c6
UD
477332011-10-20 Ulrich Drepper <drepper@gmail.com>
47734
ed72b654
UD
47735 * sysdeps/i386/configure.in: Test for -mfma4 option.
47736 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47737 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47738 COMMON_CPUID_INDEX_80000001.
47739 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47740 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47741 use it if FMA3 is not supported.
47742 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47743
8d4f46c6
UD
47744 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47745 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47746
d45c60c2
AS
477472011-10-20 Andreas Schwab <schwab@redhat.com>
47748
47749 [BZ #12892]
47750 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47751 it would create a cycle with a link time dependency.
47752
d9a4d2ab
UD
477532011-10-19 Ulrich Drepper <drepper@gmail.com>
47754
855d1560
UD
47755 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47756 instruction.
47757 * string/Makefile (strop-tests): Add rawmemchr.
47758 * string/test-rawmemchr.c: New file.
47759
d9a4d2ab
UD
47760 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47761 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47762 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47763 when compiling str{,n}casecmp and when AVX is available. Hook up
47764 new optimized code in initializers.
47765
8f3b1ffe
AS
477662011-10-19 Andreas Schwab <schwab@redhat.com>
47767
47768 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47769 __feraiseexcept instead of feraiseexcept.
47770
d38f1dba
UD
477712011-10-18 Ulrich Drepper <drepper@gmail.com>
47772
d9a8d0ab
UD
47773 * math/math_private.h: Define defaults for libc_fetestexcept and
47774 libc_feupdateenv.
47775 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47776 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47777 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47778 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47779 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47780 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47781 libc_fetestexcept and libc_feupdateenv.
47782
4855e3dd
UD
47783 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47784 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47785 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47786 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47787 libc_feholdexcept_setround.
47788
581d30e3
UD
47789 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47790 Add s_nearbyint-c and s_nearbyintf-c.
47791 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47792 nearbyintf inlines.
47793 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47794 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47796 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47797
d38f1dba
UD
47798 * math/math_private.h: Define defaults for libc_fegetround,
47799 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47800 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47801 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47803 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47804 standard functions.
47805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47806 Remove comments and hacks for old compiler versions.
47807 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47808 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47809 libc_feholdexceptl.
47810
caa6c9d8
AS
478112011-10-18 Andreas Schwab <schwab@redhat.com>
47812
47813 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47814 (__feraiseexcept_renamed): Add __NTH.
47815 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47816 namespace violations.
47817
97c066e6
UD
478182011-10-17 Ulrich Drepper <drepper@gmail.com>
47819
99ce7b04
UD
47820 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47821
1004d182
UD
47822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47823
228a984d
UD
47824 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47825 recently added interfaces.
47826 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47827
c8553a6a
UD
47828 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47829 about macro parameter expansion.
47830
ed22dcf6
UD
47831 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47832 __NO_MATH_INLINES is defined. Cleanups.
47833
47834 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47835 and __floorf is target has SSE4.1.
47836 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47837 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47838 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47839 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47840
b171c137
UD
47841 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47842 name.
47843 (floorf): Likewise.
47844
97c066e6
UD
47845 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47846
629f62ef
AS
478472011-10-17 Andreas Schwab <schwab@redhat.com>
47848
49a43d80
AS
47849 * misc/sys/cdefs.h: Fix last change.
47850
629f62ef
AS
47851 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47852 database lookup.
47853
e453f6cd
UD
478542011-10-16 Ulrich Drepper <drepper@gmail.com>
47855
aa78043a
UD
47856 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47857
ad0f5cad
UD
47858 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47860 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47861 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47864 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47866 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47867 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47868 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47869 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47870 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47871 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47872 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47873 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47874 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47875 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47876 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47877 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47878 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47879 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47880
47881 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47882 ceil, ceilf, floor, floorf.
47883
47884 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47885 Perform IRELATIVE relocations last.
47886
e453f6cd
UD
47887 * elf/do-rel.h: Add another parameter nrelative, replacing the
47888 local variable with the same name. Change name of the function
47889 to end in Rel or Rela (uppercase).
47890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47891 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47892 elf_dynamic_do_##reloc function.
47893
fd5bdc09
UD
478942011-10-15 Ulrich Drepper <drepper@gmail.com>
47895
79b195b5
UD
47896 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47897 is sufficient, at least on modern CPUs.
47898
d4a28569
UD
47899 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47900
b61099b5
UD
47901 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47903
bcf01e6d
UD
47904 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47905 __expl_finite.
47906 * math/bits/math-finite.h: Add entries for exp.
47907 * math/e_expl.c: Add __*_finite alias.
47908 * sysdeps/i386/fpu/e_exp.S: Likewise.
47909 * sysdeps/i386/fpu/e_expf.S: Likewise.
47910 * sysdeps/i386/fpu/e_expl.c: Likewise.
47911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47912 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47913 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47915 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47916 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47917 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47918
ba1a0d59
UD
47919 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47920 is sufficient, at least on modern CPUs.
47921
fd5bdc09
UD
47922 * ctype/ctype-info.c (__ctype_init): Define.
47923 * include/ctype.h (__ctype_init): Declare.
47924 (__ctype_b_loc): The variable is always initialized.
47925 (__ctype_toupper_loc): Likewise.
47926 (__ctype_tolower_loc): Likewise.
47927 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47928 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47929
7872cfb0
AS
479302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47931
b468825a
AS
47932 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47933
7872cfb0
AS
47934 * configure.in: Also look in $cxxmachine/include for C++ system
47935 headers.
47936
be13f7bf
LD
479372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47938
47939 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47940 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47941 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47942 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47943 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47944 (USE_AS_WMEMCMP): New macro.
47945 Fixing indents.
47946 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47947 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47948 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47949 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47951 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47952 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47953 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47954 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47955 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47956 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47957 (USE_AS_WMEMCMP): New macro.
47958 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47959 * sysdeps/string/test-memcmp.c: Update.
47960 Fix simple_wmemcmp.
47961 Add new tests.
47962 * wcsmbs/wmemcmp.c: Update.
47963 (WMEMCMP): New macro.
47964 Fix overflow bug.
47965
556a2007
AJ
479662011-10-12 Andreas Jaeger <aj@suse.de>
47967
47968 [BZ #13268]
47969 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47970
538faaa7
UD
479712011-10-15 Ulrich Drepper <drepper@gmail.com>
47972
ab6737ff
UD
47973 * libio/iofwide.c (do_length): Avoid warning.
47974
538faaa7
UD
47975 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47976
396a21b1
UD
479772011-10-14 Ulrich Drepper <drepper@gmail.com>
47978
cdf2901f
UD
47979 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47980
38ad40ce
UD
47981 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47982 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47983 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47984 * sysdeps/i386/i686/fpu/e_log.S: New file.
47985 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47986 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47987
396a21b1
UD
47988 * ctype/ctype.h: Add support for inlined isXXX functions when
47989 compiling C++ code.
47990
6b1f68c9
AS
479912011-10-14 Andreas Schwab <schwab@redhat.com>
47992
349290c0
AS
47993 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47994
6b1f68c9
AS
47995 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47996
f2282d42
RM
479972011-10-13 Roland McGrath <roland@hack.frob.com>
47998
47999 [BZ #13291]
48000 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48001
5298ffa8
AS
480022011-10-13 Andreas Schwab <schwab@redhat.com>
48003
714fad23
AS
48004 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48005 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48006 feraiseexcept.
48007
81dcc7fb
AS
48008 * sysdeps/x86_64/memrchr.S: Check for zero size.
48009
5298ffa8
AS
48010 * string/stratcliff.c: Add memrchr tests.
48011
951fbcec
LD
480122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48013
48014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48015 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48016 rawmemchr-sse2 rawmemchr-sse2-bsf.
48017 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48018 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48019 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48020 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48021 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48022 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48023 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48024 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48025 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48026 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48027 * string/memrchr.c (MEMRCHR): New macro.
48028
0ac5ae23
UD
480292011-10-12 Ulrich Drepper <drepper@gmail.com>
48030
48031 Add integration with gcc's -ffinite-math-only and optimize wrapper
48032 functions in libm.
48033 * Versions.def: Define GLIBC_2.15 version for libm.
48034 * math/Makefile (headers): Add bits/math-finite.h.
48035 * math/bits/math-finite.h: New file.
48036 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48037 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48038 * math/e_acoshl.c: Add __*_finite alias.
48039 * math/e_acosl.c: Likewise.
48040 * math/e_asinl.c: Likewise.
48041 * math/e_atan2l.c: Likewise.
48042 * math/e_atanhl.c: Likewise.
48043 * math/e_coshl.c: Likewise.
48044 * math/e_exp10.c: Likewise.
48045 * math/e_exp10f.c: Likewise.
48046 * math/e_exp10l.c: Likewise.
48047 * math/e_exp2l.c: Likewise.
48048 * math/e_fmodl.c: Likewise.
48049 * math/e_gammal_r.c: Likewise.
48050 * math/e_hypotl.c: Likewise.
48051 * math/e_j0l.c: Likewise.
48052 * math/e_j1l.c: Likewise.
48053 * math/e_jnl.c: Likewise.
48054 * math/e_lgammal_r.c: Likewise.
48055 * math/e_log10l.c: Likewise.
48056 * math/e_log2l.c: Likewise.
48057 * math/e_logl.c: Likewise.
48058 * math/e_powl.c: Likewise.
48059 * math/e_sinhl.c: Likewise.
48060 * math/e_sqrtl.c: Likewise.
48061 * math/e_scalb.c: Completely rewritten and optimized.
48062 * math/e_scalbf.c: Likewise.
48063 * math/e_scalbl.c: Likewise.
48064 * math/w_acos.c: Likewise.
48065 * math/w_acosf.c: Likewise.
48066 * math/w_acosl.c: Likewise.
48067 * math/w_acosh.c: Likewise.
48068 * math/w_acoshf.c: Likewise.
48069 * math/w_acoshl.c: Likewise.
48070 * math/w_asin.c: Likewise.
48071 * math/w_asinf.c: Likewise.
48072 * math/w_asinl.c: Likewise.
48073 * math/w_atan2.c: Likewise.
48074 * math/w_atan2f.c: Likewise.
48075 * math/w_atan2l.c: Likewise.
48076 * math/w_atanh.c: Likewise.
48077 * math/w_atanhf.c: Likewise.
48078 * math/w_atanhl.c: Likewise.
48079 * math/w_exp10.c: Likewise.
48080 * math/w_exp10f.c: Likewise.
48081 * math/w_exp10l.c: Likewise.
48082 * math/w_fmod.c: Likewise.
48083 * math/w_fmodf.c: Likewise.
48084 * math/w_fmodl.c: Likewise.
48085 * math/w_j0.c: Likewise.
48086 * math/w_j0f.c: Likewise.
48087 * math/w_j0l.c: Likewise.
48088 * math/w_j1.c: Likewise.
48089 * math/w_j1f.c: Likewise.
48090 * math/w_j1l.c: Likewise.
48091 * math/w_jn.c: Likewise.
48092 * math/w_jnf.c: Likewise.
48093 * math/w_log.c: Likewise.
48094 * math/w_logf.c: Likewise.
48095 * math/w_logl.c: Likewise.
48096 * math/w_log10.c: Likewise.
48097 * math/w_log10f.c: Likewise.
48098 * math/w_log10l.c: Likewise.
48099 * math/w_log2.c: Likewise.
48100 * math/w_log2f.c: Likewise.
48101 * math/w_log2l.c: Likewise.
48102 * math/w_pow.c: Likewise.
48103 * math/w_powf.c: Likewise.
48104 * math/w_powl.c: Likewise.
48105 * math/w_remainder.c: Likewise.
48106 * math/w_remainderf.c: Likewise.
48107 * math/w_remainderl.c: Likewise.
48108 * math/w_scalb.c: Likewise.
48109 * math/w_scalbf.c: Likewise.
48110 * math/w_scalbl.c: Likewise.
48111 * math/w_sqrt.c: Likewise.
48112 * math/w_sqrtf.c: Likewise.
48113 * math/w_sqrtl.c: Likewise.
48114 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48115 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48116 used.
48117 * math/math_private.h: Declare __kernel_standard_f.
48118 * math/w_cosh.c: Remove cruft and optimize a bit.
48119 * math/w_coshf.c: Likewise.
48120 * math/w_coshl.c: Likewise.
48121 * math/w_exp2.c: Likewise.
48122 * math/w_exp2f.c: Likewise.
48123 * math/w_exp2l.c: Likewise.
48124 * math/w_hypot.c: Likewise.
48125 * math/w_hypotf.c: Likewise.
48126 * math/w_hypotl.c: Likewise.
48127 * math/w_lgamma.c: Likewise.
48128 * math/w_lgamma_r.c: Likewise.
48129 * math/w_lgammaf.c: Likewise.
48130 * math/w_lgammaf_r.c: Likewise.
48131 * math/w_lgammal.c: Likewise.
48132 * math/w_lgammal_r.c: Likewise.
48133 * math/w_sinh.c: Likewise.
48134 * math/w_sinhf.c: Likewise.
48135 * math/w_sinhl.c: Likewise.
48136 * math/w_tgamma.c: Likewise.
48137 * math/w_tgammaf.c: Likewise.
48138 * math/w_tgammal.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48140 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48141 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48142 Minor optimizations. Pretty printing. Remove cruft.
48143 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48144 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48146 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48147 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48148 * sysdeps/i386/fpu/e_asin.S: Likewise.
48149 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48150 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48151 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48152 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48153 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48154 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48155 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48156 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48157 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48158 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48159 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48160 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48161 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48162 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48163 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48164 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48165 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48166 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48167 * sysdeps/i386/fpu/e_log.S: Likewise.
48168 * sysdeps/i386/fpu/e_log10.S: Likewise.
48169 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48170 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48171 * sysdeps/i386/fpu/e_log2.S: Likewise.
48172 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48173 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48174 * sysdeps/i386/fpu/e_logf.S: Likewise.
48175 * sysdeps/i386/fpu/e_logl.S: Likewise.
48176 * sysdeps/i386/fpu/e_pow.S: Likewise.
48177 * sysdeps/i386/fpu/e_powf.S: Likewise.
48178 * sysdeps/i386/fpu/e_powl.S: Likewise.
48179 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48180 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48181 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48182 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48183 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48185 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48186 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48187 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48193 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48195 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48199 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48201 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48202 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48205 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48209 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48212 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48213 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48215 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48216 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48217 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48218 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48219 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48222 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48223 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48224 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48225 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48226 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48227 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48228 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48229 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48271 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48272 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48273 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48275 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48276 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48281 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48282 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48283 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48284 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48285 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48286 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48287 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48288 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48289 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48290 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48291 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48292 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48293 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48296 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48297 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48298 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48299 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48300 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48301 (__isnanf): Likewise.
48302 (__isinf_ns): Likewise.
48303 (__isinf_nsf): Likewise.
48304 (__finite): Likewise.
48305 (__finitef): Likewise.
48306 (__ieee754_sqrt): Define as macro.
48307 (__ieee754_sqrtf): Define as macro.
48308 (__ieee754_sqrtl): Define as macro.
48309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48310 inlined copy.
48311 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48312 __FINITE_MATH_ONLY__ consistent.
48313 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48314
12cc2fcd
AS
483152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48316
a843a204
AS
48317 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48318 of rawmemchr.
48319
12cc2fcd
AS
48320 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48321
c853acd5
UD
483222011-10-09 Ulrich Drepper <drepper@gmail.com>
48323
48324 * po/ja.po: Update from translation team.
48325
c658d255
RM
483262011-10-08 Roland McGrath <roland@hack.frob.com>
48327
110946e4
RM
48328 * locale/programs/locarchive.c (prepare_address_space): New function.
48329 (create_archive, enlarge_archive, open_archive): Use it.
48330
50604220
RM
48331 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48332 inside [SHARED], where it is used.
48333
c658d255
RM
48334 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48335
48336 * nss/getent.c (netgroup_keys): Remove unused variable.
48337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48338
6a621eb7
UD
483392011-10-08 Ulrich Drepper <drepper@gmail.com>
48340
7edb55ce
UD
48341 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48342 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48344 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48345 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48346 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48347 * math/Makefile (libm-calls): Add s_isinf_ns.
48348 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48349 * math/multc3.c: Likewise.
48350 * math/s_casin.c: Likewise.
48351 * math/s_casinf.c: Likewise.
48352 * math/s_casinl.c: Likewise.
48353 * math/s_ccos.c: Likewise.
48354 * math/s_ccosf.c: Likewise.
48355 * math/s_ccosl.c: Likewise.
48356 * math/s_ctan.c: Likewise.
48357 * math/s_ctanf.c: Likewise.
48358 * math/s_ctanh.c: Likewise.
48359 * math/s_ctanhf.c: Likewise.
48360 * math/s_ctanhl.c: Likewise.
48361 * math/s_ctanl.c: Likewise.
48362 * math/w_fmod.c: Likewise.
48363 * math/w_fmodf.c: Likewise.
48364 * math/w_fmodl.c: Likewise.
48365 * math/w_remainder.c: Likewise.
48366 * math/w_remainderf.c: Likewise.
48367 * math/w_remainderl.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48369 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48372 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48373 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48374 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48375 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48376
187da0ae
UD
48377 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48378 of the number.
48379 * stdio-common/printf_fphex.c: Likewise.
48380 * stdio-common/printf_size.c: Likewise.
48381
9277c064
UD
48382 * math/e_exp10.c: Include math_private.h using <...> not "...".
48383 * math/e_exp10f.c: Likewise.
48384 * math/e_exp10l.c: Likewise.
48385 * math/e_exp2l.c: Likewise.
48386 * math/e_j0l.c: Likewise.
48387 * math/e_j1l.c: Likewise.
48388 * math/e_jnl.c: Likewise.
48389 * math/e_lgammal_r.c: Likewise.
48390 * math/e_rem_pio2l.c: Likewise.
48391 * math/e_scalb.c: Likewise.
48392 * math/e_scalbf.c: Likewise.
48393 * math/e_scalbl.c: Likewise.
48394 * math/k_cosl.c: Likewise.
48395 * math/k_sinl.c: Likewise.
48396 * math/k_tanl.c: Likewise.
48397 * math/s_cacoshf.c: Likewise.
48398 * math/s_catan.c: Likewise.
48399 * math/s_catanf.c: Likewise.
48400 * math/s_catanh.c: Likewise.
48401 * math/s_catanhf.c: Likewise.
48402 * math/s_catanhl.c: Likewise.
48403 * math/s_catanl.c: Likewise.
48404 * math/s_ccosh.c: Likewise.
48405 * math/s_ccoshf.c: Likewise.
48406 * math/s_ccoshl.c: Likewise.
48407 * math/s_cexp.c: Likewise.
48408 * math/s_cexpf.c: Likewise.
48409 * math/s_cexpl.c: Likewise.
48410 * math/s_clog.c: Likewise.
48411 * math/s_clog10.c: Likewise.
48412 * math/s_clog10f.c: Likewise.
48413 * math/s_clog10l.c: Likewise.
48414 * math/s_clogf.c: Likewise.
48415 * math/s_clogl.c: Likewise.
48416 * math/s_csin.c: Likewise.
48417 * math/s_csinf.c: Likewise.
48418 * math/s_csinh.c: Likewise.
48419 * math/s_csinhf.c: Likewise.
48420 * math/s_csinhl.c: Likewise.
48421 * math/s_csinl.c: Likewise.
48422 * math/s_csqrt.c: Likewise.
48423 * math/s_csqrtf.c: Likewise.
48424 * math/s_csqrtl.c: Likewise.
48425 * math/s_ctan.c: Likewise.
48426 * math/s_ctanf.c: Likewise.
48427 * math/s_ctanh.c: Likewise.
48428 * math/s_ctanhf.c: Likewise.
48429 * math/s_ctanhl.c: Likewise.
48430 * math/s_ctanl.c: Likewise.
48431 * math/s_ldexp.c: Likewise.
48432 * math/s_ldexpf.c: Likewise.
48433 * math/s_ldexpl.c: Likewise.
48434 * math/s_significand.c: Likewise.
48435 * math/s_significandf.c: Likewise.
48436 * math/s_significandl.c: Likewise.
48437 * math/w_acos.c: Likewise.
48438 * math/w_acosf.c: Likewise.
48439 * math/w_acosh.c: Likewise.
48440 * math/w_acoshf.c: Likewise.
48441 * math/w_acoshl.c: Likewise.
48442 * math/w_acosl.c: Likewise.
48443 * math/w_asin.c: Likewise.
48444 * math/w_asinf.c: Likewise.
48445 * math/w_asinl.c: Likewise.
48446 * math/w_atan2.c: Likewise.
48447 * math/w_atan2f.c: Likewise.
48448 * math/w_atan2l.c: Likewise.
48449 * math/w_atanh.c: Likewise.
48450 * math/w_atanhf.c: Likewise.
48451 * math/w_atanhl.c: Likewise.
48452 * math/w_cosh.c: Likewise.
48453 * math/w_coshf.c: Likewise.
48454 * math/w_coshl.c: Likewise.
48455 * math/w_dremf.c: Likewise.
48456 * math/w_exp10.c: Likewise.
48457 * math/w_exp10f.c: Likewise.
48458 * math/w_exp10l.c: Likewise.
48459 * math/w_exp2.c: Likewise.
48460 * math/w_exp2f.c: Likewise.
48461 * math/w_fmod.c: Likewise.
48462 * math/w_fmodf.c: Likewise.
48463 * math/w_fmodl.c: Likewise.
48464 * math/w_hypot.c: Likewise.
48465 * math/w_hypotf.c: Likewise.
48466 * math/w_hypotl.c: Likewise.
48467 * math/w_j0.c: Likewise.
48468 * math/w_j0f.c: Likewise.
48469 * math/w_j0l.c: Likewise.
48470 * math/w_j1.c: Likewise.
48471 * math/w_j1f.c: Likewise.
48472 * math/w_j1l.c: Likewise.
48473 * math/w_jn.c: Likewise.
48474 * math/w_jnf.c: Likewise.
48475 * math/w_jnl.c: Likewise.
48476 * math/w_lgamma.c: Likewise.
48477 * math/w_lgamma_r.c: Likewise.
48478 * math/w_lgammaf.c: Likewise.
48479 * math/w_lgammaf_r.c: Likewise.
48480 * math/w_lgammal.c: Likewise.
48481 * math/w_lgammal_r.c: Likewise.
48482 * math/w_log.c: Likewise.
48483 * math/w_log10.c: Likewise.
48484 * math/w_log10f.c: Likewise.
48485 * math/w_log10l.c: Likewise.
48486 * math/w_log2.c: Likewise.
48487 * math/w_log2f.c: Likewise.
48488 * math/w_log2l.c: Likewise.
48489 * math/w_logf.c: Likewise.
48490 * math/w_logl.c: Likewise.
48491 * math/w_pow.c: Likewise.
48492 * math/w_powf.c: Likewise.
48493 * math/w_powl.c: Likewise.
48494 * math/w_remainder.c: Likewise.
48495 * math/w_remainderf.c: Likewise.
48496 * math/w_remainderl.c: Likewise.
48497 * math/w_scalb.c: Likewise.
48498 * math/w_scalbf.c: Likewise.
48499 * math/w_scalbl.c: Likewise.
48500 * math/w_sinh.c: Likewise.
48501 * math/w_sinhf.c: Likewise.
48502 * math/w_sinhl.c: Likewise.
48503 * math/w_sqrt.c: Likewise.
48504 * math/w_sqrtf.c: Likewise.
48505 * math/w_sqrtl.c: Likewise.
48506 * math/w_tgamma.c: Likewise.
48507 * math/w_tgammaf.c: Likewise.
48508 * math/w_tgammal.c: Likewise.
48509
6a621eb7
UD
48510 * po/ja.po: Update from translation team.
48511
bf582445
AJ
485122011-09-29 Andreas Jaeger <aj@suse.de>
48513
f9efbf3a
AJ
48514 [BZ #13179]
48515 * sunrpc/netname.c (netname2host): Fix logic.
48516
bf582445
AJ
48517 [BZ #6779]
48518 [BZ #6783]
48519 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48520 correctly.
48521 * math/w_remainder.c (__remainder): Likewise.
48522 * math/w_remainderf.c (__remainderf): Likewise.
48523 * math/libm-test.inc (remainder_test): Add test cases.
48524
48693bea
AK
485252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48526
48527 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48528 sdiv_qrnnd.
48529
42622229
LD
485302011-10-07 Ulrich Drepper <drepper@gmail.com>
48531
48532 * string/test-memcmp.c: Avoid unncessary #defines.
48533 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48534
093ecf92
LD
485352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48536
48537 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48538 Use new sse2 version for core i3 - i7 as it's faster
48539 than sse42 version.
48540 (bit_Prefer_PMINUB_for_stringop): New.
48541 * sysdeps/x86_64/rawmemchr.S: Update.
48542 Replace with faster SSE2 version.
48543 * sysdeps/x86_64/memrchr.S: New file.
48544 * sysdeps/x86_64/memchr.S: Update.
48545 Replace with faster SSE2 version.
48546
fde56e5c
MP
485472011-09-12 Marek Polacek <mpolacek@redhat.com>
48548
48549 * elf/dl-load.c (lose): Add cast to avoid warning.
48550
21fd49a9
UD
485512011-10-07 Ulrich Drepper <drepper@gmail.com>
48552
5a06e643
UD
48553 * po/ca.po: Update from translation team.
48554
684ae515
UD
48555 * inet/getnetgrent_r.c: Hook up nscd.
48556 * nscd/Makefile (routines): Add nscd_netgroup.
48557 (nscd-modules): Add netgroupcache.
48558 (CFLAGS-netgroupcache.c): Define.
48559 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48560 (cache_search): Add const to second parameter.
48561 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48562 INNETGR.
48563 (dbs): Add netgrdb entry.
48564 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48565 (verify_persistent_db): Handle netgrdb.
48566 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48567 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48568 GETFDNETGR.
48569 (netgroup_response_header): Define.
48570 (innetgroup_response_header): Define.
48571 (datahead): Add netgroup_response_header and innetgroup_response_header
48572 elements.
48573 * nscd/nscd.conf: Add entries for netgroup cache.
48574 * nscd/nscd.h (dbtype): Add netgrdb.
48575 (_PATH_NSCD_NETGROUP_DB): Define.
48576 (netgroup_iov_disabled): Declare.
48577 (xmalloc, xcalloc, xrealloc): Move declarations here.
48578 (cache_search): Adjust prototype.
48579 Add netgroup-related prototypes.
48580 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48581 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48582 (__nscd_innetgr): Declare.
48583 * nscd/selinux.c (perms): Use access_vector_t as element type and
48584 add netgroup-related initializers.
48585 * nscd/netgroupcache.c: New file.
48586 * nscd/nscd_netgroup.c: New file.
48587 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48588 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48589 For four parameters use innetgr.
48590 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48591 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48592 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48593 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48594
21fd49a9
UD
48595 * nscd/connections.c (register_traced_file): Don't register file
48596 for disabled databases.
48597
054c0457
UD
485982011-10-06 Ulrich Drepper <drepper@gmail.com>
48599
32b63198
UD
48600 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48601
054c0457
UD
48602 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48603 from tree and freeing node.
48604
64031225
JO
486052011-09-25 Jiri Olsa <jolsa@redhat.com>
48606
48607 * nss/nsswitch.c (__nss_database_lookup): Handle
48608 nss_parse_service_list out of memory case.
48609
0490345c
JO
486102011-09-15 Jiri Olsa <jolsa@redhat.com>
48611
48612 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48613 out of memory case.
48614
3a62d00d
AS
486152011-10-04 Andreas Schwab <schwab@redhat.com>
48616
48617 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48618 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48619 pass it down.
48620 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48621 elf_machine_rela, elf_machine_lazy_rel.
48622 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48623 (ELF_DYNAMIC_DO_REL): Likewise.
48624 (ELF_DYNAMIC_DO_RELA): Likewise.
48625 (ELF_DYNAMIC_RELOCATE): Likewise.
48626 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48627 to ELF_DYNAMIC_DO_REL.
48628 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48629 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48630 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48631 elf_machine_rela.
48632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48633 skip_ifunc, don't call ifunc function if non-zero.
48634 (elf_machine_rela): Likewise.
48635 (elf_machine_lazy_rel): Likewise.
48636 (elf_machine_lazy_rela): Likewise.
48637 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48638 (elf_machine_lazy_rel): Likewise.
48639 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48640 Likewise.
48641 (elf_machine_lazy_rel): Likewise.
48642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48643 Likewise.
48644 (elf_machine_lazy_rel): Likewise.
48645 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48646 (elf_machine_lazy_rel): Likewise.
48647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48648 (elf_machine_lazy_rel): Likewise.
48649 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48650 (elf_machine_lazy_rel): Likewise.
48651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48652 (elf_machine_lazy_rel): Likewise.
48653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48654 (elf_machine_lazy_rel): Likewise.
48655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48656 (elf_machine_lazy_rel): Likewise.
48657
68577918
UD
486582011-09-28 Ulrich Drepper <drepper@gmail.com>
48659
48660 * nss/nss_files/files-init.c (_nss_files_init): Use static
48661 initialization for all the *_traced_file variables.
48662
68822d74
AS
486632011-09-28 Andreas Schwab <schwab@redhat.com>
48664
48665 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48666
2056100b
RM
486672011-09-27 Roland McGrath <roland@hack.frob.com>
48668
48669 [BZ #13226]
48670 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48671
32c76b63
AS
486722011-09-27 Andreas Schwab <schwab@redhat.com>
48673
48674 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48675 Reread the line before reparsing it.
48676
bf972c9d
AS
486772011-09-26 Andreas Schwab <schwab@redhat.com>
48678
48679 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48680
e057a1b5
JM
486812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48682 Maxim Kuvyrkov <maxim@codesourcery.com>
48683 Joseph Myers <joseph@codesourcery.com>
48684
48685 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48686 if needed for __stack_chk_guard.
48687
bc7e1c36
RM
486882011-09-19 Roland McGrath <roland@hack.frob.com>
48689
ecb1482f
RM
48690 * sysdeps/posix/spawni.c (script_execute): Always define it.
48691 It will be optimized away if unused.
48692 (maybe_script_execute): New function.
48693 (__spawni): Call it.
48694
bc7e1c36
RM
48695 * Makerules: Don't include tls.make.
48696 (config-tls): Always set to thread.
48697 * tls.make.c: File removed.
48698
1c3b002b
MF
486992011-09-19 Mike Frysinger <vapier@gentoo.org>
48700
48701 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48702 * config.make.in (CPPFLAGS-config): New substituted variable.
48703
2840865d
UD
487042011-09-15 Ulrich Drepper <drepper@gmail.com>
48705
88738eb6
UD
48706 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48707
cbf645a6 48708 [BZ #13192]
2840865d
UD
48709 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48710 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48711
b402e91a
RM
487122011-09-15 Roland McGrath <roland@hack.frob.com>
48713
48714 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48715 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48717 (CALL_FAIL): Likewise.
48718 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48719 (CALL_FAIL): Macro removed.
48720 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48721
4c1a1f71
UD
487222011-09-15 Ulrich Drepper <drepper@gmail.com>
48723
48724 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48725 for __FINITE_MATH_ONLY__ == 1.
48726
edc121be
AS
487272011-09-15 Andreas Schwab <schwab@redhat.com>
48728
48729 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48730 __ieee754_sqrt instead of sqrt.
48731 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48732 __ieee754_sqrtf instead of sqrtf.
48733 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48734 __floorf instead of floorf.
48735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48736 __floorf, __truncf instead of floorf, truncf.
48737
cd205654
UD
487382011-09-14 Ulrich Drepper <drepper@gmail.com>
48739
ee4d0315
UD
48740 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48741
cd205654
UD
48742 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48743 __extern_always_inline.
48744 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48745 32-bit.
48746
48b67d71
AS
487472011-09-14 Andreas Schwab <schwab@redhat.com>
48748
48749 * elf/rtld.c (dl_main): Also relocate in dependency order when
48750 doing symbol dependency testing.
48751
1ae12c75
AS
487522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48753
48754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48755 Always define `refsym'.
48756
995a80df
AS
487572011-09-13 Andreas Schwab <schwab@redhat.com>
48758
e529793b
AS
48759 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48760 (__FD_ELT): Renamed from __FDELT.
48761 * misc/bits/select2.h (__FD_ELT): Likewise.
48762 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48763 __FD_MASK instead of __FDELT, __FDMASK.
48764 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48765 Likewise.
48766 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48767 Likewise.
48768
52d4fef8
AS
48769 * elf/Makefile (gen-ldd): Fix pattern.
48770
995a80df
AS
48771 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48772 (init_tls): Likewise.
48773
8682f8b0
UD
487742011-09-12 Ulrich Drepper <drepper@gmail.com>
48775
48776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48777
de82006d
AS
487782011-09-12 Andreas Schwab <schwab@redhat.com>
48779
a7c8e6a1
AS
48780 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48781 `struct cmsghdr *' instead of `void *'.
48782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48783 Likewise.
48784
0f31fe77
AS
487852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48786
48787 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48788 if non-absolute.
48789 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48790 ldd_rewrite_script.
0f31fe77 48791
32b4c839
UD
487922011-09-11 Ulrich Drepper <drepper@gmail.com>
48793
83cd1420
UD
48794 * configure.in: Remove --with-tls option.
48795 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48796 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48797 out in case it is missing.
48798 * sysdeps/ia64/elf/configure.in: Likewise.
48799 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48800 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48801 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48802 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48803 * sysdeps/sh/elf/configure.in: Likewise.
48804 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48805 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48806 * sysdeps/x86_64/elf/configure.in: Likewise.
48807 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48808 * sysdeps/mach/hurd/tls.h: Likewise.
48809
633f745d
UD
48810 [BZ #13067]
48811 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48812
f318beb8
UD
48813 [BZ #13090]
48814 * configure.in: Fix use of AC_INIT.
48815
32b4c839
UD
48816 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48817
3ce1f295
UD
488182011-09-10 Ulrich Drepper <drepper@gmail.com>
48819
bb016596
UD
48820 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48821 __set_errno.
8e58439c
UD
48822 * malloc/hooks.c: Likewise.
48823
aebae053 48824 [BZ #11929]
02d46fc4
UD
48825 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48826 variables statically.
48827 (narenas): Initialize.
48828 (list_lock): Initialize.
bb016596
UD
48829 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48830 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48831 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48832 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48833 Add initializers to main_arena and mp_.
48834 (malloc_state): Remove pagesize member. Change all users to use
48835 GLRO(dl_pagesize).
48836
48837 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48838 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48839 is always initialized.
48840
22a89187
UD
48841 * malloc/malloc.c: Removed unused configurations and dead code.
48842 * malloc/arena.c: Likewise.
48843 * malloc/hooks.c: Likewise.
02d46fc4 48844 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48845
d063d164
UD
48846 * include/tls.h: Removed. USE___THREAD must always be defined.
48847 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48848 * elf/dl-libc.c: Likewise.
48849 * elf/dl-tsd.c: Likewise.
48850 * include/errno.h: Likewise.
48851 * include/netdb.h: Likewise.
48852 * include/resolv.h: Likewise.
48853 * inet/herrno-loc.c: Likewise.
48854 * inet/herrno.c: Likewise.
48855 * malloc/arena.c: Likewise.
48856 * malloc/hooks.c: Likewise.
48857 * malloc/malloc.c: Likewise.
48858 * resolv/res-state.c: Likewise.
48859 * resolv/res_libc.c: Likewise.
48860 * sysdeps/i386/dl-machine.h: Likewise.
48861 * sysdeps/ia64/dl-machine.h: Likewise.
48862 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48863 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48864 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48865 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48866 * sysdeps/sh/dl-machine.h: Likewise.
48867 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48868 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48869 * sysdeps/unix/i386/sysdep.S: Likewise.
48870 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48871 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48873 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48876 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48880 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48881 * sysdeps/x86_64/dl-machine.h: Likewise.
48882 * tls.make.c: Likewise.
48883
3ce1f295
UD
48884 * configure.in: Remove --with-__thread option. Make tests for
48885 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48886 tls_model attribute fail if no support is available. Remove
48887 USE_IN_LIBIO.
48888 * Makeconfig: Adjust for dropped configure option. All features are
48889 now mandatory.
48890 * Makerules: Likewise.
48891 * Versions.def: Likewise.
48892 * argp/argp-fmtstream.c: Likewise.
48893 * argp/argp-fmtstream.h: Likewise.
48894 * argp/argp-help.c: Likewise.
48895 * assert/assert.c: Likewise.
48896 * config.h.in: Likewise.
48897 * config.make.in: Likewise.
48898 * configure: Likewise.
48899 * configure.in: Likewise.
48900 * csu/Versions: Likewise.
48901 * csu/init.c: Likewise.
48902 * elf/tst-audit2.c: Likewise.
48903 * elf/tst-tls10.c: Likewise.
48904 * elf/tst-tls10.h: Likewise.
48905 * elf/tst-tls11.c: Likewise.
48906 * elf/tst-tls12.c: Likewise.
48907 * elf/tst-tls14.c: Likewise.
48908 * elf/tst-tlsmod11.c: Likewise.
48909 * elf/tst-tlsmod12.c: Likewise.
48910 * elf/tst-tlsmod13.c: Likewise.
48911 * elf/tst-tlsmod13a.c: Likewise.
48912 * elf/tst-tlsmod14a.c: Likewise.
48913 * elf/tst-tlsmod15b.c: Likewise.
48914 * elf/tst-tlsmod16a.c: Likewise.
48915 * elf/tst-tlsmod16b.c: Likewise.
48916 * elf/tst-tlsmod7.c: Likewise.
48917 * elf/tst-tlsmod8.c: Likewise.
48918 * elf/tst-tlsmod9.c: Likewise.
48919 * gmon/gmon.c: Likewise.
48920 * grp/fgetgrent_r.c: Likewise.
48921 * grp/putgrent.c: Likewise.
48922 * hurd/fopenport.c: Likewise.
48923 * include/libc-symbols.h: Likewise.
48924 * include/tls.h: Likewise.
48925 * intl/gettextP.h: Likewise.
48926 * intl/loadinfo.h: Likewise.
48927 * locale/global-locale.c: Likewise.
48928 * locale/localeinfo.h: Likewise.
48929 * mach/devstream.c: Likewise.
48930 * malloc/arena.c: Likewise.
48931 * malloc/set-freeres.c: Likewise.
48932 * misc/err.c: Likewise.
48933 * misc/getttyent.c: Likewise.
48934 * misc/mntent_r.c: Likewise.
48935 * posix/getopt.c: Likewise.
48936 * posix/wordexp.c: Likewise.
48937 * pwd/fgetpwent_r.c: Likewise.
48938 * resolv/Versions: Likewise.
48939 * resolv/res_hconf.c: Likewise.
48940 * shadow/fgetspent_r.c: Likewise.
48941 * shadow/putspent.c: Likewise.
48942 * stdio-common/printf_fphex.c: Likewise.
48943 * stdio-common/tmpfile.c: Likewise.
48944 * stdlib/abort.c: Likewise.
48945 * stdlib/fmtmsg.c: Likewise.
48946 * sunrpc/auth_unix.c: Likewise.
48947 * sunrpc/clnt_perr.c: Likewise.
48948 * sunrpc/clnt_tcp.c: Likewise.
48949 * sunrpc/clnt_udp.c: Likewise.
48950 * sunrpc/clnt_unix.c: Likewise.
48951 * sunrpc/openchild.c: Likewise.
48952 * sunrpc/svc_simple.c: Likewise.
48953 * sunrpc/svc_tcp.c: Likewise.
48954 * sunrpc/svc_udp.c: Likewise.
48955 * sunrpc/svc_unix.c: Likewise.
48956 * sunrpc/xdr.c: Likewise.
48957 * sunrpc/xdr_array.c: Likewise.
48958 * sunrpc/xdr_rec.c: Likewise.
48959 * sunrpc/xdr_ref.c: Likewise.
48960 * sunrpc/xdr_stdio.c: Likewise.
48961
1248c1c4
PB
489622011-09-09 Ulrich Drepper <drepper@gmail.com>
48963
48964 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48965
489662011-07-03 Andreas Jaeger <aj@suse.de>
48967
48968 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48969 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48970 regenerate with gen-libm-tests.pl.
48971
489722010-05-12 Petr Baudis <pasky@suse.cz>
48973
48974 [BZ #11589]
48975 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48976 around j0() zero points by switching to j1().
48977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48981
f22e1074
UD
489822011-09-09 Ulrich Drepper <drepper@gmail.com>
48983
f19009c1
UD
48984 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48985 instead of 0.
48986 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48987 instead of 0.
f19009c1
UD
48988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48989 Patch in part by Pavel Roskin <proski@gnu.org>.
48990
3f8cc204
UD
48991 [BZ #13138]
48992 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48993 realloc.
48994 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48995 Free memory block if necessary.
48996
f22e1074
UD
48997 [BZ #12847]
48998 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48999 be NULL. Don't lock in this case.
49000
0a2349f9
RM
490012011-09-09 Roland McGrath <roland@hack.frob.com>
49002
49003 * elf/elf.h (ELFOSABI_GNU): New macro.
49004 (ELFOSABI_LINUX): Define to that.
49005
f3cdd467
DZ
490062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49007
49008 * string/strncat.c (strncat): Undef the symbol in case it has been
49009 defined in bits/string.h.
49010
74718d13
UD
490112011-09-09 Ulrich Drepper <drepper@gmail.com>
49012
633e9e0f
UD
49013 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49014
0a2349f9 49015 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49016 link map.
49017
f9924780
AJ
490182011-08-17 Andreas Jaeger <aj@suse.de>
49019
49020 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49021
7f5517aa
PP
490222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49023 Ian Lance Taylor <iant@google.com>
49024
49025 * math/libm-test.inc (lround_test): New testcase.
49026 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49027
762011fe
UD
490282011-09-08 Ulrich Drepper <drepper@gmail.com>
49029
92963737
UD
49030 * Makefile: Remove support for automatic cvs check-ins.
49031 * Makerules: Likewise.
49032 * config.make.in: Likewise.
49033 * configure.in: Likewise.
49034 * intl/Makefile: Likewise.
49035 * locale/Makefile: Likewise.
49036 * po/Makefile: Likewise.
49037 * posix/Makefile: Likewise.
49038 * sysdeps/gnu/Makefile: Likewise.
49039 * sysdeps/mach/hurd/Makefile: Likewise.
49040 * sysdeps/sparc/sparc32/Makefile: Likewise.
49041
b0727fd8
JS
49042 [BZ #13118]
49043 * posix/Makefile (bug-regex32-ENV): Define.
49044 Patch by John Stanley <jpsinthemix@verizon.net>.
49045
a0f33f99
UD
49046 * misc/Makefile (headers): Add bits/select2.h.
49047 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49048 * misc/bits/select2.h: New file.
49049 * include/bits/select2.h: New file.
49050 * debug/Makefile (routines): Add fdelt_chk.
49051 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49052 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49053 FD_ISSET.
49054 * debug/fdelt_chk.c: New file.
49055
762011fe
UD
49056 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49057 * wcsmbs/test-wmemcmp.c: Likewise.
49058 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49059 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49060
490612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49062
49063 * string/Makefile (strop-tests): Add memcmp.
49064 * string/test-wmemcmp.c: New file.
49065 * string/test-memcmp.c: Add wmemcmp support.
49066
7f513ec8
RM
490672011-09-08 Roland McGrath <roland@hack.frob.com>
49068
0442afb4
RM
49069 [BZ #13153]
49070 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49071 2011-07-19 change.
49072
7f513ec8
RM
49073 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49074 garbage value in a __mach_port_mod_refs call in the cases of the
49075 task-self and thread-self ports.
49076
a12b2239
ST
490772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49078
49079 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49080
610f9ab4
AS
490812011-09-08 Andreas Schwab <schwab@redhat.com>
49082
7f513ec8 49083 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49084
48882a1a
LD
490852011-09-07 Ulrich Drepper <drepper@gmail.com>
49086
b49865be
UD
49087 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49088
fdc86bc9
UD
49089 * elf/dl-libc.c (dlerror_run): Pass back error code from
49090 dl_catch_error.
49091
c966526a
UD
49092 [BZ #13123]
49093 * elf/dl-load.c (lose): Free l_origin if it is valid.
49094
48882a1a
LD
49095 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49096 names.
49097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49098 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49099 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49101 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49102 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49103
77a2a8b4
AZ
491042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49105
49106 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49107 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49108 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49109 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49110 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49111 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49112 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49113 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49114 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49115 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49116
24f579d8
AM
491172011-08-15 Alan Modra <amodra@gmail.com>
49118
49119 [BZ #13092]
49120 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49121 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49122 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49123 ppc_mcount to static-only-routines.
49124 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49125 __mcount_internal.
49126 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49127 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49128
3d4837df
UD
491292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49130
49131 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49132 for finite and infinity parameters.
49133
22700377
WS
491342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49135
49136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49137 and add nop instructions for throughput optimization.
49138 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49139
5025581e
WS
491402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49141
49142 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49143 aligned copy for power7 with vector-scalar instructions.
49144 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49145
08a300c9
L
491462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49147
49148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49149 AVX check.
49150
59178ef9
AS
491512011-09-07 Andreas Schwab <schwab@redhat.com>
49152
49153 [BZ #13144]
49154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49155 last change.
49156
e38ba7ab
UD
491572011-09-07 Ulrich Drepper <drepper@gmail.com>
49158
49159 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49160 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49161 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49162 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49163 clock_gettime.
49164
d53a73ac
UD
491652011-09-06 Ulrich Drepper <drepper@gmail.com>
49166
fc8bffcc
UD
49167 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49168 Forgot to demangle the pointer.
49169
ceaa0c5d
UD
49170 * sysdeps/i386/sysdep.h: Define atom_text_section.
49171 * sysdeps/x86_64/sysdep.h: Likewise.
49172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49173 section with atom_text_section.
49174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49176 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49178 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49179
a77d3c17
UD
49180 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49182 already be defined. Change to take two parameters and don't assign
49183 result to variable. Adjust all users.
49184 Define INTERNAL_GETTIME if not already defined.
49185 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49186 call.
49187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49188 HAVE_CLOCK_GETTIME_VSYSCALL.
49189 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49190
d53a73ac
UD
49191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49192 gettimeofday vsyscall, just use time.
49193
a8f84144
AS
491942011-09-06 Andreas Schwab <schwab@redhat.com>
49195
49196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49197 <errno.h>.
49198
ef606249
UD
491992011-09-06 Ulrich Drepper <drepper@gmail.com>
49200
49201 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49202 syscall on x86-64.
49203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49204 syscall.
49205 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49207 syscall if possible.
49208
6585cb60
UD
492092011-09-05 Ulrich Drepper <drepper@gmail.com>
49210
49211 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49212 e_ident. Don't pass to find_mapsXX.
49213 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49214
a5f524e4
LD
492152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49216
49217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49218 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49219 * sysdeps/x86_64/multiarch/strchr.S: Update.
49220 Check bit_slow_BSF bit.
49221 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49222 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49223 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49224
554881ef
UD
492252011-09-05 Ulrich Drepper <drepper@gmail.com>
49226
d96de963
UD
49227 [BZ #13134]
49228 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49229 before glibc 2.15.
49230 (tryshell): Define.
49231 (__spawni): Change last parameter to be flag. Test
49232 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49233 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49234 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49235 * posix/spawni.c: Likewise.
49236 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49237 * posix/spawnp.c: Likewise. Change normal version to use
49238 SPAWN_XFLAGS_USE_PATH.
49239 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49240 SPAWN_XFLAGS_TRY_SHELL.
49241
d48e5868
UD
49242 [BZ #13150]
49243 * posix/glob.h: Remove gcc 1.x support.
49244
554881ef
UD
49245 [BZ #13068]
49246 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49247
693fb948
LD
492482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49249
49250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49251 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49252 strrchr-sse2-bsf
49253 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49254 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49255 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49257 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49258 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49259
1b48c537
UD
492602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49261
49d42c37
UD
49262 * sysdeps/x86_64/wcscmp.S: New file.
49263
1b48c537
UD
49264 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49265 wcscmp-c wcscmp-sse2
49266 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49267 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49268 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49269 * wcsmbs/wcscmp.c: Allow renaming.
49270
15c95c5d
DM
492712011-09-05 David S. Miller <davem@davemloft.net>
49272
49273 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49274 stack slot, rather than the struct return pointer slot.
49275 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49276 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49278 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49279
2f0ad8f3
UD
492802011-09-05 Ulrich Drepper <drepper@gmail.com>
49281
d88ae418
UD
49282 * po/ja.po: Update from translation team.
49283
2f0ad8f3
UD
49284 [BZ #13144]
49285 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49286 kernel in 64-bit binaries.
49287
5f4318d1
DM
492882011-09-01 David S. Miller <davem@davemloft.net>
49289
49290 * elf/elf.h (HWCAP_SPARC_*): Move to..
49291 * sysdeps/sparc/sysdep.h: this new file and add new values.
49292 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49293 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49294 _DL_HWCAP_COUNT to 24.
49295 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49296 entries.
49297 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49298 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49299 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49301 instead of magic constants.
49302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49303
3ba57516
DM
493042011-08-31 David S. Miller <davem@davemloft.net>
49305
49306 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49308 Reimplement to do errno handling inline.
49309 (SYSCALL_ERROR_HANDLER): New macro.
49310 (__SYSCALL_STRING): Do not do errno handling in asm.
49311 (__CLONE_SYSCALL_STRING): Delete.
49312 (__INTERNAL_SYSCALL_STRING): Delete.
49313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49314 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49315 (PSEUDO): Reimplement to do errno handling inline.
49316 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49317 (SYSCALL_ERROR_HANDLER): New macro.
49318 (__SYSCALL_STRING): Do not do errno handling in asm.
49319 (__CLONE_SYSCALL_STRING): Delete.
49320 (__INTERNAL_SYSCALL_STRING): Delete.
49321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49322 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49323 i386.
49324 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49325 (inline_syscall*): Add 'err' argument.
49326 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49327 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49328 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49329 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49330
49331 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49332 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49333
2bc17433
AS
493342011-08-30 Andreas Schwab <schwab@redhat.com>
49335
49336 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49337
fbeb5f4d
JO
493382011-08-29 Jiri Olsa <jolsa@redhat.com>
49339
49340 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49341 directive.
49342
ad69cc26
DM
493432011-08-24 David S. Miller <davem@davemloft.net>
49344
49345 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49346
39dd69df
AS
493472011-08-24 Andreas Schwab <schwab@redhat.com>
49348
49349 * elf/Makefile: Add rules to build and run unload8 test.
49350 * elf/unload8.c: New file.
49351 * elf/unload8mod1.c: New file.
49352 * elf/unload8mod1x.c: New file.
49353 * elf/unload8mod2.c: New file.
49354 * elf/unload8mod3.c: New file.
49355
49356 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49357 it wasn't used.
49358
2c0b250a
DM
493592011-08-23 David S. Miller <davem@davemloft.net>
49360
49361 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49362 subtract stack bias.
49363 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49364 %sp not %fp in calculations.
49365 (_JMPBUF_UNWINDS_ADJ): Likewise.
49366
22044b48
DM
49367 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49368 (aio_suspend): Call it to force an exception region around the
49369 AIO_MISC_WAIT() invocation.
49370
2cae4995
AS
493712011-08-23 Andreas Schwab <schwab@redhat.com>
49372
49373 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49374 backslash.
49375
873a772e
AJ
493762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49377
49378 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49379 protection macro.
49380 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49381 and <dl-machine.h>.
49382 (Elf64_FuncDesc): Remove.
49383
25ad0df1
DM
493842011-08-22 David S. Miller <davem@davemloft.net>
49385
49386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49387 sigaltstack check, add missing cfi directives.
49388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49389 missing cfi directives, and sigaltstack handling.
49390
e888bcbe
AS
493912011-08-16 Andreas Schwab <schwab@redhat.com>
49392
49393 [BZ #11724]
49394 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49395 object is seen twice.
49396 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49397
49398 * elf/Makefile (distribute): Add tst-initorder2.c.
49399 (tests): Add tst-initorder2.
49400 (modules-names): Add tst-initorder2a tst-initorder2b
49401 tst-initorder2c tst-initorder2d. Add rules to build them.
49402 ($(objpfx)tst-initorder2.out): New rule.
49403 * elf/tst-initorder2.c: New file.
49404 * elf/tst-initorder2.exp: New file.
49405
87162f46
AS
494062011-08-22 Andreas Schwab <schwab@redhat.com>
49407
70538b7f
AS
49408 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49409
f55ffe58
AS
49410 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49411 dependencies back to end of function.
49412
87162f46
AS
49413 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49414 $(elfobjdir)/ld.so.
49415
91b392a4
UD
494162011-08-21 Ulrich Drepper <drepper@gmail.com>
49417
49418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49419 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49421 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49422 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49423 of __vdso_gettimeofday.
49424 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49425 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49426 attribute_hidden.
49427 (_libc_vdso_platform_setup): Remove initialization of
49428 __vdso_gettimeofday and __vdso_time.
49429
5c43483f
UD
494302011-08-20 Ulrich Drepper <drepper@gmail.com>
49431
775a77e7
UD
49432 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49433 and fgetc_unlocked.
49434 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49435 getc_unlocked.
89f447ed 49436
49c74ba9
UD
49437 * elf/dl-open.c (add_to_global): Report additions to the global scope
49438 for LD_DEBUG=scopes.
49439 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49440 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49441
5c43483f
UD
49442 [BZ #13114]
49443 * stdio-common/Makefile (tests): Add bug24.
49444 * stdio-common/bug24.c: New file.
49445
a101b025
AJ
494462011-08-19 Andreas Jaeger <aj@suse.de>
49447
49448 [BZ #13114]
49449 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49450 non-existant file when using close-on-exec mode.
49451
c88f1766
UD
494522011-08-20 Ulrich Drepper <drepper@gmail.com>
49453
0276a718
UD
49454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49455 the very first instruction.
49456
c88f1766
UD
49457 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49458 the CFI state in the end.
49459 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49460 inclusion of dl-trampoline.h.
49461 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49462
51ccffa0
AS
494632011-08-19 Andreas Schwab <schwab@redhat.com>
49464
94d7165f
AS
49465 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49466 expectations for long double.
49467
51ccffa0
AS
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49469 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49470
fd708658 494712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49472
49473 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49474 artificual limit depends upon the system page size.
49475
44f0a71e
UD
494762011-08-17 Ulrich Drepper <drepper@gmail.com>
49477
49478 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49479 * resolv/Makefile: Define CFLAGS-libresolv.
49480
8de79a24
AS
494812011-08-17 Andreas Schwab <schwab@redhat.com>
49482
49483 * nss/makedb.c (compute_tables): Make variables used in nested
49484 function static.
49485
27724598
UD
494862011-08-17 Ulrich Drepper <drepper@gmail.com>
49487
c5305d88
UD
49488 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49489 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49490 if buffer was too small.
49491
27724598
UD
49492 * elf/pldd.c (main): Attach to all threads in the process.
49493 Rewrite /proc handling to use *at functions.
49494
076fe015
UD
494952011-08-16 Ulrich Drepper <drepper@gmail.com>
49496
174baab3
UD
49497 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49498 specifies first scope to show.
49499 (dl_open_worker): Update callers. Move printing scope of new
49500 object to before the relocation.
44f0a71e 49501 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49502 * sysdeps/generic/ldsodefs.h: Update declaration.
49503
076fe015
UD
49504 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49505 string for the scope number.
49506
a60df2c3
UD
495072011-08-14 Ulrich Drepper <drepper@gmail.com>
49508
49509 * nscd/servicescache.c (cache_addserv): Make sure written is always
49510 initialized.
49511
5e4287d1
RM
495122011-08-14 Roland McGrath <roland@hack.frob.com>
49513
85ae0589
RM
49514 * sysdeps/i386/i486/bits/atomic.h
49515 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49516 statement expression, so as to suppress "set but not used" warning.
49517 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49518
69f63097
RM
49519 * string/strncat.c (STRNCAT): Use prototype definition.
49520
675456ef
RM
49521 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49522 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49523 -Iprograms here.
49524 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49525 (localedef-modules): Add localedef.
49526 (locale-modules): Add locale.
49527
5e4287d1
RM
49528 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49529 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49530 to avoid a warning.
49531
9c96ff23
DM
495322011-08-14 David S. Miller <davem@davemloft.net>
49533
49534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49535 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49536
f9ddf089
UD
495372011-08-13 Ulrich Drepper <drepper@gmail.com>
49538
44f0a71e 49539 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49540 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49541 * elf/rtld.c (dl_main): Set l_name of vDSO.
49542 Call _dl_show_scope when DL_DEBUG_SCOPES.
49543 (process_dl_debug): Recognize scopes flag and also set it for all.
49544 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49545 Declare _dl_show_scope.
49546
1dc27704
UD
49547 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49548 (do_dlopen): Pass caller_dlopen to dl_open.
49549 (__libc_dlopen_mode): Initialize caller_dlopen.
49550
f9ddf089
UD
49551 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49552 of libc. Make tolower call locale-independent. Optimize a bit by
49553 using isdigit instead of isalnum.
49554 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49555
9ac533d3
UD
495562011-08-12 Ulrich Drepper <drepper@gmail.com>
49557
49558 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49559 was a dependency or dynamically loaded.
49560
89edf2e9
UD
495612011-08-11 Ulrich Drepper <drepper@gmail.com>
49562
8e999d29
UD
49563 * intl/l10nflist.c: Allow architecture-specific pop function.
49564 * sysdeps/x86_64/l10nflist.c: New file.
49565
89edf2e9
UD
49566 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49567 classification.
49568
14d96785
AS
495692011-08-10 Andreas Schwab <schwab@redhat.com>
49570
49571 * include/dirent.h: Add libc_hidden_proto for scandirat and
49572 scandirat64. Don't declare __scandirat64.
49573 * dirent/scandirat.c: Add libc_hidden_def.
49574 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49575 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49576
6761ac04
DM
495772011-08-10 David S. Miller <davem@davemloft.net>
49578
49579 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49580 enum.
49581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49584
c55fbd1e
UD
495852011-08-09 Ulrich Drepper <drepper@gmail.com>
49586
49587 * Versions.def [libc]: Add GLIBC_2.15.
49588 * dirent/Makefile (routines): Add scandirat and scandirat64.
49589 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49590 GLIBC_2.15.
49591 * dirent/dirent.h: Declare scandirat and scandirat64.
49592 * dirent/scandirat.c: New file.
49593 * dirent/scandirat64.c: New file.
49594 * sysdeps/wordsize-64/scandirat.c: New file.
49595 * sysdeps/wordsize-64/scandirat64.c: New file.
49596 * dirent/opendir.c: Define opendirat.
49597 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49598 using scandirat.
49599 * dirent/scandir64.c: Adjust for scandir.c change.
49600 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49601 __scandirat64, and __scandir_cancel_handler.
49602 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49603 additional parameter and use openat instead of open (outside of ld.so).
49604 Add new __opendir as wrapper around __opendirat.
49605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49606 here without requiring old scandirat implementation.
49607
879165f2
UD
496082011-08-08 Ulrich Drepper <drepper@gmail.com>
49609
49610 * dirent/scandir.c (cancel_handler): Renamed to
49611 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49612 defined. Adjust users.
49613 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49614 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49615
cb7e923b
UD
496162011-08-04 Ulrich Drepper <drepper@gmail.com>
49617
16292edd
UD
49618 * string/test-string.h (IMPL): Use __STRING to expand name and then
49619 stringify it.
49620
cb7e923b
UD
49621 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49622 of cleanups.
49623
cff82933
LD
496242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49625
49626 * string/Makefile: Update.
49627 (strop-tests): Append strncat.
49628 * string/test-wcscmp.c: New file.
49629 New comprehensive test for wcscmp.
49630 * string/test-strcmp.c: Update.
49631 (WIDE): New define.
49632
9be9bfcc
AS
496332011-07-22 Andreas Schwab <schwab@redhat.com>
49634
49635 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49636 line.
49637
2e96f1c7
AS
496382011-07-26 Andreas Schwab <schwab@redhat.com>
49639
49640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49641 encoding to ACE if AI_IDN.
49642
85188888
JJ
496432011-08-01 Jakub Jelinek <jakub@redhat.com>
49644
49645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49646 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49647
5fa16e9b
LD
496482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49649
49650 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49651 Fix overflow bug in strncat.
49652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49653
49654 * string/test-strncat.c: Update.
49655 Add new tests for checking overflow bugs.
49656
496572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49658
49659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49660 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49661 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49662 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49664 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49665 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49666 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49667 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49668
49669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49670 (USE_AS_STRCAT): Define.
49671 Add strcat and strncat support.
49672 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49673
8c1a459f
AS
496742011-07-25 Andreas Schwab <schwab@redhat.com>
49675
49676 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49677 __n bigger than INT_MAX+1.
49678 (__strncmp_g): Likewise.
49679
bba33c28
UD
496802011-07-23 Ulrich Drepper <drepper@gmail.com>
49681
798be72d
UD
49682 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49683 * libio/stido.h: Likewise.
49684
8accd4dc
UD
49685 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49686 (AF_NFC): Define.
49687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49688 (AF_NFC): Define.
49689
cbff0d96
UD
49690 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49692 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49695
9191c04a
UD
49696 [BZ #13021]
49697 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49698 installed.
49699
bba33c28
UD
49700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49701 typo.
49702 (_dl_x86_64_save_sse): Likewise.
49703
90f139dd
UD
497042011-07-22 Ulrich Drepper <drepper@gmail.com>
49705
1aae088a
UD
49706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49707 OSXSAVE.
49708 (_dl_x86_64_save_sse): Likewise.
49709
8e2045f5
UD
49710 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49711
90f139dd
UD
49712 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49713
1d002f25
AS
497142011-07-21 Andreas Schwab <schwab@redhat.com>
49715
49716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49717 change.
49718 (_dl_x86_64_save_sse): Use correct AVX check.
49719
21137f89
UD
497202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49721
49722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49723 bug in strncpy/strncat.
49724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49725
a65c0b7a
UD
497262011-07-21 Ulrich Drepper <drepper@gmail.com>
49727
49728 * string/tester.c (test_strcat): Add tests for different alignments
49729 of source and destination.
49730 (test_strncat): Likewise.
49731
6986b98a
UD
497322011-07-20 Ulrich Drepper <drepper@gmail.com>
49733
90bb2039
UD
49734 [BZ #12852]
49735 * posix/glob.c (glob): Check passed in values before using them in
49736 expressions to avoid some overflows.
49737 (glob_in_dir): Likewise.
49738
5644ef54
UD
49739 [BZ #13007]
49740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49741 check for AVX enablement so that we don't crash with old kernels and
49742 new hardware.
49743 * elf/tst-audit4.c: Add same checks here.
49744 * elf/tst-audit6.c: Likewise.
49745
49746 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49747
bfc9dc9b
AS
497482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49749
49750 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49751
702e64bb
UD
497522011-07-20 Ulrich Drepper <drepper@gmail.com>
49753
49754 * po/cs.po: Update from translation team.
49755 * po/bg.po: Likewise.
49756
295e904f
MP
497572011-07-12 Marek Polacek <mpolacek@redhat.com>
49758
49759 * misc/sys/cdefs.h: Add support for const attribute.
49760 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49761 to gnu_dev_{major,minor,makedev} functions.
49762
3ff94596
MP
497632011-07-20 Marek Polacek <mpolacek@redhat.com>
49764
49765 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49766
28b59fca
AS
497672011-07-20 Andreas Schwab <schwab@redhat.com>
49768
49769 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49770 strlen results.
49771
19df733e
AK
497722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49773
49774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49775 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49776 register in order to avoid conflicts with the soft frame pointer
49777 being held in r11 when necessary.
49778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49779 (INTERNAL_VSYSCALL_NCS): Likewise.
49780
c8835729
MP
497812011-07-14 Marek Polacek <mpolacek@redhat.com>
49782
49783 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49784 * elf/dl-fini.c (_dl_fini): Adjust caller.
49785 * elf/dl-close.c (_dl_close_worker): Likewise.
49786 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49787
b902330c
MP
497882011-07-15 Marek Polacek <mpolacek@redhat.com>
49789
8991e135
MP
49790 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49791 "aux_cache->nlibs < 0".
49792
b902330c
MP
49793 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49794 in the reload-count case.
49795
99710781
LD
497962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49797
49798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49799 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49800 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49801 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49802 * sysdeps/x86_64/multiarch/strcat.S: New file.
49803 * sysdeps/x86_64/multiarch/strncat.S: New file.
49804 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49805 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49806 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49807 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49809 (USE_AS_STRCAT): Define.
49810 Add strcat and strncat support.
49811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49813 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49814 * string/strncat.c: Update.
49815 (USE_AS_STRNCAT): Define.
49816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49817 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49818 and i7.
49819 * sysdeps/x86_64/multiarch/init-arch.h
49820 (bit_Prefer_PMINUB_for_stringop): New.
49821 (index_Prefer_PMINUB_for_stringop): Likewise.
49822 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49823 bit_Prefer_PMINUB_for_stringop.
49824
7dc6bd90
UD
498252011-07-19 Ulrich Drepper <drepper@gmail.com>
49826
49827 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49828 buffer64.
49829 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49830 of casting of buffer.
49831 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49832 buffer32 and buffer64.
49833 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49834 writes instead of casting of buffer.
49835 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49836 buffer32.
49837 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49838 casting of buffer.
49839
e0e72284
AS
498402011-07-19 Andreas Schwab <schwab@redhat.com>
49841
49842 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49843
feb1eb0b
UD
498442011-07-19 Ulrich Drepper <drepper@gmail.com>
49845
49846 * nscd/nscd.c (termination_handler): Don't do anything for a database
49847 if it has not yet been initialized.
49848
298711ff
UD
498492011-07-18 Ulrich Drepper <drepper@gmail.com>
49850
49851 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49852
498532011-07-15 Marek Polacek <mpolacek@redhat.com>
49854
49855 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49856
f9d68389
UD
498572011-07-18 Ulrich Drepper <drepper@gmail.com>
49858
49859 * po/nl.po: Update from translation team.
49860 * po/sv.po: Likewise.
49861
db290cf5
RM
498622011-07-16 Roland McGrath <roland@hack.frob.com>
49863
49864 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49865 now disallowed by GCC.
5c550700 49866
fd5e21c7
RM
49867 * configure.in (use-default-link): Default to yes if a test -shared
49868 link meets our qualifications.
49869 * configure: Regenerated.
49870
5c550700
RM
49871 * config.make.in (output-format): New variable.
49872 * configure.in: Check for ld --print-output-format support.
49873 * configure: Regenerated.
49874 * Makerules ($(common-objpfx)format.lds)
49875 [$(output-format) != unknown]: Just use $(output-format),
49876 instead of the linker-script munging.
49877
9fa2c032
RM
498782011-07-14 Roland McGrath <roland@hack.frob.com>
49879
a6928d51
RM
49880 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49881 of $(common-objpfx)shlib.lds.
49882 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49883
661607b3
RM
49884 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49885 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49886
9fa2c032
RM
49887 * configure.in (-z relro check): Adjust test code to add a large
49888 writable data section after it.
49889 * configure: Regenerated.
49890
defe9061
RM
498912011-07-11 Roland McGrath <roland@hack.frob.com>
49892
49893 * configure.in (-z relro check): Fix test code to make the variable
49894 truly const.
49895 * configure: Regenerated.
49896
319b9ad4
UD
498972011-07-11 Ulrich Drepper <drepper@gmail.com>
49898
49899 * nscd/nscd.h (struct traced_file): Define.
49900 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49901 elements. Add traced_files.
49902 (inotify_fd): Declare.
49903 (register_traced_file): Declare.
49904 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49905 (inotify_fd): Export.
49906 (resolv_conf_descr): Remove.
49907 (nscd_init): Move inotify descriptor creation to main.
49908 Don't register files for notification here.
49909 (register_traced_file): New function.
49910 (invalidate_cache): Don't use reset_res to determine whether to call
49911 res_init, go through the list of registered files.
49912 (main_loop_poll): The inotify descriptors are now stored in the
49913 structures for the traced files.
49914 (main_loop_epoll): Likewise
49915 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49916 to __nss_disable_nscd.
49917 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49918 for a database anymore. Check the records for all the registered
49919 files instead.
49920 * nss/Makefile (libnss_files-routines): Add files-init.
49921 (libnss_db-routines): Add db-init.
49922 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49923 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49924 * nss/nss_db/db-init.c: New file.
49925 * nss/nss_files/files-init.c: New file.
49926 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49927 __nss_lookup_function.
49928 (__nss_lookup_function): Call nss_load_library.
49929 (nss_load_all_libraries): New function.
49930 (__nss_disable_nscd): Take parameter with callback function for files
49931 to register. Set is_nscd. Load all the DSOs for the NSS modules
49932 used for the cached services.
49933 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49934 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49935 options for features to all the files in nscd.
49936
49937 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49938
23bee3e8
RM
499392011-07-10 Roland McGrath <roland@hack.frob.com>
49940
49941 * csu/elf-init.c (__libc_csu_init): Comment typo.
49942
46a5b7f0
UD
499432011-07-09 Ulrich Drepper <drepper@gmail.com>
49944
49945 * po/pl.po: Update from translation team.
49946 * po/ja.po: Likewise.
49947 * po/ru.po: Likewise.
49948 * po/ko.po: Likewise.
49949 * po/fr.po: Likewise.
49950
d30cf5bb
RM
499512011-07-09 Roland McGrath <roland@hack.frob.com>
49952
113ddea4
RM
49953 * configure.in (.ctors/.dtors header and trailer check):
49954 Use an empirical test on a built program.
49955 * configure: Regenerated.
49956
574920b4
RM
49957 * configure.in (-z relro check): Use an empirical test on a built DSO.
49958 Detect, but do not require, on ia64.
49959 * configure: Regenerated.
49960
d30cf5bb
RM
49961 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49962 Update tests that use readelf to use $READELF instead.
49963 * configure: Regenerated.
49964
8538fdb3
UD
499652011-07-08 Ulrich Drepper <drepper@gmail.com>
49966
49967 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49968 if the result is not used.
49969
04d08991
AJ
499702011-07-05 Andreas Jaeger <aj@suse.de>
49971
49972 [BZ#9696]
49973 * stdlib/tst-strtod.c: Add testcase.
49974
de283087
AD
499752011-07-07 Ulrich Drepper <drepper@gmail.com>
49976
4e5f31c8 49977 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49978 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49979 The latter has a higher limit. Take additional parameter to pass to
49980 the new function.
49981 (__pathconf): Pass file to __statfs_link_max.
49982 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49983 __statfs_link_max.
49984 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49985 __statfs_link_max.
49986
de283087
AD
49987 [BZ #12868]
49988 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49990 Handle Lustre.
49991 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49992 (__statfs_filesize_max): Likewise.
49993 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49994
c75fa153
AJ
499952011-07-05 Andreas Jaeger <aj@suse.de>
49996
49997 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49998
1a544854
UD
499992011-07-06 Marek Polacek <mpolacek@redhat.com>
50000
50001 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50002 `status' variable.
50003 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50004 Likewise.
50005
6f0eec67
UD
500062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50007
50008 * Makefile (strop-tests): Add strncat.
50009 * string/test-strncat.c: New file.
50010
aae30307
UD
500112011-06-30 Marek Polacek <mpolacek@redhat.com>
50012
50013 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50014
c0cfb5eb
UD
500152011-06-21 Andreas Jaeger <aj@suse.de>
50016
50017 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50018 Copy rule from iconvdata/Makefile.
50019
01636b21
UD
500202011-07-06 Ulrich Drepper <drepper@gmail.com>
50021
50022 [BZ #12922]
50023 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50024 but no long options are defined, just return 'W'.
50025
9895c8bc
UD
500262011-06-22 Marek Polacek <mpolacek@redhat.com>
50027
50028 [BZ #9696]
50029 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50030
5d4cf042
UD
500312011-07-06 Ulrich Drepper <drepper@gmail.com>
50032
50033 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50034 netgroups to read.
960e5535 50035 (innetgr): Likewise.
5d4cf042 50036
751eb97e
RM
500372011-07-05 Roland McGrath <roland@hack.frob.com>
50038
50039 * config.make.in (install_root): Default to $(DESTDIR).
50040
f15f1e45
UD
500412011-07-05 Ulrich Drepper <drepper@gmail.com>
50042
50043 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50044
4e34ac6a
RM
500452011-07-02 Roland McGrath <roland@hack.frob.com>
50046
5e9b6af4
RM
50047 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50048
84f9ea0f
RM
50049 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50050 containing directory rather than embedding absolute directory names.
50051
ea5ee9f7
RM
50052 * scripts/check-local-headers.sh: Rewritten using awk.
50053 Match by word, not by line. Print error messages for matches.
50054 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50055
1b74661a
RM
50056 * Makerules [shlib-lds-flags empty]:
50057 ($(common-objpfx)libc_pic.opts): New target.
50058 ($(common-objpfx)libc_pic.os.clean): New target.
50059 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50060
50061 * config.make.in (OBJCOPY): New variable.
50062 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50063 * configure: Regenerated.
50064
f781ef40
RM
50065 * config.make.in (use-default-link): New variable.
50066 * configure.in (use_default_link): Grok --with-default-link to set it.
50067 * configure: Regenerated.
50068 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50069 (shlib-lds, shlib-lds-flags): Define to empty.
50070
2d4fa81e
RM
50071 * Makerules (shlib-lds): New variable.
50072 (shlib-lds-flags): New variable.
50073 (build-shlib, build-moduile, build-module-asneeded): Use it.
50074 ($(common-objpfx)libc.so): Use $(shlib-lds).
50075 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50076 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50077
31fffa6b
RM
50078 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50079 DT_FLAGS/DT_FLAGS_1 with zero flags.
50080
4e34ac6a
RM
50081 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50082 linker script munging.
50083
fcfc776b
UD
500842011-07-02 Ulrich Drepper <drepper@gmail.com>
50085
50086 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50087 as 128-bit value.
50088 * crypt/sha512.c (sha512_process_block): Perform total addition using
50089 128-bit if possible.
50090 (__sha512_finish_ctx): Likewise.
50091 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50092 as 64-bit value.
50093 * crypt/sha256.c (SWAP64): Define.
50094 (sha256_process_block): Perform total addition using 64-bit if
50095 possible.
50096 (__sha256_finish_ctx): Likewise.
50097
99231d9a
UD
500982011-07-01 Ulrich Drepper <drepper@gmail.com>
50099
50100 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50102 * nscd/hstcache.c (cache_addhst): Likewise.
50103 * nscd/grpcache.c (cache_addgr): Likewise.
50104 * nscd/aicache.c (addhstaiX): Likewise
50105 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50106
445b4a53
TK
501072011-07-01 Thorsten Kukuk <kukuk@suse.de>
50108
50109 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50111 * nscd/hstcache.c (cache_addhst): Likewise.
50112 * nscd/grpcache.c (cache_addgr): Likewise.
50113 * nscd/aicache.c (addhstaiX): Likewise
50114
6d4d8e8e
AS
501152011-07-01 Andreas Schwab <schwab@redhat.com>
50116
50117 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50118 domain only when needed.
50119
89f654c5
AS
501202011-06-30 Andreas Schwab <schwab@redhat.com>
50121
50122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50123 is always restored.
50124
cf3b23ff
UD
501252011-06-29 Ulrich Drepper <drepper@gmail.com>
50126
50127 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50128 are re-adding the entry.
50129 * nscd/servicescache.c (cache_addserv): Likewise.
50130
751626f9
AJ
501312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50132
50133 * sysdeps/generic/dl-irel.h: fix protection against multiple
50134 inclusions.
50135 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50136
9113ea1f
UD
501372011-06-28 Ulrich Drepper <drepper@gmail.com>
50138
5c0b8d90
UD
50139 [BZ #12935]
50140 * malloc/memusage.sh: Fix quoting in message.
50141 * debug/xtrace.sh: Likewise.
50142
9113ea1f
UD
50143 * configure.in: Remove support for --experimental-malloc option, make
50144 it the default.
50145 * config.make.in: Likewise.
50146 * malloc/Makefile: Likewise.
50147
a4172181
AS
501482011-06-27 Andreas Schwab <schwab@redhat.com>
50149
50150 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50151 two-byte characters.
50152
78a7eee7
RM
501532011-06-27 Roland McGrath <roland@hack.frob.com>
50154
62bede13
RM
50155 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50156 AC_CACHE_CHECK invocation.
50157 * configure: Regenerated.
50158
78a7eee7
RM
50159 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50160
5ce33a62
UD
501612011-06-27 Ulrich Drepper <drepper@gmail.com>
50162
034807a9
UD
50163 [BZ #12350]
50164 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50165 bit from old_res_options.
50166
4902da17
UD
50167 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50168
5ce33a62
UD
50169 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50170 value type for setfct.
50171
c2344f56
L
501722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50173
50174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50175 __gettimeofday instead of gettimeofday.
50176
68468076
UD
501772011-06-26 Ulrich Drepper <drepper@gmail.com>
50178
50179 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50180
acb0d739
L
501812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50182
50183 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50184
50185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50186 info.
50187
8912479f
L
501882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50189
50190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50191 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50192 strcpy-sse2-unaligned strncpy-sse2-unaligned
50193 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50194 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50195 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50196 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50197 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50198 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50199 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50200 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50201 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50202 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50203 (STRCPY): Support SSE2 and SSSE3 versions.
50204
d5495a11
UD
502052011-06-24 Ulrich Drepper <drepper@gmail.com>
50206
50207 [BZ #12874]
50208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50209 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50210 kernels which artificially limit size of requests.
50211
0b1cbaae
L
502122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50213
50214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50215 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50216 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50217 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50218 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50219 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50220 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50221 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50222 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50224 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50225 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50226 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50227 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50228 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50230 Enable unaligned load optimization for Intel Core i3, i5 and i7
50231 processors.
50232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50233 Define.
50234 (index_Fast_Unaligned_Load): Define.
50235 (HAS_FAST_UNALIGNED_LOAD): Define.
50236
07f494a0
MP
502372011-06-23 Marek Polacek <mpolacek@redhat.com>
50238
50239 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50240
fa3fc0fe
UD
502412011-06-22 Ulrich Drepper <drepper@gmail.com>
50242
50243 [BZ #12907]
50244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50245 until it is clear that the information is realy needed.
50246 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50247
e12df166
AS
502482011-06-22 Andreas Schwab <schwab@redhat.com>
50249
50250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50251
852eb34d
UD
502522011-06-22 Ulrich Drepper <drepper@gmail.com>
50253
84e2a551
UD
50254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50255 /sys/devices/system/cpu/online if it is usable.
50256
852eb34d
UD
50257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50258 reading the information from the /proc filesystem to once a second.
50259
6e502e19
UD
502602011-06-21 Andreas Jaeger <aj@suse.de>
50261
50262 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50263 NULL after inclusion of kernel headers.
50264
75d39ff2
UD
502652011-06-21 Ulrich Drepper <drepper@gmail.com>
50266
51f9aa6a
UD
50267 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50268 calls to internal_setent.
50269
c0244a9d
UD
50270 [BZ #12885]
50271 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50272 addresses using gethostbyname4_r ignore IPv4 addresses.
50273
c5e3c2ae
UD
50274 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50275 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50276
75d39ff2
UD
50277 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50278
42675c6f
DM
502792011-06-20 David S. Miller <davem@davemloft.net>
50280
50281 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50282 inclusions.
50283 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50284
50285 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50286 (elf_irel): Use it.
50287 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50288 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50289 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50290 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50291 * sysdeps/x86_64/dl-irel.h: Likewise.
50292
50293 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50294 * elf/dl-sym.c: Likewise.
50295
57912a71
UD
502962011-06-15 Ulrich Drepper <drepper@gmail.com>
50297
50298 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50299 need to dereference resplen2.
50300
ee22793d
AS
503012011-06-14 Andreas Schwab <schwab@redhat.com>
50302
50303 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50304
a9e836b0
UD
503052011-06-15 Ulrich Drepper <drepper@gmail.com>
50306
77fb9117
UD
50307 * Makeconfig: Define vardbdir and inst_vardbdir.
50308 * nss/Makefile: Add rules to install db-Makefile.
50309
40c1b22c
UD
50310 * nss/nss_db/db-XXX.c: Cleanup.
50311
9f2da732
UD
50312 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50313 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50314 GLIBC_PRIVATE.
50315 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50316 * nss/makedb.c: Implement -g option to specify that value strings
50317 are generated and should not be added to table iterated over for
50318 get*ent calls.
50319 * nss/nss_db/db-initgroups.c: New file.
50320
82e9a1f7
UD
50321 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50322 interface.
50323
c41af17e
UD
50324 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50325 (internal_getgrouplist): Adjust to name change.
50326 Update use_initgroups_entry if this is not the first call.
50327 * nss/databases.def: Add initgroups entry.
50328
a9e836b0
UD
50329 * nss/makedb.c (compute_tables): Check result of multiple hash table
50330 sizes to minimize maximum chain length.
50331
2666d441
UD
503322011-06-14 Ulrich Drepper <drepper@gmail.com>
50333
50334 * Versions.def: Add entry for libnss_db.
50335 * shlib-versions: Likewise.
50336 * nss/Makefile: Add rules to build libnss_db.
50337 * nss/Versions: Add libnss_db information. Organize libnss_files
50338 entries better.
50339 * nss/db-Makefile: Add gshadow support. Change rules for the new
50340 makedb progra. Some minor improvements to generate smaller files.
50341 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50342 here from...
50343 * nss/makedb.c: ...here.
50344 Improve database format to be smaller and require less memory at
50345 runtime.
50346 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50347 db anymore.
50348 * nss/nss_db/db-netgrp.c: Likewise.
50349 * nss/nss_db/db-open.c: Likewise.
50350 * nss/nss_files/flies-XXX.x: Adjust comments.
50351 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50352 * nss/nss_files/files-grp.c: Likewise.
50353 * nss/nss_files/files-hosts.c: Likewise.
50354 * nss/nss_files/files-network.c: Likewise.
50355 * nss/nss_files/files-proto.c: Likewise.
50356 * nss/nss_files/files-pwd.c: Likewise.
50357 * nss/nss_files/files-rpc.c: Likewise.
50358 * nss/nss_files/files-service.c: Likewise.
50359 * nss/nss_files/files-sgrp.c: Likewise.
50360 * nss/nss_files/files-spwd.c: Likewise.
50361 * nss/nss_db/db-alias.c: Removed.
50362 * nss/nss_db/dummy-db.h: Removed.
50363
9ee76b5a
UD
503642011-06-02 Ulrich Drepper <drepper@gmail.com>
50365
50366 * nss/makedb.c: Rewritten to not use database library.
50367 * nss/Makefile: Update to build new makedb program.
50368
c71ca1f8
AJ
503692011-06-14 Andreas Jaeger <aj@suse.de>
50370
50371 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50372 memset declaration.
50373
3154bfb8
UD
503742011-06-10 Andreas Schwab <schwab@redhat.com>
50375
50376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50377 tmpbuf.
50378
b350afab
RM
503792011-06-10 Roland McGrath <roland@hack.frob.com>
50380
decd4e50
RM
50381 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50382 * elf/Makefile ($(objpfx)ld.so): Likewise.
50383
5615eaf2
RM
50384 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50385 Don't list ld.so twice in dependencies.
50386
50387 * posix/bug-regex31.c: Include <stdlib.h>.
50388
50389 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50390
50391 * nis/nss_compat/compat-spwd.c
50392 (getspent_next_nss_netgr): Remove unused variable.
50393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50394
50395 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50396 nonmembers" output to use the right array.
50397
50398 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50399
50400 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50401
50402 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50403 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50404 * catgets/gencat.c (read_input_file): Likewise.
50405 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50406
50407 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50408 variable definition inside #if's controlling its use.
50409
50410 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50411
50412 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50413
50414 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50415
50416 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50417 unreachable code.
50418
50419 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50420
b68e08db
RM
50421 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50422 * configure: Regenerated.
50423
b350afab
RM
50424 * Makerules: Revert last change.
50425 * elf/Makefile: Likewise.
50426
28368601
RM
504272011-06-09 Roland McGrath <roland@hack.frob.com>
50428
50429 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50430 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50431 (reloc-link): Likewise.
50432
11988f8f
UD
504332011-06-09 Ulrich Drepper <drepper@gmail.com>
50434
50435 * elf/Makefile: Add rules to build pldd.
50436 * elf/pldd.c: New file.
50437 * elf/pldd-xx.c: New file.
50438
e80fab37
UD
504392011-06-07 Ulrich Drepper <drepper@gmail.com>
50440
50441 * version.h: Update for 2.15 development version.
50442
9b849836
DM
504432011-06-07 David S. Miller <davem@davemloft.net>
50444
50445 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50446 ifuncs.
50447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50448 elf_machine_lazy_rel): Likewise.
50449 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50451 elf_machine_lazy_rel): Likewise.
50452 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50453 dl_hwcap via passed in argument.
50454 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50455 Likewise.
50456
5a31b283
AK
504572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50458
50459 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50460
069e52f8
RM
504612011-06-06 Roland McGrath <roland@hack.frob.com>
50462
50463 [BZ #12849]
50464 * manual/fdl-1.1.texi: New file, verbatim from:
50465 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50466 * manual/lgpl-2.1.texi: New file, verbatim from:
50467 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50468 * manual/Makefile (licenses): New variable, list those new file names.
50469 (texis): Use it.
50470 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50471
50472 * manual/fdl.texi: File removed.
50473 * manual/lesser.texi: File removed.
50474 * manual/libc.texinfo (Copying, Documentation License):
50475 Use new @include file names, put @appendix directive before @include.
50476
f16846a5
JJ
504772011-06-04 Jakub Jelinek <jakub@redhat.com>
50478
50479 [BZ #12841]
50480 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50481 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50482 (mq_open): Add __NTH.
50483
3d29045b
L
504842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50485
50486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50487 Assume Intel Core i3/i5/i7 processor if AVX is available.
50488
8c297311
UD
504892011-05-31 Ulrich Drepper <drepper@gmail.com>
50490
50491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50492 typo.
50493
c8fc0c91
UD
504942011-05-31 Andreas Schwab <schwab@redhat.com>
50495
50496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50497 memory. Use alloca_account. Fix memory leak when retrying.
50498
5b27a807
UD
504992011-05-31 Ulrich Drepper <drepper@gmail.com>
50500
356f8bc6
UD
50501 * version.h (RELEASE): Bump for 2.14 release.
50502 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50503
5b27a807
UD
50504 * config.make.in (RANLIB): Remove entry.
50505
01f16ab0
UD
505062011-05-30 Ulrich Drepper <drepper@gmail.com>
50507
41fce8bd
UD
50508 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50509 (libc.pot): Work around missing support for .ksh extension in xgettext.
50510
4769ae77
UD
50511 [BZ #12684]
50512 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50513 if both request failed.
50514 (send_dg): In case of server errors clear resplen or *resplen2.
50515
6b1e7d19
UD
50516 [BZ #12454]
50517 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50518 when there are multiple maps.
50519 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50520 (_dl_fini): Remove test here.
50521
01f16ab0
UD
50522 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50523
b1ebd700
UD
505242011-05-29 Ulrich Drepper <drepper@gmail.com>
50525
7ae22829
UD
50526 [BZ #12350]
50527 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50528 bit from old_res_options.
50529 (gaih_inet): Likewise.
50530
553149f6 50531 [BZ #11099]
18a84741 50532 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50533 as signed.
50534
652ffab1
UD
50535 * resolv/res_init.c (res_setoptions): Make the code more compact.
50536
16985fd0
UD
50537 [BZ #11558]
50538 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50539 set RES_USEVC.
50540
0464f746
UD
50541 [BZ #11634]
50542 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50543
7d17596c
UD
50544 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50545
cf6bbbd7
UD
50546 [BZ #11781]
50547 * malloc/malloc.h: Declare malloc hook variables as volatile.
50548
13f1ab36
UD
50549 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50550 in last patch.
50551
b1ebd700
UD
50552 [BZ #11799]
50553 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50554 raise in the comment.
80e2212d
UD
50555 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50557 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50558
ce67228d
UD
505592011-05-28 Ulrich Drepper <drepper@gmail.com>
50560
8887a920
UD
50561 [BZ #12811]
50562 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50563 grow the buffers more if it already has to be sufficient.
50564 (build_wcs_upper_buffer): Likewise.
50565 * posix/regexec.c (check_matching): Likewise.
50566 (clean_state_log_if_needed): Likewise.
50567 (extend_buffers): Don't enlarge buffers beyond size of the input
50568 buffer.
50569 Patches mostly by Emil Wojak <emil@wojak.eu>.
50570 * posix/bug-regex32.c: New file.
50571 * posix/Makefile (tests): Add bug-regex32.
50572
4f031072
UD
50573 * locale/findlocale.c (_nl_find_locale): Return right away if
50574 _nl_explode_name failed.
50575 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50576
d0478f0c
UD
50577 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50578
de81b246
UD
50579 * debug/xtrace.sh: Unify messages.
50580 * malloc/memusage.sh: Likewise.
50581
c738465a
UD
50582 [BZ #12813]
50583 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50584 time symbol from vDSO. Substitute with vsyscall if not available.
50585 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50586 __vdso_time.
50587
f1f929d7
UD
50588 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50589 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50590 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50591 Add sendmmsg and internal_sendmmsg.
50592 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50594 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50595
ce67228d
UD
50596 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50597 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50598 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50599
e57420c6
UD
506002011-05-27 Ulrich Drepper <drepper@gmail.com>
50601
a8509ca5
UD
50602 [BZ #12813]
50603 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50604 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50605 available.
50606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50607 __vdso_getcpu.
50608
e57420c6
UD
50609 [BZ #12814]
50610 * iconvdata/Makefile (tests): Add bug-iconv9.
50611 * iconvdata/bug-iconv9.c: New file.
50612
4d07db15
AS
506132011-05-27 Andreas Schwab <schwab@redhat.com>
50614
50615 [BZ #12814]
50616 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50617
ea486f69
JJ
506182011-05-25 Jakub Jelinek <jakub@redhat.com>
50619
50620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50621 (struct user_regs_struct): Change intcs field back to cs.
50622
6f038433
UD
506232011-05-25 Ulrich Drepper <drepper@gmail.com>
50624
50625 * po/ja.po: Update from translation team.
50626
67f86a25
UD
506272011-05-23 Ulrich Drepper <drepper@gmail.com>
50628
50629 [BZ #12795]
50630 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50631 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50632
def7fbd6
AS
506332011-05-20 Andreas Schwab <schwab@redhat.com>
50634
50635 * stdlib/longlong.h: Update from GCC.
50636
f50ef8f1
AS
506372011-05-23 Andreas Schwab <schwab@redhat.com>
50638
50639 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50640 parameter name.
50641 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50642 Add parameter name.
50643 (__sysconf): Pass it down.
50644
de7ce8f1
UD
506452011-05-22 Ulrich Drepper <drepper@gmail.com>
50646
f2962a71
UD
50647 [BZ #12671]
50648 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50649 some situations.
50650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50651 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50652 add in in __libc_use_alloca calls. Adjust callers.
50653 (glob): Use malloc in some situations.
50654
de7ce8f1
UD
50655 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50656 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50657 pltexit.
50658
aec84f53
UD
506592011-05-21 Ulrich Drepper <drepper@gmail.com>
50660
05bb4a68
UD
50661 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50662 and CLOCK_BOOTTIME_ALARM.
50663
7ea72f99
UD
50664 [BZ #12782]
50665 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50666 is returned.
50667
7e4afad5
UD
50668 * string/_strerror.c (__strerror_r): Print negative errors as signed
50669 numbers.
50670
8e211fec
UD
50671 [BZ #12777]
50672 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50673 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50674 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50675
f7d82dc9
UD
50676 * configure.in: Fix typo in redirection and correct removal of test
50677 files in two cases.
50678
cc9e536d
UD
50679 [BZ #12788]
50680 * locale/setlocale.c (new_composite_name): Fix test to check for
50681 identical name of all categories.
50682
aec84f53
UD
50683 [BZ #12792]
50684 * libio/filedoalloc.c (local_isatty): New function.
50685 (_IO_file_doallocate): Use local_isatty.
50686 * stdio-common/perror.c (perror): In case a new stream is used
50687 forward the stream error.
50688 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50689 error flag.
50690
78e64fdc
RT
506912011-05-20 Ulrich Drepper <drepper@gmail.com>
50692
34a9094f
UD
50693 [BZ #11869]
50694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50695 alloca.
50696 * include/alloca.h (extend_alloca_account): Define.
50697
78e64fdc
RT
50698 [BZ #11857]
50699 * posix/regex.h: Fix comments with documentation of user-accessible
50700 fields after compilation and describe correct free'ing of pattern
50701 after re_compile_pattern.
50702 Patch by Reuben Thomas <rrt@sc3d.org>.
50703
457bddfc
RA
507042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50705
50706 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50707 and -mno-altivec to prevent the compiler from using Altivec and/or
50708 VSX instructions when the corresponding registers are not available.
50709
a4527b51
AS
507102011-05-19 Andreas Schwab <schwab@redhat.com>
50711
50712 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50713
ed690b2f
UD
507142011-05-19 Ulrich Drepper <drepper@gmail.com>
50715
50716 * libio/freopen.c (freopen): Use __dup2, not dup2.
50717 * libio/freopen64.c (freopen64): Likewise.
50718
8db73634
L
507192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50720
50721 [BZ #12775]
50722 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50723 * math/Makefile (tests): Add test-powl.
50724 (CFLAGS-test-powl.c): Define.
50725 * math/test-powl.c: New file.
50726
0a197a9d
L
507272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50728
50729 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50730
ee30c380
UD
507312011-05-17 Ulrich Drepper <drepper@gmail.com>
50732
50733 [BZ #11837]
50734 * iconvdata/gb18030.c: Update to GB18020-2005.
50735
6ce75379
UD
507362011-05-16 Ulrich Drepper <drepper@gmail.com>
50737
a4b89fd8
AR
50738 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50739 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50740 Patch by Aharon Robbins <arnold@skeeve.com>.
50741
ea389b12
UD
50742 [BZ #11892]
50743 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50744 on the stack.
50745
68a3f91f
UD
50746 [BZ #11895]
50747 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50748 through underflows.
50749
15cc7dd1
UD
50750 [BZ #12766]
50751 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50752 point to strings before performing equality test for error_one_per_line
50753 mode.
50754
f3799213
UD
50755 [BZ #11697]
50756 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50757
d79a9c94
UD
50758 [BZ #11820]
50759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50760 (struct user_fpregs_struct): Avoid __uint*_t types.
50761
56e5eb46
UD
50762 [BZ #6420]
50763 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50764 symbol info. Use it instead of calling _dl_addr locally.
50765 (lock_and_info): New function.
50766 (tr_freehook): Call lock_and_info and pass symbol info as additional
50767 parameter to tr_where.
50768 (tr_mallochook): Likewise.
50769 (tr_reallochook): Likewise.
50770 (tr_memalignhook): Likewise.
50771
6ce75379
UD
50772 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50773 used and couldn't be at all thread-safe.
50774
f8a3b5bf
UD
507752011-05-15 Ulrich Drepper <drepper@gmail.com>
50776
94b7cc37
UD
50777 * libio/freopen.c (freopen): Don't close old file descriptor
50778 before the new one is opened. Instead dup the new file descriptor
50779 to the old one after the new stream is created.
50780 * libio/freopen64.c (freopen64): Likewise.
50781 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50782 * libio/fileops.c (_IO_new_file_close_it): Handle new
50783 _IO_FLAGS2_NOCLOSE flag.
50784 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50785 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50786 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50787 _IO_FLAGS2_NOCLOSE flag.
50788 * include/unistd.h: Add hidden_proto for dup3.
50789 Define __have_dup3.
50790 * io/dup3.c: Define hidden symbol.
50791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50792
bd25564e
UD
50793 [BZ #7101]
50794 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50795 when an incomplete long option is used.
50796 * posix/tst-getopt_long1.c: New file.
50797 * posix/Makefile (tests): Add tst-getopt_long1.
50798
c84cfef4
UD
50799 [BZ #10138]
50800 * scripts/config.guess: Update from autoconf-2.68.
50801 * scripts/config.sub: Likewise.
50802
3b85df27
UD
50803 [BZ #10157]
50804 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50805 tests into ...
50806 (has_cpuclock): ...this. New function.
50807 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50808 macro here based on has_cpuclock code.
50809
15a856b1
UD
50810 [BZ #10149]
50811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50812 First byte (not low byte) is now always NUL.
50813 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50814
05f399e6
UD
50815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50816 Use non-cancelable interfaces.
50817
10a52685 50818 [BZ #9809]
94ecc67d
UD
50819 * locale/iso-639.def: Add entry for Sorani.
50820
f8a3b5bf
UD
50821 [BZ #11901]
50822 * include/stdlib.h: Move include protection to the right place.
50823 Define abort_msg_s. Declare __abort_msg with it.
50824 * stdlib/abort.c (__abort_msg): Adjust type.
50825 * assert/assert.c (__assert_fail_base): New function. Majority
50826 of code from __assert_fail. Allocate memory for __abort_msg with
50827 mmap.
50828 (__assert_fail): Now call __assert_fail_base.
50829 * assert/assert-perr.c: Remove bulk of implementation. Use
50830 __assert_fail_base.
50831 * include/assert.hL Declare __assert_fail_base.
50832 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50833 mmap.
50834 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50835
1af4e298
UD
508362011-05-14 Ulrich Drepper <drepper@gmail.com>
50837
f8a3b5bf 50838 [BZ #11952]
d26dfc60
MG
50839 [BZ #12453]
50840 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50841 until all modules are registered in the DTV.
50842 * elf/Makefile: Add rules to build and run tst-tls19.
50843 * elf/tst-tls19.c: New file.
50844 * elf/tst-tls19mod1.c: New file.
50845 * elf/tst-tls19mod2.c: New file.
50846 * elf/tst-tls19mod3.c: New file.
50847 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50848
2fc54d6f
UD
50849 [BZ #12083]
50850 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50851 correctly.
50852
98d76b46
UD
50853 [BZ #12601]
50854 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50855 two-byte sequence errors.
50856 * iconvdata/Makefile (tests): Add bug-iconv8.
50857 * iconvdata/bug-iconv8.c: New file.
50858
da3c19ef
UD
50859 [BZ #12626]
50860 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50861 buf2 definition.
50862
ca408c15
UD
50863 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50864
d6f67f7d
UD
50865 [BZ #12432]
50866 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50867 (dummy_getcfa): New function.
50868 (init): Get _Unwind_GetCFA address, use dummy if not found.
50869 (backtrace_helper): In recursion check, also check whether CFA changes.
50870 (__backtrace): Completely initialize arg.
50871
1af4e298 50872 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50873 storing incomplete byte sequence in state object. Avoid testing for
50874 guaranteed too small input if we know there is enough data available.
1af4e298 50875
da62f81b
AS
508762011-05-11 Andreas Schwab <schwab@redhat.com>
50877
50878 * Makeconfig (+link-pie): Indent.
50879 * Rules (binaries-pie): Define if $(have-fpie) and
50880 $(build-shared).
50881 (binaries-shared): Also filter out $(binaries-pie).
50882 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50883 * nscd/Makefile (others-pie): Add nscd.
50884 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50885 ($(objpfx)nscd): Remove command override.
50886 * login/Makefile (others-pie): Add pt_chown.
50887 ($(objpfx)pt_chown): Remove command override.
50888 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50889 remove command overrides.
50890
fcabc0f8
UD
508912011-05-13 Ulrich Drepper <drepper@gmail.com>
50892
20030ae6
UD
50893 * libio/tst_putwc.c: Fix error messages.
50894
fcabc0f8
UD
50895 [BZ #12724]
50896 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50897 currently writing and seek to current position when not.
50898 * libio/Makefile (tests): Add bug-fclose1.
50899 * libio/bug-fclose1.c: New file.
50900
320a5dc0
PB
509012011-05-12 Ulrich Drepper <drepper@gmail.com>
50902
50903 [BZ #12511]
50904 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50905 don't set DF_1_NODELETE here.
50906 (do_lookup_x): When entering new entry test for copy relocation
50907 and if necessary set DF_1_NODELETE flag.
50908 * elf/tst-unique4.cc: New file.
50909 * elf/tst-unique4.h: New file.
50910 * elf/tst-unique4lib.cc: New file.
50911 * elf/Makefile: Add rules to build and run tst-unique4.
50912 Patch by Piotr Bury <pbury@goahead.com>.
50913
22836f52
UD
509142011-05-11 Ulrich Drepper <drepper@gmail.com>
50915
f574184a
UD
50916 [BZ #12052]
50917 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50918
e1fb097f
UD
50919 [BZ #12625]
50920 * misc/mntent_r.c (addmntent): Flush the stream after the output
50921
22836f52
UD
50922 [BZ #12393]
50923 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50924 (is_trusted_path_normalize): Skip initial colon. Append slash
50925 to empty buffer. Duplicate is_trusted_path code but allow
50926 constructed patch to be prefix.
50927 (is_dst): Allow $ORIGIN followed by /.
50928 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50929 Correct testing of result of is_trusted_path_normalize
50930 (decompose_rpath): Fix warning.
50931
7b3b0b2a
UD
509322011-05-10 Ulrich Drepper <drepper@gmail.com>
50933
50934 [BZ #11257]
50935 * grp/initgroups.c (internal_getgrouplist): When we found the service
50936 list through the initgroups entry in nsswitch.conf do not always
50937 continue on a successful lookup. Don't always use the
eac80ce2 50938 __nss_group_database value if it is set.
7b3b0b2a
UD
50939 * nss/nsswitch.conf (initgroups): Change action for successful db
50940 lookup to continue for compatibility.
50941
2a81eaa5
UD
509422011-05-09 Ulrich Drepper <drepper@gmail.com>
50943
be97a69e
UD
50944 [BZ #11532]
50945 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50946 and CP774 modules.
50947 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50948 and CP774 modules.
50949 * iconvdata/tst-tables.sh: Likewise.
50950 * iconvdata/cp770.c: New file.
50951 * iconvdata/cp771.c: New file.
50952 * iconvdata/cp772.c: New file.
50953 * iconvdata/cp773.c: New file.
50954 * iconvdata/cp774.c: New file.
50955 * iconvdata/testdata/CP770: New file.
50956 * iconvdata/testdata/CP770..UTF8: New file.
50957 * iconvdata/testdata/CP771: New file.
50958 * iconvdata/testdata/CP771..UTF8: New file.
50959 * iconvdata/testdata/CP772: New file.
50960 * iconvdata/testdata/CP772..UTF8: New file.
50961 * iconvdata/testdata/CP773: New file.
50962 * iconvdata/testdata/CP773..UTF8: New file.
50963 * iconvdata/testdata/CP774: New file.
50964 * iconvdata/testdata/CP774..UTF8: New file.
50965
50966 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50967 END CHARMAP line.
50968 * iconvdata/gen-8bit-gap.sh: Likewise.
50969 * iconvdata/gen-8bit.sh: Likewise.
50970
c1e9e399
UD
50971 * locale/iso-639.def: Add ary entry.
50972
24c55fb3 50973 [BZ #11258]
96b4b1b0
UD
50974 * locale/C-translit.h.in: Add U20A1 transliteration.
50975
bdc2f971
KB
50976 [BZ #12178]
50977 * locale/iso-639.def: Add wae entry.
50978 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50979
2952b117
UD
50980 [BZ #12545]
50981 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50982 for n.
50983
2a81eaa5
UD
50984 [BZ #12711]
50985 * locale/C-translit.h.in: Add entry for U20B9.
50986 Patch by pravin.d.s@gmail.com.
50987
28377d1b
UD
509882011-05-08 Ulrich Drepper <drepper@gmail.com>
50989
7fb90fb8
UD
50990 [BZ #12713]
50991 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50992 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50993 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50994 in rtld. Use *stat64.
7fb90fb8 50995 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50996 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50997 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50998 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50999 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51000 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51001 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51002 __fstatat64 macros.
7fb90fb8
UD
51003 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51004 * dirent/rewinddir.c: Add libc_hidden_def.
51005 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51006 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51007
28377d1b
UD
51008 * include/dirent.h (__alloc_dir): Add flags parameter.
51009 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51010 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51011 __alloc_dir.
51012 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51013 from fdopendir if O_CLOEXEC is already set.
51014
66bdbaa4
AM
510152011-03-15 Alan Modra <amodra@gmail.com>
51016
51017 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51018 l_tls_firstbyte_offset non-zero. Save padding offset in
51019 l_tls_firstbyte_offset for later use.
51020 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51021 freeing static tls block.
51022
95721191
JN
510232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51024
51025 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51026 where #ifdef was intended. The intent is to prevent ARG_MAX from
51027 being defined by the kernel headers.
51028
f87dfb1f
UD
510292011-05-07 Ulrich Drepper <drepper@gmail.com>
51030
51031 [BZ #12734]
51032 * resolv/resolv.h: Define RES_NOTLDQUERY.
51033 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51034 no-tld-query and set RES_NOTLDQUERY.
51035 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51036 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51037 modern BIND to search name as TLD unless forbidden.
51038
47c3cd7a
UD
510392011-05-07 Petr Baudis <pasky@suse.cz>
51040 Ulrich Drepper <drepper@gmail.com>
51041
51042 [BZ #12393]
51043 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51044 (is_trusted_path): ...to here.
c1e9ea35 51045 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51046 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51047 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51048
8a35c912
PP
510492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51050
51051 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51052 __BEGIN/__END_DECLS.
51053
acd41f47
UD
510542011-05-06 Ulrich Drepper <drepper@gmail.com>
51055
51056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51057 NSS_STATUS_NOTFOUND if no record was found.
51058
597df647
AS
510592011-05-05 Andreas Schwab <schwab@redhat.com>
51060
51061 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51062 (headers-not-in-tirpc): Remove rpc/netdb.h
51063 * resolv/netdb.h: Revert last change.
51064
b9af1301
PP
510652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51066
51067 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51068 circular dependency between libgcc.a and libc.a.
51069
4e34d5f5
AS
510702011-05-05 Andreas Schwab <schwab@redhat.com>
51071
51072 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51073 * nis/Makefile: Don't install rpcsvc/*.
51074 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51075 instead of <rpc/types.h>.
51076 (MAXHOSTNAMELEN): Define.
51077
00ee369c
AS
510782011-05-03 Andreas Schwab <schwab@redhat.com>
51079
51080 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51081
0b592a30
MB
510822011-04-28 Maciej Babinski <mbabinski@google.com>
51083
51084 [BZ #12714]
51085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51086 gethostbyname4_r when IPv6 results are possible.
51087
6e04cbbe
UD
510882011-05-02 Ulrich Drepper <drepper@gmail.com>
51089
51090 [BZ #12723]
51091 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51092 _PC_PIPE_BUF handling.
51093
e4ecafe0
BH
510942011-04-30 Bruno Haible <bruno@clisp.org>
51095
51096 [BZ #12717]
51097 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51098 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51099 to 'int'.
51100 * inet/getnameinfo.c (getnameinfo): Likewise.
51101
125ee683
UD
511022011-04-29 Ulrich Drepper <drepper@gmail.com>
51103
51104 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51105 to groups setting in database lookup.
51106 * nss/nsswitch.conf: Add initgroups entry.
51107
b722481a
EB
511082011-04-22 Ulrich Drepper <drepper@gmail.com>
51109
51110 [BZ #12685]
51111 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51112 mode string.
51113 Patch by Eric Blake <eblake@redhat.com>.
51114
4df46dbd
L
511152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51116
51117 * sunrpc/Makefile (need-export-routines): Add svc_run.
51118 (routines): Remove svc_run.
51119 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51120 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51121 * sunrpc/svc_run.c (svc_run): Likewise.
51122 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51123
e84142d2
UD
511242011-04-21 Ulrich Drepper <drepper@gmail.com>
51125
51126 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51127 problem in reallocation in last patch.
51128
877175d8
UD
511292011-04-20 Ulrich Drepper <drepper@gmail.com>
51130
51131 * sunrpc/Makefile: Move inclusion of Rules.
51132
ab8eed78
UD
511332011-04-19 Ulrich Drepper <drepper@gmail.com>
51134
51135 * nss/nss_files/files-initgroups.c: New file.
51136 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51137 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51138 _nss_files_initgroups_dyn.
51139
e3d8f584
RS
511402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51141
51142 * elf/elf.h (R_ARM_IRELATIVE): Define.
51143
af190f45
UD
511442011-04-19 Ulrich Drepper <drepper@gmail.com>
51145
51146 * po/ru.po: Update from translation team.
51147
53cf59ef
UD
511482011-04-17 Ulrich Drepper <drepper@gmail.com>
51149
51150 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51151 dependencies.
51152
4c559bcd
MF
511532011-02-06 Mike Frysinger <vapier@gentoo.org>
51154
51155 [BZ #12653]
51156 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51157 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51161
4420675c
AS
511622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51163
51164 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51165 differing bytes.
51166 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51168 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51169
75ea32ab
UD
511702011-04-17 Ulrich Drepper <drepper@gmail.com>
51171
51172 [BZ #12420]
51173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51174 storing it.
51175 * stdlib/bug-getcontext.c: New file.
51176 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51177
27390476
AK
511782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51179
51180 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51181 instructions into .machine "z9-109".
51182 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51183 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51184
10442705
AK
511852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51186
51187 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51188 between environment variables and auxiliary vector.
51189
7b57bfe5
UD
511902011-04-16 Ulrich Drepper <drepper@gmail.com>
51191
51192 * Makefile: Add rules to build linkobj/libc.so.
51193 * include/libc-symbols.h: Define libc_hidden_nolink.
51194 * include/rpc/auth.h: Mark functions which are to be hidden.
51195 * include/rpc/auth_des.h: Likewise.
51196 * include/rpc/auth_unix.h: Likewise.
51197 * include/rpc/clnt.h: Likewise.
51198 * include/rpc/des_crypt.h: Likewise.
51199 * include/rpc/key_prot.h: Likewise.
51200 * include/rpc/pmap_clnt.h: Likewise.
51201 * include/rpc/pmap_prot.h: Likewise.
51202 * include/rpc/pmap_rmt.h: Likewise.
51203 * include/rpc/rpc_msg.h: Likewise.
51204 * include/rpc/svc.h: Likewise.
51205 * include/rpc/svc_auth.h: Likewise.
51206 * include/rpc/xdr.h: Likewise.
51207 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51208 * nss/Makefile: Likewise.
51209 * sunrpc/Makefile: Don't install headers. Build library with normal
51210 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51211 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51212 for the compat linking library. Remove use of INTDEF/INTUSE.
51213 * sunrpc/auth_none.c: Likewise.
51214 * sunrpc/auth_unix.c: Likewise.
51215 * sunrpc/authdes_prot.c: Likewise.
51216 * sunrpc/authuxprot.c: Likewise.
51217 * sunrpc/clnt_gen.c: Likewise.
51218 * sunrpc/clnt_perr.c: Likewise.
51219 * sunrpc/clnt_raw.c: Likewise.
51220 * sunrpc/clnt_simp.c: Likewise.
51221 * sunrpc/clnt_tcp.c: Likewise.
51222 * sunrpc/clnt_udp.c: Likewise.
51223 * sunrpc/clnt_unix.c: Likewise.
51224 * sunrpc/des_crypt.c: Likewise.
51225 * sunrpc/des_soft.c: Likewise.
51226 * sunrpc/get_myaddr.c: Likewise.
51227 * sunrpc/key_call.c: Likewise.
51228 * sunrpc/key_prot.c: Likewise.
51229 * sunrpc/netname.c: Likewise.
51230 * sunrpc/pm_getmaps.c: Likewise.
51231 * sunrpc/pm_getport.c: Likewise.
51232 * sunrpc/pmap_clnt.c: Likewise.
51233 * sunrpc/pmap_prot.c: Likewise.
51234 * sunrpc/pmap_prot2.c: Likewise.
51235 * sunrpc/pmap_rmt.c: Likewise.
51236 * sunrpc/publickey.c: Likewise.
51237 * sunrpc/rpc_cmsg.c: Likewise.
51238 * sunrpc/rpc_common.c: Likewise.
51239 * sunrpc/rpc_dtable.c: Likewise.
51240 * sunrpc/rpc_prot.c: Likewise.
51241 * sunrpc/rpc_thread.c: Likewise.
51242 * sunrpc/rtime.c: Likewise.
51243 * sunrpc/svc.c: Likewise.
51244 * sunrpc/svc_auth.c: Likewise.
51245 * sunrpc/svc_authux.c: Likewise.
51246 * sunrpc/svc_raw.c: Likewise.
51247 * sunrpc/svc_run.c: Likewise.
51248 * sunrpc/svc_simple.c: Likewise.
51249 * sunrpc/svc_tcp.c: Likewise.
51250 * sunrpc/svc_udp.c: Likewise.
51251 * sunrpc/svc_unix.c: Likewise.
51252 * sunrpc/svcauth_des.c: Likewise.
51253 * sunrpc/xcrypt.c: Likewise.
51254 * sunrpc/xdr.c: Likewise.
51255 * sunrpc/xdr_array.c: Likewise.
51256 * sunrpc/xdr_float.c: Likewise.
51257 * sunrpc/xdr_intXX_t.c: Likewise.
51258 * sunrpc/xdr_mem.c: Likewise.
51259 * sunrpc/xdr_rec.c: Likewise.
51260 * sunrpc/xdr_ref.c: Likewise.
51261 * sunrpc/xdr_sizeof.c: Likewise.
51262 * sunrpc/xdr_stdio.c: Likewise.
51263
e6c61494
UD
512642011-04-10 Ulrich Drepper <drepper@gmail.com>
51265
51266 [BZ #12650]
51267 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51268 * sysdeps/ia64/dl-tls.h: Likewise.
51269 * sysdeps/powerpc/dl-tls.h: Likewise.
51270 * sysdeps/s390/dl-tls.h: Likewise.
51271 * sysdeps/sh/dl-tls.h: Likewise.
51272 * sysdeps/sparc/dl-tls.h: Likewise.
51273 * sysdeps/x86_64/dl-tls.h: Likewise.
51274 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51275
34fe483e
AS
512762011-03-14 Andreas Schwab <schwab@redhat.com>
51277
51278 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51279 rpath element also skip the following colon.
51280 (expand_dynamic_string_token): Add is_path parameter and pass
51281 down to DL_DST_REQUIRED and _dl_dst_substitute.
51282 (decompose_rpath): Call expand_dynamic_string_token with
51283 non-zero is_path. Ignore empty rpaths.
51284 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51285 with zero is_path.
51286
f12a32e6
AS
512872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51288
51289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51290 Make cancelable.
51291
38a7d692
UD
512922011-04-09 Ulrich Drepper <drepper@gmail.com>
51293
51294 [BZ #12655]
51295 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51296 Patch by Filipe David Manana <fdmanana@apache.org>.
51297
e451d22b
AS
512982011-04-07 Andreas Schwab <schwab@redhat.com>
51299
51300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51301 Maintain aligned stack.
51302 (CHECK_RSP): Remove unused macro.
51303
dedc7c7b
UD
513042011-04-03 Ulrich Drepper <drepper@gmail.com>
51305
51306 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51307 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51308
94521213
UD
513092011-04-02 Ulrich Drepper <drepper@gmail.com>
51310
51311 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51312
8cb700c0 51313 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51314
0354e355
L
513152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51316
51317 [BZ #12518]
51318 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51319 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51320 * sysdeps/x86_64/memmove.c: New file.
51321 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51322 (memcpy): Renamed to ...
51323 (__new_memcpy): This.
51324 (memcpy): Provide GLIBC_2_14 memcpy.
51325 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51326 (memcpy): Provide GLIBC_2_2_5 memcpy.
51327
8593482f
UD
513282011-04-01 Ulrich Drepper <drepper@gmail.com>
51329
51330 [BZ #12631]
51331 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51332
81a5726b
AS
513332011-03-30 Andreas Schwab <schwab@redhat.com>
51334
51335 * misc/syncfs.c: New file.
51336 * misc/Makefile (routines): Add syncfs.
51337 * posix/unistd.h: Declare syncfs.
51338 * sysdeps/unix/syscalls.list: Add syncfs.
51339
00e5419f
AS
513402011-04-01 Andreas Schwab <schwab@redhat.com>
51341
51342 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51343 open_by_handle_at.
51344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51349 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51351
748876bf
UD
513522011-04-01 Ulrich Drepper <drepper@gmail.com>
51353
658e451d
UD
51354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51361
748876bf
UD
51362 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51363 sync_file_range.c with -fexceptions.
51364 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51365 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51366 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51367 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51368 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51369 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51371 sync_file_range as cancellation point
51372 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51373 now a wrapper around __call_sync_file_range with cancellation handling.
51374 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51375 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51376 function name to __call_sync_file_range.
51377 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51378 Add call_sync_file_range.
748876bf 51379
6e63d5e1
AS
513802011-04-01 Andreas Schwab <schwab@redhat.com>
51381
51382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51383 bits/timex.h.
6e63d5e1 51384
46998f74
UD
513852011-04-01 Ulrich Drepper <drepper@gmail.com>
51386
4c1423ed
UD
51387 * iconv/iconv.h: Fix typo in comment.
51388 * io/fcntl.h: Likewise.
51389 * libio/stdio.h: Likewise.
51390 * posix/spawn.h: Likewise.
51391 * posix/unistd.h: Likewise.
51392 * stdlib/stdlib.h: Likewise.
51393 * time/time.h: Likewise.
51394 * wcsmbs/wchar.h: Likewise.
51395
158648c0
UD
51396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51397 open_by_handle): Add.
51398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51399 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51400 Augment a few comments.
51401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51406 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51407 open_by_handle.
51408
46998f74
UD
51409 * io/fcntl.h (AT_EMPTY_PATH): Define.
51410
83fe108b
UD
514112011-03-30 Ulrich Drepper <drepper@gmail.com>
51412
51413 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51414 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51415 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51416 to...
51417 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51418 * Versions.def: Add GLIBC_2.14.
51419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51420 Export.
83fe108b 51421
bb242059
UD
514222011-03-22 Ulrich Drepper <drepper@gmail.com>
51423
51424 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51425 round counter.
51426 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51427
c97a1282
L
514282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51429
51430 [BZ #12597]
51431 * string/test-strncmp.c (do_page_test): New function.
51432 (check2): Likewise.
51433 (test_main): Call check2.
51434 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51435
2a115601
UD
514362011-03-20 Ulrich Drepper <drepper@gmail.com>
51437
51438 [BZ #12587]
51439 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51440 Handle cache information in CPU leaf 4.
51441 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51442
8126d904
UD
514432011-03-18 Ulrich Drepper <drepper@gmail.com>
51444
042c49c6 51445 [BZ #12583]
8126d904
UD
51446 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51447 character representation.
51448 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51449
ccfe366e
RA
514502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51451
51452 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51453 END(__isnan) to END(__isnanf) to match function entry point/label
51454 EALIGN(__isnanf,...).
51455
c6e13027
JJ
514562011-03-10 Jakub Jelinek <jakub@redhat.com>
51457
51458 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51459
33f85a3f
UD
514602011-03-10 Ulrich Drepper <drepper@gmail.com>
51461
028478fa
UD
51462 [BZ #12510]
51463 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51464 copy from the symbol referenced in the relocation to initialize the
51465 used variable.
51466 Patch by Piotr Bury <pbury@goahead.com>.
51467 * elf/Makefile: Add rules to build and tst-unique3.
51468 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51469 * elf/tst-unique3.cc: New file.
51470 * elf/tst-unique3.h: New file.
51471 * elf/tst-unique3lib.cc: New file.
51472 * elf/tst-unique3lib2.cc: New file.
51473
33f85a3f
UD
51474 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51475
03592fc7
MF
514762011-03-10 Mike Frysinger <vapier@gentoo.org>
51477
51478 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51479 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51480 to _start.
03592fc7 51481
6a5ee102
UD
514822011-03-06 Ulrich Drepper <drepper@gmail.com>
51483
51484 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51485 to-be-loaded object along a path to loader is ld.so.
51486
7e4ba49c
HJ
514872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51488 Ulrich Drepper <drepper@gmail.com>
51489
51490 * sysdeps/x86_64/memset.S: After aligning destination, code
51491 branches to different locations depending on the value of
51492 misalignment, when multiarch is enabled. Fix this.
51493
514942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51495
51496 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51497 Set _x86_64_preferred_memory_instruction for AMD processsors.
51498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51499 Set bit_Prefer_SSE_for_memop for AMD processors.
51500
13a804de
UD
515012011-03-04 Ulrich Drepper <drepper@gmail.com>
51502
51503 * libio/fmemopen.c (fmemopen): Optimize a bit.
51504
9d25c392
AS
515052011-03-03 Andreas Schwab <schwab@redhat.com>
51506
51507 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51508
a5543c6a
RM
515092011-03-03 Roland McGrath <roland@redhat.com>
51510
51511 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51512
012d35f7
DM
515132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51514
7e4ba49c 51515 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51516 __bzero_ultra1 instead of __memset_ultra1.
51517
4bff6e01
AS
515182011-02-23 Andreas Schwab <schwab@redhat.com>
51519 Ulrich Drepper <drepper@gmail.com>
51520
51521 [BZ #12509]
51522 * include/link.h (struct link_map): Add l_orig_initfini.
51523 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51524 returning unsuccessfully.
51525 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51526 close of a file loaded at startup, restore the original l_initfini
51527 list.
51528 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51529 list, store the pointer.
51530 * elf/Makefile ($(objpfx)noload-mem): New rule.
51531 (noload-ENV): Define.
51532 (tests): Add $(objpfx)noload-mem.
51533 * elf/noload.c: Include <memcheck.h>.
51534 (main): Call mtrace. Close all opened handles.
51535
f2092faf
AS
515362011-02-17 Andreas Schwab <schwab@redhat.com>
51537
51538 [BZ #12454]
51539 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51540 dependencies are missing.
51541
6c8a2e88
ST
515422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51543
f2092faf 51544 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51545 Hurd needs munmap.
51546 * sysdeps/mach/hurd/ifreq.h: New file.
51547
84a42118
PB
515482011-01-27 Petr Baudis <pasky@suse.cz>
51549 Ulrich Drepper <drepper@gmail.com>
51550
071f805e 51551 [BZ 12445]#
84a42118
PB
51552 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51553 to extend_alloca().
51554 * stdio-common/bug23.c: New file.
51555 * stdio-common/Makefile (tests): Add bug23.
51556
e23fe25b
AS
515572010-09-28 Andreas Schwab <schwab@redhat.com>
51558 Ulrich Drepper <drepper@gmail.com>
51559
51560 [BZ #12489]
51561 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51562 before performing relro protection. At old place add assertion
51563 to make sure nothing changed.
51564
d3f02e10
NS
515652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51566 Glauber de Oliveira Costa <glommer@gmail.com>
51567
51568 * elf/elf.h: Add new ARM TLS relocs.
51569
d55fd7a5
RA
515702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51571
51572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51573 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51574 cast from r3.
51575 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51576 'tests' variable.
51577 * sysdeps/wordsize-64/tst-writev.c: New file.
51578
2206397e
RA
515792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51580
51581 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51582 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51583 insns in _dl_start to prevent a TOC reference before relocs are
51584 resolved.
51585
e9433893
UD
515862011-02-15 Ulrich Drepper <drepper@gmail.com>
51587
51588 [BZ #12469]
51589 * Makeconfig: Remove RANLIB definition.
51590 * Makerules: Don't use RANLIB.
51591 * aclocal.m4: Remove ranlib test.
51592 * configure.in: No need to check for ranlib.
51593 * elf/rtld-Rules: Don't use RANLIB.
51594
f75286c6
ST
515952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51596
8e31c82d
ST
51597 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51598 protection macro.
51599 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51600 inclusion protection macro.
51601
f75286c6
ST
51602 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51603 SIGRTMIN and SIGRTMAX and print information in that case only when
51604 SIGRTMIN is defined.
51605
c1d0e639
JJ
516062011-02-11 Jakub Jelinek <jakub@redhat.com>
51607
51608 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51609 arginfo fn returning -1.
51610
51611 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51612 and thousands string is zero terminated.
51613
edf9294e
AS
516142011-02-03 Andreas Schwab <schwab@redhat.com>
51615
51616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51617 sysdeps/unix/sysv/linux/bits/socket.h.
51618
2b7e92df
ST
516192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51620
edf9294e
AS
51621 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51622 (__CPU_COUNT): Remove old macros.
51623 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51624 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51625 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51626 (__sched_cpualloc, __sched_cpufree): Add declarations.
51627
a4c7ea7b
UD
516282011-02-05 Ulrich Drepper <drepper@gmail.com>
51629
51630 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51631 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51632 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51633 (readdhstai): Return value of addhstaiX call.
51634 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51635 (addgrbyX): Return value returned by cache_addgr.
51636 (readdgrbyname): Return value returned by addgrbyX.
51637 (readdgrbygid): Likewise.
51638 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51639 (addpwbyX): Return value returned by cache_addpw.
51640 (readdpwbyname): Return value returned by addhstbyX.
51641 (readdpwbyuid): Likewise.
51642 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51643 (addservbyX): Return value returned by cache_addserv.
51644 (readdservbyname): Return value returned by addservbyX:
51645 (readdservbyport): Likewise.
51646 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51647 (addhstbyX): Return value returned by cache_addhst.
51648 (readdhstbyname): Return value returned by addhstbyX.
51649 (readdhstbyaddr): Likewise.
51650 (readdhstbynamev6): Likewise.
51651 (readdhstbyaddrv6): Likewise.
51652 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51653 (readdinitgroups): Return value returned by addinitgroupsX.
51654 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51655 (prune_cache): Keep track of timeout value of re-added entries.
51656 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51657 * nscd/nscd.h: Adjust prototypes of readd* functions.
51658
a0bf67cc
RM
516592011-02-04 Roland McGrath <roland@redhat.com>
51660
51661 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51662 (nis_stats): Likewise.
51663 * nis/nis_modify.c (nis_modify): Likewise.
51664 * nis/nis_remove.c (nis_remove): Likewise.
51665 * nis/nis_add.c (nis_add): Likewise.
51666
51667 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51668
51669 * posix/fnmatch_loop.c: Add some consts.
51670
51671 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51672
435b95eb
L
516732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51674
51675 [BZ #12460]
51676 * config.make.in (config-cflags-novzeroupper): Define.
51677 * configure.in: Substitute libc_cv_cc_novzeroupper.
51678 * elf/Makefile (AVX-CFLAGS): Define.
51679 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51680 (CFLAGS-tst-auditmod4a.c): Likewise.
51681 (CFLAGS-tst-auditmod4b.c): Likewise.
51682 (CFLAGS-tst-auditmod6b.c): Likewise.
51683 (CFLAGS-tst-auditmod6c.c): Likewise.
51684 (CFLAGS-tst-auditmod7b.c): Likewise.
51685 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51686
8517b15e
UD
516872011-02-02 Ulrich Drepper <drepper@gmail.com>
51688
51689 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51690 function to the callback.
51691 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51692
10a656fe
AS
516932011-02-02 Andreas Schwab <schwab@redhat.com>
51694
51695 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51696 of errno.
51697
968dad0a
UD
516982011-01-19 Ulrich Drepper <drepper@gmail.com>
51699
9f94d2ea 51700 [BZ #11724]
968dad0a
UD
51701 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51702 of constructors.
51703 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51704 of destructors.
51705 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51706
51707 [BZ #11724]
51708 * elf/Makefile: Add rules to build and run new test.
51709 * elf/tst-initorder.c: New file.
51710 * elf/tst-initorder.exp: New file.
51711 * elf/tst-initordera1.c: New file.
51712 * elf/tst-initordera2.c: New file.
51713 * elf/tst-initordera3.c: New file.
51714 * elf/tst-initordera4.c: New file.
51715 * elf/tst-initorderb1.c: New file.
51716 * elf/tst-initorderb2.c: New file.
51717 * elf/tst-order-a1.c: New file.
51718 * elf/tst-order-a2.c: New file.
51719 * elf/tst-order-a3.c: New file.
51720 * elf/tst-order-a4.c: New file.
51721 * elf/tst-order-b1.c: New file.
51722 * elf/tst-order-b2.c: New file.
51723 * elf/tst-order-main.c: New file.
51724 New test case by George Gensure <werkt0@gmail.com>.
51725
86e92359
UD
517262010-10-01 Andreas Schwab <schwab@redhat.com>
51727
51728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51729 decoding ACE if AI_CANONIDN.
51730
5d5732b0
UD
517312011-01-18 Ulrich Drepper <drepper@gmail.com>
51732
51733 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51734
a77e8cbc
UD
517352011-01-17 Ulrich Drepper <drepper@gmail.com>
51736
6392473f
UD
51737 * version.h (RELEASE): Bump for 2.13 release.
51738 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51739
620a0529
UD
51740 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51741
18ba70a5
UD
51742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51743 MADV_NOHUGEPAGE.
32465c3e
UD
51744 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51745 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51749 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51750
c0dafcf1
UD
51751 * posix/getconf.c: Update copyright year.
51752 * catgets/gencat.c: Likewise.
51753 * csu/version.c: Likewise.
51754 * debug/catchsegv.sh: Likewise.
51755 * debug/xtrace.sh: Likewise.
51756 * elf/ldconfig.c: Likewise.
51757 * elf/ldd.bash.in: Likewise.
51758 * elf/sprof.c (print_version): Likewise.
51759 * iconv/iconv_prog.c: Likewise.
51760 * iconv/iconvconfig.c: Likewise.
51761 * locale/programs/locale.c: Likewise.
51762 * locale/programs/localedef.c: Likewise.
51763 * malloc/memusage.sh: Likewise.
51764 * malloc/mtrace.pl: Likewise.
51765 * nscd/nscd.c (print_version): Likewise.
51766 * nss/getent.c: Likewise.
51767
a77e8cbc
UD
51768 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51769 PF_CAIF, and PF_ALG.
51770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51771
77e8bddf
AS
517722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51773
1f20b93a
AS
51774 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51775 (modules-names): Use them.
51776 (ifunc-test-modules, ifunc-pie-tests): Define.
51777 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51778 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51779 (test-extras): Likewise.
51780 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51781 $(compile-command.c).
51782 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51783 (all-built-dso): Define.
51784 (check-textrel.out, check-execstack.out): Depend on it.
51785
77e8bddf
AS
51786 * configure.in: Don't override --enable-multi-arch.
51787
bc425b33
UD
517882011-01-15 Ulrich Drepper <drepper@gmail.com>
51789
51790 [BZ #6812]
51791 * nscd/hstcache.c (tryagain): Define.
51792 (cache_addhst): Return tryagain not notfound for temporary errors.
51793 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51794 failed.
51795
794c3ad3
UD
517962011-01-14 Ulrich Drepper <drepper@gmail.com>
51797
70181fdd
UD
51798 [BZ #10563]
51799 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51800 to make the syscall.
51801 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51802
794c3ad3
UD
51803 [BZ #12378]
51804 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51805 and fall back to matching as normal character if the string ends before
51806 the matching ']' is found. This is what POSIX requires.
51807 * posix/testfnm.c: Adjust test result.
51808 * posix/globtest.sh: Adjust test result. Add new test.
51809 * posix/tst-fnmatch.input: Likewise.
51810 * posix/tst-fnmatch2.c: Add new test.
51811
68dc9497
AS
518122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51813
51814 * elf/Makefile (check-execstack): Revert last change. Depend on
51815 check-execstack.h.
51816 (check-execstack.h): New target.
51817 (generated): Add check-execstack.h.
51818 * elf/check-execstack.c: Include "check-execstack.h".
51819 (main): Revert last change.
51820 (handle_file): Return zero if GNU_STACK is absent and
51821 DEFAULT_STACK_PERMS doesn't include PF_X.
51822
451f001b
UD
518232011-01-13 Ulrich Drepper <drepper@gmail.com>
51824
cfa28e56
UD
51825 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51826 in child fails because the descriptor is already closed.
8cf8ce17
UD
51827 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51828 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51829 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51830
1086d70d
UD
51831 [BZ #12397]
51832 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51833 syscall.
51834
451f001b
UD
51835 [BZ #10484]
51836 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51837 temporary buffer used to handle multi lookups locally.
a85b5cb4 51838 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51839
08769175
UD
518402011-01-12 Ulrich Drepper <drepper@gmail.com>
51841
51842 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51843 loader is ld.so.
51844
5e49c52e
UD
518452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51846
51847 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51848 alignment for SSE2.
51849
60522a5f
UD
518502011-01-12 Ulrich Drepper <drepper@gmail.com>
51851
51852 [BZ #12394]
51853 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51854 characters. When rounding increased number of integer digits recompute
51855 number of groups.
51856 * stdio-common/tst-grouping.c: New file.
51857 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51858
f257bbd7
UD
518592011-01-09 Ulrich Drepper <drepper@gmail.com>
51860
51861 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51862 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51863
51864 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51865 void.
51866 * bits/select.h: Likewise.
51867
fa9c15cb
UD
518682011-01-08 Ulrich Drepper <drepper@gmail.com>
51869
51870 * po/ja.po: Update from translation team.
51871
16c2895f
DM
518722011-01-04 David S. Miller <davem@sunset.davemloft.net>
51873
51874 [BZ #11155]
51875 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51876 implementation just like for lxstat, fxstatat, et al.
51877
2543fef2
JM
518782010-12-27 Jim Meyering <meyering@redhat.com>
51879
51880 [BZ #12348]
51881 * posix/regexec.c (build_trtable): Return failure indication upon
51882 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51883
98727dbe
UD
518842010-12-25 Ulrich Drepper <drepper@gmail.com>
51885
5bd6dc5c
UD
51886 [BZ #12201]
51887 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51888 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51889 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51890 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51891
97983464
UD
51892 [BZ #12207]
51893 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51894
98727dbe
UD
51895 [BZ #12204]
51896 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51897 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51898
4a531bb0
L
518992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51900
51901 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51902 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51903 script has SORT_BY_INIT_PRIORITY.
51904 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51905 NO_CTORS_DTORS_SECTIONS is defined.
51906 * elf/soinit.c: Likewise.
51907 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51908 NO_CTORS_DTORS_SECTIONS is defined.
51909 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51910 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51911 * sysdeps/sh/init-first.c: Likewise.
51912 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51913
07eb4b71
UD
519142010-12-24 Ulrich Drepper <drepper@gmail.com>
51915
51916 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51917 always use the slow path.
51918
30950a5f
RA
519192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51920
51921 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51922 similar rule which adds the sysdep directories to the header search in
51923 order to pick up the correct platform stackinfo.h.
51924 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51925 perform test if it is, otherwise return successfully without testing.
51926 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51927 DEFAULT_STACK_PERMS define in stackinfo.h.
51928 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51929 defined in stackinfo.h.
51930 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51931 DEFAULT_STACK_PERMS defined in stackinfo.h.
51932 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51933 * sysdeps/ia64/stackinfo.h: Likewise.
51934 * sysdeps/s390/stackinfo.h: Likewise.
51935 * sysdeps/sh/stackinfo.h: Likewise.
51936 * sysdeps/sparc/stackinfo.h: Likewise.
51937 * sysdeps/x86_64/stackinfo.h: Likewise.
51938 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51939 PF_X for powerpc64. Retain PF_X for powerpc32.
51940
db753e2c
UD
519412010-12-19 Ulrich Drepper <drepper@gmail.com>
51942
14b697f7
UD
51943 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51944 accurately.
db753e2c
UD
51945 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51946 GETDENTS_64BIT_ALIGNED.
51947
28300719
UD
519482010-12-14 Ulrich Drepper <dreper@gmail.com>
51949
14b697f7 51950 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51951
4f197237
AS
519522010-12-10 Andreas Schwab <schwab@redhat.com>
51953
dbb0472f
AS
51954 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51955 _GNU_SOURCE.
51956
4f197237
AS
51957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51958 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51959 Remove __restrict.
51960 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51961 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51962
fb88ac72
UD
519632010-12-09 Ulrich Drepper <drepper@gmail.com>
51964
51965 [BZ #11655]
51966 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51967 are initialized.
51968
42acbb92
JJ
519692010-12-09 Jakub Jelinek <jakub@redhat.com>
51970
51971 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51972
c038d98d
UD
519732010-12-03 Ulrich Drepper <drepper@gmail.com>
51974
51975 * po/it.po: Update from translation team.
51976
3a4a2499
L
519772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51978
51979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51980 unused codes.
51981
1e24cf6e
UD
519822010-11-30 Ulrich Drepper <drepper@gmail.com>
51983
51984 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51985
a7690819
AS
519862010-11-24 Andreas Schwab <schwab@redhat.com>
51987
51988 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51989 specially.
51990 (gaih_getanswer_slice): Likewise.
51991
3bf8d1b1
JJ
519922010-10-20 Jakub Jelinek <jakub@redhat.com>
51993
51994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51995
6db52fbb
PB
519962010-05-31 Petr Baudis <pasky@suse.cz>
51997
51998 [BZ #11149]
51999 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52000 silently even in the chroot mode.
52001
eaca7569
UD
520022010-11-22 Ulrich Drepper <drepper@gmail.com>
52003
52004 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52005 last patch a bit. Pretty printing
52006
3056dcdb
UD
520072010-05-31 Petr Baudis <pasky@suse.cz>
52008
52009 [BZ #10085]
52010 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52011 initialization of skip_initgroups_dyn.
52012
cf7c9078
UD
520132010-11-19 Ulrich Drepper <drepper@gmail.com>
52014
52015 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52017
a1fb5e3e
UD
520182010-11-16 Ulrich Drepper <drepper@gmail.com>
52019
52020 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52021
3540d66b
AS
520222010-11-11 Andreas Schwab <schwab@redhat.com>
52023
52024 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52025 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52026 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52027 ($(objpfx)tst-fnmatch-mem): New rule.
52028 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52029 * posix/tst-fnmatch.c (main): Call mtrace.
52030
13b69574
L
520312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52032
52033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52034 Support Intel processor model 6 and model 0x2c.
52035
da93d214
LM
520362010-11-10 Luis Machado <luisgpm@br.ibm.com>
52037
52038 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52039 signed comparison.
52040
8ca52c6e
L
520412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52042
52043 [BZ #12205]
52044 * string/test-strncasecmp.c (check_result): New function.
52045 (do_one_test): Use it.
52046 (check1): New function.
52047 (test_main): Use it.
52048 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52049 Support strcasecmp and strncasecmp.
52050
69da074d
UD
520512010-11-08 Ulrich Drepper <drepper@gmail.com>
52052
52053 [BZ #12194]
52054 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52056
ff02d528
L
520572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52058
52059 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52060 IFUNC support.
52061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52062 memset-x86-64.
52063 * sysdeps/x86_64/multiarch/bzero.S: New file.
52064 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52065 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52066 * sysdeps/x86_64/multiarch/memset.S: New file.
52067 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52069 Set bit_Prefer_SSE_for_memop for Intel processors.
52070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52071 Define.
52072 (index_Prefer_SSE_for_memop): Define.
52073 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52074
344d0b54
LM
520752010-11-04 Luis Machado <luisgpm@br.ibm.com>
52076
52077 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52078 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52079
c0dde15b
UD
520802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52081
52082 [BZ #12191]
52083 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52084 (__x86_64_raw_data_cache_size_half): Likewise.
52085 (__x86_64_raw_shared_cache_size): Likewise.
52086 (__x86_64_raw_shared_cache_size_half): Likewise.
52087
52088 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52089 (__x86_64_raw_data_cache_size_half): Likewise.
52090 (__x86_64_raw_shared_cache_size): Likewise.
52091 (__x86_64_raw_shared_cache_size_half): Likewise.
52092 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52093 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52094 and __x86_64_raw_shared_cache_size_half. Round
52095 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52096 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52097 to multiple of 256 bytes.
52098
0e516e0e
MS
520992010-11-03 Ulrich Drepper <drepper@gmail.com>
52100
52101 [BZ #12167]
52102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52103 of inacessible symlinks. Verify result of symlink before returning it.
52104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52105 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52106
0e012e87
ER
521072010-10-28 Erich Ritz <erichritz@gmail.com>
52108
52109 * math/math.h (isinf): Fix typo in comment.
52110
de0ff7bc
UD
521112010-11-01 Ulrich Drepper <drepper@gmail.com>
52112
52113 * po/da.po: Update from translation team.
52114
fa41c84d
UD
521152010-10-26 Ulrich Drepper <drepper@gmail.com>
52116
52117 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52118 is added to the list.
52119
f0967738
AK
521202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52121 Ulrich Drepper <drepper@gmail.com>
52122
52123 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52124 the global list here. Move code to...
52125 (_dl_add_to_namespace_list): ...here. New function.
52126 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52127 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52128 * elf/dl-load.c (lose): Don't remove the element from the list.
52129 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52130 (_dl_map_object): Likewise.
52131
521322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52133
52134 [BZ #12159]
52135 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52136 into all bytes of SSE register.
52137 Patch by Richard Li <richardpku@gmail.com>.
52138
f0967738 521392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52140
52141 [BZ #12140]
52142 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52143 perturbing.
52144
d0b9e94f
MB
521452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52146
52147 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52148 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52152 submachine.
52153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52154
8e9f92e9
AS
521552010-10-22 Andreas Schwab <schwab@redhat.com>
52156
52157 * include/dlfcn.h (__RTLD_SECURE): Define.
52158 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52159 mode & __RTLD_SECURE instead.
52160 (open_path): Rename preloaded parameter to secure.
52161 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52162 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52163 * elf/dl-deps.c (openaux): Likewise.
52164 * elf/rtld.c (struct map_args): Remove is_preloaded.
52165 (map_doit): Don't use it.
52166 (dl_main): Likewise.
52167 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52168 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52169
bc96fbda
AS
521702010-09-09 Andreas Schwab <schwab@redhat.com>
52171
52172 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52173 (sysd-rules-targets): Remove duplicates.
52174 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52175 rtld-%.$o dependency.
52176
22cd1c9b
AS
521772010-10-18 Andreas Schwab <schwab@redhat.com>
52178
52179 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52180 _dl_map_object do it.
52181
18edac48
UD
521822010-10-19 Ulrich Drepper <drepper@gmail.com>
52183
52184 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52185 fast fma builtins, define the macros in the C99 standard.
52186 (FP_FAST_FMAF): Likewise.
52187 (FP_FAST_FMAL): Likewise.
52188 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52189
52190 * bits/mathdef.h: Update copyright year.
52191 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52192
d2050124
MM
521932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52194
52195 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52196 builtins, define the macros in the C99 standard.
52197 (FP_FAST_FMAF): Likewise.
52198 (FP_FAST_FMAL): Likewise.
52199 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52200 multiply/add.
52201 (FP_FAST_FMAF): Likewise.
52202
475facd1
JJ
522032010-10-15 Jakub Jelinek <jakub@redhat.com>
52204
52205 [BZ #3268]
52206 * math/libm-test.inc (fma_test): Some new testcases.
52207 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52208 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52209 y and infinite z. Do multiplication by C already in long double.
52210 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52212 y and infinite z. Do bitwise or of inexact bit into u.d.
52213 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52214 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52215 * sysdeps/i386/fpu/s_fma.S: Removed.
52216 * sysdeps/i386/fpu/s_fmal.S: Removed.
52217
7c08a05c
JJ
522182010-10-16 Jakub Jelinek <jakub@redhat.com>
52219
52220 [BZ #3268]
52221 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52223 computation is not scheduled after fetestexcept. Fix value
52224 of minimum denormal long double.
52225
f3f7372d
JJ
522262010-10-14 Jakub Jelinek <jakub@redhat.com>
52227
52228 [BZ #3268]
52229 * math/libm-test.inc (fma_test): Add some more tests.
52230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52231 correctly.
52232
14d43591
AS
522332010-10-15 Andreas Schwab <schwab@redhat.com>
52234
52235 * scripts/data/localplt-s390-linux-gnu.data: New file.
52236 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52237
5e908464
JJ
522382010-10-13 Jakub Jelinek <jakub@redhat.com>
52239
52240 [BZ #3268]
52241 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52242 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52243 instead of dbl-64.
52244 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52245 inlines.
52246 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52248 if one of x and y is very large and the other is subnormal.
52249 * sysdeps/s390/fpu/s_fmaf.c: New file.
52250 * sysdeps/s390/fpu/s_fma.c: New file.
52251 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52252 * sysdeps/powerpc/fpu/s_fma.S: New file.
52253 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52254 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52255 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52256
522572010-10-12 Jakub Jelinek <jakub@redhat.com>
52258
52259 [BZ #3268]
52260 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52261 fma tests.
52262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52263 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52264 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52265 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52266 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52267 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52268 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52269
b833d51f
UD
522702010-10-12 Ulrich Drepper <drepper@redhat.com>
52271
52272 [BZ #12078]
52273 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52274 * posix/bug-regex31.input: Add test case.
52275
1751705d
UD
522762010-10-11 Ulrich Drepper <drepper@gmail.com>
52277
e9b9cbf5
UD
52278 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52279 * posix/bug-regex31.input: New file.
52280
52281 [BZ #12078]
52282 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52283 (parse_sub_exp): Fix last change, use postorder.
52284
ef06edbe
UD
52285 * posix/bug-regex31.c: New file.
52286 * posix/Makefile: Add rules to build and run bug-regex31.
52287
a129c80d
UD
52288 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52289
52290 [BZ #12078]
52291 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52292
b76b818e
UD
52293 [BZ #12108]
52294 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52295 to have entries in sys_siglist.
52296
1751705d
UD
52297 [BZ #12093]
52298 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52299 be NULL.
52300
9ff8d36f
JJ
523012010-10-07 Jakub Jelinek <jakub@redhat.com>
52302
52303 [BZ #3268]
52304 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52305 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52306 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52307 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52308 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52309 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52310 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52311 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52312 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52313 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52314 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52315 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52316 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52317 * math/ftestexcept.c (fetestexcept): Likewise.
52318 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52319 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52320 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52321 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52322 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52323 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52325
af325969
UD
523262010-10-11 Ulrich Drepper <drepper@gmail.com>
52327
c579b202 52328 [BZ #12107]
af325969
UD
52329 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52330 newline.
52331
67a67b95
UD
523322010-10-06 Ulrich Drepper <drepper@gmail.com>
52333
52334 * string/bug-strstr1.c: New file.
52335 * string/Makefile: Add rules to build and run bug-strstr1.
52336
5fb308bc
EB
523372010-10-05 Eric Blake <eblake@redhat.com>
52338
52339 [BZ #12092]
52340 * string/str-two-way.h (two_way_long_needle): Always clear memory
52341 when skipping input due to the shift table.
52342
45db99c7
UD
523432010-10-03 Ulrich Drepper <drepper@gmail.com>
52344
3b111893
UD
52345 [BZ #12005]
52346 * malloc/mcheck.c: Handle large requests.
52347
45db99c7
UD
52348 [BZ #12077]
52349 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52350 for strncmp and strncasecmp.
52351 * string/stratcliff.c: Add tests for strcmp and strncmp.
52352 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52353
cf7a1eb8
NI
523542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52355
52356 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52357 __set_fpscr.
52358
6484ba5e
AJ
523592010-09-30 Andreas Jaeger <aj@suse.de>
52360
52361 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52362 (CGROUP_SUPER_MAGIC): Define.
52363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52364 Handle btrfs and cgroup file systems.
52365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52366 Likewise.
52367
91c42559
LM
523682010-09-27 Luis Machado <luisgpm@br.ibm.com>
52369
52370 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52371 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52372
87a97932
AK
523732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52374
52375 [BZ #12067]
52376 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52377 trying to locate the ELF header.
52378
c21cc9bc
AS
523792010-09-27 Andreas Schwab <schwab@redhat.com>
52380
52381 [BZ #11611]
52382 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52383 Mask out sign-bit copies when constructing f_fsid.
52384
315970f6
PB
523852010-09-24 Petr Baudis <pasky@suse.cz>
52386
52387 * debug/stack_chk_fail_local.c: Add missing licence exception.
52388 * debug/warning-nop.c: Likewise.
52389
1ac7a2c7
JM
523902010-09-15 Joseph Myers <joseph@codesourcery.com>
52391
52392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52393 implementing getdents64 using getdents syscall, set d_type if
52394 __ASSUME_GETDENTS32_D_TYPE.
52395
56801c50
AS
523962010-09-16 Andreas Schwab <schwab@redhat.com>
52397
52398 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52399 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52400
dda51327
UD
524012010-09-21 Ulrich Drepper <drepper@redhat.com>
52402
52403 [BZ #12037]
52404 * posix/unistd.h: Undo change of feature selection for ftruncate from
52405 2010-01-11.
52406
8ffcee4a
UD
524072010-09-20 Ulrich Drepper <drepper@redhat.com>
52408
a545ecd9 52409 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52410 detection.
52411
e24f0a8b
AS
524122010-09-20 Andreas Schwab <schwab@redhat.com>
52413
52414 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52415 fanotify_mark.
52416 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52417
7291c56f
AS
524182010-09-14 Andreas Schwab <schwab@redhat.com>
52419
52420 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52421 variables after CHECK_SP call.
52422 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52423
bc5fb037
AS
524242010-09-13 Andreas Schwab <schwab@redhat.com>
52425 Ulrich Drepper <drepper@redhat.com>
52426
52427 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52428 re-relocationg ld.so.
52429 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52430 _dl_init_paths call.
52431 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52432 here anymore.
52433
e66e7419
UD
524342010-09-14 Ulrich Drepper <drepper@redhat.com>
52435
52436 * resolv/res_init.c (__res_vinit): Count the default server we added.
52437
c044aa75
CLT
524382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52439 Ulrich Drepper <drepper@redhat.com>
52440
52441 [BZ #11968]
52442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52443 (____longjmp_chk): Use %ebx for saving value across system call.
52444 Add unwind info.
52445
32cf4069
AS
524462010-09-06 Andreas Schwab <schwab@redhat.com>
52447
52448 * manual/Makefile: Don't mix pattern rules with normal rules.
52449
817328ee
AS
524502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52451
52452 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52453 operation.
52454 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52455 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52456 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52457 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52459 Likewise.
52460
29fddf61
UD
524612010-09-04 Ulrich Drepper <drepper@redhat.com>
52462
52463 [BZ #11979]
52464 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52465 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52466
0959ffc9
UD
524672010-09-02 Ulrich Drepper <drepper@redhat.com>
52468
52469 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52470 * sysdeps/x86_64/addmul_1.S: Likewise.
52471 * sysdeps/x86_64/lshift.S: Likewise.
52472 * sysdeps/x86_64/mul_1.S: Likewise.
52473 * sysdeps/x86_64/rshift.S: Likewise.
52474 * sysdeps/x86_64/sub_n.S: Likewise.
52475 * sysdeps/x86_64/submul_1.S: Likewise.
52476
ece29840
ST
524772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52478
0959ffc9
UD
52479 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52480 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52481 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52482 * bits/sched.h [__need_schedparam]
ece29840 52483 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52484 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52485 (__defined_schedparam): Define to 1.
ece29840
ST
52486 (__sched_param): New structure, identical to sched_param.
52487 (__need_schedparam): Undefine.
52488
e53a31fe
MF
524892010-08-31 Mike Frysinger <vapier@gentoo.org>
52490
fdc0c10d
MF
52491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52492 (epoll_create1): Declare.
52493
e53a31fe
MF
52494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52495
a726d796
AS
524962010-08-31 Andreas Schwab <schwab@redhat.com>
52497
52498 [BZ #7066]
52499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52500 shifting retval into place.
52501
2f3e3dc7
UD
525022010-09-01 Ulrich Drepper <drepper@redhat.com>
52503
f2933da9
UD
52504 * nis/rpcsvc/nis.h: Update copyright notice.
52505 * nis/rpcsvc/nis.x: Likewise.
52506 * nis/rpcsvc/nis_callback.h: Likewise.
52507 * nis/rpcsvc/nis_callback.x: Likewise.
52508 * nis/rpcsvc/nis_object.x: Likewise.
52509 * nis/rpcsvc/nis_tags.h: Likewise.
52510 * nis/rpcsvc/yp.h: Likewise.
52511 * nis/rpcsvc/yp.x: Likewise.
52512 * nis/rpcsvc/ypupd.h: Likewise.
52513 * nis/yp_xdr.c: Likewise.
52514 * nis/ypupdate_xdr.c: Likewise.
52515
2f3e3dc7
UD
52516 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52517 mainly the body of pmap_getport. Add parameters to specify timeouts.
52518 (pmap_getport): Use __libc_rpc_getport.
52519 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52520 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52521 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52522
f3dcc2f9
AS
525232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52524
52525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52526 fanotify_mark.
52527
6d34eb5b
RM
525282010-08-27 Roland McGrath <roland@redhat.com>
52529
52530 * sysdeps/i386/i686/multiarch/Makefile
52531 (CFLAGS-varshift.c): New variable.
52532
9ea3de11
UD
525332010-08-27 Ulrich Drepper <drepper@redhat.com>
52534
c96d23fc
UD
52535 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52536 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52537
9ea3de11
UD
52538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52539
52540 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52541
623aac7f
L
525422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52543
52544 * sysdeps/x86_64/strlen.S: Unroll the loop.
52545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52546 strlen-sse2 strlen-sse2-bsf.
52547 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52548 __strlen_no_bsf if bit_Slow_BSF is set.
52549 (__strlen_sse42): Removed.
52550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52551 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52552
8b2b7715
RM
525532010-08-25 Roland McGrath <roland@redhat.com>
52554
52555 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52556 * sysdeps/x86_64/multiarch/varshift.c: New file.
52557 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52558 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52559 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52560 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52561
e73015f2
L
525622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52563
52564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52565 strlen-sse2 strlen-sse2-bsf.
52566 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52567 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52568 (__strlen_sse2): Removed.
52569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52572 bit_Slow_BSF for Atom.
52573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52574 (index_Slow_BSF): Define.
52575 (HAS_SLOW_BSF): Define.
52576
df24a73e
UD
525772010-08-25 Ulrich Drepper <drepper@redhat.com>
52578
52579 [BZ #10851]
52580 * resolv/res_init.c (__res_vinit): When no server address at all
52581 is given default to loopback.
52582
f2ac4868
RM
525832010-08-24 Roland McGrath <roland@redhat.com>
52584
09055553
RM
52585 * configure.in: Remove config-name.h generation.
52586 * configure: Regenerated.
52587 * config-name.in: File removed.
52588 * scripts/config-uname.sh: New file.
52589 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52590 ($(objdir)config-name.h): New target.
52591
f2ac4868
RM
52592 * sunrpc/rpc_parse.h: Avoid nested comment.
52593
73f27d5e
RH
525942010-08-24 Richard Henderson <rth@redhat.com>
52595 Ulrich Drepper <drepper@redhat.com>
52596 H.J. Lu <hongjiu.lu@intel.com>
52597
52598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52600 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52601 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52602 _mm_alignr_epi8 with _mm_loadu_si128.
52603 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52604 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52605 (__m128i_shift_right): Removed.
52606 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52607 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52608 * sysdeps/x86_64/multiarch/varshift.h: New file.
52609 * sysdeps/x86_64/multiarch/varshift.S: New file.
52610
84b9230c
MF
526112010-08-21 Mike Frysinger <vapier@gentoo.org>
52612
52613 * configure.in: Move assembler checks to before sysdep dir checking.
52614
9bbd0ddc
PB
526152010-08-20 Petr Baudis <pasky@suse.cz>
52616
52617 * LICENSES: Sync the sunrpc license.
52618
9da4bb31
UD
526192010-08-19 Ulrich Drepper <drepper@redhat.com>
52620
a7ab6ec8
UD
52621 * sunrpc/auth_des.c: Update copyright notice once again.
52622 * sunrpc/auth_none.c: Likewise.
52623 * sunrpc/auth_unix.c: Likewise.
52624 * sunrpc/authdes_prot.c: Likewise.
52625 * sunrpc/authuxprot.c: Likewise.
52626 * sunrpc/bindrsvprt.c: Likewise.
52627 * sunrpc/clnt_gen.c: Likewise.
52628 * sunrpc/clnt_perr.c: Likewise.
52629 * sunrpc/clnt_raw.c: Likewise.
52630 * sunrpc/clnt_simp.c: Likewise.
52631 * sunrpc/clnt_tcp.c: Likewise.
52632 * sunrpc/clnt_udp.c: Likewise.
52633 * sunrpc/clnt_unix.c: Likewise.
52634 * sunrpc/des_crypt.c: Likewise.
52635 * sunrpc/des_soft.c: Likewise.
52636 * sunrpc/get_myaddr.c: Likewise.
52637 * sunrpc/getrpcport.c: Likewise.
52638 * sunrpc/key_call.c: Likewise.
52639 * sunrpc/key_prot.c: Likewise.
52640 * sunrpc/openchild.c: Likewise.
52641 * sunrpc/pm_getmaps.c: Likewise.
52642 * sunrpc/pm_getport.c: Likewise.
52643 * sunrpc/pmap_clnt.c: Likewise.
52644 * sunrpc/pmap_prot.c: Likewise.
52645 * sunrpc/pmap_prot2.c: Likewise.
52646 * sunrpc/pmap_rmt.c: Likewise.
52647 * sunrpc/rpc/auth.h: Likewise.
52648 * sunrpc/rpc/auth_unix.h: Likewise.
52649 * sunrpc/rpc/clnt.h: Likewise.
52650 * sunrpc/rpc/des_crypt.h: Likewise.
52651 * sunrpc/rpc/key_prot.h: Likewise.
52652 * sunrpc/rpc/netdb.h: Likewise.
52653 * sunrpc/rpc/pmap_clnt.h: Likewise.
52654 * sunrpc/rpc/pmap_prot.h: Likewise.
52655 * sunrpc/rpc/pmap_rmt.h: Likewise.
52656 * sunrpc/rpc/rpc.h: Likewise.
52657 * sunrpc/rpc/rpc_des.h: Likewise.
52658 * sunrpc/rpc/rpc_msg.h: Likewise.
52659 * sunrpc/rpc/svc.h: Likewise.
52660 * sunrpc/rpc/svc_auth.h: Likewise.
52661 * sunrpc/rpc/types.h: Likewise.
52662 * sunrpc/rpc/xdr.h: Likewise.
52663 * sunrpc/rpc_clntout.c: Likewise.
52664 * sunrpc/rpc_cmsg.c: Likewise.
52665 * sunrpc/rpc_common.c: Likewise.
52666 * sunrpc/rpc_cout.c: Likewise.
52667 * sunrpc/rpc_dtable.c: Likewise.
52668 * sunrpc/rpc_hout.c: Likewise.
52669 * sunrpc/rpc_main.c: Likewise.
52670 * sunrpc/rpc_parse.c: Likewise.
52671 * sunrpc/rpc_parse.h: Likewise.
52672 * sunrpc/rpc_prot.c: Likewise.
52673 * sunrpc/rpc_sample.c: Likewise.
52674 * sunrpc/rpc_scan.c: Likewise.
52675 * sunrpc/rpc_scan.h: Likewise.
52676 * sunrpc/rpc_svcout.c: Likewise.
52677 * sunrpc/rpc_tblout.c: Likewise.
52678 * sunrpc/rpc_util.c: Likewise.
52679 * sunrpc/rpc_util.h: Likewise.
52680 * sunrpc/rpcinfo.c: Likewise.
52681 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52682 * sunrpc/rpcsvc/key_prot.x: Likewise.
52683 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52684 * sunrpc/rpcsvc/mount.x: Likewise.
52685 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52686 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52687 * sunrpc/rpcsvc/rex.x: Likewise.
52688 * sunrpc/rpcsvc/rstat.x: Likewise.
52689 * sunrpc/rpcsvc/rusers.x: Likewise.
52690 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52691 * sunrpc/rpcsvc/spray.x: Likewise.
52692 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52693 * sunrpc/rtime.c: Likewise.
52694 * sunrpc/svc.c: Likewise.
52695 * sunrpc/svc_auth.c: Likewise.
52696 * sunrpc/svc_authux.c: Likewise.
52697 * sunrpc/svc_raw.c: Likewise.
52698 * sunrpc/svc_run.c: Likewise.
52699 * sunrpc/svc_simple.c: Likewise.
52700 * sunrpc/svc_tcp.c: Likewise.
52701 * sunrpc/svc_udp.c: Likewise.
52702 * sunrpc/svc_unix.c: Likewise.
52703 * sunrpc/svcauth_des.c: Likewise.
52704 * sunrpc/xcrypt.c: Likewise.
52705 * sunrpc/xdr.c: Likewise.
52706 * sunrpc/xdr_array.c: Likewise.
52707 * sunrpc/xdr_float.c: Likewise.
52708 * sunrpc/xdr_mem.c: Likewise.
52709 * sunrpc/xdr_rec.c: Likewise.
52710 * sunrpc/xdr_ref.c: Likewise.
52711 * sunrpc/xdr_sizeof.c: Likewise.
52712 * sunrpc/xdr_stdio.c: Likewise.
52713
9da4bb31
UD
52714 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52715 handling.
52716
bdaa77bc
AS
527172010-08-19 Andreas Schwab <schwab@redhat.com>
52718
52719 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52720
fe2f79db
LM
527212010-08-19 Luis Machado <luisgpm@br.ibm.com>
52722
52723 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52724 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52725 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52726 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52727 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52728 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52729 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52730 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52731 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52732 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52733 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52734 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52735 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52736 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52737
b9b42ee0
AB
527382010-07-26 Anton Blanchard <anton@samba.org>
52739
52740 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52741 * malloc/arena.c (heap_trim): Likewise.
52742
1c06ba31
UD
527432010-08-16 Ulrich Drepper <drepper@redhat.com>
52744
52745 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52746 here. Not...
52747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52748 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52749
f8392f40
L
527502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52751
52752 * sysdeps/i386/elf/Makefile: New file.
52753
3162f12e
AS
527542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52755
52756 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52757 from fanotify_init.
52758 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52760
28c90b2c
UD
527612010-08-15 Ulrich Drepper <drepper@redhat.com>
52762
52763 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52764 of strncasecmp_l.
1feccb6c 52765 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52766
ca6bb004
UD
527672010-08-14 Ulrich Drepper <drepper@redhat.com>
52768
e9f82e0d
UD
52769 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52770 strncase_l-nonascii.
52771 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52772 Add strncase_l-ssse3.
52773 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52774 * sysdeps/x86_64/strcmp.S: Likewise.
52775 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52776 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52777 * sysdeps/x86_64/strncase.S: New file.
52778 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52779 * sysdeps/x86_64/strncase_l.S: New file.
52780 * string/Makefile (strop-tests): Add strncasecmp.
52781 * string/test-strncasecmp.c: New file.
52782
52783 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52784 warning.
52785
ca6bb004
UD
52786 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52787 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52788
052fa7b3
AS
527892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52790
52791 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52792
962dba78
UD
527932010-08-12 Ulrich Drepper <drepper@redhat.com>
52794
52795 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52798
bebff237
AM
527992010-05-01 Alan Modra <amodra@gmail.com>
52800
52801 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52802 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52803 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52804 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52805 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52806 tidying. Don't tail-call __sigjmp_save for static lib.
52807 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52808 save location.
52809 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52810 (CALL_MCOUNT): Add eh info, and nop after bl.
52811 (TAIL_CALL_SYSCALL_ERROR): New macro.
52812 (PSEUDO_RET): Use it.
52813 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52814 Correct save location of integer regs and cr.
52815 (_dl_profile_resolve): Correct cr save location. Delete nops
52816 after bl when SHARED. Reduce cfi size a little by better
52817 placement of cfi directives.
52818 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52819 make a stack frame. Instead use parm save area as a temp.
52820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52821 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52823 Don't make a stack frame for parent, use parm save area.
52824 Increase child stack frame to 112 bytes. Don't save unused reg,
52825 and adjust reg usage. Set up cfi on error recovery and
52826 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52828 (__makecontext): Add dummy nop after jump to exit.
52829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52830 Use correct parm save area and cr save, reduce stack frame.
52831 Correct cfi for possible PSEUDO_RET frame setup.
52832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52833 Branch to local label emitted by PSEUDO_RET rather than
52834 __syscall_error.
52835
02637374
AS
528362010-08-12 Andreas Schwab <schwab@redhat.com>
52837
52838 [BZ #11904]
52839 * locale/programs/locale.c (print_assignment): New function.
52840 (show_locale_vars): Use it.
52841
c3e2f19b
UD
528422010-08-11 Ulrich Drepper <drepper@redhat.com>
52843
3cdaa6ad
UD
52844 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52845 field.
52846 (struct statfs64): Likewise.
52847 (_STATFS_F_FLAGS): Define.
52848 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52850 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52851 (ST_VALID): Define locally.
52852 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52853 __statvfs_getflags, use the provided value.
52854 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52855 __ASSUME_STATFS_F_FLAGS.
52856
754f7da3
UD
52857 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52858
10b3bedc
UD
52859 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52860 Add sys/fanotify.h.
52861 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52862 fanotify_mask for GLIBC_2.13.
52863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52864 fanotify_init and fanotify_mark.
52865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52866 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52867
c08fb0d7
UD
52868 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52869 Add prlimit.
52870 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52871 prlimit64 for GLIBC_2.13.
52872 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52873 prlimit64.
52874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52875 syscall.
52876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52881 add prlimit alias.
52882 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52883
15bac72b
UD
52884 [BZ #11903]
52885 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52886 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52887
c3e2f19b
UD
52888 * nss/Makefile: Add rules to build and run tst-nss-test1.
52889 * shlib-versions: Add entry for libnss_test1.
52890 * nss/nss_test1.c: New file.
52891 * nss/tst-nss-test1.c: New file.
52892
52893 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52894 (__nss_configure_lookup): Set appropriate entry in
52895 __nss_configure_lookup to true.
52896 * nss/nsswitch.h: Define enum with indeces of databases in
52897 databases and __nss_database_custom arrays. Declare
52898 __nss_database_custom.
52899 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52900 to avoid using nscd when custom rules are installed.
52901 * nss/getXXbyYY_r.c: Likewise.
52902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52903
52904 * nss/nss_files/files-parse.c: Whitespace fixes.
52905
f15ce4d8
UD
529062010-08-09 Ulrich Drepper <drepper@redhat.com>
52907
52908 [BZ #11883]
52909 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52910 * posix/fnmatch_loop.c: Likewise.
52911
d22e4cc9
AK
529122010-07-17 Andi Kleen <ak@linux.intel.com>
52913
52914 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52915 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52916 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52917 * Versions.def [GLIBC_2.13]: Add.
52918
805bc17d
UD
529192010-08-06 Ulrich Drepper <drepper@redhat.com>
52920
52921 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52922 Also fail if tpwd after pwuid call is NULL.
52923
5a42321d
ST
529242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52925
52926 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52927 when converting to ms.
52928
fd3ebeda
ST
529292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52930
52931 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52932 EOPNOTSUPP errors with ENOTTY.
52933 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52934 EOPNOTSUPP errors with ENOTTY.
52935
73507d3a
UD
529362010-07-31 Ulrich Drepper <drepper@redhat.com>
52937
52938 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52939 Add strcasecmp_l-ssse3.
52940 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52941 strcasecmp.
52942 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52943 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52944 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52945
fe36dd02
UD
529462010-07-30 Ulrich Drepper <drepper@redhat.com>
52947
66f6765a
UD
52948 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52949
42e08a54
UD
52950 * string/Makefile (strop-tests): Add strcasecmp.
52951 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52952 strcasecmp_l-nonascii.
52953 (gen-as-const-headers): Add locale-defines.sym.
52954 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52955 * sysdeps/x86_64/strcasecmp.S: New file.
52956 * sysdeps/x86_64/strcasecmp_l.S: New file.
52957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52958 * sysdeps/x86_64/locale-defines.sym: New file.
52959 * string/test-strcasecmp.c: New file.
52960
fe36dd02
UD
52961 * string/test-strcasestr.c: Test both ends of the range of characters.
52962 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52963
48cbc0d6
RM
529642010-07-29 Roland McGrath <roland@redhat.com>
52965
76e6d6bc 52966 [BZ #11856]
48cbc0d6
RM
52967 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52968
880113d9
UD
529692010-07-27 Ulrich Drepper <drepper@redhat.com>
52970
52971 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52972 for ld.so.
52973
deb9cabb
AS
529742010-07-27 Andreas Schwab <schwab@redhat.com>
52975
52976 * manual/memory.texi (Malloc Tunable Parameters): Document
52977 M_PERTURB.
52978
1c7570ff
RM
529792010-07-26 Roland McGrath <roland@redhat.com>
52980
52981 [BZ #11840]
52982 * configure.in (-fgnu89-inline check): Set and substitute
52983 gnu89_inline, not libc_cv_gnu89_inline.
52984 * configure: Regenerated.
52985 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52986
24fb0f88
UD
529872010-07-26 Ulrich Drepper <drepper@redhat.com>
52988
52989 * string/test-strnlen.c: New file.
52990 * string/Makefile (strop-tests): Add strnlen.
52991 * string/tester.c (test_strnlen): Add a few more test cases.
52992 * string/tst-strlen.c: Better error reporting.
52993
52994 * sysdeps/x86_64/strnlen.S: New file.
52995
8e96b93a
UD
529962010-07-24 Ulrich Drepper <drepper@redhat.com>
52997
52998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52999 lower-latency instructions.
53000
dbc676d4
UD
530012010-07-23 Ulrich Drepper <drepper@redhat.com>
53002
53003 * string/test-strcasestr.c: New file.
53004 * string/test-strstr.c: New file.
53005 * string/Makefile (strop-tests): Add strstr and strcasestr.
53006 * string/str-two-way.h: Don't undefine MAX.
53007 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53008
f6a31e0e
AS
530092010-07-21 Andreas Schwab <schwab@redhat.com>
53010
53011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53012 strcasestr-nonascii.
53013 (CFLAGS-strcasestr-nonascii.c): Define.
53014 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53016 Remove unused attribute.
53017
5dbc3b6c
RM
530182010-07-20 Roland McGrath <roland@redhat.com>
53019
53020 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53021 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53022 ld.so.cache was broken. With it, there is no way to disable dsocaps
53023 like LD_HWCAP_MASK can disable hwcaps.
53024
23d101d8
EPM
530252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53026
53027 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53028
cc9f2e47
UD
530292010-07-16 Ulrich Drepper <drepper@redhat.com>
53030
53031 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53032 call in strcasestr.
53033 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53034 __strcasestr_sse42_nonascii.
53035 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53036 strcasestr-nonascii.c.
53037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53038
77c1b069
LM
530392010-06-15 Luis Machado <luisgpm@br.ibm.com>
53040
53041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53042 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53045
440566c3
UD
530462010-07-09 Ulrich Drepper <drepper@redhat.com>
53047
53048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53049 fcntl.
53050
5be9d05d
AS
530512010-07-06 Andreas Schwab <schwab@redhat.com>
53052
c30b7ee2 53053 [BZ #11577]
5be9d05d
AS
53054 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53055 dl_signal_cerror.
53056
8a492a67
UD
530572010-07-06 Ulrich Drepper <drepper@redhat.com>
53058
53059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53060 _PC_PIPE_BUF using F_GETPIPE_SZ.
53061
713df3d5
RM
530622010-07-05 Roland McGrath <roland@redhat.com>
53063
53064 * manual/arith.texi (Rounding Functions): Fix rint description
53065 implicit in round description.
53066
702e8f14
UD
530672010-07-02 Ulrich Drepper <drepper@redhat.com>
53068
53069 * elf/Makefile: Fix linking for a few tests to make recent linker
53070 happy.
53071
52ed8be9
AS
530722010-06-30 Andreas Schwab <schwab@redhat.com>
53073
53074 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53075 $(common-objpfx)libc_nonshared.a.
53076
f47c9a11
LM
530772010-06-21 Luis Machado <luisgpm@br.ibm.com>
53078
53079 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53080 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53081 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53082 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53083 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53084 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53085 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53086 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53101 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53102 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53103 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53104 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53105 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53106 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53107 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53108 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53109 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53110 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53111 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53112 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53127
6fb8cbcb
L
531282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53129
53130 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53131 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53132 * string/memmove.c (memmove): Renamed to ...
53133 (MEMMOVE): ...this. Default to memmove.
53134 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53135 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53136 (END_CHK): Define.
53137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53138 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53139 mempcpy-ssse3-back memmove-ssse3-back.
53140 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53143 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53144 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53145 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53146 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53147 * sysdeps/x86_64/multiarch/memmove.c: New file.
53148 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53149 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53150 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53151 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53152 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53154 Define.
53155 (index_Fast_Copy_Backward): Define.
53156 (HAS_ARCH_FEATURE): Define.
53157 (HAS_FAST_REP_STRING): Define.
53158 (HAS_FAST_COPY_BACKWARD): Define.
53159
4e733bac 531602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53161
53162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53163 Restore proper fallback handling.
53164
63c4ed22
UD
531652010-06-19 Ulrich Drepper <drepper@redhat.com>
53166
ac2b484c
UD
53167 [BZ #11701]
53168 * posix/group_member.c (__group_member): Correct checking loop.
53169
63c4ed22
UD
53170 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53171 OOM in getpwuid_r correctly. Return error number when the caller
53172 should return, otherwise -1.
53173 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53174 call returning > 0 value.
53175 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53176
765ade4b
AS
531772010-06-07 Andreas Schwab <schwab@redhat.com>
53178
53179 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53180 libc_nonshared.a from targets in modules-names.
53181
80da2e09
KS
531822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53183
53184 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53185 requires it.
53186
158db122
LM
531872010-06-10 Luis Machado <luisgpm@br.ibm.com>
53188
53189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53190 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53193
caa78cf8
AS
531942010-06-02 Andreas Schwab <schwab@redhat.com>
53195
53196 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53197
b2ef2c01
UD
531982010-06-14 Ulrich Drepper <drepper@redhat.com>
53199
53200 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53201 and F_GETPIPE_SZ.
53202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53208
fbd643b6
RM
532092010-06-14 Roland McGrath <roland@redhat.com>
53210
53211 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53212
f32f2869
JJ
532132010-06-07 Jakub Jelinek <jakub@redhat.com>
53214
53215 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53216 __REDIRECT followed by __THROW.
53217 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53218 * posix/getopt.h (getopt): Likewise.
53219
2a50c078
EPM
532202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53221
53222 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53223 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53224 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53225 in AT_FLAGS.
53226 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53227 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53228
eb5ad2eb
LM
532292010-05-28 Luis Machado <luisgpm@br.ibm.com>
53230
53231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53232
3c88fe1e
L
532332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53234
53235 [BZ #11640]
53236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53237 Properly check family and model.
53238
d2f73151
TY
532392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53240
53241 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53242
ebd2e13d
LM
532432010-05-24 Luis Machado <luisgpm@br.ibm.com>
53244
53245 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53246
b32b8b45
UD
532472010-05-21 Ulrich Drepper <drepper@redhat.com>
53248
53249 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53250 symbol reference.
53251
9acbe24d
AS
532522010-05-19 Andreas Schwab <schwab@redhat.com>
53253
53254 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53255 symbol reference.
53256
f0ccf6ea
AS
532572010-05-21 Andreas Schwab <schwab@redhat.com>
53258
3d04ff3a
AS
53259 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53260 and internal_recvmmsg.
53261 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53262 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53263 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53264 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53265
f0ccf6ea
AS
53266 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53267 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53268 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53269
5b08ac57
AS
532702010-05-20 Andreas Schwab <schwab@redhat.com>
53271
53272 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53273
4828935d
LM
532742010-05-17 Luis Machado <luisgpm@br.ibm.com>
53275
53276 POWER7 optimizations.
53277 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53278 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53279
373d545e
UD
532802010-05-19 Ulrich Drepper <drepper@redhat.com>
53281
53282 * version.h: Update for 2.13 development version.
53283
21a2b1ae
AS
532842010-05-12 Andrew Stubbs <ams@codesourcery.com>
53285
53286 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53287 exceptions. Return 0.
53288
3f7dcb2b
RM
532892010-05-07 Roland McGrath <roland@redhat.com>
53290
53291 * elf/ldconfig.c (main): Add a const.
53292
5f24d53a 532932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53294
a160f8d8
UD
53295 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53296 (args_options): Add no-idn option.
53297 (ahosts_keys_int): Add idn_flags to ai_flags.
53298 (parse_option): Handle 'i' option to clear idn_flags.
53299
5f24d53a
UD
53300 * malloc/malloc.c (_int_free): Possible race in the most recently
53301 added check. Only act on the data if no current modification
53302 happened.
265bb1ce
UD
53303
53304See ChangeLog.17 for earlier changes.