]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix x86 acos near 1 (bug 13942).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9568c0c2
JM
12012-04-30 Joseph Myers <joseph@codesourcery.com>
2
adfbc8ac
JM
3 [BZ #13942]
4 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5 (1 - x) * (1 + x).
6 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8 * math/libm-test.inc (acos_test): Add more tests.
9 (asin_test): Likewise.
10 * sysdeps/i386/fpu/libm-test-ulps: Update.
11 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12
5ba3cc69
JM
13 [BZ #14034]
14 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15 of square root.
16 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18 * math/libm-test.inc (acos_test_tonearest): New function.
19 (acos_test_towardzero): Likewise.
20 (acos_test_downward): Likewise.
21 (acos_test_upward): Likewise.
22 (asin_test_tonearest): Likewise.
23 (asin_test_towardzero): Likewise.
24 (asin_test_downward): Likewise.
25 (asin_test_upward): Likewise.
26 (main): Call the new functions.
27 * sysdeps/i386/fpu/libm-test-ulps: Update.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29
9568c0c2
JM
30 [BZ #13884]
31 [BZ #13924]
32 * math/e_exp10.c: Include <float.h>.
33 (__ieee754_exp10): Handle underflow here rather than multiplying
34 large negative argument by M_LN10.
35 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36 of __ieee754_expf.
37 * math/e_exp10l.c: Include <float.h>.
38 (__ieee754_exp10l): Handle underflow here rather than multiplying
39 large negative argument by M_LN10l.
40 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41 spurious overflow exception on underflow.
42
5ac3ea17
MP
432012-04-29 Marek Polacek <polacek@redhat.com>
44
45 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46 (__fortify_function): New macro.
47 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49 __extern_always_inline.
50 * libio/bits/stdio2.h: Likewise.
51 * libio/bits/stdio.h: Likewise.
52 * string/string.h: Likewise.
53 * string/bits/string3.h: Likewise.
54 * include/stdio.h: Likewise.
55 * stdlib/bits/stdlib.h: Likewise.
56 * stdlib/stdlib.h: Likewise.
57 * rt/bits/mqueue2.h: Likewise.
58 * rt/mqueue.h: Likewise.
59 * posix/bits/unistd.h: Likewise.
60 * posix/unistd.h: Likewise.
61 * io/bits/poll2.h: Likewise.
62 * io/bits/fcntl2.h: Likewise.
63 * io/fcntl.h: Likewise.
64 * io/sys/poll.h: Likewise.
65 * misc/bits/syslog.h: Likewise.
66 * misc/bits/syslog-ldbl.h: Likewise.
67 * misc/sys/syslog.h: Likewise.
68 * socket/bits/socket2.h: Likewise.
69 * socket/sys/socket.h: Likewise.
70 * debug/tst-chk1.c: Likewise.
71 * wcsmbs/bits/wchar2.h: Likewise.
72 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73 * wcsmbs/wchar.h: Likewise.
74
ecf0ebfb
AJ
752012-04-29 Andreas Jaeger <aj@suse.de>
76
77 * Makerules (tests): Remove enable-check-abi protection.
78 (check-abi-warn): Remove.
79 (check-abi-%): Remove check-abi-warn usage.
80
81 * configure.in: Remove check-abi configure option.
82 * configure: Regenerated.
83 * config.make.in (enable-check-abi): Remove.
84
6d5c57fa
AS
852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
86
24c5d07e 87 [BZ #14033]
ded5180a
AS
88 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
89 double functions to double *_finite functions.
90
7e0d315d
AS
91 [BZ #13941]
92 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
93 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
94 LDBL_MIN_EXP.
95 * stdio-common/Makefile (tests): Add tst-sprintf3.
96 * stdio-common/tst-sprintf3.c: New file.
97
6d5c57fa
AS
98 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
99 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
100
0749ff8b
JM
1012012-04-28 Joseph Myers <joseph@codesourcery.com>
102
103 * conform/conformtest.pl: Remove duplicate typed-constant
104 handling.
105
8dbd5d7b
DM
1062012-04-28 David S. Miller <davem@davemloft.net>
107
108 * Makerules (%.abilist): Add vpath on sysdep_dirs.
109 (check-abi-%): Remove AWK script prerequisite and explicit
110 abilist directory.
111 (check-abi): Rewrite to just diff the symlist with the abilist.
112 (config-tls, config-abi-config): Delete, no longer used.
113 (update-abi-%): Remove AWK script and explicit abilist directory.
114 (update-abi): Rewrite to simply compare and conditionally copy the
115 symlist and the sysdep abilist file. Remove update-abi-config
116 checks.
117 * abilist/ld.abilist: Remove.
118 * abilist/libBrokenLocale.abilist: Remove.
119 * abilist/libanl.abilist: Remove.
120 * abilist/libcrypt.abilist: Remove.
121 * abilist/libdl.abilist: Remove.
122 * abilist/librt.abilist: Remove.
123 * abilist/libthread_db.abilist: Remove.
124 * abilist/libutil.abilist: Remove.
125 * scripts/extract-abilist.awk: Remove.
126 * scripts/merge-abilist.awk: Remove.
127 * sysdeps/generic/libcidn.abilist: New file.
128 * sysdeps/generic/libnss_compat.abilist: New file.
129 * sysdeps/generic/libnss_db.abilist: New file.
130 * sysdeps/generic/libnss_dns.abilist: New file.
131 * sysdeps/generic/libnss_files.abilist: New file.
132 * sysdeps/generic/libnss_hesiod.abilist: New file.
133 * sysdeps/generic/libnss_nis.abilist: New file.
134 * sysdeps/generic/libnss_nisplus.abilist: New file.
135 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
136 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
137 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
138 file.
139 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
140 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
141 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
142 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
143 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
144 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
145 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
146 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
147 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
148 file.
149 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
150 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
152 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
153 file.
154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
155 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
156 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
157 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
158 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
159 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
160 file.
161 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
162 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
163 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
164 file.
165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
167 New file.
168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
169 New file.
170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
171 New file.
172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
173 New file.
174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
175 New file.
176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
177 New file.
178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
179 New file.
180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
181 New file.
182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
183 New file.
184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
185 New file.
186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
187 New file.
188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
189 New file.
190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
191 New file.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
193 file.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
195 New file.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
197 New file.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
199 file.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
201 New file.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
203 New file.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
205 file.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
207 New file.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
209 New file.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
211 New file.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
213 New file.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
215 New file.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
217 New file.
218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
220 file.
221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
222 New file.
223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
224 file.
225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
226 file.
227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
228 file.
229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
230 file.
231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
232 file.
233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
234 New file.
235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
236 file.
237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
238 file.
239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
240 New file.
241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
242 file.
243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
245 file.
246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
247 New file.
248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
249 file.
250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
251 file.
252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
253 file.
254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
255 file.
256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
257 file.
258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
259 New file.
260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
261 file.
262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
263 file.
264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
265 New file.
266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
267 file.
268 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
269 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
270 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
271 file.
272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
273 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
274 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
276 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
277 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
278 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
279 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
280 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
281 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
284 file.
285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
286 New file.
287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
288 file.
289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
290 file.
291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
292 file.
293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
294 file.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
296 file.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
298 New file.
299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
300 New file.
301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
302 file.
303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
304 New file.
305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
306 file.
307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
309 file.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
311 New file.
312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
313 file.
314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
315 file.
316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
317 file.
318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
319 file.
320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
321 file.
322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
323 New file.
324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
325 New file.
326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
327 file.
328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
329 New file.
330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
331 file.
332
41d73a1b
JM
3332012-04-28 Joseph Myers <joseph@codesourcery.com>
334
335 * conform/conformtest.pl: Fix typo in handling typed-constant from
336 allow-header.
337
28aeeda4
JM
3382012-04-27 Joseph Myers <joseph@codesourcery.com>
339
adae8f5e
JM
340 * README: Cut down references to pre-2.6 Linux kernels and
341 Linuxthreads. Update lists of configurations in libc and ports
342 and sort alphabetically. Say "or newer" with Linux kernel version
343 requirements.
344
28aeeda4
JM
345 * config.h.in [IS_IN_build]: Allow compiling without optimization.
346
a462cb63
RA
3472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
348
349 [BZ #887]
350 * math/libm-test.inc (logb_test_downward): New test to expose
351 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
352 rounding mode.
353
6ad3493e
JM
3542012-04-27 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #14027]
357 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
358 to be done.
359 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
360 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
361
2ce4f015
JM
3622012-04-26 Joseph Myers <joseph@codesourcery.com>
363
5aeb141a
JM
364 * sysdeps/unix/i386/brk.S: Remove file.
365 * sysdeps/unix/i386/dl-brk.S: Likewise.
366 * sysdeps/unix/i386/pipe.S: Likewise.
367 * sysdeps/unix/i386/sigreturn.S: Likewise.
368 * sysdeps/unix/i386/syscall.S: Likewise.
369 * sysdeps/unix/i386/vfork.S: Likewise.
370 * sysdeps/unix/i386/wait.S: Likewise.
371
7143acae
JM
372 * sysdeps/unix/common/tcsendbrk.c: Move to ...
373 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
374
2ce4f015
JM
375 * configure.in (arm*-none*): Do not allow without
376 --enable-hacker-mode.
377 (netbsd*): Remove case setting base_os.
378 (386bsd*): Likewise.
379 (freebsd*): Likewise.
380 (bsdi*): Likewise.
381 (osf*): Likewise.
382 (sunos*): Likewise.
383 (ultrix*): Likewise.
384 (newsos*): Likewise.
385 (dynix*): Likewise.
386 (*bsd*): Likewise.
387 (sysv*): Likewise.
388 (isc*): Likewise.
389 (esix*): Likewise.
390 (sco*): Likewise.
391 (minix*): Likewise.
392 (irix4*): Likewise.
393 (irix6*): Likewise.
394 (solaris[2-9]*): Likewise.
395 (none): Likewise.
396 * configure: Regenerated.
397
0ac229c8
AZ
3982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 [BZ #11521]
401 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
402 overflow or cancellation in calculating denominator.
403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
404 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
405 down expression to avoid unexpected rounding in newer GCCs.
406 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
407
33f244f4
DM
4082012-04-26 David S. Miller <davem@davemloft.net>
409
410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
411 long-double compat symbols.
412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
425
cfa1f3e8
DM
4262012-04-25 David S. Miller <davem@davemloft.net>
427
428 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
429 HWCAP_* values only after the memory barriers have been defined.
430 (atomic_full_barrier): Define.
431 (atomic_read_barrier): Define.
432 (atomic_write_barrier): Define.
433
6e236b92
SP
4342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
435
436 * shlib-versions: Add libgcc_s version information.
437 * sysdeps/generic/libgcc_s.h: Remove.
438 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
439 libgcc_s.h.
440 * sysdeps/gnu/unwind-resume.c: Likewise.
441 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
442
aab39a09
DM
4432012-04-25 David S. Miller <davem@davemloft.net>
444
445 * sysdeps/unix/sparc/brk.S: Delete.
446 * sysdeps/unix/sparc/dl-brk.S: Delete.
447 * sysdeps/unix/sparc/pipe.S: Delete.
448 * sysdeps/unix/sparc/sysdep.S: Delete.
449 * sysdeps/unix/sparc/sysdep.h: Delete.
450 * sysdeps/unix/sparc/vfork.S: Delete.
451 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
452 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
454 ret_ERRVAL, r0, r1, MOVE): Define.
455 (JUMPTARGET): Remove.
456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
457 sysdeps/unix/sparc/sysdep.h
458 (ENTRY, END): Remove.
459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
460
a3cc4f48
JM
4612012-04-25 Joseph Myers <joseph@codesourcery.com>
462
2ed8cda2
JM
463 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
464 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
465 -DIS_IN_build.
466
35d76d59
JM
467 * timezone/README: Update upstream location and email address for
468 tzcode and tzdata.
469 * timezone/zdump.c: Update from tzcode 2012b.
470 * timezone/zic.c: Likewise.
471
a3cc4f48
JM
472 * configure.in (libc_cv_as_needed): Remove test.
473 * configure: Regenerated.
474 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
475 conditional definition.
476 [$(have-as-needed) != yes] (no-as-needed): Likewise.
477 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
478 * config.make.in (have-as-needed): Remove variable.
479
ceab42c3
SP
4802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
481 Paul Pluzhnikov <ppluzhnikov@google.com>
482
483 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
484 strings correctly.
485
3ce2865f
CLT
4862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
487
488 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
489 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
490 * sysdeps/sh/strlen.S: Likewise.
491
f37e0d68
JM
4922012-04-24 Joseph Myers <joseph@codesourcery.com>
493
ae186e9a
JM
494 * sysdeps/unix/fork.S: Remove file.
495 * sysdeps/unix/i386/fork.S: Likewise.
496 * sysdeps/unix/sparc/fork.S: Likewise.
497
b96914af
JM
498 * sysdeps/unix/system.c: Remove file.
499 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
500
f37e0d68
JM
501 * sysdeps/unix/getegid.S: Remove file.
502 * sysdeps/unix/geteuid.S: Likewise.
503
87ef29ca
RM
5042012-04-24 Roland McGrath <roland@hack.frob.com>
505
83bcd236
RM
506 * scripts/check-localplt.awk: New file.
507 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
508 of diff.
509 * scripts/data/localplt-generic.data: Add a comment.
510
87ef29ca
RM
511 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
512 NODE when __dir_mkfile failed.
513 * sysdeps/mach/hurd/symlinkat.c: Likewise.
514 Reported by Ludovic Courtès <ludo@gnu.org>.
515
e5a6e567
AJ
5162012-04-24 Andreas Jaeger <aj@suse.de>
517
518 * Makerules (common-clean): Also remove gen-as-const-headers
519 files.
520
c1820385
JM
5212012-04-24 Joseph Myers <joseph@codesourcery.com>
522
523 * Makerules (native-compile): Do not change working directory for
524 build. Use $(OUTPUT_OPTION) in command.
525 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
526
94e02fc4
AZ
5272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528
529 [BZ #13886]
530 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
531 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
532 * math/libm-test.inc (floor_test): Add more tests.
533 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
534
3a533ca3
JM
5352012-04-24 Joseph Myers <joseph@codesourcery.com>
536
940ab4b3
JM
537 * sysdeps/unix/getdents.c: Remove file.
538 * sysdeps/unix/sysv/getdents.c: Likewise.
539 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
540
90e037bd
JM
541 * sysdeps/unix/syscalls.list (madvise): Add syscall from
542 sysdeps/unix/mman/syscalls.list.
543 (mmap): Likewise.
544 (mprotect): Likewise.
545 (msync): Likewise.
546 (munmap): Likewise.
547 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
548 * sysdeps/unix/mman/syscalls.list: Remove.
549 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
550
3a533ca3
JM
551 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
552 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
553 * configure: Regenerated.
554 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
555 $(libgcc_s_suffix).
556 * config.make.in (libgcc_s_suffix): Remove variable.
557
1ad743de
JM
5582012-04-23 Joseph Myers <joseph@codesourcery.com>
559
4ad451e2
JM
560 * sysdeps/unix/sysv/gethostname.c: Move to ...
561 * sysdeps/posix/gethostname.c: ... here.
562
5e37ce39
JM
563 * sysdeps/unix/execve.S: Remove file.
564
1ad743de
JM
565 * sysdeps/unix/_exit.S: Remove file.
566
4e681b5b
AJ
5672012-04-23 Andreas Jaeger <aj@suse.de>
568
569 [BZ #13739]
570 * manual/Makefile: Remove make dist support, there's no
571 need for a stand-alone documentation tar ball.
572 (TEXI2DVI): Define always, it's not in Makeconfig.
573 (dist): Removed.
574 (tar-it): Removed.
575 (edition): Removed.
576 (glibc-doc-$(edition).tar): Removed
577 (%.Z): Removed.
578 (%.gz): Removed.
579 (%.uu): Removed.
580 (ETAGS): Remove, it's in Makeconfig.
581 (move-if-change): Remove, it's in Makeconfig.
582
c0baea34
PE
5832013-04-23 Paul Eggert <eggert@cs.ucla.edu>
584
585 [BZ #13970]
586 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
587 (strtod, strtof, strtold, strtol, strtoul, strtoq)
588 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
589 (strtod_l, strtof_l, strtold_l): Remove __wur.
590 It is not necessarily an error to ignore strtol's return value.
591 One can reliably look at the stored endptr to decide whether
592 the number had valid syntax.
593
7c0616fa
AJ
5942012-04-21 Andreas Jaeger <aj@suse.de>
595
803cb6b7 596 [BZ #13739]
7c0616fa
AJ
597 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
598
b0fe253f
JM
5992012-04-21 Joseph Myers <joseph@codesourcery.com>
600
601 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
602 * sysdeps/unix/sysv/Versions: Remove file.
603
8280f22d
MT
6042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
605
606 [BZ #13927]
607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
608
75ce411f 6092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
610
611 [BZ #7064]
612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
613 version from __vm86.
614
097d59fa
JM
6152012-04-20 Joseph Myers <joseph@codesourcery.com>
616
a90f3bcb
JM
617 * sysdeps/unix/common/lxstat.c: Remove file.
618 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
619
edc7ea78
JM
620 * sysdeps/unix/sysv/Makefile: Remove file.
621
cb78c221
JM
622 * sysdeps/unix/sysv/direct.h: Remove file.
623
efa6a45f
JM
624 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
625 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
626 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
627 * sysdeps/unix/sysv/bits/signum.h: Likewise.
628 * sysdeps/unix/sysv/bits/stat.h: Likewise.
629 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
630 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
631
9c9f2d0c
JM
632 * sysdeps/unix/sysv/setrlimit.c: Remove file.
633
4541c83b
JM
634 * sysdeps/unix/xmknod.c: Remove file.
635 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
636
f5d153a0
JM
637 * sysdeps/unix/sysv/settimeofday.c: Remove file.
638
aa746595
JM
639 * sysdeps/unix/sysv/i386/time.S: Remove file.
640
cce5905e
JM
641 * sysdeps/unix/fxstat.c: Remove file.
642 * sysdeps/unix/xstat.c: Likewise.
643 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
644
37fa3841
JM
645 * sysdeps/unix/sysv/sigaction.c: Remove file.
646
ff1962a3
JM
647 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
648 (sysdep_headers): Remove variable.
649 [termio.h not in sysdep_headers] (generated): Likewise.
650 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
651 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
652 * sysdeps/unix/sysv/tcdrain.c: Likewise.
653 * sysdeps/unix/sysv/tcflow.c: Likewise.
654 * sysdeps/unix/sysv/tcflush.c: Likewise.
655 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
656 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
657 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
658 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
659 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
660
e7740d31
JM
661 * sysdeps/unix/siglist.c: Remove file.
662
ee06f18b
JM
663 * sysdeps/unix/getppid.S: Remove file.
664
097d59fa
JM
665 * sysdeps/unix/mkdir.c: Remove file.
666 * sysdeps/unix/rmdir.c: Likewise.
667
ff3d51ec
AS
6682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
669
670 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
671 ERR_MAX value.
672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
673 errlist-compat value.
674
50f81fd7
DM
6752012-04-18 David S. Miller <davem@davemloft.net>
676
677 * sysdeps/generic/memcopy.h (reg_char): Delete.
678 * debug/strcat_chk.c: Use char, not reg_char.
679 * debug/strcpy_chk.c: Likewise.
680 * debug/strncat_chk.c: Likewise.
681 * debug/strncpy_chk.c: Likewise.
682 * string/memchr.c: Likewise.
683 * string/memrchr.c: Likewise.
684 * string/rawmemchr.c: Likewise.
685 * string/strcat.c: Likewise.
686 * string/strchr.c: Likewise.
687 * string/strchrnul.c: Likewise.
688 * string/strcmp.c: Likewise.
689 * string/strcpy.c: Likewise.
690 * string/strncat.c: Likewise.
691 * string/strncmp.c: Likewise.
692 * string/strncpy.c: Likewise.
693
8ff41c46
WS
6942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
695
696 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
697 __builtin_memcopy is called when src and dest ranges are known to not
698 overlap.
699
6b652f46
WS
7002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
701
702 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
703 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
704 fwd_align_merge macro call.
705 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
706 bwd_align_merge macro call.
707 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
708
b282631e
WS
7092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
710
711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
712 bwd_align_merge macros.
713 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
714 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
715 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
716
95aa737c
DM
7172012-04-18 David S. Miller <davem@davemloft.net>
718
719 * sysdeps/sparc/sparc64/memcopy.h: Delete.
720
7a99a614
AJ
7212012-04-18 Andreas Jaeger <aj@suse.de>
722
723 [BZ# 6794]
724 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
725 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
727
728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
729 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
731
732 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
733 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
734 Adjust for changed ldbl-128 files.
735
736 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
737 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
738 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
739
e5270c23
DM
7402012-04-17 David S. Miller <davem@davemloft.net>
741
742 * sysdeps/sparc/sparc32/memcopy.h: Delete.
743
fb5e92c9
AS
7442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
745
746 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
747 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
748 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
749 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
750 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
751 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
752
76da7265
AZ
7532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754
755 [BZ #6794]
756 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
757 * math/libm-test.inc: Add ilogb errno and exception tests.
758 * math/w_ilogb.c: New file: ilogb wrapper.
759 * math/w_ilogbf.c: New file: ilogbf wrapper.
760 * math/w_ilogbl.c: New file: ilogbl wrapper.
761 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
762 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
763 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
764 exception being thrown with 0.0 as argument.
765 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
766 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
767 exception being thrown with 0.0 as argument.
768 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
769 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
770 exception being thrown with 0.0 as argument.
771 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
772 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
773 exception being thrown with 0.0 as argument.
774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
775 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
777 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
779 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
780 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
781 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
782 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
783
0396e69d
PB
7842012-04-17 Petr Baudis <pasky@ucw.cz>
785
786 * include/sys/uio.h: Change __vector to __iovec to avoid clash
787 with altivec.
788
750b5926
MP
7892012-04-16 Marek Polacek <polacek@redhat.com>
790
791 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
792
751728a1
MP
7932012-04-16 Marek Polacek <polacek@redhat.com>
794
795 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
796 operands of fdivp instruction.
797
34a27407
L
7982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
799
800 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
801 * elf/tst-auditmod3b.c: Likewise.
802 * elf/tst-auditmod4b.c: Likewise.
803 * elf/tst-auditmod5b.c: Likewise.
804 * elf/tst-auditmod6b.c: Likewise.
805 * elf/tst-auditmod6c.c: Likewise.
806 * elf/tst-auditmod7b.c: Likewise.
807 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
808 * sysdeps/x86_64/preconfigure.in: Likewise.
809 * sysdeps/x86_64/preconfigure: Regenerated.
810
7e73e17d
L
8112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
812
813 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
814 __ILP32__.
815
c7a6ab72
AB
8162012-04-13 Antoine Balestrat <merkil33@gmail.com>
817
818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
819 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
820
a9e8e0e0
CL
8212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
822
823 [BZ #13973]
824 * locale/iso-639.def: Fix gl language name. Spotted by
825 Yaron Shahrabani.
826
ec98af7d
RM
8272012-04-12 Roland McGrath <roland@hack.frob.com>
828
829 [BZ #2074]
830 * libio/libio.h (__io_write_fn): Update comment.
831
247c3ede
PB
8322012-04-12 Petr Baudis <pasky@ucw.cz>
833
834 [BZ #2074]
835 * stdio.texi (Hook Functions): The user provided writer function
836 is not allowed to return -1.
837
55939d6d
DM
8382012-04-11 David S. Miller <davem@davemloft.net>
839
840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
841
90020f5a
MF
8422012-04-11 Mike Frysinger <vapier@gentoo.org>
843
844 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
845 Add a leading slash to rtkaio.
846
288f9098
JM
8472012-04-11 Jim Meyering <meyering@redhat.com>
848
90020f5a
MF
849 [BZ #11959]
850 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
851 It is not necessarily an error to ignore fwrite's return
852 value. One can reliably use ferror to test for errors after
853 the fact.
288f9098 854
4be2b570
L
8552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
856
857 * bits/types.h (__snseconds_t): New type.
858 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
859
860 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
862 (__SNSECONDS_T_TYPE): Likewise.
863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
864 (__SNSECONDS_T_TYPE): Likewise.
865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
866 (__SNSECONDS_T_TYPE): Likewise.
867
288f9098 8682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
869
870 [BZ #2636]
871 * manual/time.texi (Processor Time): Return type of times is
872 elapsed real time since an arbitrary point in the past.
873 (CPU Time): Move CLK_TCK from here...
874 (Processor Time): ...to here. Correct description.
875 * manual/conf.texi (Constants for Sysconf): Correct description of
876 _SC_CLK_TCK.
877
d7dd4413
DM
8782012-04-10 David S. Miller <davem@davemloft.net>
879
880 [BZ #13967]
881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
882 where the is a gap between DT_REL(A) and DT_JMPREL.
883
b46068fc
L
8842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
885
886 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
887 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
888 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
889
73d65cc3
SP
8902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
891
892 * elf/dl-support.c (_dl_inhibit_cache): New variable.
893 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
894 (dl_main): Handle --inhibit-cache.
895 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
896 _dl_inhibit_cache.
897 * elf/dl-load.c (_dl_map_object): Use it.
898 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
899
bcc8d661
JM
9002012-04-09 Joseph Myers <joseph@codesourcery.com>
901
8f9a2fae
JM
902 [BZ #13872]
903 * sysdeps/i386/fpu/e_powl.S (p78): New object.
904 (__ieee754_powl): Saturate large exponents rather than testing for
905 overflow of y*log2(x).
906 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
907 * math/libm-test.inc (pow_test): Do not permit spurious overflow
908 exceptions.
909
bcc8d661
JM
910 [BZ #11521]
911 * math/s_ctan.c: Include <float.h>.
912 (__ctan): Avoid internal overflow or cancellation in calculating
913 denominator.
914 * math/s_ctanf.c: Likewise.
915 * math/s_ctanl.c: Likewise.
916 * math/s_ctanh.c: Likewise.
917 * math/s_ctanhf.c: Likewise.
918 * math/s_ctanhl.c: Likewise.
919 * math/libm-test.inc (ctan_test): Add more tests.
920 (ctanh_test): Likewise.
921 * sysdeps/i386/fpu/libm-test-ulps: Update.
922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923
823fbbb4
AJ
9242012-04-09 Andreas Jaeger <aj@suse.de>
925
03879793
AJ
926 [BZ #6894]
927 * manual/filesys.texi (Directory Entries): Mention that d_namlen
928 is an optional BSD extension.
929
823fbbb4
AJ
930 [BZ #10254]
931 * manual/stdio.texi (Opening Streams): Document additional fopen
932 parameters.
933
8de131cb
RM
9342012-04-09 Roland McGrath <roland@hack.frob.com>
935
936 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
937 %eax without telling the compiler.
938
c0ed9d7d
CD
9392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
940
941 [BZ # 13963]
942 * manual/install.texi: Use sourceware.org.
943
c483f6b4
JM
9442012-04-09 Joseph Myers <joseph@codesourcery.com>
945
d7dd9453
JM
946 [BZ #13873]
947 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
948 (__ieee754_pow): Generate overflow and underflow using huge*huge
949 and tiny*tiny rather than just returning constant infinity or zero
950 for large exponents.
951 * math/libm-test.inc (pow_test): Require overflow exceptions for
952 applicable cases of large exponents.
953
c483f6b4
JM
954 [BZ #706]
955 * sysdeps/i386/fpu/e_pow.S (p10): New object.
956 (__ieee754_pow): Use iterative multiplication algorithm only for
957 integer exponents with absolute value below 1024. Check for odd
958 integer exponents when using algorithm for real exponents.
959 * math/libm-test.inc (pow_test): Add more tests.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
961
d2de7579
JM
9622012-04-08 Joseph Myers <joseph@codesourcery.com>
963
964 [BZ #13705]
965 * math/libm-test.inc (exp_test): Do not allow overflow exception
966 on underflow test.
967
f77f1232
AJ
9682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
969
970 [BZ #13705]
971 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
972 instead of __kernel_standard_f.
973
3884932b
MF
9742012-04-08 Mike Frysinger <vapier@gentoo.org>
975
976 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
977 * sysdeps/x86_64/memset_chk.S: Likewise.
978
54472e9c
AJ
9792012-04-08 Andreas Jaeger <aj@suse.de>
980
6ab0fbfc
AJ
981 [BZ #10153]
982 * manual/startup.texi (Environment Access): Describe return value
983 for putenv and setenv.
984
61efba8c
AJ
985 [BZ #6895]
986 * manual/filesys.texi (Directory Entries): Add description for
987 DT_LNK.
988
95c3f29a
AJ
989 [BZ #6890]
990 * manual/filesys.texi (Directory Entries): Clarify that it's file
991 system not operating system in the description of DT_UNKNOWN.
992
54472e9c
AJ
993 [BZ #6578]
994 * manual/syslog.texi (closelog): Fix reference, it's openlog.
995
624254b1
SC
9962012-04-08 Stephen Compall <s11@member.fsf.org>
997
998 [BZ #6649]
999 * manual/llio.texi (Opening and Closing Files): Add cross
1000 reference to explain mode argument.
1001
1e4920e0
MF
10022012-04-07 Mike Frysinger <vapier@gentoo.org>
1003
1004 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1005 * sysdeps/x86_64/memset_chk.S: Likewise.
1006
5ed848f3
DM
10072012-04-07 David S. Miller <davem@davemloft.net>
1008
1009 * elf/elf.h (R_SPARC_WDISP10): Define.
1010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1011 R_SPARC_SIZE32.
1012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1013 R_SPARC_SIZE64 and R_SPARC_H34.
1014
96154cd8
CD
10152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1016
1017 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1018 conditions and remove no longer applicable assertion.
1019
9904dc47
L
10202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * bits/byteswap.h: Include <features.h>.
1023 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1024 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1025
f8887d0a
L
10262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 * bits/byteswap.h (__bswap_16): Removed.
1029 Include <bits/byteswap-16.h> to get __bswap_16.
1030 * sysdeps/i386/bits/byteswap.h: Likewise.
1031 * sysdeps/s390/bits/byteswap.h: Likewise.
1032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1033 * bits/byteswap-16.h: New file.
1034 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1035 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1036 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1037 * string/Makefile (headers): Add bits/byteswap-16.h.
1038
62470f60
PP
10392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1040
1041 [BZ #13895]
1042 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1043 extra indirection.
1044 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1045 * nss/tst-nss-static.c: New.
1046
4dad7bab
RM
10472012-04-06 Robert Millan <rmh@gnu.org>
1048
1049 [BZ #6486]
1050 * manual/llio.texi (File Position Primitive): lseek
1051 refers to WHENCE when it really means OFFSET.
1052
e9142a17
AJ
10532012-04-06 Andreas Jaeger <aj@suse.de>
1054
2c040eff
AJ
1055 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1056 strncmp declarations.
1057
e9142a17
AJ
1058 * abilist/libc.abilist: Add __poll and __ppoll.
1059
ff9f1c5f
DM
10602012-04-05 David S. Miller <davem@davemloft.net>
1061
dcd2ae90
DM
1062 * scripts/check-local-headers.sh: Accept a host triplet in the
1063 path matched by the exclude regexp.
1064
993eb054
DM
1065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1066 definition.
1067 * sysdeps/powerpc/powerpc32/dl-machine.h
1068 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1069 * sysdeps/s390/s390-32/dl-machine.h
1070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1071 * sysdeps/sparc/sparc32/dl-machine.h
1072 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1073 * sysdeps/sparc/sparc64/dl-machine.h
1074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1075
ff9f1c5f
DM
1076 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1077 lazy binding.
48e2e132 1078 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1079 undefined symbol errors.
1080
48e2e132 1081 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1082 DT_NEEDED entries.
1083
e80d6f94
MM
10842012-04-05 Michael Matz <matz@suse.de>
1085
1086 [BZ #13592]
1087 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1088
349fa79f
AJ
10892012-04-05 Andreas Jaeger <aj@suse.de>
1090
1091 [BZ #13908]
1092 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1093 comment.
1094
f402708f
KK
10952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1096
1097 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1098 which ROUND is no valid rounding mode.
1099
2ecccfc9
KK
11002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1101
1102 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1103 read again.
1104 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1105
8a53f50f
KK
11062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1107
1108 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1109 an exception using FPU order intentionally.
1110
11112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1112
1113 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1114 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1115 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1116 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1117
d653abb7
SJ
11182012-04-05 Simon Josefsson <simon@josefsson.org>
1119
1120 [BZ #12340]
1121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1122 EINVAL when BUFLEN is too smal.
1123
c3b1bf7d
TS
11242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1125
1126 [BZ #13553]
1127 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1128 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1129
b1aa60f3
AJ
11302012-04-03 Andreas Jaeger <aj@suse.de>
1131
c3b1bf7d 1132 [BZ #13938]
67f60a26
AJ
1133 * manual/setjmp.texi (System V contexts): Fix sentence.
1134
b1aa60f3
AJ
1135 [BZ #13926]
1136 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1137 New macro for this case.
1138 [!__GNUC__] (__bswap_64): New inline function for this case.
1139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1140 * bits/byteswap.h: Likewise.
1141 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1142 ull, guard with __GLIBC_HAVE_LONG_LONG.
1143
1144 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1145 __GLIBC_HAVE_LONG_LONG.
1146
1147 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1148 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1149
39c59c35
TMQMF
11502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1151
1152 [BZ #13691]
1153 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1154 inptr and inend, rather than using last_ch.
1155
135ffda8
DM
11562012-04-02 David S. Miller <davem@davemloft.net>
1157
1158 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1159 * stdio-common/printf-parse.h (read_int): Change return type to
1160 'int', return -1 on INT_MAX overflow.
1161 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1162 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1163 overflows INT_MAX. Check for overflow of in-format-string precision
1164 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1165 SIZE_MAX not INT_MAX for integer overflow test.
1166 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1167 skip the construct in the format string but do not record anything.
1168 * stdio-common/bug22.c: Adjust to test both width/prevision
1169 INT_MAX overflow as well as total length INT_MAX overflow. Check
1170 explicitly for proper errno values.
1171
228c019e
TS
11722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1173
302cadd3
TS
1174 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1175 CHAR_MAX.
1176 * string/test-strcmp.c [! WIDE]: Likewise.
1177 * time/tst-mktime2.c: Likewise for INT_MAX.
1178 * string/test-string.h: #include <sys/param.h> for MIN.
1179
228c019e
TS
1180 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1181 * sysdeps/i386/init-first.c (init): Likewise.
1182 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1183 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1184 * sysdeps/sh/init-first.c (init): Likewise.
1185
cfa633f5
UD
11862012-04-01 Ulrich Drepper <drepper@gmail.com>
1187
1188 * po/ru.po: Update from translation team.
d1635ef8 1189 * po/vi.po: Likewise.
cfa633f5 1190
6cd0a5ea
SP
11912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1192
1193 * resolv/nss_dns/dns-host.c: Merge copyright years.
1194
4b43400f
LD
11952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1196
1197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1198 Optimize memcpy with prefetch if
1199 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1200 src, dst pointers have unequal 16 byte alignments.
1201
48c41d04
SP
12022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1203
1204 [BZ #13928]
1205 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1206 from a CNAME entry and return the minimum ttl for the query.
1207 (gaih_getanswer_slice): Likewise.
1208
b8dc394d
JL
12092012-03-30 Jeff Law <law@redhat.com>
1210
1211 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1212 due to long keys.
1213 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1214 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1215
2f5a5ed0
JL
1216 * resolv/nss_dns/dns-host.c: Update copyright year.
1217
1d39e359
UD
12182012-03-30 Ulrich Drepper <drepper@gmail.com>
1219
c030f70c 1220 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1221 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1222
1d39e359
UD
1223 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1224 comments for sendmmsg.
1225
12262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1227
1228 [BZ #13691]
1229 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1230 with only 1 character between 0x0041 and 0x01b0.
1231 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1232 * wcsmbs/tst-mbsnrtowcs.c: New file.
1233
20fde227
DM
12342012-03-29 David S. Miller <davem@davemloft.net>
1235
1236 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1237 small copies by hand.
1238
984a4237
JL
12392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1240
1241 [BZ #13761]
1242 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1243 _nss_compat_initgroups_dyn): Fall back to malloc/free
1244 for large group memberships.
1245
18c9d62b
DM
12462012-03-28 David S. Miller <davem@davemloft.net>
1247
88d85d4f
DM
1248 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1249 that branches into memcpy.
1250 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1253 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1254 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1255 bits.
1256 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1257 implementation too.
1258 * sysdeps/sparc/mempcpy.S: New file.
1259
e5aa83e1
DM
1260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1261 the IFUNC routine in the libc case.
1262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1263
88570753
DM
1264 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1267 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1268 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1269 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1270 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1271 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1272
249d7567
DM
1273 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1274 loop to 256 bytes instead of 64 bytes and fix test signedness.
1275
18c9d62b
DM
1276 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1277 * sysdeps/sparc/sparc32/Makefile: rather than here...
1278 * sysdeps/sparc/sparc64/Makefile: and here.
1279
05f3d1f6
UD
12802012-03-28 Ulrich Drepper <drepper@gmail.com>
1281
1282 * malloc/mallocbug.c: Avoid warnings about unused variables.
1283
86ae07a8
JL
12842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1285
1286 [BZ #13760]
1287 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1288 in the right place. Discard and retry query if response is
1289 larger than input buffer size.
1290
41bf21a1
JM
12912012-03-28 Joseph Myers <joseph@codesourcery.com>
1292
d6270972
JM
1293 [BZ #369]
1294 [BZ #2678]
1295 [BZ #3866]
1296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1297 x for large integer exponent.
1298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1299 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1300 sign of result as needed afterwards.
1301 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1302 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1303 result for underflowing pow the same as for overflow.
1304 (__kernel_standard_l): Handle powl overflow and underflow here
1305 rather than calling __kernel_standard.
1306 * math/libm-test.inc (pow_test): Add more tests.
1307
414fca03 1308 [BZ #3868]
41bf21a1
JM
1309 [BZ #13879]
1310 [BZ #13910]
1311 [BZ #13911]
1312 [BZ #13912]
1313 [BZ #13913]
1314 [BZ #13915]
1315 [BZ #13916]
1316 [BZ #13917]
1317 [BZ #13918]
1318 [BZ #13919]
1319 [BZ #13920]
1320 [BZ #13921]
1321 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1322 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1323 (__kernel_standard_l): New function.
1324 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1325 __kernel_standard.
1326 * math/w_acosl.c (__acosl): Likewise.
1327 * math/w_asinl.c (__asinl): Likewise.
1328 * math/w_atan2l.c (__atan2l): Likewise.
1329 * math/w_atanhl.c (__atanhl): Likewise.
1330 * math/w_coshl.c (__coshl): Likewise.
1331 * math/w_exp10l.c (__exp10l): Likewise.
1332 * math/w_exp2l.c (__exp2l): Likewise.
1333 * math/w_fmodl.c (__fmodl): Likewise.
1334 * math/w_hypotl.c (__hypotl): Likewise.
1335 * math/w_j0l.c (__j0l, __y0l): Likewise.
1336 * math/w_j1l.c (__j1l, __y1l): Likewise.
1337 * math/w_jnl.c (__jnl, __ynl): Likewise.
1338 * math/w_lgammal.c (__lgammal): Likewise.
1339 * math/w_log10l.c (__log10l): Likewise.
1340 * math/w_log2l.c (__log2l): Likewise.
1341 * math/w_logl.c (__logl): Likewise.
1342 * math/w_powl.c (__powl): Likewise.
1343 * math/w_remainderl.c (__remainderl): Likewise.
1344 * math/w_scalbl.c (sysv_scalbl): Likewise.
1345 * math/w_sinhl.c (__sinhl): Likewise.
1346 * math/w_sqrtl.c (__sqrtl): Likewise.
1347 * math/w_tgammal.c (__tgammal): Likewise.
1348 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1349 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1350 * math/libm-test.inc (acos_test): Add more tests.
1351 (acosh_test): Likewise.
1352 (asin_test): Likewise.
1353 (atanh_test): Likewise.
1354 (exp_test): Likewise.
1355 (exp10_test): Likewise.
1356 (exp2_test): Likewise.
1357 (expm1_test): Likewise.
1358 (lgamma_test): Likewise.
1359 (log_test): Likewise.
1360 (log10_test): Likewise.
1361 (log1p_test): Likewise.
1362 (log2_test): Likewise.
1363 (pow_test): Do not allow some spurious overflow exceptions.
1364 (sqrt_test): Add more tests.
1365 (tgamma_test): Likewise.
1366 (y0_test): Likewise.
1367 (y1_test): Likewise.
1368 (yn_test): Likewise.
1369
dd62fda6
AB
13702012-03-27 Anton Blanchard <anton@samba.org>
1371
1372 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1373 MAP_HUGETLB.
1374 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1375 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1377
1e3cdfda
AJ
13782012-03-27 David S. Miller <davem@davemloft.net>
1379
b855ab85
DM
1380 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1381
1e3cdfda
AJ
1382 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1383 have-as-vis3 check.
1384
13852012-03-27 Andreas Jaeger <aj@suse.de>
1386
1387 * sysdeps/x86_64/elf/configure.in: Moved to ...
1388 * sysdeps/x86_64/configure.in: ... here.
1389 * sysdeps/x86_64/elf/start.S: Moved to ...
1390 * sysdeps/x86_64/start.S: ... here.
1391 * sysdeps/x86_64/elf/configure: Delete.
1392
1393 * sysdeps/x86_64/configure.in: Merge contents from
1394 sysdeps/i386/configure.in (without i686 check).
1395
1396 * sysdeps/i386/elf/Versions: Merge into ...
1397 * sysdeps/i386/Versions: ... this.
1398 * sysdeps/i386/elf/Versions: Delete file.
1399 * sysdeps/i386/elf/start.S: Moved to ...
1400 * sysdeps/i386/start.S: ...here.
1401 * sysdeps/i386/elf/configure.in: Merge into...
1402 * sysdeps/i386/configure.in: ...here.
1403 * sysdeps/i386/elf/configure.in: Delete file.
1404 * sysdeps/i386/elf/configure: Delete file.
1405
1406 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1407 * debug/backtracesyms.c: ... here.
1408 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1409 * debug/backtracesymsfd.c: ... here.
1410 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1411 * sysdeps/generic/ifunc-sel.h: ... here.
1412
1413 * sysdeps/unix/i386/start.c: Delete file.
1414 * sysdeps/unix/sparc/start.c: Delete file.
1415 * sysdeps/unix/start.c: Delete file.
1416
1417 * sysdeps/sh/elf/configure.in: Moved to ...
1418 * sysdeps/sh/configure.in: ... here.
1419 * sysdeps/sh/elf/start.S: Moved to ...
1420 * sysdeps/sh/start.S: ... here.
1421 * sysdeps/sh/elf/configure: Delete file.
1422
1423 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1424 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1425 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1426 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1427 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1428 * sysdeps/powerpc/powerpc64/start.S: here.
1429 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1430 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1431 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1432 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1433 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1434
1435 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1436 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1437 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1438 * sysdeps/powerpc/powerpc32/start.S: ... here.
1439 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1440 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1441 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1442
1443 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1444 * sysdeps/powerpc/ifunc-sel.h: ... here.
1445 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1446 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1447
1448 * sysdeps/sparc/elf/configure.in: Moved to ...
1449 * sysdeps/sparc/configure.in: ... here.
1450 * sysdeps/sparc/elf/configure: Delete file.
1451 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1452 * sysdeps/sparc/sparc32/start.S: ... here.
1453 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1454 * sysdeps/sparc/sparc64/start.S: ... here.
1455 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1456 * sysdeps/sparc/sparc32/Makefile: ... this.
1457 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1458 * sysdeps/sparc/sparc64/Makefile: ... this.
1459
1460 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1461 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1462 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1463 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1464 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1465 * sysdeps/s390/s390-32/setjmp.S: ... here.
1466 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1467 * sysdeps/s390/s390-32/configure.in: ... here.
1468 * sysdeps/s390/s390-32/elf/configure: Delete file.
1469 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1470 * sysdeps/s390/s390-32/start.S: ... here.
1471
1472 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1473 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1474 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1475 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1476 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1477 * sysdeps/s390/s390-64/setjmp.S: ... here.
1478 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1479 * sysdeps/s390/s390-64/configure.in: ... here
1480 * sysdeps/s390/s390-64/elf/configure: Delete file.
1481 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1482 * sysdeps/s390/s390-64/start.S: ... here.
1483 * sysdeps/s390/s390-64/elf/configure: Delete.
1484
1485 * configure.in: Remove support for elf directories in sysdeps.
1486
1487 * configure: Regenerated.
1488 * sysdeps/i386/configure: Regenerated.
1489 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1490 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1491 * sysdeps/s390/s390-32/configure: Regenerated.
1492 * sysdeps/s390/s390-64/configure: Regenerated.
1493 * sysdeps/sh/configure: Regenerated.
1494 * sysdeps/sparc/configure: Regenerated.
1495 * sysdeps/x86_64/configure: Regenerated.
1496
a3f61311
AS
14972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1498
c876e002
AS
1499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1500
a3f61311
AS
1501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1502 denormal result into account.
1503
ac4c54f0
RM
15042012-03-25 Roland McGrath <roland@hack.frob.com>
1505
1506 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1507 Reported by Allan McRae <allan@archlinux.org>.
1508
6a9b9c02
JL
15092012-03-23 Jeff Law <law@redhat.com>
1510
1511 * nss/getnssent.c (__nss_getent): Fix typo.
1512
4c42a0c1
DM
15132012-03-23 David S. Miller <davem@davemloft.net>
1514
1515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1516
1532c7ac
L
15172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1520 to pad to uint64_t for each field.
1521 (dl_tls_index): Replace unsigned long with uint64_t.
1522
3ff42526
PP
15232012-03-23 Daniel Jacobowitz <dmj@google.com>
1524 Paul Pluzhnikov <ppluzhnikov@google.com>
1525
1526 [BZ #6528]
1527 * grp/Makefile (otherlibs): Don't set it.
1528 * inet/Makefile (otherlibs): Likewise.
1529 * login/Makefile (otherlibs): Likewise.
1530 * nscd/Makefile (otherlibs): Likewise.
1531 * posix/Makefile (otherlibs): Likewise.
1532 * pwd/Makefile (otherlibs): Likewise.
1533 * rt/Makefile (otherlibs): Likewise.
1534 * sunrpc/Makefile (otherlibs): Likewise.
1535 * nss/Makefile (otherlibs): Likewise.
1536 Add libnss_files to routines and static-only-routines.
1537 ($(objpfx)getent): Remove rule.
1538 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1539 static-only-routines.
1540
7c69cd14
JM
15412012-03-22 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #13892]
1544 * math/s_cexp.c: Include <float.h>.
1545 (__cexp): Handle exp result overflowing not necessarily
1546 overflowing both real and imaginary parts of result.
1547 * math/s_cexpf.c: Likewise.
1548 * math/s_cexpl.c: Likewise.
1549 * math/libm-test.inc (cexp_test): Add more tests.
1550 * sysdeps/i386/fpu/libm-test-ulps: Update.
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552
81b035fe
L
15532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1554
1555 * include/link.h (ELFW): New macro.
1556 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1557 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1558
1da7940c
L
15592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1562 with uint64_t.
1563
b749dbb9
L
15642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1567 declaration.
1568 (struct La_x32_retval): Likewise.
1569
2ff87f3f
L
15702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 * sysdeps/x86_64/preconfigure.in: New file.
1573 * sysdeps/x86_64/preconfigure: New generated file.
1574
c0df8e69
JM
15752012-03-22 Joseph Myers <joseph@codesourcery.com>
1576
48e44791
JM
1577 [BZ #13824]
1578 * math/e_exp2l.c: Include <float.h>.
1579 (__ieee754_exp2l): Handle overflow and underflow cases
1580 separately. Only pass fractional part of argument to
1581 __ieee754_expl.
1582 * math/libm-test.inc (exp2_test): Add more tests.
1583
c0df8e69
JM
1584 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1585 negating x to take absolute value.
1586 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1587 Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1590 Likewise.
1591 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1592 computing low part if x was negated.
1593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1594
c8e43ba7
L
15952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1598 la_x32_gnu_pltexit.
1599 (pltexit): Cast int_retval to ptrdiff_t.
1600 * elf/tst-auditmod3b.c: Likewise.
1601 * elf/tst-auditmod4b.c: Likewise.
1602 * elf/tst-auditmod5b.c: Likewise.
1603 * elf/tst-auditmod6b.c: Likewise.
1604 * elf/tst-auditmod6c.c: Likewise.
1605 * elf/tst-auditmod7b.c: Likewise.
1606
1607 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1608 and x32_gnu_pltexit.
1609
1610 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1611 __ELF_NATIVE_CLASS.
1612 (La_x32_regs): New macro.
1613 (La_x32_retval): Likewise.
1614 (la_x32_gnu_pltenter): New function prototype.
1615 (la_x32_gnu_pltexit): Likewise.
1616
7998fa78
AS
16172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1618
dcb33988
AS
1619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1620 exponent.
1621
233fc563
AS
1622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1623
7998fa78
AS
1624 * configure.in (libc_cv_cc_nofma): Check for option to disable
1625 generation of FMA instructions.
1626 * configure: Regenerate.
1627 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1628 * sysdeps/ieee754/dbl-64/Makefile: New file.
1629 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1630 Remove brandred-fma4.
1631 (CFLAGS-brandred-fma4.c): Remove.
1632 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1633 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1634 define.
1635 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1636 define.
1637
8e95c99a
L
16382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1641 LLONG_MAX != LONG_MAX.
1642 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1643 (_fitoa_word): Likewise.
1644 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1645 LLONG_MAX != LONG_MAX.
1646 * stdio-common/_itowa.h: Include <_itoa.h>.
1647 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1648 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1649 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1650 only if not defined.
1651 (_ITOA_WORD_TYPE): Likewise.
1652 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1653 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1654
6f4db457
DM
16552012-03-21 David S. Miller <davem@davemloft.net>
1656
1657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1658
7785fe5a
L
16592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1662 of x86_64 when setting libc_cv_slibdir, libdir and
1663 libc_cv_localedir.
1664 * sysdeps/unix/sysv/linux/configure: Regenerated.
1665
4535cd55
JM
16662012-03-21 Joseph Myers <joseph@codesourcery.com>
1667
1668 * manual/lang.texi (Old Varargs): Remove section.
1669 (How Variadic): Update menu.
1670 (va_start): Do not mention varargs.h.
1671
17228132
TS
16722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1673 Joseph Myers <joseph@codesourcery.com>
1674
1675 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1676 link test.
1677 * configure: Regenerated.
1678
8149f976
TS
16792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1680
05f3d1f6
UD
1681 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1682 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1683 conformtest.pl
8149f976 1684
1a4ac776
JM
16852012-03-21 Joseph Myers <joseph@codesourcery.com>
1686
be22ce65
JM
1687 * NOTES: Remove.
1688 * Makefile (files-for-dist): Remove NOTES.
1689 (NOTES): Remove rule.
1690 * README: Don't refer to NOTES.
1691 * manual/creature.texi: Don't include macros.texi.
1692 * manual/intro.texi (creature.texi): Remove comment referring to
1693 NOTES.
1694
40b601fb
JM
1695 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1696 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1697 * configure: Regenerated.
1698 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1699 LIBC_TRY_CC_OPTION.
1700 (libc_cv_as_i686): Likewise.
1701 (libc_cv_cc_avx): Likewise.
1702 (libc_cv_cc_sse2avx): Likewise.
1703 (libc_cv_cc_fma4): Likewise.
1704 (libc_cv_cc_novzeroupper): Likewise.
1705 * sysdeps/i386/configure: Regenerated.
1706
1a4ac776
JM
1707 [BZ #13883]
1708 * sysdeps/i386/fpu/s_cexp.S: Remove.
1709 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1711 * math/libm-test.inc (cexp_test): Add more tests.
1712 * sysdeps/i386/fpu/libm-test-ulps: Update.
1713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714
a458e7fe
AM
17152012-03-21 Allan McRae <allan@archlinux.org>
1716
1717 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1718
0cb7efc5
JM
17192012-03-21 Joseph Myers <joseph@codesourcery.com>
1720
1721 [BZ #13871]
1722 * math/w_exp2.c: Do not include <float.h>.
1723 (o_threshold, u_threshold): Remove.
1724 (__exp2): Calculate result before checking finiteness and calling
1725 __kernel_standard.
1726 * math/w_exp2f.c: Likewise.
1727 * math/w_exp2l.c: Likewise.
1728 * math/libm-test.inc (exp2_test): Require overflow exception for
1729 1e6 input.
2460d3aa
JM
1730
1731 [BZ #3866]
1732 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1733 range of signed 64-bit integers before using fistpll. Remove
1734 checks for whether integers fit in mantissa bits.
1735 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1736 the range of signed 32-bit integers before using fistpl. Remove
1737 checks for whether integers fit in mantissa bits.
1738 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1739 (__ieee754_powl): Test for y outside the range of signed 64-bit
1740 integers before using fistpll. Reduce 64-bit values to 63-bit
1741 ones as needed.
1742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1743 divide-by-zero is raised for zero to large negative powers.
1744 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1745 (__ieee754_powl): Test for y outside the range of signed 64-bit
1746 integers before using fistpll. Reduce 64-bit values to 63-bit
1747 ones as needed.
1748 * math/libm-test.inc (pow_test): Add more tests.
1749
eb96ffb0
L
17502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1753 <stdio-common/_itoa.h>.
1754 * debug/segfault.c: Likewise.
1755 * elf/dl-cache.c: Likewise.
1756 * elf/dl-minimal.c: Likewise.
1757 * elf/dl-misc.c: Likewise.
1758 * elf/dl-sysdep.c: Likewise.
1759 * elf/dl-version.c: Likewise.
1760 * elf/rtld.c: Likewise.
1761 * hurd/hurdsock.c: Likewise.
1762 * hurd/lookup-retry.c: Likewise.
1763 * malloc/malloc.c: Likewise.
1764 * malloc/mtrace.c: Likewise.
1765 * nscd/nscd_getgr_r.c: Likewise.
1766 * nscd/nscd_getpw_r.c: Likewise.
1767 * nscd/nscd_getserv_r.c: Likewise.
1768 * posix/getopt_init.c: Likewise.
1769 * posix/wordexp.c: Likewise.
1770 * stdio-common/_itoa.c: Likewise.
1771 * stdio-common/printf_fphex.c: Likewise.
1772 * stdio-common/vfprintf.c: Likewise.
1773 * string/_strerror.c: Likewise.
1774 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1775 * sysdeps/i386/i686/hp-timing.h: Likewise.
1776 * sysdeps/mach/_strerror.c: Likewise.
1777 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1778 * sysdeps/mach/hurd/sethostid.c: Likewise.
1779 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1780 * sysdeps/mach/xpg-strerror.c: Likewise.
1781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1783 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1784 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1785 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1786 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1787 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1788 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1789 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1790 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1791 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1792 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1793 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1794 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1795 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1799 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1800 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1801 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1802
1803 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1804
1805 * stdio-common/_itoa.h: Moved to ...
1806 * sysdeps/generic/_itoa.h: Here.
1807
1808 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1809
1810 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1811 instead of "_itoa.h" and "_itowa.h".
1812 * stdio-common/vfprintf.: Likewise.
1813
d1af992d
L
18142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1817 <bits/wordsize.h>.
1818 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1819 (__signbit): Likwise.
1820 (llrintf): Likwise.
1821 (llrint): Likwise.
1822
114883e0
L
18232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1824
1825 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1826 __WORDSIZE != 64.
1827
c135cc1b
JM
18282012-03-20 Joseph Myers <joseph@codesourcery.com>
1829
1830 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1831 OVERFLOW_EXCEPTION_OK.
1832 * math/libm-test.inc ("Philosophy"): Update comment about
1833 exception testing.
1834 (OVERFLOW_EXCEPTION): Define.
1835 (OVERFLOW_EXCEPTION_OK): Likewise.
1836 (INVALID_EXCEPTION_OK): Renumber.
1837 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1838 (IGNORE_ZERO_INF_SIGN): Likewise.
1839 (test_exceptions): Handle FE_OVERFLOW.
1840 (exp10_test): Expect overflow exceptions.
1841 (exp2_test): Likewise.
1842 (expm1_test): Likewise.
1843 (nextafter_test): Likewise.
1844 (pow_test): Likewise.
1845 (scalbn_test): Likewise.
1846 (scalbln_test): Likewise.
1847
95443d88
L
18482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 * sysdeps/x86_64/bits/atomic.h
1851 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1852 64bit integer.
1853 (atomic_exchange_acq): Likewise.
1854 (__arch_exchange_and_add_body): Likewise.
1855 (__arch_add_body): Likewise.
1856 (atomic_add_negative): Likewise.
1857 (atomic_add_zero): Likewise.
1858
490df6c4
L
18592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1860
c2722551 1861 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1862 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1863
5e52b189
L
18642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1867 Check __x86_64__ instead of __WORDSIZE.
1868
a9879d4c
L
18692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1872
5df98260
DM
18732012-03-19 David S. Miller <davem@davemloft.net>
1874
e1497744
DM
1875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1876
5df98260
DM
1877 * sysdeps/sparc/fpu/fenv_private.h: New file.
1878 * sysdeps/sparc/fpu/math_private.h: Use it.
1879 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1880 Remove.
1881 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1882 (libc_feholdexcept_setroundl): Remove.
1883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1884 Remove.
1885 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1886 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1887
b4c35121
L
18882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1891 int64_t instead of long int.
1892 (INSERT_WORDS64): Likwise.
1893
56965fd7
L
18942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1895
1896 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1897 _Unwind_GetCFA return to _Unwind_Ptr first.
1898
83d1aec8
JM
18992012-03-19 Joseph Myers <joseph@codesourcery.com>
1900
1897ad44
JM
1901 [BZ #13629]
1902 * math/s_clog.c: Include <float.h>.
1903 (__clog): Scale large or subnormal inputs.
1904 * math/s_clogf.c: Likewise.
1905 * math/s_clogl.c: Likewise.
1906 * math/s_clog10.c: Include <float.h>.
1907 (M_LOG10_2): Define.
1908 (__clog10): Scale large or subnormal inputs.
1909 * math/s_clog10f.c: Likewise.
1910 * math/s_clog10l.c: Likewise.
1911 * math/libm-test.inc (clog_test): Add more tests.
1912 (clog10_test): Likewise.
1913 * sysdeps/i386/fpu/libm-test-ulps: Update.
1914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915
7726d6a9
JM
1916 [BZ #11451]
1917 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1918 x and y.
1919 * math/libm-test.inc (atan2_test): Add another test.
1920
83d1aec8
JM
1921 * Makerules (common-objdir-compile): Remove.
1922 * sysdeps/unix/Makefile (config-generated): Do not add
1923 $(unix-generated) to variable.
1924 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1925 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1926 Remove rule.
1927 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1928 Likewise.
1929 [generic bits/local_lim.h] (before-compile): Do not append to
1930 variable.
1931 [generic bits/local_lim.h] (common-generated): Likewise.
1932 [generic sys/param.h] (before-compile): Do not append to variable.
1933 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1934 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1935 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1936 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1937 include.
1938 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1939 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1940 [generic sys/param.h] ($(addprefix
1941 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1942 [generic sys/param.h] (common-generated): Do not append to
1943 variable.
1944 [generic sys/param.h] (sysdep_headers): Likewise.
1945 [generic bits/errno.h] (before-compile): Do not append to
1946 variable.
1947 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1948 rule.
1949 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1950 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1951 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1952 [generic bits/errno.h] (common-generated): Do not append to
1953 variable.
1954 [generic bits/ioctls.h] (before-compile): Do not append to
1955 variable.
1956 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1957 rule.
1958 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1959 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1960 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1961 rule.
1962 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1963 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1964 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1965 [generic bits/ioctls.h] (common-generated): Do not append to
1966 variable.
1967 [generic sys/syscall.h] (syscall.h): Remove variable.
1968 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1969 rule.
1970 [generic sys/syscall.h] (before-compile): Do not append to
1971 variable.
1972 [generic sys/syscall.h] (common-generated): Likewise.
1973 * sysdeps/unix/errnos-tmpl.c: Remove file.
1974 * sysdeps/unix/errnos.awk: Likewise.
1975 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1976 * sysdeps/unix/ioctls.awk: Likewise.
1977 * sysdeps/unix/mk-local_lim.c: Likewise.
1978 * sysdeps/unix/snarf-ioctls: Likewise.
1979
4851a949
RH
19802012-03-19 Richard Henderson <rth@twiddle.net>
1981
bd37f2ee
RH
1982 * sysdeps/i386/fpu/fenv_private.h: New file.
1983 * sysdeps/i386/fpu/math_private.h: Use it.
1984 (math_opt_barrier, math_force_eval): Remove.
1985 (libc_feholdexcept_setround_53bit): Remove.
1986 (libc_feupdateenv_53bit): Remove.
1987 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1988 (math_opt_barrier, math_force_eval): Remove.
1989 (libc_feholdexcept): Remove.
1990 (libc_feholdexcept_setround): Remove.
1991 (libc_fetestexcept, libc_fesetenv): Remove.
1992 (libc_feupdateenv_test): Remove.
1993 (libc_feupdateenv, libc_feholdsetround): Remove.
1994 (libc_feresetround): Remove.
1995
d0adc922
RH
1996 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1997 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1998
0fe0f1f8
RH
1999 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2000 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2001 (libc_feupdateenv_testl): New.
2002 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2003 (libc_feupdateenv_testf): New.
2004 (libc_feupdateenv): Use libc_feupdateenv_test.
2005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2007
eb92c487
RH
2008 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2009 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2010 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2011 (libc_feresetround_noex): New.
2012 (libc_feresetround_noexf): New.
2013 (libc_feresetround_noexl): New.
2014 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2015 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2016 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2017 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2018 SET_RESTORE_ROUND.
2019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2021 (__cos): Likewise.
2022 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2024 SET_RESTORE_ROUND_NOEX.
2025 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2026 SET_RESTORE_ROUND_NOEXF.
2027 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2028 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2029 (libc_feholdsetroundf): New.
2030 (libc_feresetround, libc_feresetroundf): New.
2031
7d2e8012
RH
2032 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2033 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2034 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2035
b4dabbb4
RH
2036 * sysdeps/generic/math_private.h: Include <fenv.h>.
2037 (default_libc_feholdexcept): New.
2038 (default_libc_feholdexcept_setround): New.
2039 (default_libc_fesetenv, default_libc_feupdateenv): New.
2040 (libc_feholdexcept): Only define if undefined.
2041 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2042 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2043 (libc_feholdexcept_setroundl): Likewise.
2044 (libc_feholdexcept_setround_53bit): Likewise.
2045 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2046 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2047 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2048 (libc_feupdateenv_53bit): Likewise.
2049 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2050 (libc_feholdexcept): Convert from macro to inline function.
2051 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2052 (libc_fesetenv, libc_feupdateenv): Likewise.
2053
4851a949
RH
2054 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2055 not previously defined.
2056 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2057 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2058 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2059 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2060 * sysdeps/ieee754/flt-32/math_private.h: New file.
2061 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2062 math_private.h below SET_FLOAT_WORD.
2063 (__isnan, __isinf_ns, __finite): Remove.
2064 (__isnanf, __isinf_nsf, __finitef): Remove.
2065
e79d442e
AS
20662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2069
90b80344
DM
20702012-03-17 David S. Miller <davem@davemloft.net>
2071
2072 [BZ #6471]
2073 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2074 for 2.16.
2075
edc21804
DM
20762012-03-16 David S. Miller <davem@davemloft.net>
2077
77e927af
DM
2078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2079 warnings.
2080
374976dd
DM
2081 [BZ #6471]
2082 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2083 properly.
2084 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2085 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2086 sysdep_routines when subdir is sysvipc.
2087 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2088 __getshmlba helper.
2089
edc21804
DM
2090 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2091
473c3ef3
L
20922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2095 [__LP64__].
2096
eb0f39b6
L
20972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2100 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2101 (__lround): Renamed to ...
2102 (__llround): This. Replace long int with long long int.
2103 Define lround functions as aliases of llround functions.
2104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2105
6b6cd74b
L
21062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2109 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2110 adresses to uintptr_t. Replace "long int" and "unsigned long
2111 int" with "greg_t" on va_arg.
2112
f1a77b01
L
21132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2116 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2117
2118 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2119 Move e_machine check before EI_CLASS check. Handle x32
2120 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2121 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2122 SKIP_EM_IA_64 and include
2123 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2124
2125 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2126 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2127 (add_system_dir): New macro.
2128
2129 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2130 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2131
11b90b9f
JM
21322012-03-16 Joseph Myers <joseph@codesourcery.com>
2133
c36e1d23
JM
2134 [BZ #2551]
2135 [BZ #2552]
2136 [BZ #2553]
2137 [BZ #2554]
2138 [BZ #2562]
2139 [BZ #2563]
2140 [BZ #2565]
2141 [BZ #2566]
2142 [BZ #2576]
2143 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2144 (y0): Likewise.
2145 * math/w_j0f.c (j0f): Likewise.
2146 (y0f): Likewise.
2147 * math/w_j0l.c (__j0l): Likewise.
2148 (__y0l): Likewise.
2149 * math/w_j1.c (j1): Likewise.
2150 (y1): Likewise.
2151 * math/w_j1f.c (j1f): Likewise.
2152 (y1f): Likewise.
2153 * math/w_j1l.c (__j1l): Likewise.
2154 (__y1l): Likewise.
2155 * math/w_jn.c (jn): Likewise.
2156 (yn): Likewise.
2157 * math/w_jnf.c (jnf): Likewise.
2158 (ynf): Likewise.
2159 * math/w_jnl.c (__jnl): Likewise.
2160 (__ynl): Likewise.
2161 * math/libm-test.inc (j0_test): Add more tests.
2162 (j1_test): Likewise.
2163 (jn_test): Likewise. Add trailing semicolon to existing test.
2164 (y0_test): Likewise.
2165 (y1_test): Likewise.
2166 * sysdeps/i386/fpu/libm-test-ulps: Update.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2168
11b90b9f
JM
2169 [BZ #13851]
2170 [BZ #13854]
2171 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2172 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2173 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2174 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2175 (__tanl): Set errno for infinite argument.
2176 * sysdeps/i386/fpu/mptan.c: Remove.
2177 * sysdeps/i386/fpu/s_tan.S: Likewise.
2178 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2179 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2180 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2181 * math/libm-test.inc (tan_test): Add more tests and enable more
2182 tests for double and long double.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185
6a1bd2a1
JK
21862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2187
2188 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2189 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2190
10a803e0
RM
21912012-03-16 Roland McGrath <roland@hack.frob.com>
2192
2193 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2194 * configure.in: Use it for both main tree and add-ons.
2195 * configure: Regenerated.
2196
f196c7f7
L
21972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2200
8848d99d
JM
22012012-03-16 Joseph Myers <joseph@codesourcery.com>
2202
96cbe7f4
JM
2203 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2204 in comment.
2205
8848d99d
JM
2206 [BZ #13851]
2207 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2208 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2212 infinite argument.
2213 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2215 != 0 for prec == 2.
2216 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2217 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2218 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2219 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2220 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2221 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2222 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2223 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2224 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2225 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2226 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2227 * math/libm-test.inc (cos_test): Add more tests and enable more
2228 tests for long double.
2229 (sin_test): Likewise.
2230 (sincos_test): Likewise.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2233
dd7f4703
DM
22342012-03-16 David S. Miller <davem@davemloft.net>
2235
2236 * sysdeps/sparc/fpu/math_private.h: New file.
2237
006f1daa
DM
22382012-03-15 David S. Miller <davem@davemloft.net>
2239
c0c83bc8
DM
2240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2241 file.
e6a62e18 2242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2244 file.
e6a62e18
DM
2245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2251 sysdep routines.
2252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2253
88cb87d9
DM
2254 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2255 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2256
006f1daa 2257 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2259 sparc-ifunc.h
006f1daa 2260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2262 Likewise.
2263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2264 Likewise.
006f1daa
DM
2265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2269 Likewise.
006f1daa
DM
2270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2275 Likewise.
2276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2277 Likewise.
006f1daa
DM
2278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2302
11e0098e
AS
23032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2304
2305 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2306 scaling.
2307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2308
e85b09d0
AJ
23092012-03-15 Andreas Jaeger <aj@suse.de>
2310
2311 [BZ #13852]
2312 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2313 ieee754/flt-32 implementation for sin, cos and sincos.
2314 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2315 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2316 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2317 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2318 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2319 ieee754/flt-32 implementation for tan.
2320
2321 * math/libm-test.inc (cos_test): Enable some large input tests for
2322 float as well
2323 (sin_test): Likewise.
2324 (sincos_test): Likewise.
2325 (tan_test): Add tests for large input.
2326
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328
81c64153
AJ
23292012-03-15 Andreas Jaeger <aj@suse.de>
2330
2331 [BZ #13658]
2332 * math/libm-test.inc (cos_test): Add more test cases.
2333 (sin_test): Likewise.
2334 (sincos_test): Likewise.
2335
7bbfa5c6
AJ
23362012-03-15 Andreas Jaeger <aj@suse.de>
2337
2338 [BZ #13837]
2339 * math/libm-test.inc (cos_test): Add a test case for large input
2340 value.
2341 (sin_test): Likewise.
2342 (sincos_test): Likewise.
2343
23442012-03-15 Andreas Jaeger <aj@suse.de>,
2345 Joseph Myers <joseph@codesourcery.com>
2346
2347 [BZ #13658]
0671f479 2348 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2349 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2350 * sysdeps/i386/fpu/branred.c: Likewise.
2351 * sysdeps/i386/fpu/dosincos.c: Likewise.
2352 * sysdeps/i386/fpu/mpa.c: Likewise.
2353 * sysdeps/i386/fpu/s_cos.S: Likewise.
2354 * sysdeps/i386/fpu/s_sin.S: Likewise.
2355 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2356 * sysdeps/i386/fpu/sincos32.c: Likewise.
2357
2358 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2359 Define.
2360 (libc_feupdateenv_53bit): Define.
2361 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2362 Define.
2363 (libc_feupdateenv_53bit): Define.
2364
2365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2366 53 bit (without extend i386 double precision).
2367
2368 * math/libm-test.inc (sincos_test): Add tests for large input.
2369 (sin): Likewise.
2370 (cos): Likewise.
2371
2372 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2373
9cad04ea
AS
23742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2375
2376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2377
f7062b9a
DM
23782012-03-15 David S. Miller <davem@davemloft.net>
2379
2380 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2381 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2382 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2383 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2396 file.
f7062b9a 2397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2399 file.
f7062b9a 2400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2402 file.
f7062b9a 2403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2405 file.
f7062b9a
DM
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2408 fmin/fmax sysdep routines.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2410
7bd951ff
DM
24112012-03-14 David S. Miller <davem@davemloft.net>
2412
559398ab
DM
2413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2442 routines.
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2444 file.
559398ab 2445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2447 file.
559398ab 2448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2450 file.
559398ab 2451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2453 file.
559398ab 2454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2456 file.
559398ab 2457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2459 file.
2460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2461 file.
2462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2463 file.
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2465 file.
2466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2467 New file.
2468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2469 file.
2470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2471 file.
559398ab 2472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2474 file.
559398ab 2475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2477 file.
559398ab 2478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2480 file.
559398ab 2481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2483 VIS3 routines.
559398ab
DM
2484
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2486 New file.
2487
5a1c1e32
DM
2488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2489
eae47a36
DM
2490 * sysdeps/sparc/configure.in: New file.
2491 * sysdeps/sparc/configure: Generate.
2492 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2493 * configure: Regenerate.
2494 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2495 * config.make.in (have-as-vis3): New.
2496 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2497 available use -Av9d instead of -Av9a.
2498 * sysdeps/sparc/sparc64/Makefile: Likewise.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2501 New file.
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2503 file.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2505 New file.
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2507 file.
eae47a36
DM
2508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2513
c0c83bc8
DM
2514 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2515 fzeros/fnegs to load 0x80000000 into a float register instead of
2516 using the stack.
7bd951ff
DM
2517 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2518
bd951ccb
JM
25192012-03-14 Joseph Myers <joseph@codesourcery.com>
2520
2521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2522 bits/syscall.h.
2523 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2524 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2525 ($(inst_includedir)/bits/syscall.h): Remove rule.
2526 ($(objpfx)bits/syscall.d): Include instead of
2527 $(objpfx)syscall-list.d.
2528 (generated): Change syscall-list.h and syscall-list.d to
2529 bits/syscall.h and bits/syscall.d.
2530
bb4e6db2
RM
25312012-03-14 Roland McGrath <roland@hack.frob.com>
2532
2533 [BZ #13846]
2534 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2535
aa4a2ae1
JM
25362012-03-14 Joseph Myers <joseph@codesourcery.com>
2537
e456826d
JM
2538 [BZ #13841]
2539 * math/s_csqrt.c: Include <float.h>.
2540 (__csqrt): Scale large or subnormal inputs.
2541 * math/s_csqrtf.c: Likewise.
2542 * math/s_csqrtl.c: Likewise.
2543 * math/libm-test.inc (csqrt_test): Add more tests.
2544 * sysdeps/i386/fpu/libm-test-ulps: Update.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546
aa4a2ae1
JM
2547 [BZ #13840]
2548 * math/libm-test.inc (hypot_test): Add more tests.
2549
7c10fd35
DM
25502012-03-13 David S. Miller <davem@davemloft.net>
2551
2552 [BZ #13840]
2553 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2554 double-precision for the calculation instead of scaling.
2555
f453b98b
JM
25562012-03-13 Joseph Myers <joseph@codesourcery.com>
2557
2558 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2559 manipulate bits before adding and subtracting TWO52[sx].
2560 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2562 Likewise.
2563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2564
09a3453f
DM
25652012-03-13 David S. Miller <davem@davemloft.net>
2566
8e59da90
DM
2567 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2568 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2570 rtld-global-offsets.h
2571 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2572
2a8ab7f2
DM
2573 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2574 large parameters.
2575
10f62770
DM
2576 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2577
5f0bdb18
DM
2578 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2579 'err' in the ifdef scope in which it is actually used.
2580
09a3453f
DM
2581 * nss/nss_db/db-init.c: Include string.h
2582
b4b2eb5e
DM
25832012-03-12 David S. Miller <davem@davemloft.net>
2584
98bb2f1c
DM
2585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2586 masking out of the most significant byte of random value used.
2587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2588 Fix coding style in previous change.
2589
b4b2eb5e
DM
2590 * sysdeps/unix/sysv/linux/kernel-features.h
2591 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2592 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2593 expression.
2594 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2595 later.
2596
6e226b09
DM
25972012-03-11 David S. Miller <davem@davemloft.net>
2598
a1bcbd40
DM
2599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2600 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2602 for 'resultvar' otherwise things get truncated on 64-bit.
2603
cb9d6174
DM
2604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2605 Fix masking out of the most significant byte of random value used.
2606
6e226b09
DM
2607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2608
058c132d
AS
26092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2610
2611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2612
2d2cd515
DM
26132012-03-09 David S. Miller <davem@davemloft.net>
2614
2615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2616 variables with appropriate CPP guards.
2617 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2618 frame pointer, not the stack pointer. Correct layout comments. Fix test
2619 on resulting framesize and the management of the outregs buffer for pltexit.
2620 Preserve floating point return values across _dl_call_pltexit call.
2621 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2622 framesize and the management of the outregs buffer for pltexit.
2623 Preserve floating point return values across _dl_call_pltexit
2624 call.
2625 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2626 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2627 (print_exit): Fix format string for return register value.
2628
9a07f9d0
JM
26292012-03-10 Joseph Myers <joseph@codesourcery.com>
2630
2631 * sunrpc/Makefile (others): Add rpcgen.
2632 ($(objpfx)rpcgen): Remove special build rule and dependency on
2633 libc.
2634 * sunrpc/rpcgen.c: New file.
2635
547b5e30
PE
26362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2637
c524201a
PE
2638 [BZ #13673]
2639 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2640 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2641 * sysdeps/i386/crti.S: Likewise.
2642 * sysdeps/i386/crtn.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2647 * sysdeps/sh/crti.S: Likewise.
2648 * sysdeps/sh/crtn.S: Likewise.
2649 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2650
7b6235f2
PE
2651 [BZ #13673]
2652 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2653 with URL.
2654 * locale/programs/locfile-kw.gperf: Likewise.
2655 * locale/programs/charmap-kw.h: Regenerated.
2656 * locale/programs/locfile-kw.h: Likewise.
2657
547b5e30
PE
2658 [BZ #13673]
2659 * intl/plural.y: Replace FSF snail mail address with URL.
2660 * intl/plural.c: Regenerated.
2661
5f0a5dae
RH
26622012-03-09 Richard Henderson <rth@twiddle.net>
2663
2664 * include/math_private.h: Remove file.
2665 * math/math_private.h: Move file ...
2666 * sysdeps/generic/math_private.h: ... here.
2667
b8c03620
RH
2668 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2669 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2670 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2671
4e234f5d 2672 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2673 and <math_private.h>.
2674 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2675 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2676 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2677 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2678 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2679 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2680 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2682 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2686 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2688 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2689 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2691 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2692 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2693 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2698 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2700 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2704 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2705 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2706 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2707 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2720 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2762 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2763 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2764 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2765 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2768 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2769 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2771 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2772 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2773 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2774 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2775 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2776 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2777 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2779 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2780 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2781 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2782 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2784 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2785 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2786 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2788 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2790 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2791 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2792 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2793 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2794 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2795 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2797 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2798 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2799 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2801 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2802 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2803 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2804 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2805 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2806 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2808 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2809 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2811 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2812 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2815 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2816 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2817 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2818 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2819 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2820 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2821 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2822 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2823 * sysdeps/ieee754/k_standard.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2939 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2950 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2963 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2973 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2974 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2975 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2984 * sysdeps/ieee754/s_lib_version.c: Likewise.
2985 * sysdeps/ieee754/s_matherr.c: Likewise.
2986 * sysdeps/ieee754/s_signgam.c: Likewise.
2987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2989 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2990 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2992 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2993 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2994 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2995 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2996 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2997 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2998 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2999 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3000 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3001 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3002 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3003 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3008
1991fa03
JM
30092012-03-09 Joseph Myers <joseph@codesourcery.com>
3010
3011 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3012 * sunrpc/rpc_main.c: Likewise.
3013 * sunrpc/rpc_svcout.c: Likewise.
3014
60d6f5a6
DM
30152012-03-09 David S. Miller <davem@davemloft.net>
3016
3017 * include/math_private.h: New file.
3018
4962050e
JM
30192012-03-09 Joseph Myers <joseph@codesourcery.com>
3020
02a6f887
JM
3021 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3022 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3023 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3024 from <bits/socket_type.h>.
3025 (enum __socket_type): Don't define here.
3026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3028 bits/socket_type.h.
3029
c6e013c1
JM
3030 [BZ #13566]
3031 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3032 checking __USE_GNU.
3033
4962050e
JM
3034 * Makerules ($(inst_includedir)/%.h): New rule.
3035 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3036 (install-others): Remove variable setting.
3037 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3038
38842f45
RH
30392012-03-08 Richard Henderson <rth@twiddle.net>
3040
67bb6da6
RH
3041 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3042 from macro to inline function; merge with the
3043 !__LIBC_INTERNAL_MATH_INLINES version.
3044 (__ieee754_sqrtf): Likewise.
3045
15194b4b
RH
3046 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3047 to inline function.
3048 (__rintf, __floor, __floorf): Likewise.
3049
64e21ede
RH
3050 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3051 macro to inline function.
3052 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3053
38842f45
RH
3054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3055 not <math/math_private.h>.
3056
c64bf5fe
DM
30572012-03-08 David S. Miller <davem@davemloft.net>
3058
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3060 copyright year.
3061 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3062
82d86f28
TS
30632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3064
3065 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3066 normalization.
3067 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3068 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3069
aea5d727
UD
30702012-03-08 Ulrich Drepper <drepper@gmail.com>
3071
3072 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3073 be defined individually, they must be defined as a block. Define
3074 S for printing a string instead of hidint the different by using a
3075 macro for adding the 'l'.
3076 * stdio-common/tst-fphex-wide.c: Adjust.
3077
70bca0a3
MP
30782012-03-07 Marek Polacek <polacek@redhat.com>
3079
3080 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3081
65b81130
MP
30822012-03-08 Marek Polacek <polacek@redhat.com>
3083
3084 [BZ #13806]
3085 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3086 * stdio-common/tst-fphex.c: Define a few macros to make the
3087 test reusable. Use them.
3088 * stdio-common/tst-fphex-wide.c: New file.
3089
07037eeb
JM
30902012-03-08 Joseph Myers <joseph@codesourcery.com>
3091
a7a93d50
JM
3092 [BZ #6911]
3093 * manual/macros.texi (gnusystems): New macro.
3094 (nongnusystems): Likewise.
3095 (gnulinuxhurdsystems): Likewise.
3096 (gnuhurdsystems): Likewise..
3097 (gnulinuxsystems): Likewise.
3098 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3099 variants of the GNU system, not "GNU system".
3100 * manual/conf.texi: Likewise.
3101 * manual/errno.texi: Likewise. Update example of errno macro
3102 expansion.
3103 * manual/filesys.texi: Likewise.
3104 (getumask): Document as specific to GNU/Hurd.
3105 * manual/install.texi: Likewise. Reword some references to
3106 GNU/Linux.
3107 * manual/intro.texi: Likewise.
3108 * manual/io.texi: Likewise.
3109 (File Name Portability): Detail which constraints are inapplicable
3110 to all GNU systems and which are only inapplicable to GNU/Hurd.
3111 * manual/job.texi: Likewise.
3112 * manual/llio.texi: Likewise.
3113 (O_NOCTTY): Document as present on GNU/Linux.
3114 * manual/maint.texi: Likewise.
3115 * manual/memory.texi: Likewise.
3116 * manual/pattern.texi: Likewise.
3117 * manual/pipe.texi: Likewise.
3118 * manual/process.texi: Likewise.
3119 * manual/resource.texi: Likewise.
3120 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3121 child on GNU/Hurd.
3122 * manual/setjmp.texi: Likewise.
3123 * manual/signal.texi: Likewise.
3124 * manual/startup.texi: Likewise.
3125 * manual/stdio.texi: Likewise.
3126 * manual/terminal.texi: Likewise.
3127 (ONLCR): Document as POSIX.
3128 (OXTABS): Document availability on GNU/Linux as XTABS.
3129 (ONOEOT): Document availability separately from other bits.
3130 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3131 * manual/time.texi: Likewise.
3132 * manual/users.texi: Likewise.
3133 * INSTALL: Regenerated.
3134 * sysdeps/gnu/errlist.c: Regenerated.
3135
07037eeb
JM
3136 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3137 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3138 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3139 puts.
3140 * configure: Regenerated.
3141
d1d3431a
JM
31422012-03-07 Joseph Myers <joseph@codesourcery.com>
3143
af6a1e37
JM
3144 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3145 default includes instead of AC_HEADER_CHECK.
3146 * sysdeps/i386/configure: Regenerated.
3147
d1d3431a
JM
3148 [BZ #10716]
3149 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3150 * math/s_cacoshf.c (__cacoshf): Likewise.
3151 * math/s_cacoshl.c (__cacoshl): Likewise.
3152 * math/s_casinh.c (__casinh): Set signs of result from argument.
3153 * math/s_casinhf.c (__casinhf): Likewise.
3154 * math/s_casinhl.c (__casinhl): Likewise.
3155 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3156 (casinh_test): Add more tests.
3157 * sysdeps/i386/fpu/libm-test-ulps: Update.
3158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3159
482ff4da
UD
31602012-03-07 Ulrich Drepper <drepper@gmail.com>
3161
872fda05
UD
3162 * po/zh_TW.po: Update from translation team.
3163
a4300c7a
UD
3164 * login/Makefile (distribute): Remove variable.
3165 * catgets/Makefile: Likewise.
3166 * mach/Makefile: Likewise.
3167 * malloc/Makefile: Likewise.
3168 * misc/Makefile: Likewise.
3169 * iconv/Makefile: Likewise.
3170 * nscd/Makefile: Likewise.
3171 * hurd/Makefile: Likewise.
3172 * manual/Makefile: Likewise.
3173 * locale/Makefile: Likewise.
3174 * intl/Makefile: Likewise.
3175 * conform/Makefile: Likewise.
3176 * nss/Makefile: Likewise.
3177 * time/Makefile: Likewise.
3178 * soft-fp/Makefile: Likewise.
3179 * dirent/Makefile: Likewise.
3180 * gmon/Makefile: Likewise.
3181 * po/Makefile: Likewise.
3182 * rt/Makefile: Likewise.
3183 * socket/Makefile: Likewise.
3184 * math/Makefile: Likewise.
3185 * signal/Makefile: Likewise.
3186 * debug/Makefile: Likewise.
3187 * elf/Makefile: Likewise.
3188 * timezone/Makefile: Likewise.
3189 * stdlib/Makefile: Likewise.
3190 * iconvdata/Makefile: Likewise.
3191 * sunrpc/Makefile: Likewise.
3192 * io/Makefile: Likewise.
3193 * argp/Makefile: Likewise.
3194 * inet/Makefile: Likewise.
3195 * hesiod/Makefile: Likewise.
3196 * grp/Makefile: Likewise.
3197 * csu/Makefile: Likewise.
3198 * wctype/Makefile: Likewise.
3199 * crypt/Makefile: Likewise.
3200 * libio/Makefile: Likewise.
3201 * string/Makefile: Likewise.
3202 * nis/Makefile: Likewise.
3203 * resolv/Makefile: Likewise.
3204 * stdio-common/Makefile: Likewise.
3205 * wcsmbs/Makefile: Likewise.
3206 * dlfcn/Makefile: Likewise.
3207 * posix/Makefile: Likewise.
3208
482ff4da
UD
3209 * timezone/Makefile: Don't install timezone files, just the programs
3210 and scripts.
3211
f72ed77d
UD
32122012-03-06 Ulrich Drepper <drepper@gmail.com>
3213
a000466f
UD
3214 * nss/databases.def: Add missing gshadow entry.
3215
f72ed77d
UD
3216 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3217
a53b7a4e
MP
32182012-03-06 Marek Polacek <polacek@redhat.com>
3219
3220 [BZ #13726]
3221 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3222 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3223 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3224 * stdio-common/tst-long-dbl-fphex.c: New file.
3225
e9258400
DM
32262012-03-06 David S. Miller <davem@davemloft.net>
3227
3228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3229 (set_obp_int): New function.
3230 (get_obp_int): New function.
3231 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3232 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3233 Avoid unused variable warnings on 'val' and use builtin_expect.
3234 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3235 __builtin_expect.
e9258400
DM
3236 (INLINE_CLONE_SYSCALL): Likewise.
3237
3bd2c723
DM
32382012-03-05 David S. Miller <davem@davemloft.net>
3239
3240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3241
bbb78d03
AS
32422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3243
884c5db4
AS
3244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3245
bbb78d03
AS
3246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3247 only for |x| >= 40.
3248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3249
1c9f702a 32502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3251
3252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3253 Replace gettimeofday with __vdso_gettimeofday.
3254
7be16f82
RM
3255 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3256 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3257 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3258
3259 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3260 time with __vdso_time.
3261
ed58a00f
JM
32622012-03-05 Joseph Myers <joseph@codesourcery.com>
3263
3264 * manual/lang.texi (size_t): Note types to which size_t may be
3265 equivalent with the GNU C Library, but do not describe when
3266 differences between them are significant.
3267
30ee4ced
AJ
32682012-03-05 Andreas Jaeger <aj@suse.de>
3269
3270 * sysdeps/i386/fpu/libm-test-ulps: Update.
3271
b7cd39e8
JM
32722012-03-05 Joseph Myers <joseph@codesourcery.com>
3273
3274 [BZ #3976]
3275 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3276 (__ieee754_pow): Save and restore rounding mode and use
3277 round-to-nearest for main computations.
3278 * math/libm-test.inc (pow_test_tonearest): New function.
3279 (pow_test_towardzero): Likewise.
3280 (pow_test_downward): Likewise.
3281 (pow_test_upward): Likewise.
3282 (main): Call the new functions.
3283 * sysdeps/i386/fpu/libm-test-ulps: Update.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3285
3286 [BZ #3976]
3287 * math/libm-test.inc (cosh_test_tonearest): New function.
3288 (cosh_test_towardzero): Likewise.
3289 (cosh_test_downward): Likewise.
3290 (cosh_test_upward): Likewise.
3291 (sinh_test_tonearest): Likewise.
3292 (sinh_test_towardzero): Likewise.
3293 (sinh_test_downward): Likewise.
3294 (sinh_test_upward): Likewise.
3295 (main): Call the new functions.
3296 * sysdeps/i386/fpu/libm-test-ulps: Update.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3298
6c6a98c9
TV
32992012-03-05 Tom de Vries <tom@codesourcery.com>
3300
3301 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3302 default stack guard is set in last bytes.
3303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3304
21bb2d2e 33052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3306
21bb2d2e 3307 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3308
21bb2d2e
AJ
3309 [BZ #13656]
3310 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3311 possibly allocate from heap instead of stack.
3312 * stdio-common/bug-vfprintf-nargs.c: New file.
3313 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3314
c6922934
AS
33152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3318
bc957d53
MP
33192012-03-03 Marek Polacek <polacek@redhat.com>
3320
3321 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3322 * math/math_private.h: Likewise.
3323 * stdlib/tst-strtod.c: Likewise.
3324 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3325 * sysdeps/x86_64/bits/atomic.h: Likewise.
3326
6358490d
DM
33272012-03-02 David S. Miller <davem@davemloft.net>
3328
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3333 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3334 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3335 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3336 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3337
01ae168d
RM
33382012-03-02 Roland McGrath <roland@hack.frob.com>
3339
d9a17c07
RM
3340 [BZ #13792]
3341 * manual/examples/README: New file, says the example source files
3342 can be used under GPL>=2.
3343 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3344 line containing just "*/".
3345 * manual/examples/add.c: Add copyright header (GPL>=2).
3346 * manual/examples/argp-ex1.c: Likewise.
3347 * manual/examples/argp-ex2.c: Likewise.
3348 * manual/examples/argp-ex3.c: Likewise.
3349 * manual/examples/argp-ex4.c: Likewise.
3350 * manual/examples/atexit.c: Likewise.
3351 * manual/examples/db.c: Likewise.
3352 * manual/examples/dir.c: Likewise.
3353 * manual/examples/dir2.c: Likewise.
3354 * manual/examples/execinfo.c: Likewise.
3355 * manual/examples/filecli.c: Likewise.
3356 * manual/examples/filesrv.c: Likewise.
3357 * manual/examples/fmtmsgexpl.c: Likewise.
3358 * manual/examples/genpass.c: Likewise.
3359 * manual/examples/inetcli.c: Likewise.
3360 * manual/examples/inetsrv.c: Likewise.
3361 * manual/examples/isockad.c: Likewise.
3362 * manual/examples/longopt.c: Likewise.
3363 * manual/examples/memopen.c: Likewise.
3364 * manual/examples/memstrm.c: Likewise.
3365 * manual/examples/mkfsock.c: Likewise.
3366 * manual/examples/mkisock.c: Likewise.
3367 * manual/examples/mygetpass.c: Likewise.
3368 * manual/examples/pipe.c: Likewise.
3369 * manual/examples/popen.c: Likewise.
3370 * manual/examples/rprintf.c: Likewise.
3371 * manual/examples/search.c: Likewise.
3372 * manual/examples/select.c: Likewise.
3373 * manual/examples/setjmp.c: Likewise.
3374 * manual/examples/sigh1.c: Likewise.
3375 * manual/examples/sigusr.c: Likewise.
3376 * manual/examples/stpcpy.c: Likewise.
3377 * manual/examples/strdupa.c: Likewise.
3378 * manual/examples/strftim.c: Likewise.
3379 * manual/examples/strncat.c: Likewise.
3380 * manual/examples/subopt.c: Likewise.
3381 * manual/examples/swapcontext.c: Likewise.
3382 * manual/examples/termios.c: Likewise.
3383 * manual/examples/testopt.c: Likewise.
3384 * manual/examples/testpass.c: Likewise.
3385 * manual/examples/timeval_subtract.c: Likewise.
3386
01ae168d
RM
3387 [BZ #13792]
3388 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3389 function to ...
3390 * manual/timeval_subtract.c.texi: ... here, new file.
3391
49efa33d
DM
33922012-03-02 David S. Miller <davem@davemloft.net>
3393
3394 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3395
28afd92d
JM
33962012-03-02 Joseph Myers <joseph@codesourcery.com>
3397
804360ed
JM
3398 [BZ #3976]
3399 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3400 (__sin): Save and restore rounding mode and use round-to-nearest
3401 for all computations.
3402 (__cos): Save and restore rounding mode and use round-to-nearest
3403 for all computations.
3404 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3405 <fenv.h>.
3406 (tan): Save and restore rounding mode and use round-to-nearest for
3407 all computations.
3408 * math/libm-test.inc (cos_test_tonearest): New function.
3409 (cos_test_towardzero): Likewise.
3410 (cos_test_downward): Likewise.
3411 (cos_test_upward): Likewise.
3412 (sin_test_tonearest): Likewise.
3413 (sin_test_towardzero): Likewise.
3414 (sin_test_downward): Likewise.
3415 (sin_test_upward): Likewise.
3416 (tan_test_tonearest): Likewise.
3417 (tan_test_towardzero): Likewise.
3418 (tan_test_downward): Likewise.
3419 (tan_test_upward): Likewise.
3420 (main): Call the new functions.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3423
a6d06d7b
JM
3424 [BZ #10135]
3425 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3426 small n, then large n, before computing and testing k+n.
3427 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3429 Likewise.
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3431 Likewise.
3432 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3433 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3439 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3440 * math/libm-test.inc (scalbn_test): Add more tests.
3441 (scalbln_test): Likewise.
3442
07e12bb3
JM
3443 * manual/filesys.texi (mode_t): Describe constraints on size and
3444 signedness, not exact equivalence to a particular type.
3445 (ino_t): Likewise.
3446 (ino64_t): Likewise.
3447 (dev_t): Likewise.
3448 (nlink_t): Likewise.
3449 (blkcnt_t): Likewise.
3450 (blkcnt64_t): Likewise.
3451 * manual/llio.texi (off_t): Likewise.
3452
28afd92d
JM
3453 [BZ #3976]
3454 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3455 (__ieee754_exp): Save and restore rounding mode and use
3456 round-to-nearest for all computations.
3457 * math/libm-test.inc (exp_test_tonearest): New function.
3458 (exp_test_towardzero): Likewise.
3459 (exp_test_downward): Likewise.
3460 (exp_test_upward): Likewise.
3461 (main): Call the new functions.
3462 * sysdeps/i386/fpu/libm-test-ulps: Update.
3463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3464
b1eeb65d
CD
34652012-03-01 Chris Demetriou <cgd@google.com>
3466
3467 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3468 have predictable order.
3469
53362a4b
DM
34702012-03-01 David S. Miller <davem@davemloft.net>
3471
3c969083
DM
3472 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3473
759707de
DM
3474 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3475 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3476 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3478
dfdb8ff2
DM
3479 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3480 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3481 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3483 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3484 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3486 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3487 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3488
ead89f96
DM
3489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3490
7f66bd07
DM
3491 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3492 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3494
53362a4b
DM
3495 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3496 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3497 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3498 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3499 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3502 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3503 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3504 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3505 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3511 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3512 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3513 * sysdeps/sparc/elf/configure: Regenerated.
3514
7b1902cb
JM
35152012-03-01 Joseph Myers <joseph@codesourcery.com>
3516
bec039bc
JM
3517 * configure.in (AS, LD): Require binutils 2.20 or later.
3518 * configure: Regenerated.
3519 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3520 as required minimum version.
3521 * INSTALL: Regenerated.
3522
7b1902cb
JM
3523 [BZ #2541]
3524 [BZ #4108]
3525 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3526 before squaring exponent.
3527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3528 bottom long double and 27 bits of top long double before squaring
3529 exponent.
3530 * math/libm-test.inc (erfc_test): Add more tests.
3531 * sysdeps/i386/fpu/libm-test-ulps: Update.
3532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3534
f775c276
KT
35352012-03-01 Kai Tietz <ktietz@redhat.com>
3536
3537 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3538 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3539 containing bit-fields.
3540 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3541 * soft-fp/single.h (_FP_UNION_S): Likewise.
3542 * soft-fp/double.h (_FP_UNION_D): Likewise.
3543
5b8a4d4a
JM
35442012-02-29 Joseph Myers <joseph@codesourcery.com>
3545
0bab47b6
JM
3546 [BZ #13786]
3547 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3548 not include ../strcmp.S.
3549 [USE_AS_STRNCASECMP_L]: Likewise.
3550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3551 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3552 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3553 (__strncasecmp_l_ia32): Define as alias to
3554 __strncasecmp_l_nonascii.
3555
0fcad3e2
JM
3556 [BZ #5794]
3557 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3560
5b8a4d4a
JM
3561 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563
8fdceb2e
JL
35642012-02-29 Jeff Law <law@redhat.com>
3565
3566 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3567 out of bounds read.
3568
1f393a11
MP
35692012-02-29 Marek Polacek <polacek@redhat.com>
3570
3571 [BZ #13706]
3572 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3573 * elf/Makefile: Add rules to run tst-unused-dep.out.
3574
8847f037
DM
35752012-02-28 David S. Miller <davem@davemloft.net>
3576
3577 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3578 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3581 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3582 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3583
169d7f11
JM
35842012-02-29 Joseph Myers <joseph@codesourcery.com>
3585
3586 * math/libm-test.inc (llround_test): Move one test from
3587 lround_test. Use TEST_f_L in moved test.
3588 (lround_test): Move misplaced test to llround_test. Add testcase
3589 from bug 2561.
3590
39adf059
UD
35912012-02-28 Ulrich Drepper <drepper@gmail.com>
3592
3593 * sysdeps/x86_64/fpu/e_expf.S: New file.
3594 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3595
71b5d1c5
SB
35962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3597
3598 [BZ #13637]
3599 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3600 of remain_len that may cause incomplete multi-byte character and
3601 false match.
3602 * posix/bug-regex33.c: New file.
3603 * posix/Makefile (tests): Add bug-regex33.
3604
1f77f049
JM
36052012-02-28 Joseph Myers <joseph@codesourcery.com>
3606
3607 * manual/macros.texi: New file.
3608 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3609 * manual/libc.texinfo: Include macros.texi.
3610 * manual/creatute.texi: Likewise.
3611 * manual/install.texi: Likewise.
3612 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3613 @glibcadj{} in references to the GNU C Library.
3614 * manual/charset.texi: Likewise.
3615 * manual/conf.texi: Likewise.
3616 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3617 when not using those macros.
3618 * manual/creature.texi: Likewise.
3619 * manual/crypt.texi: Likewise.
3620 * manual/errno.texi: Likewise.
3621 * manual/filesys.texi: Likewise.
3622 * manual/header.texi: Likewise.
3623 * manual/install.texi: Likewise.
3624 * manual/intro.texi: Likewise.
3625 * manual/io.texi: Likewise.
3626 * manual/job.texi: Likewise.
3627 * manual/lang.texi: Likewise.
3628 * manual/libc.texiinfo: Likewise.
3629 * manual/llio.texi: Likewise.
3630 * manual/locale.texi: Likewise.
3631 * manual/maint.texi: Likewise.
3632 * manual/math.texi: Likewise.
3633 * manual/memory.texi: Likewise.
3634 * manual/message.texi: Likewise.
3635 * manual/nss.texi: Likewise.
3636 * manual/pattern.texi: Likewise.
3637 * manual/process.texi: Likewise.
3638 * manual/resource.texi: Likewise.
3639 * manual/search.texi: Likewise.
3640 * manual/setjmp.texi: Likewise.
3641 * manual/signal.texi: Likewise.
3642 * manual/socket.texi: Likewise.
3643 * manual/startup.texi: Likewise.
3644 * manual/stdio.texi: Likewise.
3645 * manual/string.texi: Likewise.
3646 * manual/sysinfo.texi: Likewise.
3647 * manual/syslog.texi: Likewise.
3648 * manual/terminal.texi: Likewise.
3649 * manual/time.texi: Likewise.
3650 * manual/users.texi: Likewise.
3651 * INSTALL: Regenerated.
3652 * NOTES: Regenerated.
d40c5d54 3653 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3654
450bf206
AS
36552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3656
3657 * include/dirent.h: Include <dirstream.h> before
3658 <dirent/dirent.h>.
3659
741a235b
DM
36602012-02-28 David S. Miller <davem@davemloft.net>
3661
3662 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3663 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3666
d6b5aa58
DM
36672012-02-27 David S. Miller <davem@davemloft.net>
3668
1aff59a3
DM
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3672 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3673
d6b5aa58
DM
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3675 frame pointer instead of stack pointer relative arg slot.
3676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3677 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3678 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3679
433f48bf
CD
36802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3681
3682 [BZ #3992]
3683 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3684
d674b76d
DM
36852012-02-27 David S. Miller <davem@davemloft.net>
3686
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3691 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3692 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3693 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3694 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3695
0e7727f7
JM
36962012-02-27 Joseph Myers <joseph@codesourcery.com>
3697
3698 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3699 later. Allow versions 5-9.
43be4ca2 3700 * configure: Regenerated.
0e7727f7
JM
3701 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3702 required minimum version and 4.6 as recommended version. Do not
3703 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3704 * INSTALL: Regenerated.
0e7727f7 3705
a78bc654
DM
37062012-02-27 David S. Miller <davem@davemloft.net>
3707
428d5830
DM
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3714 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3715 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3716
a78bc654
DM
3717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3718 manipulate bits before adding and subtracting TWO112[sx].
3719 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3720
4579f81c
RM
37212012-02-27 Roland McGrath <roland@hack.frob.com>
3722
36c8acb4
RM
3723 [BZ #13775]
3724 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3725 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3726 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3727 being in POSIX, because they are in 1003.1-2008.
3728
84ad622b
RM
3729 * rt/tst-aio.c: Include <fcntl.h>.
3730 * rt/tst-aio7.c: Likewise.
3731 * rt/tst-aio64.c: Likewise.
3732
4579f81c
RM
3733 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3734
abd923db
JM
37352012-02-27 Joseph Myers <joseph@codesourcery.com>
3736
3737 * manual/install.texi (--with-headers): Describe headers as
3738 interface headers, not private headers.
3739 (Specific advice for GNU/Linux systems): Describe use of headers
3740 from "make headers_install", not private headers from older
3741 kernels.
43be4ca2 3742 * INSTALL: Regenerated.
abd923db
JM
3743 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3744 Change to 2.6.19.
3745 * sysdeps/unix/sysv/linux/configure: Regenerated.
3746
6664049b
JM
3747 * manual/llio.texi (fclean): Remove documentation.
3748
bb8b6697
JM
3749 * manual/Makefile (libc-texi-generated): New variable. Include
3750 version.texi.
3751 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3752 $(libc-texi-generated), not duplicated list of files.
3753 (version.texi, stamp-version): New rules.
3754 (realclean): Remove $(libc-texi-generated), not individual files
3755 from that list. Do not remove dir-add.texinfo.
3756 * manual/libc.texinfo: Comment out uses of edition numbers and
3757 references to printed manual. Remove last-updated dates.
3758 (EDITION): Comment out.
3759 (ISBN): Likewise.
3760 (VERSION, UPDATED): Remove.
3761 (version.texi): Include.
3762
12e5c3b9
AS
37632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3764
3765 * sysdeps/posix/spawni.c: Include <signal.h>.
3766 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3767 * sysdeps/pthread/aio_fsync.c: Likewise.
3768
4efeffc1 37692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3770
ba63ba08
UD
3771 * conform/Makefile (tests): Run only when not cross-compiling and
3772 when fast-check is not defined.
3773
d94a4670
UD
3774 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3775 * conform/data/limits.h-data: Fixes for POSIX2008.
3776 * conform/run-conformtest.sh: Run all tests.
3777 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3778 headers.
3779 * include/bits/dlfcn.h: Likewise.
3780 * include/langinfo.h: Likewise.
3781 * include/monetary.h: Likewise.
3782 * include/sys/poll.h: Likewise.
3783
3784 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3785 for __USE_GNU.
3786 * posix/spawn.h: Define __need_sigset_t.
3787 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3788 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3789 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3790 to get sigevent_t only.
3791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3792 only for __USE_GNU.
3793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3794 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3795 process_vm_writev only for __USE_GNU.
3796 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3797
3798 * conform/Makefile: For now ignore errors from run-conformtest.
3799 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3800 POSIX to avoid namespace pollution. Don't prepend headers.
3801 * conform/data/aio.h-data: Fixes for POSIX testing.
3802 * conform/data/fcntl.h-data: Likewise.
3803 * conform/data/glob.h-data: Likewise.
3804 * conform/data/grp.h-data: Likewise.
3805 * conform/data/pthread.h-data: Likewise.
3806 * conform/data/pwd.h-data: Likewise.
3807 * conform/data/signal.h-data: Likewise.
3808 * conform/data/spawn.h-data: Likewise.
3809 * conform/data/stdio.h-data: Likewise.
3810 * conform/data/stdlib.h-data: Likewise.
3811 * conform/data/stropts.h-data: Likewise.
3812 * conform/data/sys/mman.h-data: Likewise.
3813 * conform/data/sys/stat.h-data: Likewise.
3814 * conform/data/sys/types.h-data: Likewise.
3815 * conform/data/sys/wait.h-data: Likewise.
3816 * conform/data/time.h-data: Likewise.
3817 * conform/data/unistd.h-data: Likewise.
3818 * conform/data/utime.h-data: Likewise.
3819
3820 * io/sys/stat.h: fchmod was always in POSIX.
3821 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3822 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3823 * rt/aio.h: Define __need_timespec before including <time.h>.
3824 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3825 struct. Add forward declaration of pthread_attr_t and use it in
3826 sigevent.
3827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3829 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3830 always remove CLK_TCK definition.
3831
c20105c3
AS
38322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3833
3834 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3835
7a270350
UD
38362012-02-25 Ulrich Drepper <drepper@gmail.com>
3837
31341567
UD
3838 * conform/run-conformtest.sh: New file.
3839 * conform/Makefile: Run run-conformtest for tests.
3840 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3841 support.
3842
3843 * conform/data/uchar.h-data: New file.
3844 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3845 * conform/data/arpa/inet.h-data: Likewise.
3846 * conform/data/assert.h-data: Likewise.
3847 * conform/data/complex.h-data: Likewise.
3848 * conform/data/cpio.h-data: Likewise.
3849 * conform/data/ctype.h-data: Likewise.
3850 * conform/data/dirent.h-data: Likewise.
3851 * conform/data/dlfcn.h-data: Likewise.
3852 * conform/data/errno.h-data: Likewise.
3853 * conform/data/fcntl.h-data: Likewise.
3854 * conform/data/float.h-data: Likewise.
3855 * conform/data/fmtmsg.h-data: Likewise.
3856 * conform/data/fnmatch.h-data: Likewise.
3857 * conform/data/ftw.h-data: Likewise.
3858 * conform/data/glob.h-data: Likewise.
3859 * conform/data/grp.h-data: Likewise.
3860 * conform/data/iconv.h-data: Likewise.
3861 * conform/data/inttypes.h-data: Likewise.
3862 * conform/data/langinfo.h-data: Likewise.
3863 * conform/data/libgen.h-data: Likewise.
3864 * conform/data/limits.h-data: Likewise.
3865 * conform/data/locale.h-data: Likewise.
3866 * conform/data/math.h-data: Likewise.
3867 * conform/data/monetary.h-data: Likewise.
3868 * conform/data/mqueue.h-data: Likewise.
3869 * conform/data/ndbm.h-data: Likewise.
3870 * conform/data/net/if.h-data: Likewise.
3871 * conform/data/netdb.h-data: Likewise.
3872 * conform/data/netinet/in.h-data: Likewise.
3873 * conform/data/nl_types.h-data: Likewise.
3874 * conform/data/poll.h-data: Likewise.
3875 * conform/data/pthread.h-data: Likewise.
3876 * conform/data/pwd.h-data: Likewise.
3877 * conform/data/regex.h-data: Likewise.
3878 * conform/data/sched.h-data: Likewise.
3879 * conform/data/search.h-data: Likewise.
3880 * conform/data/semaphore.h-data: Likewise.
3881 * conform/data/setjmp.h-data: Likewise.
3882 * conform/data/signal.h-data: Likewise.
3883 * conform/data/spawn.h-data: Likewise.
3884 * conform/data/stdarg.h-data: Likewise.
3885 * conform/data/stdio.h-data: Likewise.
3886 * conform/data/stdlib.h-data: Likewise.
3887 * conform/data/string.h-data: Likewise.
3888 * conform/data/strings.h-data: Likewise.
3889 * conform/data/stropts.h-data: Likewise.
3890 * conform/data/sys/ipc.h-data: Likewise.
3891 * conform/data/sys/mman.h-data: Likewise.
3892 * conform/data/sys/msg.h-data: Likewise.
3893 * conform/data/sys/resource.h-data: Likewise.
3894 * conform/data/sys/select.h-data: Likewise.
3895 * conform/data/sys/sem.h-data: Likewise.
3896 * conform/data/sys/shm.h-data: Likewise.
3897 * conform/data/sys/socket.h-data: Likewise.
3898 * conform/data/sys/stat.h-data: Likewise.
3899 * conform/data/sys/statvfs.h-data: Likewise.
3900 * conform/data/sys/time.h-data: Likewise.
3901 * conform/data/sys/timeb.h-data: Likewise.
3902 * conform/data/sys/times.h-data: Likewise.
3903 * conform/data/sys/types.h-data: Likewise.
3904 * conform/data/sys/uio.h-data: Likewise.
3905 * conform/data/sys/un.h-data: Likewise.
3906 * conform/data/sys/utsname.h-data: Likewise.
3907 * conform/data/sys/wait.h-data: Likewise.
3908 * conform/data/syslog.h-data: Likewise.
3909 * conform/data/tar.h-data: Likewise.
3910 * conform/data/termios.h-data: Likewise.
3911 * conform/data/utime.h-data: Likewise.
3912 * conform/data/utmpx.h-data: Likewise.
3913 * conform/data/varargs.h-data: Likewise.
3914 * conform/data/wchar.h-data: Likewise.
3915 * conform/data/wctype.h-data: Likewise.
3916 * conform/data/wordexp.h-data: Likewise.
3917
3918 * include/stropts.h: New file.
3919 * include/uchar.h: New file.
3920 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3921 * include/assert.h: Likewise.
3922 * include/ctype.h: Likewise.
3923 * include/dirent.h: Likewise.
3924 * include/dlfcn.h: Likewise.
3925 * include/fcntl.h: Likewise.
3926 * include/fnmatch.h: Likewise.
3927 * include/glob.h: Likewise.
3928 * include/grp.h: Likewise.
3929 * include/libio.h: Likewise.
3930 * include/locale.h: Likewise.
3931 * include/math.h: Likewise.
3932 * include/net/if.h: Likewise.
3933 * include/netdb.h: Likewise.
3934 * include/netinet/in.h: Likewise.
3935 * include/pthread.h: Likewise.
3936 * include/pwd.h: Likewise.
3937 * include/regex.h: Likewise.
3938 * include/sched.h: Likewise.
3939 * include/search.h: Likewise.
3940 * include/setjmp.h: Likewise.
3941 * include/signal.h: Likewise.
3942 * include/stdio.h: Likewise.
3943 * include/stdlib.h: Likewise.
3944 * include/string.h: Likewise.
3945 * include/sys/cdefs.h: Likewise.
3946 * include/sys/mman.h: Likewise.
3947 * include/sys/msg.h: Likewise.
3948 * include/sys/resource.h: Likewise.
3949 * include/sys/select.h: Likewise.
3950 * include/sys/socket.h: Likewise.
3951 * include/sys/stat.h: Likewise.
3952 * include/sys/statvfs.h: Likewise.
3953 * include/sys/time.h: Likewise.
3954 * include/sys/times.h: Likewise.
3955 * include/sys/uio.h: Likewise.
3956 * include/sys/utsname.h: Likewise.
3957 * include/sys/wait.h: Likewise.
3958 * include/termios.h: Likewise.
3959 * include/time.h: Likewise.
3960 * include/ulimit.h: Likewise.
3961 * include/unistd.h: Likewise.
3962 * include/utime.h: Likewise.
3963 * include/wchar.h: Likewise.
3964 * include/wctype.h: Likewise.
3965 * include/wordexp.h: Likewise.
3966
3967 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3968
7a270350
UD
3969 * time/time.h: TIME_UTC must be a macro.
3970 Make timespec_get available for ISO C11 only as well.
3971
7724defc
UD
39722012-02-24 Ulrich Drepper <drepper@gmail.com>
3973
3974 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3975 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3976
6b1d1d46
JM
39772012-02-24 Joseph Myers <joseph@codesourcery.com>
3978
3979 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3980
0f8bbd69
JM
39812012-02-24 Joseph Myers <joseph@codesourcery.com>
3982
3983 * manual/texinfo.tex: Update to version 2012-01-19.16.
3984
66ab80bc
JM
39852012-02-24 Joseph Myers <joseph@codesourcery.com>
3986
3987 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3988
74981cc5
RM
39892012-02-24 Roland McGrath <roland@hack.frob.com>
3990
ee968201
RM
3991 [BZ #13738]
3992 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3993 * manual/fdl-1.3.texi: New file.
3994 * manual/fdl-1.1.texi: File removed.
3995
74981cc5
RM
3996 [BZ #13738]
3997 * manual/libc.texinfo (FDL_VERSION): New @set.
3998 Use it for mention of FDL in cover text.
3999 (Documentation License): Use it in @include file name.
4000
7bb764bc
JM
40012012-02-22 Joseph Myers <joseph@codesourcery.com>
4002 Roland McGrath <roland@hack.frob.com>
4003
4004 [BZ #5461]
4005 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4006 not LONG_LONG_MAX and LONG_LONG_MIN.
4007 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4008 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4009 name.
4010 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4011
6cbeae47
JM
40122012-02-22 Joseph Myers <joseph@codesourcery.com>
4013
4014 [BZ #2547]
4015 [BZ #11365]
4016 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4017 manipulate bits before adding and subtracting TWO23[sx].
4018 * math/libm-test.inc (nearbyint_test): Add more tests.
4019
fe45ce09
JM
40202012-02-22 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #2548]
4023 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4024 bits before adding and subtracting TWO23[sx].
4025 * math/libm-test.inc (rint_test): Add more tests.
4026 (rint_test_tonearest): Likewise.
4027 (rint_test_towardzero): Likewise.
4028 (rint_test_downward): Likewise.
4029 (rint_test_upward: Likewise.
4030
ff3b3d82
JM
40312012-02-22 Joseph Myers <joseph@codesourcery.com>
4032
4033 [BZ #10110]
4034 * include/stdc-predef.h: New file. Extracted from features.h.
4035 * include/features.h: Include stdc-predef.h.
4036 * Makefile (headers): Add stdc-predef.h.
4037 * CONFORMANCE (Compiler limitations): Update.
4038
ef0aab35
JM
40392012-02-22 Joseph Myers <joseph@codesourcery.com>
4040
4041 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4042
58639409
DM
40432012-02-21 David S. Miller <davem@davemloft.net>
4044
4045 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4046 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4047
c0e70b25
DM
40482012-02-20 David S. Miller <davem@davemloft.net>
4049
4050 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4051 using a normal save/restore sequence, rather than allocating a
4052 dummy stack frame just to store a frame pointer and restore.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4054
fb06851d
JM
40552012-02-21 Joseph Myers <joseph@codesourcery.com>
4056
4057 * manual/install.texi: Fix stray word in line-wrapped comment.
4058
7a8b71c3
DM
40592012-02-20 David S. Miller <davem@davemloft.net>
4060
d510c123
DM
4061 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4062 both binutils and gcc support GOTDATA.
4063
0722d7c2
DM
4064 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4065 "rd %pc" in the PIC register setup sequences.
4066
3d2b3019
DM
4067 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4068 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4069 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4070 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4071 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4076 (SYSCALL_ERROR_HANDLER): Likewise.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4080 (SYSCALL_ERROR_HANDLER): Likewise.
4081
c80098a9
DM
4082 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4083 (HAVE_GCC_GOTDATA): New.
4084 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4085 relocation support in both binutils and gcc.
4086 * sysdeps/sparc/elf/configure: Regenerate.
4087
3a2545a0
DM
4088 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4089 * sysdeps/sparc/sparc32/elf/configure: Delete.
4090 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4091 * sysdeps/sparc/sparc64/elf/configure: Delete.
4092 * sysdeps/sparc/elf/configure.in: New file.
4093 * sysdeps/sparc/elf/configure: Generate.
4094
7a8b71c3
DM
4095 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4096 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4097 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4098 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4099 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4100
f1e86fca
JM
41012012-02-21 Joseph Myers <joseph@codesourcery.com>
4102
4103 * manual/install.texi: Do not mention specific glibc version
4104 numbers.
4105 * manual/libc.texinfo (VERSION, UPDATED): Update.
4106 (@copying): Use @copyright{} and range of years.
4107
0e7dfaef
JM
41082012-02-21 Joseph Myers <joseph@codesourcery.com>
4109
4110 [BZ #13695]
4111 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4112 [crti.S not in sysdirs] (generated): Do not append.
4113 [crti.S not in sysdirs] (omit-deps): Likewise.
4114 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4115 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4116 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4117 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4118 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4119 Likewise.
4120 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4121 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4122 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4123 * csu/defs.awk: Remove file.
4124 * sysdeps/generic/initfini.c: Likewise.
4125 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4126 variable.
4127 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4128 Likewise.
4129
599af3ca
JM
41302012-02-20 Joseph Myers <joseph@codesourcery.com>
4131
4132 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4133 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4134 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4136 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4137 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4138 <bits/epoll.h>.
4139 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4140 (__EPOLL_PACKED): Define to empty if not defined by
4141 <bits/epoll.h>.
4142 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4144 bits/epoll.h.
4145
0e499750
JM
41462012-02-20 Joseph Myers <joseph@codesourcery.com>
4147
4148 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4149 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4151 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4152 <bits/timerfd.h>.
4153 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4155 bits/timerfd.h.
4156
5ad91f6e
JM
41572012-02-20 Joseph Myers <joseph@codesourcery.com>
4158
4159 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4160 in C locale.
4161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4165
06b99b02
AJ
41662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4167
4168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4170
7638c0fd
AS
41712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4172
4173 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4174 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4175 defined.
4176 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4177 Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4179 entry for 2.16.
4180
92221550
AJ
41812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4182
4183 * math/w_acos.c: Use non-signaling floating-point comparisons.
4184 * math/w_acosf.c: Likewise.
4185 * math/w_acosh.c: Likewise.
4186 * math/w_acoshf.c: Likewise.
4187 * math/w_acoshl.c: Likewise.
4188 * math/w_acosl.c: Likewise.
4189 * math/w_asin.c: Likewise.
4190 * math/w_asinf.c: Likewise.
4191 * math/w_asinl.c: Likewise.
4192 * math/w_atanh.c: Likewise.
4193 * math/w_atanhf.c: Likewise.
4194 * math/w_atanhl.c: Likewise.
4195 * math/w_exp2.c: Likewise.
4196 * math/w_exp2f.c: Likewise.
4197 * math/w_exp2l.c: Likewise.
4198 * math/w_j0.c: Likewise.
4199 * math/w_j0f.c: Likewise.
4200 * math/w_j0l.c: Likewise.
4201 * math/w_j1.c: Likewise.
4202 * math/w_j1f.c: Likewise.
4203 * math/w_j1l.c: Likewise.
4204 * math/w_jn.c: Likewise.
4205 * math/w_jnf.c: Likewise.
4206 * math/w_log.c: Likewise.
4207 * math/w_log10.c: Likewise.
4208 * math/w_log10f.c: Likewise.
4209 * math/w_log10l.c: Likewise.
4210 * math/w_log2.c: Likewise.
4211 * math/w_log2f.c: Likewise.
4212 * math/w_log2l.c: Likewise.
4213 * math/w_logf.c: Likewise.
4214 * math/w_logl.c: Likewise.
4215 * math/w_sqrt.c: Likewise.
4216 * math/w_sqrtf.c: Likewise.
4217 * math/w_sqrtl.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4223
ebaf36eb
JM
42242012-02-19 Joseph Myers <joseph@codesourcery.com>
4225
4226 [BZ #9739]
4227 * manual/string.texi (strnlen): Use correct parameter name in
4228 equivalent expression.
4229
71c254a6
JM
42302012-02-19 Joseph Myers <joseph@codesourcery.com>
4231
4232 [BZ #11174]
4233 * manual/users.texi (seteuid): Consistently use neweuid for
4234 argument name.
4235
16d2c631
JM
42362012-02-19 Joseph Myers <joseph@codesourcery.com>
4237
4238 [BZ #13704]
4239 * manual/nss.texi (Services in the NSS configuration): Correct
4240 list of services in example configuration file.
4241
cd837b09
NB
42422012-02-19 Nick Bowler <nbowler@draconx.ca>
4243
4244 [BZ #11322]
4245 * manual/arith.texi: Remove statements about negative zero
4246 behaving identically to zero.
4247
02c4bbad
JM
42482012-02-18 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #5993]
4251 * manual/install.texi: Do not document upgrading from libc5.
4252
366842e7
JM
42532012-02-18 Joseph Myers <joseph@codesourcery.com>
4254
4255 [BZ #4596]
4256 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4257
dd54084d
DM
42582012-02-18 David S. Miller <davem@davemloft.net>
4259
4260 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4261 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4262 %o7 across the call.
4263 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4264 instead.
4265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4266 SETUP_PIC_REG_LEAF.
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4268 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4269 * sysdeps/sparc/crtn.S: Likewise.
4270
2bcc53a3
UD
42712012-02-17 Ulrich Drepper <drepper@gmail.com>
4272
4273 * aout/Makefile: Remove.
4274
09c093b5
RK
42752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4276
4277 [BZ #13058]
4278 * manual/examples/argp-ex1.c (main): Format definition in GNU
4279 style.
4280 * manual/examples/argp-ex2.c (main): Likewise.
4281 * manual/examples/argp-ex3.c (main): Likewise.
4282 * manual/examples/argp-ex4.c (main): Likewise.
4283 * manual/examples/longopt.c (main): Use new-style prototype
4284 definition.
4285 * manual/examples/strncat.c (main): Specify return type and use
4286 (void) for arguments.
4287 * manual/examples/subopt.c (main): Use char **argv argument.
4288
2ee633a2
JM
42892012-02-17 Joseph Myers <joseph@codesourcery.com>
4290
4291 [BZ #5077]
4292 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4293 rounding modes.
4294
0520adde
FB
42952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4296
4297 [BZ #6907]
4298 * manual/string.texi (strchr): Change when strchrnul is
4299 recommended.
4300
3f4081cd
DGM
43012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4302
4303 [BZ #174]
4304 * manual/locale.texi (setlocale): Document LOCPATH.
4305
d1b10e78
JM
43062012-02-17 Joseph Myers <joseph@codesourcery.com>
4307
4308 [BZ #10210]
4309 * manual/process.texi (execle): Move @dots{} before last argument.
4310
79c6869c
PB
43112012-02-17 Paul Bolle <pebolle@tiscali.nl>
4312
4313 [BZ #12047]
4314 * manual/charset.texi (Generic Charset Conversion): Fix typo
4315 (LC_TYPE -> LC_CTYPE).
4316
cc6e48bc
NB
43172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4318
4319 [BZ #5805]
4320 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4321 (scalbnf): Likewise.
4322 (scalbnl): Likewise.
4323 (scalbln): Likewise.
4324 (scalblnf): Likewise.
4325 (scalblnl): Likewise.
4326 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4327 (vwarnx): Likewise.
4328 (verr): Likewise.
4329 (verrx): Likewise.
4330 * manual/filesys.texi (telldir): Use braces around return type.
4331 * manual/llio.texi (mmap): Add space after comma.
4332 (mmap64): Likewise.
4333 * manual/math.texi (jn): Use @var{} on parameter names.
4334 (jnf): Likewise.
4335 (jnl): Likewise.
4336 (yn): Likewise.
4337 (ynf): Likewise.
4338 (ynl): Likewise.
4339 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4340 line.
4341 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4342 "...".
4343 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4344 (sched_get_priority_max): Likewise.
4345 * manual/signal.texi (sigvec): Add space after comma.
4346 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4347 names.
4348 (if_indextoname): Likewise.
4349 (if_freenameindex): Likewise.
4350 (sendto): Use ',' instead of '.' in prototype.
4351 * manual/startup.texi (syscall): Use @dots{} instead of literal
4352 "...".
4353 * manual/stdio.texi (__fpending): Separate initial words of
4354 paragraph from @deftypefun line.
4355 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4356 "...".
4357 (vsyslog): Use @var{} on parameter names.
4358 * manual/terminal.texi (stty): Use @var{} on parameter names.
4359 * manual/users.texi (getutmp): Use @var{} on parameter names.
4360 (getutmpx): Likewise.
4361
5b23062f
JM
43622012-02-17 Joseph Myers <joseph@codesourcery.com>
4363
4364 [BZ #6884]
4365 * manual/stdio.texi (fopen): Fix typos in description of
4366 ",ccs=STRING".
4367
8dee4833
AJ
43682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4369
4370 [BZ #4026]
4371 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4372 get clock_id definition.
4373
9078ce93
TS
43742012-02-17 Thomas Schwinge <thomas@schwinge.name>
4375
4376 [BZ #4822]
4377 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4378 (madvise): Cast every argument to void on its own.
4379
3835c55f
JM
43802012-02-17 Joseph Myers <joseph@codesourcery.com>
4381
4382 [BZ #9902]
4383 * manual/startup.texi (Exit Status): Fix typo.
4384
35c47e37
JM
43852012-02-17 Joseph Myers <joseph@codesourcery.com>
4386
4387 [BZ #10140]
4388 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4389 * manual/examples/argp-ex2.c: Likewise.
4390 * manual/examples/argp-ex3.c: Likewise.
4391
e3b69ca7
RH
43922012-02-16 Richard Henderson <rth@redhat.com>
4393
4394 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4395 * sysdeps/s390/s390-32/initfini.c: Remove.
4396 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4397 * sysdeps/s390/s390-64/initfini.c: Remove.
4398
df83af67
KK
43992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4400
4401 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4402 compiler output for sysdeps/generic/initfini.c.
4403 * sysdeps/sh/elf/initfini.c: Remove file.
4404
f63f3380
DM
44052012-02-16 David S. Miller <davem@davemloft.net>
4406
fb59b3a4
DM
4407 [BZ #11494]
4408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4409
f63f3380
DM
4410 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4411 * sysdeps/sparc/crti.S: New file.
4412 * sysdeps/sparc/crtn.S: New file.
4413 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4414 * sysdeps/sparc/sparc64/Makefile: Likewise.
4415
df6a4a4a
MF
44162012-02-15 Mike Frysinger <vapier@gentoo.org>
4417
6dd8f3dc 4418 [BZ #3335]
df6a4a4a
MF
4419 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4420
1cac7236
RM
44212012-02-15 Roland McGrath <roland@hack.frob.com>
4422
d2c736f8
RM
4423 [BZ #4822]
4424 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4425
1cac7236
RM
4426 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4427 (write, read, close): Likewise.
4428 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4429
8e475601
JM
44302012-02-15 Joseph Myers <joseph@codesourcery.com>
4431
4432 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4433 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4435 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4436 <bits/signalfd.h>.
4437 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4439 bits/signalfd.h.
4440
ed656b40
MP
44412012-02-14 Marek Polacek <polacek@redhat.com>
4442
4443 * sysdeps/x86_64/crti.S: New file.
4444 * sysdeps/x86_64/crtn.S: New file.
4445 * sysdeps/x86_64/elf/initfini.c: Remove file.
4446
2a979d3a
JM
44472012-02-13 Joseph Myers <joseph@codesourcery.com>
4448
4449 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4450 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4452 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4453 <bits/inotify.h>.
4454 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4456 bits/inotify.h.
4457
2a418ac3
JM
44582012-02-13 Joseph Myers <joseph@codesourcery.com>
4459
4460 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4461 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4462 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4463 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4464 <bits/eventfd.h>.
4465 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4467 bits/eventfd.h.
4468
fb779be7
TS
44692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4470
e19e83c5
RM
4471 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4472 __feraiseexcept instead of feraiseexcept.
7c35ffed 4473
fb779be7
TS
4474 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4475 nanosleep invocations.
4476 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4477 strings, and add error checking for a nanosleep invocations.
4478
59ba27a6
PE
44792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4480
4481 Replace FSF snail mail address with URLs, as per GNU coding standards.
4482 Most of the snail mail addresses were wrong anyway, and omitting
4483 them makes the source code easier to maintain. Almost all of the
4484 changes are to license notices and to locale LC_IDENTIFICATION
4485 addresses, except for this one:
4486 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4487 not its snail mail address.
4488
57b957eb
RH
44892012-02-09 Richard Henderson <rth@twiddle.net>
4490
af850b1c
RH
4491 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4492 of kernel-features.h.
4493
57b957eb
RH
4494 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4495
6b73181a
MP
44962012-02-08 Marek Polacek <polacek@redhat.com>
4497
4498 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4499 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4500 * sysdeps/gnu/_G_config.h: Likewise.
4501 * sysdeps/generic/_G_config.h: Likewise.
4502
26ecc33a
AS
45032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4504
6c6dbc63
AS
4505 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4506 tests.
4507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4508
e216c012
AS
4509 * sysdeps/powerpc/powerpc32/crti.S: New file.
4510 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4511 * sysdeps/powerpc/powerpc64/crti.S: New file.
4512 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4513
26ecc33a
AS
4514 * Makeconfig (have-initfini): Don't set.
4515 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4516 * configure.in (nopic_initfini): Don't substitute.
4517 * config.h.in (HAVE_INITFINI): Don't #undef.
4518 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4519 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4520
3add8e13
JM
45212012-02-08 Joseph Myers <joseph@codesourcery.com>
4522
4523 Support crti.S and crtn.S provided directly by architectures.
4524 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4525 [crti.S in sysdirs] (omit-deps): Likewise.
4526 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4527 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4528 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4529 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4530 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4531 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4532 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4533 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4534 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4535 compiler output for sysdeps/generic/initfini.c.
4536 * sysdeps/i386/elf/Makefile: Remove file.
4537 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4538
a22f12b4
MP
45392012-02-07 Marek Polacek <polacek@redhat.com>
4540
4541 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4542 * sysdeps/gnu/_G_config.h: Likewise.
4543 * sysdeps/mach/hurd/_G_config.h: Likewise.
4544
148cf100
MP
45452012-02-07 Marek Polacek <polacek@redhat.com>
4546
4547 * math/Makefile (tests): Add tst-CMPLX2.
4548 * math/tst-CMPLX2.c: New file.
4549
cfdc0dd7
AS
45502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4551
84ba42c4
AS
4552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4553
cfdc0dd7
AS
4554 * math/libm-test.inc (jn_test): Add missing L suffix.
4555
622c86f4
MP
45562012-02-06 Marek Polacek <polacek@redhat.com>
4557
4558 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4559 * sysdeps/i386/fpu/e_powf.S: Likewise.
4560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4561 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4562 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4563 * sysdeps/i386/fpu/e_pow.S: Likewise.
4564 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4566 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4567 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4568 * sysdeps/i386/fpu/e_log2.S: Likewise.
4569 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4571 * sysdeps/i386/fpu/e_powl.S: Likewise.
4572 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4574 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4575 * sysdeps/i386/fpu/e_logl.S: Likewise.
4576 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4577 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4578 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4579 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4580 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4581 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4582 * sysdeps/i386/fpu/e_log.S: Likewise.
4583 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4584 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4585 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4586 * sysdeps/i386/fpu/e_logf.S: Likewise.
4587 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4589 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4590 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4591 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4592 * sysdeps/i386/fpu/e_log10.S: Likewise.
4593 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4595 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4596 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4598 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4599 * sysdeps/i386/asm-syntax.h: Likewise.
4600 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4601 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4602 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4603 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4604 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4605 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4606 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4607 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4608 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4609 * sysdeps/powerpc/sysdep.h: Likewise.
4610 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4611 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4612
d4a54ac6
JM
46132012-02-06 Joseph Myers <joseph@codesourcery.com>
4614
4615 [BZ #411]
4616 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4617
314054ea
JM
46182012-02-06 Joseph Myers <joseph@codesourcery.com>
4619
4620 * sysdeps/i386/sysdep.h: Include <features.h>.
4621 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4622 version.
4623
d8e0ca50
JM
46242012-02-05 Joseph Myers <joseph@codesourcery.com>
4625
4626 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4627 Define.
4628 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4629 LOAD_PIC_REG_STR.
4630
b1da7dd9
JM
46312012-02-03 Joseph Myers <joseph@codesourcery.com>
4632
4633 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4634 (SETUP_PIC_REG): Use GET_PC_THUNK.
4635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4636 macro.
4637
9a1d9254
JM
46382012-02-03 Joseph Myers <joseph@codesourcery.com>
4639
4640 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4641 for non-PIC compilation.
4642 (SETUP_PIC_REG): Add .p2align directive.
4643 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4644 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4645 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4646 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4647 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4657 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4658 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4659 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4660 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4661 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4662 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4665 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4666 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4667 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4669 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4670 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4671 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4672 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4673 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4684
65dc3b75
JM
46852012-02-03 Joseph Myers <joseph@codesourcery.com>
4686
4687 * math/tst-CMPLX.c: Include <stdio.h>.
4688
d55bf177
JM
46892012-01-31 Joseph Myers <joseph@codesourcery.com>
4690
4691 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4692 float.
4693 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4694 * sysdeps/sparc/bits/mathdef.h: Likewise.
4695
69db4f8f
MP
46962012-01-31 Marek Polacek <polacek@redhat.com>
4697
4698 * libio/libio.h: Don't define _PARAMS.
4699 * locale/programs/config.h: Don't define PARAMS.
4700 * stdlib/strtol_l.c: Likewise.
4701 (__strtol_l): Remove PARAMS from the prototype.
4702
41b81892
UD
47032012-01-31 Ulrich Drepper <drepper@gmail.com>
4704
3b49edc0
UD
4705 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4706 names. Just use the correct names. Remove unnecessary wrapper
4707 functions.
4708 * malloc/arena.c: Likewise.
4709 * malloc/hooks.c: Likewise.
4710
41b81892
UD
4711 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4712 ARENA_TEST says not to. Simplify test for creation of a new arena.
4713 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4714
27a25b6e
UD
47152012-01-30 Ulrich Drepper <drepper@gmail.com>
4716
4717 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4718 into tail calls.
4719 (update_get_addr): New function.
4720 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4721 GET_ADDR_MODULE parameter.
4722
c8a89e7d
JM
47232012-01-30 Joseph Myers <joseph@codesourcery.com>
4724
4725 * crypt/cert.c: Remove __STDC__ conditionals.
4726 * crypt/crypt-entry.c: Likewise.
4727 * crypt/crypt_util.c: Likewise.
4728 * libio/filedoalloc.c: Likewise.
4729 * libio/fileops.c: Likewise.
4730 * libio/genops.c: Likewise.
4731 * libio/iofclose.c: Likewise.
4732 * libio/iofdopen.c: Likewise.
4733 * libio/iofopen.c: Likewise.
4734 * libio/iofopen64.c: Likewise.
4735 * libio/iogetdelim.c: Likewise.
4736 * libio/iopopen.c: Likewise.
4737 * libio/obprintf.c: Likewise.
4738 * libio/oldfileops.c: Likewise.
4739 * libio/oldiofclose.c: Likewise.
4740 * libio/oldiofdopen.c: Likewise.
4741 * libio/oldiofopen.c: Likewise.
4742 * libio/oldiopopen.c: Likewise.
4743 * libio/wfiledoalloc.c: Likewise.
4744 * libio/wgenops.c: Likewise.
4745 * locale/programs/xmalloc.c: Likewise.
4746 * misc/syslog.c: Likewise.
4747 * stdio-common/xbug.c: Likewise.
4748 * string/memchr.c: Likewise.
4749 * string/memcmp.c: Likewise.
4750 * string/memrchr.c: Likewise.
4751 * string/rawmemchr.c: Likewise.
4752 * sysdeps/posix/getcwd.c: Likewise.
4753 * time/strftime_l.c: Likewise.
4754
3b100462
JM
47552012-01-30 Joseph Myers <joseph@codesourcery.com>
4756
4757 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4758 * config.make.in (config-cflags-sse2avx): Define.
4759 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4760 Fix typo.
4761
607998af
CM
47622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4763
4764 * scripts/config.guess: Update from upstream config git repository.
4765 * scripts/config.sub: Likewise.
4766
3601428f
CM
47672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4768
3ac8b282
CM
4769 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4770 (EM_NUM): Update.
4771 (R_TILEPRO_*, R_TILEGX_*): New macros.
4772
e034841e
CM
4773 * scripts/firstversions.awk: Fix bug in version range handling.
4774
540d7568
CM
4775 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4776
3601428f
CM
4777 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4778
463de862
CM
4779 * include/sys/epoll.h: New file.
4780 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4781 libc_hidden_def.
4782
73139a76
UD
47832012-01-28 Ulrich Drepper <drepper@gmail.com>
4784
96bc5b45
UD
4785 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4786 Avoid unnecessary __WORDSIZE == 64 test.
4787 (fmaxf): Use VEX format if possible.
4788 (fmax): Likewise.
4789 (fminf): Likewise.
4790 (fmin): Likewise.
4791
56f6f6a2
UD
4792 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4793 * math/math_private.h: Remove libc_fegetround* and
4794 libc_fesetround*.
4795 * sysdeps/i386/configure.in: Check for -msse2avx.
4796 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4797 also if SSE2AVX is defined.
4798 Remove libc_fegetround* and libc_fesetround*.
4799 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4800 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4801 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4802 of HAS_YMM_USABLE.
4803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4808
73139a76
UD
4809 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4810
d73f93a4
AZ
48112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812
4813 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4814 size is not set.
4815 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4816
6ee65ed6
UD
48172012-01-27 Ulrich Drepper <drepper@gmail.com>
4818
4819 [BZ #13618]
4820 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4821 relocation.
4822 * Makeconfig (libm): Define.
4823 * elf/Makefile: Add rules to build and run tst-relsort1.
4824 * elf/tst-relsort1.c: New file.
4825 * elf/tst-relsort1mod1.c: New file.
4826 * elf/tst-relsort1mod2.c: New file.
4827
8db21882
JM
48282012-01-27 Joseph Myers <joseph@codesourcery.com>
4829
4830 * math/s_ldexp.c: Remove __STDC__ conditionals.
4831 * math/s_ldexpf.c: Likewise.
4832 * math/s_ldexpl.c: Likewise.
4833 * math/s_nextafter.c: Likewise.
4834 * math/s_nexttowardf.c: Likewise.
4835 * math/s_significand.c: Likewise.
4836 * math/s_significandf.c: Likewise.
4837 * math/s_significandl.c: Likewise.
4838 * math/w_jnl.c: Likewise.
4839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4845 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4846 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4847 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4848 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4849 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4851 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4852 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4853 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4856 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4858 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4859 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4860 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4861 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4863 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4864 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4865 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4867 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4869 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4870 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4871 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4873 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4874 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4875 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4876 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4877 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4878 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4879 * sysdeps/ieee754/k_standard.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4903 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4941 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4959 * sysdeps/ieee754/s_matherr.c: Likewise.
4960 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4961 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4964
965a54a4
JM
49652012-01-26 Joseph Myers <joseph@codesourcery.com>
4966
4967 * crypt/md5.h: Remove __STDC__ conditionals.
4968 * libio/libioP.h: Likewise.
4969 * locale/programs/config.h: Likewise.
4970 * sysdeps/generic/sysdep.h: Likewise.
4971 * sysdeps/i386/asm-syntax.h: Likewise.
4972 * sysdeps/s390/asm-syntax.h: Likewise.
4973 * sysdeps/unix/sysdep.h: Likewise.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4976
7071ad79
JM
49772012-01-26 Joseph Myers <joseph@codesourcery.com>
4978
4979 * libio/libio.h: Remove __STDC__ conditionals.
4980 * malloc/obstack.h: Likewise.
4981 * math/complex.h: Likewise.
4982 * math/math.h: Likewise.
4983 * sysdeps/generic/_G_config.h: Likewise.
4984 * sysdeps/gnu/_G_config.h: Likewise.
4985 * sysdeps/mach/hurd/_G_config.h: Likewise.
4986 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4987 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4988 * sysdeps/sparc/bits/mathdef.h: Likewise.
4989
afc5ed09
UD
49902012-01-26 Ulrich Drepper <drepper@gmail.com>
4991
4992 [BZ #13583]
4993 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4994 Clean up HAS_* macros.
afc5ed09 4995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4996 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4997 possible.
4998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4999 HAS_AVX.
5000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5005
bdb6de1d
JM
50062012-01-25 Joseph Myers <joseph@codesourcery.com>
5007
5008 * elf/tst-unique3.cc (gets): Remove declaration.
5009 * elf/tst-unique3lib.cc (gets): Likewise.
5010 * elf/tst-unique3lib2.cc (gets): Likewise.
5011 * elf/tst-unique4.cc (gets): Likewise.
5012
b15549e6
UD
50132012-01-24 Ulrich Drepper <drepper@gmail.com>
5014
5015 * include/stdio.h: Add C++ protection. Add gets declarations and
5016 definitions.
5017 * debug/tst-chk1.c: Don't declare gets here.
5018 * stdio-common/tst-gets.c: Likewise.
5019
a037381f
JM
50202012-01-24 Joseph Myers <joseph@codesourcery.com>
5021
5022 * posix/glob: Remove directory.
5023
f1d4aa75
JM
50242012-01-24 Joseph Myers <joseph@codesourcery.com>
5025
5026 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5027
81c0c964
PT
50282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5029
5030 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5031 of the non-standard EPFNOSUPPORT.
5032
0ea698ae
ST
50332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5034
5035 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5036 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5037 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5038
d220b117
UD
50392012-01-21 Ulrich Drepper <drepper@gmail.com>
5040
5041 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5042
3e1aa84e
UD
50432012-01-20 Ulrich Drepper <drepper@gmail.com>
5044
5045 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5046 transient errors.
5047 * nscd/grpcache.c (cache_addgr): Likewise.
5048 * nscd/hstcache.c (cache_addhst): Likewise.
5049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5050 * nscd/pwdcache.c (cache_addpw): Likewise.
5051 * nscd/servicescache.c (cache_addserv): Likewise.
5052
400aa020
UD
50532012-01-16 Ulrich Drepper <drepper@gmail.com>
5054
d77e7869
UD
5055 * malloc/malloc.c: Various cleanups.
5056 * malloc/hooks.c: Likewise.
5057
400aa020
UD
5058 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5059 * stdlib/bug-fmtmsg1.c: New file.
5060
5061 * stdlib/fmtmsg.c (init): Add missing unlock.
5062 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5063
e0a309cf
MP
50642012-01-12 Marek Polacek <polacek@redhat.com>
5065
5066 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5067 and _GNU_SOURCE.
5068
929d11c7
WS
50692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5070
5071 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5072 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5073 macro to ensure uniqueness of label name.
5074 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5075 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5076
41d0e869
UD
50772012-01-11 Ulrich Drepper <drepper@gmail.com>
5078
0cc5ed3b
UD
5079 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5080
41d0e869
UD
5081 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5082 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5085
a47a831a
UD
50862012-01-10 Ulrich Drepper <drepper@gmail.com>
5087
daa891c0
UD
5088 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5089
5090 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5093
e58ef0f2
UD
5094 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5095
a47a831a 5096 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5097 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5100
5101 * math/bits/math-finite.h: Add ldexp support.
5102
a0bfc9c7
MP
51032012-01-10 Marek Polacek <polacek@redhat.com>
5104
5105 * locale/programs/localedef.h (show_archive_content): Add noreturn
5106 attribute.
5107
d6e97a1d
UD
51082012-01-09 Ulrich Drepper <drepper@gmail.com>
5109
5110 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5111
d5835c26
UD
51122012-01-08 Ulrich Drepper <drepper@gmail.com>
5113
e5f484c6
UD
5114 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5115
d5835c26
UD
5116 * io/Makefile (headers): Add bits/poll2.h.
5117
d1f741e9
WS
51182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5119
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5121 typo #include statement.
5122
ec09c1c4
UD
51232012-01-08 Ulrich Drepper <drepper@gmail.com>
5124
5125 * include/sys/cdefs.h: Define __attribute_alloc_size.
5126 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5127 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5128 * elf/pldd.c: Likewise.
5129 * iconv/iconv_charmap.c: Likewise.
5130 * iconv/iconvconfig.c: Likewise.
5131 * iconv/strtab.c: Likewise.
5132 * locale/programs/locale.c: Likewise.
5133 * locale/programs/localedef.h: Likewise.
5134 * locale/programs/simple-hash.c: Likewise.
5135 * nscd/nscd.h: Likewise.
5136 * nss/makedb.c: Likewise.
5137 * sysdeps/generic/ldconfig.h: Likewise.
5138 * locale/programs/localedef.c: Remove xmalloc prototype.
5139 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5140
20b38e03
PP
51412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5142
5143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5144 appropriate.
5145
a0da5fe1
UD
51462012-01-08 Ulrich Drepper <drepper@gmail.com>
5147
1d5a644a 5148 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5149 * math/tst-CMPLX.c: New file.
1d5a644a 5150
8784a6db
UD
5151 * math/complex.h (CMPLXL): Fix typo.
5152
d9a216c0
UD
5153 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5154 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5155 GLIBC_2.16.
5156 * debug/tst-chk1.c: Add poll and ppoll tests.
5157 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5158 * include/sys/poll.h: Add hidden proto for ppoll.
5159 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5160 * sysdeps/mach/hurd/ppoll.c: Likewise.
5161 * io/ppoll.c: Likewise.
5162 * debug/poll_chk.c: New file.
5163 * debug/ppoll_chk.c: New file.
5164 * include/bits/poll2.h: New file.
5165 * io/bits/poll2.h: New file.
5166
ac097f5c
UD
5167 [BZ #1350]
5168 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5169
2119dcfa
UD
5170 * configure.in: static is always set to yes. Remove.
5171 * config.make.in: Don't set build-static.
5172 * Makeconfig: Remove use of build-static.
5173 * dlfcn/Makefile: Likewise.
5174 * elf/Makefile: Likewise.
5175 * math/Makefile: Likewise.
5176 * misc/Makefile: Likewise.
5177 * nptl/Makefile: Likewise.
5178 * sysdeps/mach/hurd/Makefile: Likewise.
5179
121766a9
UD
5180 * configure.in: PWD_P is not used anymore.
5181 * config.make.in: Remove PWD_P entry.
5182
51a1d39c 5183 * configure.in: Remove last remnants of RANLIB.
8720d066 5184 No need to check for signed size_t anymore.
215f4bdc
UD
5185 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5186 and IA-64.
3857022a 5187 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5188 * aclocal.m4: Likewise.
5189
d3ed7225
UD
5190 * wcsmbs/mbrtoc16.c: Implement using towc function.
5191 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5192 * wcsmbs/wcsmbsload.c: Likewise.
5193 * iconv/gconv_simple.c: Likewise.
5194 * iconv/gconv_int.h: Likewise.
5195 * iconv/gconv_builtin.h: Likewise.
5196 * iconv/iconv_prog.c: Remove CHAR16 handling.
5197
5198 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5199
5200 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5201
a0da5fe1
UD
5202 * configure.in: Remove --with-elf and --enable-bounded options.
5203 Dont set base_machine for ia64. More non-ELF conditions removed.
5204 Remove testing and setting of leading underscore information.
5205 * config.make.in (build-bounded): Set to no.
5206 * config.h.in: Remove NO_UNDERSCORES entry.
5207 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5208 them.
5209 * csu/start.c: Remove !NO_UNDERSCORE code.
5210 * locale/localeinfo.h: Likewise.
5211 * sysdeps/generic/machine-gmon.h: Likewise.
5212 * sysdeps/generic/sysdep.h: Likewise.
5213 * sysdeps/i386/sysdep.h: Likewise.
5214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5215 * sysdeps/mach/sysdep.h: Likewise.
5216 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5218 * sysdeps/sh/sysdep.h: Likewise.
5219 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5220 * sysdeps/unix/i386/sysdep.S: Likewise.
5221 * sysdeps/unix/sparc/start.c: Likewise.
5222 * sysdeps/unix/sparc/sysdep.S: Likewise.
5223 * sysdeps/unix/sparc/sysdep.h: Likewise.
5224 * sysdeps/unix/start.c: Likewise.
5225 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5226 * sysdeps/x86_64/sysdep.h: Likewise.
5227
df78418a
UD
52282012-01-07 Ulrich Drepper <drepper@gmail.com>
5229
a784e502
UD
5230 [BZ #13553]
5231 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5232 for non-gcc.
5233 * argp/argp-fmtstream.h: Use const instead __const.
5234 * argp/argp.h: Likewise.
5235 * assert/assert.h: Likewise.
5236 * bits/fenv.h: Likewise.
5237 * bits/sched.h: Likewise.
5238 * bits/sigset.h: Likewise.
5239 * bits/sigthread.h: Likewise.
5240 * catgets/nl_types.h: Likewise.
5241 * conform/data/pthread.h-data: Likewise.
5242 * crypt/crypt-private.h: Likewise.
5243 * crypt/crypt.h: Likewise.
5244 * crypt/crypt_util.c: Likewise.
5245 * ctype/ctype.h: Likewise.
5246 * debug/execinfo.h: Likewise.
5247 * debug/mbsnrtowcs_chk.c: Likewise.
5248 * debug/mbsrtowcs_chk.c: Likewise.
5249 * debug/wcsnrtombs_chk.c: Likewise.
5250 * debug/wcsrtombs_chk.c: Likewise.
5251 * debug/wcstombs_chk.c: Likewise.
5252 * dirent/dirent.h: Likewise.
5253 * dlfcn/dlfcn.h: Likewise.
5254 * elf/neededtest4.c: Likewise.
5255 * grp/grp.h: Likewise.
5256 * gshadow/gshadow.h: Likewise.
5257 * iconv/gconv.h: Likewise.
5258 * iconv/gconv_int.h: Likewise.
5259 * iconv/gconv_simple.c: Likewise.
5260 * iconv/iconv.h: Likewise.
5261 * iconv/loop.c: Likewise.
5262 * iconv/skeleton.c: Likewise.
5263 * include/aio.h: Likewise.
5264 * include/aliases.h: Likewise.
5265 * include/argz.h: Likewise.
5266 * include/arpa/inet.h: Likewise.
5267 * include/assert.h: Likewise.
5268 * include/dirent.h: Likewise.
5269 * include/dlfcn.h: Likewise.
5270 * include/execinfo.h: Likewise.
5271 * include/fcntl.h: Likewise.
5272 * include/fenv.h: Likewise.
5273 * include/glob.h: Likewise.
5274 * include/grp.h: Likewise.
5275 * include/libintl.h: Likewise.
5276 * include/mntent.h: Likewise.
5277 * include/netdb.h: Likewise.
5278 * include/pwd.h: Likewise.
5279 * include/rpc/netdb.h: Likewise.
5280 * include/sched.h: Likewise.
5281 * include/search.h: Likewise.
5282 * include/shadow.h: Likewise.
5283 * include/signal.h: Likewise.
5284 * include/stdio.h: Likewise.
5285 * include/stdlib.h: Likewise.
5286 * include/string.h: Likewise.
5287 * include/sys/socket.h: Likewise.
5288 * include/sys/stat.h: Likewise.
5289 * include/sys/statfs.h: Likewise.
5290 * include/sys/statvfs.h: Likewise.
5291 * include/sys/syslog.h: Likewise.
5292 * include/sys/time.h: Likewise.
5293 * include/sys/uio.h: Likewise.
5294 * include/time.h: Likewise.
5295 * include/unistd.h: Likewise.
5296 * include/utmp.h: Likewise.
5297 * include/wchar.h: Likewise.
5298 * include/wctype.h: Likewise.
5299 * inet/aliases.h: Likewise.
5300 * inet/arpa/inet.h: Likewise.
5301 * inet/netinet/ether.h: Likewise.
5302 * inet/netinet/in.h: Likewise.
5303 * intl/libintl.h: Likewise.
5304 * io/bits/fcntl2.h: Likewise.
5305 * io/fcntl.h: Likewise.
5306 * io/ftw.h: Likewise.
5307 * io/sys/poll.h: Likewise.
5308 * io/sys/stat.h: Likewise.
5309 * io/sys/statfs.h: Likewise.
5310 * io/sys/statvfs.h: Likewise.
5311 * io/utime.h: Likewise.
5312 * libio/bits/stdio.h: Likewise.
5313 * libio/bits/stdio2.h: Likewise.
5314 * libio/libio.h: Likewise.
5315 * libio/libioP.h: Likewise.
5316 * libio/stdio.h: Likewise.
5317 * locale/lc-ctype.c: Likewise.
5318 * locale/locale.h: Likewise.
5319 * login/utmp.h: Likewise.
5320 * malloc/arena.c: Likewise.
5321 * malloc/malloc.c: Likewise.
5322 * malloc/malloc.h: Likewise.
5323 * malloc/mcheck.c: Likewise.
5324 * malloc/mtrace.c: Likewise.
5325 * math/bits/mathcalls.h: Likewise.
5326 * math/fenv.h: Likewise.
5327 * math/math_private.h: Likewise.
5328 * misc/bits/error.h: Likewise.
5329 * misc/bits/syslog.h: Likewise.
5330 * misc/err.h: Likewise.
5331 * misc/error.h: Likewise.
5332 * misc/fstab.h: Likewise.
5333 * misc/mntent.h: Likewise.
5334 * misc/regexp.h: Likewise.
5335 * misc/search.h: Likewise.
5336 * misc/sgtty.h: Likewise.
5337 * misc/sys/mman.h: Likewise.
5338 * misc/sys/syslog.h: Likewise.
5339 * misc/sys/uio.h: Likewise.
5340 * misc/sys/xattr.h: Likewise.
5341 * misc/ttyent.h: Likewise.
5342 * nis/rpcsvc/ypclnt.h: Likewise.
5343 * nss/nss.h: Likewise.
5344 * posix/bits/unistd.h: Likewise.
5345 * posix/fnmatch.h: Likewise.
5346 * posix/glob.h: Likewise.
5347 * posix/sched.h: Likewise.
5348 * posix/spawn.h: Likewise.
5349 * posix/sys/wait.h: Likewise.
5350 * posix/unistd.h: Likewise.
5351 * posix/wordexp.h: Likewise.
5352 * pwd/pwd.h: Likewise.
5353 * resolv/netdb.h: Likewise.
5354 * resource/sys/resource.h: Likewise.
5355 * rt/aio.h: Likewise.
5356 * rt/bits/mqueue2.h: Likewise.
5357 * rt/mqueue.h: Likewise.
5358 * shadow/shadow.h: Likewise.
5359 * signal/signal.h: Likewise.
5360 * socket/send.c: Likewise.
5361 * socket/sendto.c: Likewise.
5362 * socket/sys/socket.h: Likewise.
5363 * stdio-common/printf.h: Likewise.
5364 * stdlib/bits/stdlib.h: Likewise.
5365 * stdlib/fmtmsg.h: Likewise.
5366 * stdlib/monetary.h: Likewise.
5367 * stdlib/stdlib.h: Likewise.
5368 * stdlib/ucontext.h: Likewise.
5369 * streams/stropts.h: Likewise.
5370 * string/argz.h: Likewise.
5371 * string/bits/string2.h: Likewise.
5372 * string/string.h: Likewise.
5373 * string/strings.h: Likewise.
5374 * sunrpc/rpc/auth.h: Likewise.
5375 * sunrpc/rpc/auth_des.h: Likewise.
5376 * sunrpc/rpc/clnt.h: Likewise.
5377 * sunrpc/rpc/netdb.h: Likewise.
5378 * sunrpc/rpc/pmap_clnt.h: Likewise.
5379 * sunrpc/rpc/xdr.h: Likewise.
5380 * sysdeps/generic/inttypes.h: Likewise.
5381 * sysdeps/generic/net/if.h: Likewise.
5382 * sysdeps/generic/sys/swap.h: Likewise.
5383 * sysdeps/gnu/net/if.h: Likewise.
5384 * sysdeps/gnu/utmpx.h: Likewise.
5385 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5386 * sysdeps/i386/i486/bits/string.h: Likewise.
5387 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5388 * sysdeps/s390/bits/string.h: Likewise.
5389 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5390 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5391 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5392 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5393 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5394 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5395 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5396 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5397 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5398 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5399 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5400 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5401 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5402 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5403 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5404 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5405 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5411 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5412 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5413 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5414 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5415 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5417 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5419 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5420 * sysvipc/sys/ipc.h: Likewise.
5421 * sysvipc/sys/msg.h: Likewise.
5422 * sysvipc/sys/sem.h: Likewise.
5423 * sysvipc/sys/shm.h: Likewise.
5424 * termios/termios.h: Likewise.
5425 * time/sys/time.h: Likewise.
5426 * time/time.h: Likewise.
5427 * wcsmbs/bits/wchar2.h: Likewise.
5428 * wcsmbs/uchar.h: Likewise.
5429 * wcsmbs/wchar.h: Likewise.
5430 * wctype/wctype.h: Likewise.
5431
0269750c
UD
5432 [BZ #13551]
5433 * Makeconfig: Remove all but ELF support including AIX support.
5434 * Makerules: Likewise.
5435 * config.h.in: Likewise.
5436 * config.make.in: Likewise.
5437 * configure: Likewise.
5438 * configure.in: Likewise.
5439 * csu/Makefile: Likewise.
5440 * csu/version.c: Likewise.
5441 * debug/Makefile: Likewise.
5442 * dlfcn/Makefile: Likewise.
5443 * elf/Makefile: Likewise.
5444 * extra-lib.mk: Likewise.
5445 * iconv/Makefile: Likewise.
5446 * include/libc-symbols.h: Likewise.
5447 * include/shlib-compat.h: Likewise.
5448 * resolv/Makefile: Likewise.
5449 * resolv/res_libc.c: Likewise.
5450 * rt/Makefile: Likewise.
5451 * sysdeps/i386/asm-syntax.h: Likewise.
5452 * sysdeps/i386/sysdep.h: Likewise.
5453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5454 * sysdeps/mach/sysdep.h: Likewise.
5455 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5456 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5457 * sysdeps/s390/asm-syntax.h: Likewise.
5458 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5459 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5460 * sysdeps/sh/sysdep.h: Likewise.
5461 * sysdeps/unix/sparc/sysdep.h: Likewise.
5462 * sysdeps/wordsize-32/divdi3.c: Likewise.
5463 * sysdeps/x86_64/sysdep.h: Likewise.
5464
00bbd29b
UD
5465 * argp/Versions: Remove _argp_unlock_xxx.
5466
5467 [BZ #13559]
5468 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5469 * abilist/libBrokenLocale.abilist: Likewise.
5470 * abilist/libanl.abilist: Likewise.
5471 * abilist/libc.abilist: Likewise.
5472 * abilist/libcrypt.abilist: Likewise.
5473 * abilist/libdl.abilist: Likewise.
5474 * abilist/libm.abilist: Likewise.
5475 * abilist/libnsl.abilist: Likewise.
5476 * abilist/libpthread.abilist: Likewise.
5477 * abilist/libresolv.abilist: Likewise.
5478 * abilist/librt.abilist: Likewise.
5479 * abilist/libthread_db.abilist: Likewise.
5480 * abilist/libutil.abilist: Likewise.
5481 * abilist/libnss_db.abilist: New file.
5482
5483 * scripts/abilist.awk: Add support for indirect functions.
5484
a2693a0e
UD
5485 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5486
3f05895f
UD
5487 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5488
ecb6fb48
UD
5489 * shlib-versions: Remove entries for ports architectures.
5490
664f8cb9
UD
5491 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5492 files in ports.
5493 * elf/stackguard-macros.h: Remove support for IA-64.
5494 * elf/tst-auditmod1.c: Likewise.
5495 * sysdeps/generic/ldsodefs.h: Likewise.
5496
7ae81d88
UD
5497 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5498 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5499 configure files.
5500
bdeba135
UD
5501 [BZ #13552]
5502 * configure.in: Remove --enable-omitfp support.
5503 * FAQ.in: Adjust.
5504 * config.make.in: Likewise.
5505 * Makeconfig: Likewise.
5506 * manual/install.texi: Likewise.
5507
d75a0a62
UD
5508 In case anyone cares, the IA-64 architecture could move to ports.
5509 * sysdeps/ia64/*: Removed.
5510 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5511 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5512
dcc9756b
UD
5513 [BZ #13555]
5514 * configure.in: Remove entries for unsupported architectures.
5515
d3761ebc 5516 [BZ #13533]
9954432e
UD
5517 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5518 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5519 routines.
5520 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5521 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5522 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5523 fall back to using wcrtomb.
5524 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5525 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5526 renaming.
5527 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5528 * wcsmbs/tst-c16c32-1.c: New file.
5529
5530 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5531 local variable.
5532
c3a87236
UD
5533 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5534
28926a1b
UD
5535 * elf/tst-unique3.cc: Add explicit declaration of gets.
5536 * elf/tst-unique3lib.cc: Likewise.
5537 * elf/tst-unique3lib2.cc: Likewise.
5538 * elf/tst-unique4.cc: Likewise.
5539
df78418a
UD
5540 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5541
8ecd6b2a
JM
55422012-01-06 Joseph Myers <joseph@codesourcery.com>
5543
5544 [BZ #13566]
5545 * assert/assert.h (static_assert): Don't define for C++.
5546 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5547 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5548
9f115170
UD
55492012-01-03 Ulrich Drepper <drepper@gmail.com>
5550
5e0d0300
UD
5551 * iconv/loop.c (single loop): Fix assertion in storing of
5552 remaining bytes.
5553
9f115170
UD
5554 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5555
81fb02b0
UD
55562012-01-01 Ulrich Drepper <drepper@gmail.com>
5557
5558 * posix/getconf.c: Update copyright year.
5559 * nss/getent.c: Likewise.
a316c1f6 5560 * nss/makedb.c: Likewise.
81fb02b0
UD
5561 * iconv/iconvconfig.c: Likewise.
5562 * iconv/iconv_prog.c: Likewise.
5563 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5564 * elf/pldd.c: Likewise.
5565 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5566 * catgets/gencat.c: Likewise.
5567 * csu/version.c: Likewise.
5568 * elf/ldd.bash.in: Likewise.
5569 * elf/sprof.c (print_version): Likewise.
5570 * locale/programs/locale.c: Likewise.
5571 * locale/programs/localedef.c: Likewise.
a316c1f6 5572 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5573 * nscd/nscd.c (print_version): Likewise.
5574 * debug/xtrace.sh: Likewise.
5575 * malloc/memusage.sh: Likewise.
5576 * malloc/mtrace.pl: Likewise.
5577 * debug/catchsegv.sh: Likewise.
5578
2ba92745
JJ
55792011-12-30 Jakub Jelinek <jakub@redhat.com>
5580
5581 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5582 pure attribute.
5583
dadebdae
UD
55842011-12-24 Ulrich Drepper <drepper@gmail.com>
5585
d3761ebc 5586 [BZ #13533]
db6af3eb
UD
5587 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5588 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5589 transformations.
5590 * iconv/gconv_int.h: Likewise.
5591 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5592 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5593 from libc for GLIBC_2.16.
5594 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5595 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5596 * wcsmbs/uchar.h: Really define mbstate_t.
5597 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5598 * wcsmbs/c16rtomb.c: New file.
5599 * wcsmbs/mbrtoc16.c: New file.
5600 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5601 for C/POSIX locale.
5602 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5603 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5604
dadebdae
UD
5605 * wcsmbs/wchar.h: Add missing __restrict.
5606
67371b56
UD
56072011-12-23 Ulrich Drepper <drepper@gmail.com>
5608
74033a25
UD
5609 [BZ #13532]
5610 * time/Makefile (routines): Add timespec_get.
5611 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5612 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5613 timespec for ISO C11.
5614 * time/timespec_get.c: New file.
5615 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5616 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5617
380d7e87
UD
5618 [BZ #13531]
5619 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5620 * stdlib/stdlib.h: Declare aligned_alloc.
5621 * Versions.def: Add GLIBC_2.16 for libc.
5622 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5623
4e9e7a35
UD
5624 [BZ 13527]
5625 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5626 ISO C11.
5627
380d7e87 5628 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5629 code.
5630
03a71829
UD
5631 [BZ #13528]
5632 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5633
839e283e
UD
5634 [BZ #13529]
5635 * assert/assert.h (static_assert): Define.
5636
ce5294e2 5637 * version.h: Update for 2.16 development version.
90fa7312 5638
8d44e150 5639 [BZ #13526]
d7809905
UD
5640 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5641 _ISOC11_SOURCE.
5642
c0da14cd
UD
5643 * version.h (RELEASE): Bump for 2.15 release.
5644 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5645
530a3249
MP
5646 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5647 Patch by Marek Polacek <mpolacek@redhat.com>.
5648
67371b56
UD
5649 * bits/byteswap.h: Protect long long constants with __extension__.
5650 * sysdeps/i386/bits/byteswap.h: Likewise.
5651 * sysdeps/ia64/bits/byteswap.h: Likewise.
5652 * sysdeps/s390/bits/byteswap.h: Likewise.
5653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5654
15db4de1
LD
56552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5656
5657 [BZ #13540]
bbe315ea
LD
5658 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5659 destination buffer.
15db4de1
LD
5660 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5661
2b2596b1
MP
56622011-12-23 Marek Polacek <polacek@redhat.com>
5663
5664 * elf/dl-addr.c (determine_info): Add inline keyword.
5665 * elf/tst-auditmod4b.c (check_avx): Likewise.
5666 * elf/tst-auditmod6b.c (check_avx): Likewise.
5667 * elf/tst-auditmod6c.c (check_avx): Likewise.
5668 * elf/tst-auditmod7b.c (check_avx): Likewise.
5669
70c6c246
UD
56702011-12-23 Ulrich Drepper <drepper@gmail.com>
5671
5672 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5673 !__SSE_MATH__.
5674
c044cf14
LD
56752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5676
15db4de1 5677 [BZ #13540]
c044cf14
LD
5678 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5679 processing for last bytes.
5680
6b13d9d9
BH
56812011-08-06 Bruno Haible <bruno@clisp.org>
5682
d455f537
BH
5683 [BZ #13061]
5684 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5685 U+0385, not to U+1FEE.
5686
6b13d9d9
BH
5687 [BZ #13062]
5688 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5689 entry for U+00A5 U+0301.
5690
db910efd
UD
56912011-12-22 Ulrich Drepper <drepper@gmail.com>
5692
27deeafc
UD
5693 [BZ #13166]
5694 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5695 buffer for the output is too small.
5696
aed9d171
UD
5697 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5698 optimization.
5699
db910efd
UD
5700 [BZ #13185]
5701 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5702 SSE flags if possible.
5703
2bd779ae
LD
57042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5705
e7f9dac3 5706 [BZ #13540]
2bd779ae
LD
5707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5708 processing for last bytes.
5709
154bfc16
JM
57102011-12-22 Joseph Myers <joseph@codesourcery.com>
5711
5712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5713 (syscall-list-default-options, syscall-list-default-condition)
5714 (syscall-list-includes): Define.
5715 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5716 list of ABIs and options and #if conditions for each ABI. Do not
5717 handle common syscalls between ABIs specially.
5718 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5719 Remove.
5720 (syscall-list-variants, syscall-list-32bit-options)
5721 (syscall-list-32bit-condition, syscall-list-64bit-options)
5722 (syscall-list-64bit-condition): Define.
5723 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5724 (syscall-list-variants, syscall-list-32bit-options)
5725 (syscall-list-32bit-condition, syscall-list-64bit-options)
5726 (syscall-list-64bit-condition): Define.
5727 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5728 Remove.
5729 (syscall-list-variants, syscall-list-32bit-options)
5730 (syscall-list-32bit-condition, syscall-list-64bit-options)
5731 (syscall-list-64bit-condition): Define.
5732 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5733 Remove.
5734 (syscall-list-variants, syscall-list-32bit-options)
5735 (syscall-list-32bit-condition, syscall-list-64bit-options)
5736 (syscall-list-64bit-condition): Define.
5737
21eaf3a5
UD
57382011-12-22 Ulrich Drepper <drepper@gmail.com>
5739
16c6f992
UD
5740 * locale/iso-639.def: Add brx entry.
5741
41043168
UD
5742 [BZ #13328]
5743 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5744 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5745
21eaf3a5
UD
5746 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5747 __feraiseexcept_renamed.
5748
e3a851a2
UD
57492011-12-21 Ulrich Drepper <drepper@gmail.com>
5750
4920765e
UD
5751 [BZ #13538]
5752 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5753 EPOLLET with unsigned values.
5754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5756
e3a851a2
UD
5757 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5758 to large cancellation.
5759 * math/s_cacoshf.c: Likewise.
5760 * math/s_cacoshl.c: Likewise.
5761
b27e24b8
RK
57622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5763
5764 [BZ #13305]
aebefeee 5765 [BZ #12786]
b27e24b8
RK
5766 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5767 * math/s_cacoshf.c: Likewise.
5768 * math/s_cacoshl.c: Likewise.
5769
ee190f67
UD
57702011-12-21 Ulrich Drepper <drepper@gmail.com>
5771
5772 [BZ #13439]
5773 * iconv/gconv.h: Define __GCONV_SWAP.
5774 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5775 * iconvdata/utf-16.c: Likewise.
5776 * iconvdata/utf-32.c: Likewise.
5777
707f25df
AS
57782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5779
5780 [BZ #13524]
5781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5782 numerator after shifting it by one limb.
5783
d2daaa1e
RÁE
57842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5785
5786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5787 under [__USE_EXTERN_INLINES].
5788
a4647e72
UD
57892011-12-17 Ulrich Drepper <drepper@gmail.com>
5790
5791 [BZ #13446]
5792 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5793
f0b264f1
AZ
57942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795
5796 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5797 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5798 optimized code.
5799 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5801 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5802 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5803 for strncasecmp/strncasecmp_l compilation.
5804 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5805 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5806
8ef4f244
MP
58072011-12-08 Marek Polacek <mpolacek@redhat.com>
5808
5809 [BZ #13484]
5810 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5811 of __asm__.
5812
97ac2654
UD
58132011-12-17 Ulrich Drepper <drepper@gmail.com>
5814
5815 [BZ #13506]
5816 * time/tzfile.c (__tzfile_read): Check values from file header.
5817
91d2a845
WS
58182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5819
5820 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5821 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5822 * powerpc/powerpc32/dl-start.S: Likewise.
5823 * powerpc/powerpc32/elf/start.S: Likewise.
5824 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5825 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5826 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5827 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5828 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5829 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5830 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5831 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5832 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5833 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5834 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5835 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5836 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5837 * powerpc/powerpc32/memset.S: Likewise.
5838 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5839 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5840 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5841 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5842 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5843 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5844 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5845 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5846 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5847 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5848 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5849 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5850 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5851
a1267ba1
AZ
58522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5853
5854 * math/libm-test.inc: Added more nearbyint tests.
5855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5859
ad8ac1bd
RL
58602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5861
5862 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5863 FD_CLOEXEC.
5864
1d3e4b61
UD
58652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5866
5867 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5868 Add wcscpy-ssse3 wcscpy-c.
5869 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5870 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5871 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5872 * sysdeps/x86_64/wcschr.S: New file.
5873 * sysdeps/x86_64/wcsrchr.S: New file.
5874 * string/test-strcmp.c: Remove checking of wcscmp function for
5875 wrong alignments.
5876 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5877 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5878 wcsrchr-sse2 wcsrchr-c.
5879 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5880 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5881 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5882 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5883 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5884 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5885 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5886 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5887 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5888 * wcsmbc/wcschr.c (WCSCHR): New macro.
5889
5b330a2d
UD
58902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5891
5892 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5893 * wcsmbs/test-wcsrchr.c: New file.
5894 * string/test-strrchr.c: Add wcsrchr support.
5895 (WIDE): New macro.
5896 * wcsmbs/test-wcscpy.c: New file.
5897 * string/test-strcpy.c: Add wcscpy support.
5898 (WIDE): New macro.
26428b7c 5899
f039c043
UD
59002011-12-10 Ulrich Drepper <drepper@gmail.com>
5901
5902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5903 the inner loop.
5904
850fb039
AS
59052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5906
5907 [BZ #13472]
5908 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5909
4efbd5cb
UD
59102011-12-04 Ulrich Drepper <drepper@gmail.com>
5911
52ff5dd0 5912 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5913 Minor optimizations.
52ff5dd0 5914
4efbd5cb
UD
5915 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5916 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5917 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5918
8a426e12
UD
59192011-12-03 Ulrich Drepper <drepper@gmail.com>
5920
aff2453d
UD
5921 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5922 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5923 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5924 for gcc to avoid warnings.
5925 * inet/Makefile (tests): Add tst-checks.
5926 * inet/tst-checks.c: New file.
5927
5928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5929 warning.
5930
5931 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5932 __wmemcmp_sse2.
5933
5934 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5935 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5936
8a426e12
UD
5937 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5938
9bea3473
UD
59392011-12-02 Ulrich Drepper <drepper@gmail.com>
5940
3a965496
UD
5941 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5942 problem.
5943
9bea3473
UD
5944 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5945
f101631b
UD
59462011-11-29 Joseph Myers <joseph@codesourcery.com>
5947
5948 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5949 conditional on GCC version.
5950 (__arch_compare_and_exchange_val_8_acq)
5951 (__arch_compare_and_exchange_val_16_acq)
5952 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5953 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5954 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5955
a98275aa
UD
59562011-12-02 Joseph Myers <joseph@codesourcery.com>
5957
5958 * sysdeps/sh/backtrace.c: New file.
5959
d4cc29a2
AS
59602011-12-02 Andreas Schwab <schwab@redhat.com>
5961
5962 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5963 parenthesis.
5964
6257af2d
AS
59652011-12-01 Andreas Schwab <schwab@redhat.com>
5966
5967 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5968 falling back to utime.
5969
b5f44c1a
AS
59702011-11-30 Andreas Schwab <schwab@redhat.com>
5971
5972 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5973 expectations for float.
5974
f3a6cc0a
AS
59752011-11-29 Andreas Schwab <schwab@redhat.com>
5976
5977 * locale/weight.h (findidx): Add parameter len.
5978 * locale/weightwc.h (findidx): Likewise.
5979 * posix/fnmatch_loop.c (FCT): Adjust caller.
5980 * posix/regcomp.c (build_equiv_class): Likewise.
5981 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5982 * posix/regexec.c (check_node_accept_bytes): Likewise.
5983 * string/strcoll_l.c (STRCOLL): Likewise.
5984 * string/strxfrm_l.c (STRXFRM): Likewise.
5985
9d65ea3a
UD
59862011-11-17 Ulrich Drepper <drepper@gmail.com>
5987
5988 * Makefile.in: Remove CVSOPT handling.
5989 * configure.in: Remove use of AC_REVISION.
5990 * iconvdata/Makefile (distribute): No need to filter out CVS.
5991 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5992 handling.
5993
5583a086
AS
59942011-11-16 Andreas Schwab <schwab@redhat.com>
5995
5996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5997 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5998 [USE_AS_STRNCASECMP_L]: Likewise.
5999 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6000 NO_TLS_DIRECT_SEG_REFS.
6001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6002 Fix argument offsets for non-PIC.
6003 [USE_AS_STRNCASECMP_L]: Likewise.
6004 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6005 NO_TLS_DIRECT_SEG_REFS.
6006
d62a8200
UD
60072011-11-15 Ulrich Drepper <drepper@gmail.com>
6008
9d65ea3a 6009 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6010 O_CLOEXEC.
6011 * locale/loadlocale.c (_nl_load_locale): Likewise.
6012
09f93bd3
AS
60132011-11-15 Andreas Schwab <schwab@redhat.com>
6014
446514f9
AS
6015 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6016 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6017 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6018 (SYSCALL_GETTIME): Set errno on error.
6019
09f93bd3
AS
6020 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6021 count references to noai6ai_cached.
6022
312be3f9
UD
60232011-11-15 Ulrich Drepper <drepper@gmail.com>
6024
6025 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6026
6027 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6028 FD_CLOEXEC for /proc/self/maps.
6029
6030 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6031 FD_CLOEXEC for /proc/meminfo.
6032
6033 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6034 gai.conf.
6035
6036 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6037 FD_CLOEXEC for given file.
6038
6039 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6040
6041 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6042 FD_CLOEXEC for /etc/hosts.
6043 (_gethtent): Likewise.
6044
6045 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6046
6047 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6048 cancellation and set FD_CLOEXEC for /etc/netgroup.
6049
6050 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6051 reading /etc/publickey.
6052
6053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6054 allow cancellation when reading /etc/group.
6055
6056 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6057 cancellation.
6058 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6059
6060 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6061 when using data file.
6062
6063 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6064
6065 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6066 (write_nis_obj): Use "c" and "e" in fopen.
6067
6068 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6069
6070 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6071
6072 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6073
6074 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6075
6076 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6077 locale.alias.
6078
6079 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6080
6081 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6082
6083 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6084
6085 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6086 file parsing and set FD_CLOEXEC.
6087
82af0fa8
UD
60882011-11-14 Ulrich Drepper <drepper@gmail.com>
6089
6090 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6091
a5fb313c
AS
60922011-11-14 Andreas Schwab <schwab@redhat.com>
6093
6094 * malloc/arena.c (arena_get2): Don't call reused_arena when
6095 _int_new_arena failed.
6096
6abf3465
UD
60972011-11-14 Ulrich Drepper <drepper@gmail.com>
6098
6099 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6100 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6105 to compile strcasecmp and strncasecmp.
6106 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6107 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6108
6109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6110
76e3966e
UD
61112011-11-13 Ulrich Drepper <drepper@gmail.com>
6112
6113 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6114 locale-defines.sym to gen-as-const-headers.
6115 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6116 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6118 to compile strcasecmp and strncasecmp.
6119 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6120 strcasecmp_l and strncasecmp_l.
6121 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6122 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6123 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6124 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6125 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6126 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6127 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6128 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6129 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6130 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6131 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6132
ab26144e
UD
61332011-11-12 Ulrich Drepper <drepper@gmail.com>
6134
7edb22ef
UD
6135 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6136 result of SYSDEP_GETTIME_CPU to retval.
6137 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6138 parameter list to macro. Remove trailing semicolon. Adjust users.
6139
9694fc44
UD
6140 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6141 variable.
6142
8ad89ef8
UD
6143 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6144 mantissa words.
6145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6146
0c822ef9
UD
6147 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6148 from unused variable.
6149
874e0564
UD
6150 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6151 DWARF definitions.
6152 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6153 for assembling.
6154
3a2edc79
UD
6155 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6156 over namespaces.
6157
f3c2577f
UD
6158 * sunrpc/rpc_prot.c (rejected): Fix case value.
6159
294ce126
UD
6160 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6161 unsigned long long int to avoid warnings in shift.
6162
5e2b63c6
UD
6163 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6164 of use of trans.
6165 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6166 variable tmp.
6167
e7f4b08e
UD
6168 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6169 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6170 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6171
ab26144e
UD
6172 * nis/nis_table.c (nis_list): Use variable of correct type for
6173 result of __follow_path call.
6174
8a6d5255
AZ
61752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176
6177 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6178 of math functions ceil, trunc, floor, round, and sqrt, when
6179 avaliable on the platform.
6180 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6181 name clash.
6182 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6183 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6184 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6185
aaddc98c
MP
61862011-10-30 Marek Polacek <mpolacek@redhat.com>
6187
6188 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6190
95b7042b
RM
61912011-11-11 Roland McGrath <roland@hack.frob.com>
6192
6193 * include/unistd.h: Fix __readlink return type.
6194 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6195
57769839
UD
61962011-11-11 Ulrich Drepper <drepper@gmail.com>
6197
6198 * stdlib/ucontext.h: Undo last change for makecontext.
6199
edc5984d
AS
62002011-11-11 Andreas Schwab <schwab@redhat.com>
6201
98591e58
AS
6202 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6203
edc5984d
AS
6204 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6205 * setjmp/setjmp.h: Mark functions as non-leaf.
6206 * setjmp/bits/setjmp2.h: Likewise.
6207 * stdlib/ucontext.h: Likewise.
6208
77cdc054
AS
62092011-11-10 Andreas Schwab <schwab@redhat.com>
6210
6211 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6212 (reused_arena): Don't check arena limit.
6213 (arena_get2): Atomically check arena limit.
6214
fe72eebd
UD
62152011-11-08 Ulrich Drepper <drepper@gmail.com>
6216
5f078c32
UD
6217 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6218 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6219
fe72eebd
UD
6220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6221 instructions.
6222
ae1bc2fa
AS
62232011-11-07 Andreas Schwab <schwab@redhat.com>
6224
7583a88d
AS
6225 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6226 handler when locking.
6227
ae1bc2fa
AS
6228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6229 Fix size of allocated buffer.
6230
10fb0bfa
AS
62312011-11-04 Andreas Schwab <schwab@redhat.com>
6232
998832a4
AS
6233 [BZ #10103]
6234 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6235 declarations for long double functions.
6236 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6237
10fb0bfa
AS
6238 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6239
3d7ba52b
AS
62402011-11-03 Andreas Schwab <schwab@redhat.com>
6241
a9ae54a1
AS
6242 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6243 installed.
6244
3d7ba52b
AS
6245 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6246 is disabled.
6247
bc8db248
ST
62482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6249
6250 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6251
45b96dd6
AS
62522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6253
647776f6
AS
6254 * include/alloca.h (stackinfo_alloca_round): Define.
6255 (extend_alloca): Use it.
6256 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6257 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6258 here.
6259
d91a8b93
AS
6260 * scripts/check-local-headers.sh: Ignore libaudit.h.
6261
45b96dd6
AS
6262 * nscd/Makefile (extra-objs): Make recursively expanded.
6263
432d41ce
UD
62642011-11-01 Ulrich Drepper <drepper@gmail.com>
6265
34372fc6
UD
6266 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6268
fadb59f8
UD
6269 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6270 * posix/tst-rfc3484-2.c: Likewise.
6271 * posix/tst-rfc3484-3.c: Likewise.
6272
78239589
UD
6273 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6274 process_vm_writev.
6275 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6276 process_vm_writev.
6277 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6278 process_vm_writev from libc using GLIBC_2.15 version.
6279
432d41ce
UD
6280 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6281
02f9c6cf
PP
62822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6283
6284 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6285 stack usage.
6286
3a2c0242
UD
62872011-10-31 Ulrich Drepper <drepper@gmail.com>
6288
f4ec4833
UD
6289 [BZ #13367]
6290 * nss/getent.c (initgroups_keys): Show error message in case no group
6291 names are given.
6292
3a2c0242
UD
6293 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6294 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6295 __bump_nl_timestamp.
6296 * nscd/connections (nscd_init): When host database is served open
6297 netlink socket and request notification about configuration changes.
6298 (main_loop_poll): Track netlink file descriptor and bump timestamp
6299 in case data becomes available.
6300 (main_loop_epoll): Likewise.
6301 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6302 (database_pers_head): Add extra_data fileds.
6303 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6304 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6305 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6306 Adjust caller.
6307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6308 in6ai data, call __free_in6ai.
6309 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6310 Add -DHAVE_NETLINK.
6311 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6312 interface information. Reuse previous data if netlink timestamp
6313 is not changed.
6314 (__bump_nl_timestamp): New function.
6315 (__free_in6ai): New function.
6316
636064eb
UD
63172011-10-30 Ulrich Drepper <drepper@gmail.com>
6318
6319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6320 close_not_cancel_no_status here.
6321 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6322
9beb2334
UD
63232011-10-29 Ulrich Drepper <drepper@gmail.com>
6324
6ef76f3b
UD
6325 [BZ #13276]
6326 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6327 return value.
6328
0ffc4f3e 6329 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6330 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6331 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6332
cb95113e
UD
63332011-07-03 Andreas Jaeger <aj@suse.de>
6334
6335 [BZ #10709]
6336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6337 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6338 * math/libm-test.inc (sin_test): Add test case.
6339
a1b560ff
UD
63402011-10-29 Ulrich Drepper <drepper@gmail.com>
6341
c9aaface
UD
6342 [BZ #13337]
6343 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6344 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6345
d272e7f1
UD
6346 * elf/chroot_canon.c (chroot_canon): Cleanups.
6347
1bc33071
UD
6348 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6349
1760874d
TJ
6350 [BZ #13335]
6351 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6353
51d91b18
UD
6354 * string/test-strchr.c: Make usable for strchrnul testing.
6355 * string/test-strchrnul.c: New file.
6356 * string/Makefile (strop-tests): Add strchrnul.
6357
a1b560ff 6358 * po/it.po: Update from translation team.
b611fb81 6359 * po/es.po: Likewise.
a1b560ff 6360
a5b81e1f
UD
63612011-10-28 Ulrich Drepper <drepper@gmail.com>
6362
fd52bc6d
UD
6363 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6364 the three constants needed as parameters. Drop the others.
6365 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6366 __m128i_strloadu_tolower.
52e4b9eb
UD
6367 Create and initialize variable zero and use it in all the places
6368 where _mm_setzero_si128 was used.
fd52bc6d 6369
a5b81e1f
UD
6370 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6371 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6372 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6374 anymore.
6375 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6376 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6377 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6378 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6379 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6380 __mpranred, __mptan.
6381 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6382 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6383 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6384 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6385 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6386 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6388 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6389 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6390
b4343346
AS
63912011-10-28 Andreas Schwab <schwab@redhat.com>
6392
0c92d8a8
AS
6393 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6394 redefine if SHARED.
6395 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6396
b4343346
AS
6397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6398 wide char related routines to wcsmbs subdir.
6399
3871f58f
AS
64002011-10-27 Andreas Schwab <schwab@redhat.com>
6401
6402 [BZ #13344]
6403 * misc/sys/cdefs.h (__THROWNL): Define.
6404 * posix/unistd.h: Use __THREADNL instead of __THREAD
6405 for memory synchronization functions.
6406
94d44d9f
RM
64072011-10-26 Roland McGrath <roland@hack.frob.com>
6408
21b64b15 6409 [BZ #13349]
94d44d9f
RM
6410 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6411 doesn't exist.
6412 * manual/stdio.texi (Obstack Streams): Node removed.
6413
f6ce9294
AS
64142011-10-26 Andreas Schwab <schwab@redhat.com>
6415
80479147
AS
6416 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6417 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6419
f6ce9294
AS
6420 * math/math_private.h (math_force_eval): Allow non-addressable
6421 arguments.
6422 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6423
618280a1
UD
64242011-10-25 Ulrich Drepper <drepper@gmail.com>
6425
e0016b11
UD
6426 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6427 file is not needed.
6428
6429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6436 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6437 Add AVX variants.
6438 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6439 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6440 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6441 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6442 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6443 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6444 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6445 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6448 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6449 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6451 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6452 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6453 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6454 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6455 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6456 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6457
6458 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6459 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6460
618280a1
UD
6461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6462 place. Use VEX encoding when compiling for AVX.
6463
37822576
AS
64642011-10-25 Andreas Schwab <schwab@redhat.com>
6465
1f1e1947
AS
6466 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6467 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6468
37822576
AS
6469 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6470
31ea014d
UD
64712011-10-25 Ulrich Drepper <drepper@gmail.com>
6472
d7826aa1 6473 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6474 useless if() expression.
d7826aa1
UD
6475 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6485 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6486 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6487 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6489 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6494
31ea014d
UD
6495 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6496
16437fec
AS
64972011-10-25 Andreas Schwab <schwab@redhat.com>
6498
6499 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6500 condition.
6501 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6502
31d3cc00
UD
65032011-10-25 Ulrich Drepper <drepper@gmail.com>
6504
6505 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6506 .text section. Avoid duplicate constants.
6507 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6517 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6519 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6534 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6535 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6536 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6538 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6539 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6540 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6541 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6542 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6543 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6544 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6545 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6546 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6547 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6548 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6549 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6550 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6551 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6552
58985aa9
UD
65532011-10-24 Ulrich Drepper <drepper@gmail.com>
6554
202c9deb
UD
6555 * sysdeps/x86_64/dla.h: Move to ...
6556 * sysdeps/x86_64/fpu/dla.h: ...here.
6557 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6558 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6559
af968f62
UD
6560 * config.make.in: Add have-mfma4 entry.
6561 * configure.in: Substitute libc_cv_cc_fma4.
6562 * math/Makefile (dbl-only-routines): Add sincostab.
6563 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6564 Use __sincostab not sincos.
6565 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6566 name is a macro.
6567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6571 using __copysign.
6572 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6573 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6574 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6575 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6576 and __inv.
6577 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6578 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6579 __copysign.
6580 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6581 define aliases when function name is a macro.
6582 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6583 sysdeps/ieee754/dbl-64/sincos.tbl.
6584 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6585 fma4-enabled routines.
6586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6587 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6588 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6589 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6591 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6592 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6593 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6594 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6595 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6596 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6597 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6598 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6609 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6610 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6611 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6612 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6613 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6614 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6615 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6616
58985aa9
UD
6617 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6618 rename.
6619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6627
a201fbcf
AS
66282011-10-24 Andreas Schwab <schwab@redhat.com>
6629
6630 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6631
fc2ee42a
LD
66322011-10-23 Ulrich Drepper <drepper@gmail.com>
6633
bb3129bd
UD
6634 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6635
0275fff8
UD
6636 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6637 prediction.
6638 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6639
2fa2ae85
UD
6640 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6641 Remove unused variable magic_bits.
6642 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6643
fc2ee42a
LD
6644 * string/strnlen.c: Define and use STRNLEN macro.
6645 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6646 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6648 * wcsmbs/wcslen.c: Define and use WCSLEN.
6649 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6650 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6651 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6652 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6653 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6654 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6655 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6656
ce7dd29f
LD
66572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6658
6659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6660 strnlen-sse2-no-bsf.
6661 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6663 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6664 Add strnlen support.
6665 (USE_AS_STRNLEN): New macro.
6666 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6667 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6668 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6669 * sysdeps/x86_64/wcslen.S: New file.
6670
979c70a3
MZ
66712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6672
6673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6674 XMM-moves are used for copying on small sizes.
6675
2d09f82f
LD
66762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6677
6678 * wcsmbs/Makefile (strop-tests): Add wcschr.
6679 * wcsmbs/test-wcschr.c: New file.
6680 * string/test-strchr.c: Update.
6681 Add wcschr support.
6682 (WIDE): New macro.
6683
619fccca
LD
66842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6685
2d09f82f 6686 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6687 * wcsmbs/test-wcslen.c: New file.
6688 * string/test-strlen.c: Update.
6689 Add wcslen support.
6690 (WIDE): New macro.
6691
09f699ea
UD
66922011-10-23 Ulrich Drepper <drepper@gmail.com>
6693
6694 * po/it.po: Update from translation team.
6695
95584d3b
LD
66962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6697
6698 * sysdeps/x86_64/wcscmp.S: Update.
6699 Fix wrong comparison semantics.
6700 wcscmp shall use signed comparison not unsigned.
6701 Don't use substraction to avoid overflow bug.
6702 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6703 * wcsmbc/wcscmp.c: Likewise.
6704 * string/test-strcmp.c: Likewise.
6705 Add new tests to check cases with negative values.
6706
c8b3296b
UD
67072011-10-23 Ulrich Drepper <drepper@gmail.com>
6708
6709 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6710 * sysdeps/x86_64/dla.h: ...here. New file.
6711 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6720
246ad57a
AS
67212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6724 __ynl_finite aliases.
6725
a1a87169
UD
67262011-10-22 Ulrich Drepper <drepper@gmail.com>
6727
0d355eb7
UD
6728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6729
a1a87169
UD
6730 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6731 define DLA_FMA.
6732 [DLA_FMA] (EMULV): Use DLA_FMA.
6733 [DLA_FMA] (MUL12): Use EMULV.
6734 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6735 that are not needed.
6736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6743
ee2aafe0
AS
67442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6745
6746 * math/s_nan.c: Undef __nan.
6747 * math/s_nanf.c: Undef __nanf.
6748 * math/s_nanl.c: Undef __nanl.
6749 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6750 "math_private.h".
6751
bc62c2fb
UD
67522011-10-22 Ulrich Drepper <drepper@gmail.com>
6753
77425c63
UD
6754 * math/s_catan.c: Add branch predictions.
6755 * math/s_catanf.c: Likewise.
6756 * math/s_catanh.c: Likewise.
6757 * math/s_catanhf.c: Likewise.
6758 * math/s_catanhl.c: Likewise.
6759 * math/s_catanl.c: Likewise.
6760 * math/s_cexp.c: Likewise.
6761 * math/s_cexpf.c: Likewise.
6762 * math/s_cexpl.c: Likewise.
6763 * math/s_clog.c: Likewise.
6764 * math/s_clog10.c: Likewise.
6765 * math/s_clog10f.c: Likewise.
6766 * math/s_clog10l.c: Likewise.
6767 * math/s_clogf.c: Likewise.
6768 * math/s_clogl.c: Likewise.
6769 * math/s_csqrt.c: Likewise.
6770 * math/s_csqrtf.c: Likewise.
6771 * math/s_csqrtl.c: Likewise.
6772 * math/s_ctanf.c: Likewise.
6773 * math/s_ctanh.c: Likewise.
6774 * math/s_ctanhf.c: Likewise.
6775 * math/s_ctanhl.c: Likewise.
6776 * math/s_ctanl.c: Likewise.
6777
bc62c2fb
UD
6778 * math/math_private.h: Define __nan, __nanf, __nanl.
6779 * math/s_cacosh.c: Include <math_private.h>.
6780 * math/s_cacoshl.c: Likewise.
6781 * math/s_casinh.c: Likewise.
6782 * math/s_casinhf.c: Likewise.
6783 * math/s_casinhl.c: Likewise.
6784 * math/s_ccos.c: Rely entire on ccosh.
6785 * math/s_ccosf.c: Rely entire on ccoshf.
6786 * math/s_ccosl.c: Rely entirely on ccoshl.
6787 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6788 Remove tests for FE_INVALID.
6789 * math/s_ccoshf.c: Likewise.
6790 * math/s_ccoshl.c: Likewise.
6791 * math/s_csin.c: Likewise.
6792 * math/s_csinf.c: Likewise.
6793 * math/s_csinh.c Likewise.
6794 * math/s_csinhf.c: Likewise.
6795 * math/s_csinhl.c: Likewise.
6796 * math/s_csinl.c: Likewise.
6797 * math/s_ctan.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6799 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6801
8ec250a4
UD
68022011-10-21 Ulrich Drepper <drepper@gmail.com>
6803
c196fed8
UD
6804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6805 compilation problems.
6806
8ec250a4
UD
6807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6808 __builtin_expect.
6809
8d4f46c6
UD
68102011-10-20 Ulrich Drepper <drepper@gmail.com>
6811
ed72b654
UD
6812 * sysdeps/i386/configure.in: Test for -mfma4 option.
6813 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6814 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6815 COMMON_CPUID_INDEX_80000001.
6816 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6817 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6818 use it if FMA3 is not supported.
6819 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6820
8d4f46c6
UD
6821 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6822 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6823
d45c60c2
AS
68242011-10-20 Andreas Schwab <schwab@redhat.com>
6825
6826 [BZ #12892]
6827 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6828 it would create a cycle with a link time dependency.
6829
d9a4d2ab
UD
68302011-10-19 Ulrich Drepper <drepper@gmail.com>
6831
855d1560
UD
6832 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6833 instruction.
6834 * string/Makefile (strop-tests): Add rawmemchr.
6835 * string/test-rawmemchr.c: New file.
6836
d9a4d2ab
UD
6837 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6839 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6840 when compiling str{,n}casecmp and when AVX is available. Hook up
6841 new optimized code in initializers.
6842
8f3b1ffe
AS
68432011-10-19 Andreas Schwab <schwab@redhat.com>
6844
6845 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6846 __feraiseexcept instead of feraiseexcept.
6847
d38f1dba
UD
68482011-10-18 Ulrich Drepper <drepper@gmail.com>
6849
d9a8d0ab
UD
6850 * math/math_private.h: Define defaults for libc_fetestexcept and
6851 libc_feupdateenv.
6852 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6853 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6857 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6858 libc_fetestexcept and libc_feupdateenv.
6859
4855e3dd
UD
6860 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6861 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6862 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6863 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6864 libc_feholdexcept_setround.
6865
581d30e3
UD
6866 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6867 Add s_nearbyint-c and s_nearbyintf-c.
6868 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6869 nearbyintf inlines.
6870 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6874
d38f1dba
UD
6875 * math/math_private.h: Define defaults for libc_fegetround,
6876 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6877 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6878 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6879 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6880 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6881 standard functions.
6882 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6883 Remove comments and hacks for old compiler versions.
6884 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6885 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6886 libc_feholdexceptl.
6887
caa6c9d8
AS
68882011-10-18 Andreas Schwab <schwab@redhat.com>
6889
6890 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6891 (__feraiseexcept_renamed): Add __NTH.
6892 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6893 namespace violations.
6894
97c066e6
UD
68952011-10-17 Ulrich Drepper <drepper@gmail.com>
6896
99ce7b04
UD
6897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6898
1004d182
UD
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6900
228a984d
UD
6901 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6902 recently added interfaces.
6903 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6904
c8553a6a
UD
6905 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6906 about macro parameter expansion.
6907
ed22dcf6
UD
6908 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6909 __NO_MATH_INLINES is defined. Cleanups.
6910
6911 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6912 and __floorf is target has SSE4.1.
6913 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6914 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6915 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6916 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6917
b171c137
UD
6918 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6919 name.
6920 (floorf): Likewise.
6921
97c066e6
UD
6922 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6923
629f62ef
AS
69242011-10-17 Andreas Schwab <schwab@redhat.com>
6925
49a43d80
AS
6926 * misc/sys/cdefs.h: Fix last change.
6927
629f62ef
AS
6928 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6929 database lookup.
6930
e453f6cd
UD
69312011-10-16 Ulrich Drepper <drepper@gmail.com>
6932
aa78043a
UD
6933 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6934
ad0f5cad
UD
6935 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6941 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6943 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6944 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6945 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6946 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6947 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6948 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6949 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6950 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6952 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6953 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6954 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6955 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6956 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6957
6958 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6959 ceil, ceilf, floor, floorf.
6960
6961 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6962 Perform IRELATIVE relocations last.
6963
e453f6cd
UD
6964 * elf/do-rel.h: Add another parameter nrelative, replacing the
6965 local variable with the same name. Change name of the function
6966 to end in Rel or Rela (uppercase).
6967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6968 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6969 elf_dynamic_do_##reloc function.
6970
fd5bdc09
UD
69712011-10-15 Ulrich Drepper <drepper@gmail.com>
6972
79b195b5
UD
6973 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6974 is sufficient, at least on modern CPUs.
6975
d4a28569
UD
6976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6977
b61099b5
UD
6978 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6979 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6980
bcf01e6d
UD
6981 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6982 __expl_finite.
6983 * math/bits/math-finite.h: Add entries for exp.
6984 * math/e_expl.c: Add __*_finite alias.
6985 * sysdeps/i386/fpu/e_exp.S: Likewise.
6986 * sysdeps/i386/fpu/e_expf.S: Likewise.
6987 * sysdeps/i386/fpu/e_expl.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6989 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6993 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6995
ba1a0d59
UD
6996 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6997 is sufficient, at least on modern CPUs.
6998
fd5bdc09
UD
6999 * ctype/ctype-info.c (__ctype_init): Define.
7000 * include/ctype.h (__ctype_init): Declare.
7001 (__ctype_b_loc): The variable is always initialized.
7002 (__ctype_toupper_loc): Likewise.
7003 (__ctype_tolower_loc): Likewise.
7004 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7005 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7006
7872cfb0
AS
70072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7008
b468825a
AS
7009 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7010
7872cfb0
AS
7011 * configure.in: Also look in $cxxmachine/include for C++ system
7012 headers.
7013
be13f7bf
LD
70142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7015
7016 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7017 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7018 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7019 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7020 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7021 (USE_AS_WMEMCMP): New macro.
7022 Fixing indents.
7023 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7024 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7025 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7026 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7028 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7029 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7030 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7031 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7032 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7033 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7034 (USE_AS_WMEMCMP): New macro.
7035 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7036 * sysdeps/string/test-memcmp.c: Update.
7037 Fix simple_wmemcmp.
7038 Add new tests.
7039 * wcsmbs/wmemcmp.c: Update.
7040 (WMEMCMP): New macro.
7041 Fix overflow bug.
7042
556a2007
AJ
70432011-10-12 Andreas Jaeger <aj@suse.de>
7044
7045 [BZ #13268]
7046 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7047
538faaa7
UD
70482011-10-15 Ulrich Drepper <drepper@gmail.com>
7049
ab6737ff
UD
7050 * libio/iofwide.c (do_length): Avoid warning.
7051
538faaa7
UD
7052 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7053
396a21b1
UD
70542011-10-14 Ulrich Drepper <drepper@gmail.com>
7055
cdf2901f
UD
7056 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7057
38ad40ce
UD
7058 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7059 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7060 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7061 * sysdeps/i386/i686/fpu/e_log.S: New file.
7062 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7063 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7064
396a21b1
UD
7065 * ctype/ctype.h: Add support for inlined isXXX functions when
7066 compiling C++ code.
7067
6b1f68c9
AS
70682011-10-14 Andreas Schwab <schwab@redhat.com>
7069
349290c0
AS
7070 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7071
6b1f68c9
AS
7072 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7073
f2282d42
RM
70742011-10-13 Roland McGrath <roland@hack.frob.com>
7075
7076 [BZ #13291]
7077 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7078
5298ffa8
AS
70792011-10-13 Andreas Schwab <schwab@redhat.com>
7080
714fad23
AS
7081 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7082 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7083 feraiseexcept.
7084
81dcc7fb
AS
7085 * sysdeps/x86_64/memrchr.S: Check for zero size.
7086
5298ffa8
AS
7087 * string/stratcliff.c: Add memrchr tests.
7088
951fbcec
LD
70892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7090
7091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7092 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7093 rawmemchr-sse2 rawmemchr-sse2-bsf.
7094 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7095 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7096 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7097 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7098 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7099 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7100 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7101 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7102 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7103 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7104 * string/memrchr.c (MEMRCHR): New macro.
7105
0ac5ae23
UD
71062011-10-12 Ulrich Drepper <drepper@gmail.com>
7107
7108 Add integration with gcc's -ffinite-math-only and optimize wrapper
7109 functions in libm.
7110 * Versions.def: Define GLIBC_2.15 version for libm.
7111 * math/Makefile (headers): Add bits/math-finite.h.
7112 * math/bits/math-finite.h: New file.
7113 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7114 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7115 * math/e_acoshl.c: Add __*_finite alias.
7116 * math/e_acosl.c: Likewise.
7117 * math/e_asinl.c: Likewise.
7118 * math/e_atan2l.c: Likewise.
7119 * math/e_atanhl.c: Likewise.
7120 * math/e_coshl.c: Likewise.
7121 * math/e_exp10.c: Likewise.
7122 * math/e_exp10f.c: Likewise.
7123 * math/e_exp10l.c: Likewise.
7124 * math/e_exp2l.c: Likewise.
7125 * math/e_fmodl.c: Likewise.
7126 * math/e_gammal_r.c: Likewise.
7127 * math/e_hypotl.c: Likewise.
7128 * math/e_j0l.c: Likewise.
7129 * math/e_j1l.c: Likewise.
7130 * math/e_jnl.c: Likewise.
7131 * math/e_lgammal_r.c: Likewise.
7132 * math/e_log10l.c: Likewise.
7133 * math/e_log2l.c: Likewise.
7134 * math/e_logl.c: Likewise.
7135 * math/e_powl.c: Likewise.
7136 * math/e_sinhl.c: Likewise.
7137 * math/e_sqrtl.c: Likewise.
7138 * math/e_scalb.c: Completely rewritten and optimized.
7139 * math/e_scalbf.c: Likewise.
7140 * math/e_scalbl.c: Likewise.
7141 * math/w_acos.c: Likewise.
7142 * math/w_acosf.c: Likewise.
7143 * math/w_acosl.c: Likewise.
7144 * math/w_acosh.c: Likewise.
7145 * math/w_acoshf.c: Likewise.
7146 * math/w_acoshl.c: Likewise.
7147 * math/w_asin.c: Likewise.
7148 * math/w_asinf.c: Likewise.
7149 * math/w_asinl.c: Likewise.
7150 * math/w_atan2.c: Likewise.
7151 * math/w_atan2f.c: Likewise.
7152 * math/w_atan2l.c: Likewise.
7153 * math/w_atanh.c: Likewise.
7154 * math/w_atanhf.c: Likewise.
7155 * math/w_atanhl.c: Likewise.
7156 * math/w_exp10.c: Likewise.
7157 * math/w_exp10f.c: Likewise.
7158 * math/w_exp10l.c: Likewise.
7159 * math/w_fmod.c: Likewise.
7160 * math/w_fmodf.c: Likewise.
7161 * math/w_fmodl.c: Likewise.
7162 * math/w_j0.c: Likewise.
7163 * math/w_j0f.c: Likewise.
7164 * math/w_j0l.c: Likewise.
7165 * math/w_j1.c: Likewise.
7166 * math/w_j1f.c: Likewise.
7167 * math/w_j1l.c: Likewise.
7168 * math/w_jn.c: Likewise.
7169 * math/w_jnf.c: Likewise.
7170 * math/w_log.c: Likewise.
7171 * math/w_logf.c: Likewise.
7172 * math/w_logl.c: Likewise.
7173 * math/w_log10.c: Likewise.
7174 * math/w_log10f.c: Likewise.
7175 * math/w_log10l.c: Likewise.
7176 * math/w_log2.c: Likewise.
7177 * math/w_log2f.c: Likewise.
7178 * math/w_log2l.c: Likewise.
7179 * math/w_pow.c: Likewise.
7180 * math/w_powf.c: Likewise.
7181 * math/w_powl.c: Likewise.
7182 * math/w_remainder.c: Likewise.
7183 * math/w_remainderf.c: Likewise.
7184 * math/w_remainderl.c: Likewise.
7185 * math/w_scalb.c: Likewise.
7186 * math/w_scalbf.c: Likewise.
7187 * math/w_scalbl.c: Likewise.
7188 * math/w_sqrt.c: Likewise.
7189 * math/w_sqrtf.c: Likewise.
7190 * math/w_sqrtl.c: Likewise.
7191 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7192 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7193 used.
7194 * math/math_private.h: Declare __kernel_standard_f.
7195 * math/w_cosh.c: Remove cruft and optimize a bit.
7196 * math/w_coshf.c: Likewise.
7197 * math/w_coshl.c: Likewise.
7198 * math/w_exp2.c: Likewise.
7199 * math/w_exp2f.c: Likewise.
7200 * math/w_exp2l.c: Likewise.
7201 * math/w_hypot.c: Likewise.
7202 * math/w_hypotf.c: Likewise.
7203 * math/w_hypotl.c: Likewise.
7204 * math/w_lgamma.c: Likewise.
7205 * math/w_lgamma_r.c: Likewise.
7206 * math/w_lgammaf.c: Likewise.
7207 * math/w_lgammaf_r.c: Likewise.
7208 * math/w_lgammal.c: Likewise.
7209 * math/w_lgammal_r.c: Likewise.
7210 * math/w_sinh.c: Likewise.
7211 * math/w_sinhf.c: Likewise.
7212 * math/w_sinhl.c: Likewise.
7213 * math/w_tgamma.c: Likewise.
7214 * math/w_tgammaf.c: Likewise.
7215 * math/w_tgammal.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7218 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7219 Minor optimizations. Pretty printing. Remove cruft.
7220 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7222 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7224 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7225 * sysdeps/i386/fpu/e_asin.S: Likewise.
7226 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7227 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7228 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7229 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7231 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7232 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7233 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7234 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7235 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7236 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7237 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7238 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7239 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7240 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7241 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7242 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7243 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7244 * sysdeps/i386/fpu/e_log.S: Likewise.
7245 * sysdeps/i386/fpu/e_log10.S: Likewise.
7246 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7248 * sysdeps/i386/fpu/e_log2.S: Likewise.
7249 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7250 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7251 * sysdeps/i386/fpu/e_logf.S: Likewise.
7252 * sysdeps/i386/fpu/e_logl.S: Likewise.
7253 * sysdeps/i386/fpu/e_pow.S: Likewise.
7254 * sysdeps/i386/fpu/e_powf.S: Likewise.
7255 * sysdeps/i386/fpu/e_powl.S: Likewise.
7256 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7257 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7258 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7259 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7262 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7263 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7264 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7266 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7286 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7287 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7288 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7289 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7290 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7291 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7292 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7294 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7296 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7298 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7299 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7300 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7301 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7303 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7306 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7348 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7350 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7353 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7356 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7358 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7359 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7360 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7361 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7362 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7363 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7364 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7365 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7366 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7367 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7368 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7370 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7371 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7372 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7373 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7375 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7376 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7377 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7378 (__isnanf): Likewise.
7379 (__isinf_ns): Likewise.
7380 (__isinf_nsf): Likewise.
7381 (__finite): Likewise.
7382 (__finitef): Likewise.
7383 (__ieee754_sqrt): Define as macro.
7384 (__ieee754_sqrtf): Define as macro.
7385 (__ieee754_sqrtl): Define as macro.
7386 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7387 inlined copy.
7388 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7389 __FINITE_MATH_ONLY__ consistent.
7390 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7391
12cc2fcd
AS
73922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7393
a843a204
AS
7394 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7395 of rawmemchr.
7396
12cc2fcd
AS
7397 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7398
c853acd5
UD
73992011-10-09 Ulrich Drepper <drepper@gmail.com>
7400
7401 * po/ja.po: Update from translation team.
7402
c658d255
RM
74032011-10-08 Roland McGrath <roland@hack.frob.com>
7404
110946e4
RM
7405 * locale/programs/locarchive.c (prepare_address_space): New function.
7406 (create_archive, enlarge_archive, open_archive): Use it.
7407
50604220
RM
7408 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7409 inside [SHARED], where it is used.
7410
c658d255
RM
7411 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7412
7413 * nss/getent.c (netgroup_keys): Remove unused variable.
7414 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7415
6a621eb7
UD
74162011-10-08 Ulrich Drepper <drepper@gmail.com>
7417
7edb55ce
UD
7418 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7419 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7422 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7423 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7424 * math/Makefile (libm-calls): Add s_isinf_ns.
7425 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7426 * math/multc3.c: Likewise.
7427 * math/s_casin.c: Likewise.
7428 * math/s_casinf.c: Likewise.
7429 * math/s_casinl.c: Likewise.
7430 * math/s_ccos.c: Likewise.
7431 * math/s_ccosf.c: Likewise.
7432 * math/s_ccosl.c: Likewise.
7433 * math/s_ctan.c: Likewise.
7434 * math/s_ctanf.c: Likewise.
7435 * math/s_ctanh.c: Likewise.
7436 * math/s_ctanhf.c: Likewise.
7437 * math/s_ctanhl.c: Likewise.
7438 * math/s_ctanl.c: Likewise.
7439 * math/w_fmod.c: Likewise.
7440 * math/w_fmodf.c: Likewise.
7441 * math/w_fmodl.c: Likewise.
7442 * math/w_remainder.c: Likewise.
7443 * math/w_remainderf.c: Likewise.
7444 * math/w_remainderl.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7446 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7449 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7450 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7451 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7452 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7453
187da0ae
UD
7454 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7455 of the number.
7456 * stdio-common/printf_fphex.c: Likewise.
7457 * stdio-common/printf_size.c: Likewise.
7458
9277c064
UD
7459 * math/e_exp10.c: Include math_private.h using <...> not "...".
7460 * math/e_exp10f.c: Likewise.
7461 * math/e_exp10l.c: Likewise.
7462 * math/e_exp2l.c: Likewise.
7463 * math/e_j0l.c: Likewise.
7464 * math/e_j1l.c: Likewise.
7465 * math/e_jnl.c: Likewise.
7466 * math/e_lgammal_r.c: Likewise.
7467 * math/e_rem_pio2l.c: Likewise.
7468 * math/e_scalb.c: Likewise.
7469 * math/e_scalbf.c: Likewise.
7470 * math/e_scalbl.c: Likewise.
7471 * math/k_cosl.c: Likewise.
7472 * math/k_sinl.c: Likewise.
7473 * math/k_tanl.c: Likewise.
7474 * math/s_cacoshf.c: Likewise.
7475 * math/s_catan.c: Likewise.
7476 * math/s_catanf.c: Likewise.
7477 * math/s_catanh.c: Likewise.
7478 * math/s_catanhf.c: Likewise.
7479 * math/s_catanhl.c: Likewise.
7480 * math/s_catanl.c: Likewise.
7481 * math/s_ccosh.c: Likewise.
7482 * math/s_ccoshf.c: Likewise.
7483 * math/s_ccoshl.c: Likewise.
7484 * math/s_cexp.c: Likewise.
7485 * math/s_cexpf.c: Likewise.
7486 * math/s_cexpl.c: Likewise.
7487 * math/s_clog.c: Likewise.
7488 * math/s_clog10.c: Likewise.
7489 * math/s_clog10f.c: Likewise.
7490 * math/s_clog10l.c: Likewise.
7491 * math/s_clogf.c: Likewise.
7492 * math/s_clogl.c: Likewise.
7493 * math/s_csin.c: Likewise.
7494 * math/s_csinf.c: Likewise.
7495 * math/s_csinh.c: Likewise.
7496 * math/s_csinhf.c: Likewise.
7497 * math/s_csinhl.c: Likewise.
7498 * math/s_csinl.c: Likewise.
7499 * math/s_csqrt.c: Likewise.
7500 * math/s_csqrtf.c: Likewise.
7501 * math/s_csqrtl.c: Likewise.
7502 * math/s_ctan.c: Likewise.
7503 * math/s_ctanf.c: Likewise.
7504 * math/s_ctanh.c: Likewise.
7505 * math/s_ctanhf.c: Likewise.
7506 * math/s_ctanhl.c: Likewise.
7507 * math/s_ctanl.c: Likewise.
7508 * math/s_ldexp.c: Likewise.
7509 * math/s_ldexpf.c: Likewise.
7510 * math/s_ldexpl.c: Likewise.
7511 * math/s_significand.c: Likewise.
7512 * math/s_significandf.c: Likewise.
7513 * math/s_significandl.c: Likewise.
7514 * math/w_acos.c: Likewise.
7515 * math/w_acosf.c: Likewise.
7516 * math/w_acosh.c: Likewise.
7517 * math/w_acoshf.c: Likewise.
7518 * math/w_acoshl.c: Likewise.
7519 * math/w_acosl.c: Likewise.
7520 * math/w_asin.c: Likewise.
7521 * math/w_asinf.c: Likewise.
7522 * math/w_asinl.c: Likewise.
7523 * math/w_atan2.c: Likewise.
7524 * math/w_atan2f.c: Likewise.
7525 * math/w_atan2l.c: Likewise.
7526 * math/w_atanh.c: Likewise.
7527 * math/w_atanhf.c: Likewise.
7528 * math/w_atanhl.c: Likewise.
7529 * math/w_cosh.c: Likewise.
7530 * math/w_coshf.c: Likewise.
7531 * math/w_coshl.c: Likewise.
7532 * math/w_dremf.c: Likewise.
7533 * math/w_exp10.c: Likewise.
7534 * math/w_exp10f.c: Likewise.
7535 * math/w_exp10l.c: Likewise.
7536 * math/w_exp2.c: Likewise.
7537 * math/w_exp2f.c: Likewise.
7538 * math/w_fmod.c: Likewise.
7539 * math/w_fmodf.c: Likewise.
7540 * math/w_fmodl.c: Likewise.
7541 * math/w_hypot.c: Likewise.
7542 * math/w_hypotf.c: Likewise.
7543 * math/w_hypotl.c: Likewise.
7544 * math/w_j0.c: Likewise.
7545 * math/w_j0f.c: Likewise.
7546 * math/w_j0l.c: Likewise.
7547 * math/w_j1.c: Likewise.
7548 * math/w_j1f.c: Likewise.
7549 * math/w_j1l.c: Likewise.
7550 * math/w_jn.c: Likewise.
7551 * math/w_jnf.c: Likewise.
7552 * math/w_jnl.c: Likewise.
7553 * math/w_lgamma.c: Likewise.
7554 * math/w_lgamma_r.c: Likewise.
7555 * math/w_lgammaf.c: Likewise.
7556 * math/w_lgammaf_r.c: Likewise.
7557 * math/w_lgammal.c: Likewise.
7558 * math/w_lgammal_r.c: Likewise.
7559 * math/w_log.c: Likewise.
7560 * math/w_log10.c: Likewise.
7561 * math/w_log10f.c: Likewise.
7562 * math/w_log10l.c: Likewise.
7563 * math/w_log2.c: Likewise.
7564 * math/w_log2f.c: Likewise.
7565 * math/w_log2l.c: Likewise.
7566 * math/w_logf.c: Likewise.
7567 * math/w_logl.c: Likewise.
7568 * math/w_pow.c: Likewise.
7569 * math/w_powf.c: Likewise.
7570 * math/w_powl.c: Likewise.
7571 * math/w_remainder.c: Likewise.
7572 * math/w_remainderf.c: Likewise.
7573 * math/w_remainderl.c: Likewise.
7574 * math/w_scalb.c: Likewise.
7575 * math/w_scalbf.c: Likewise.
7576 * math/w_scalbl.c: Likewise.
7577 * math/w_sinh.c: Likewise.
7578 * math/w_sinhf.c: Likewise.
7579 * math/w_sinhl.c: Likewise.
7580 * math/w_sqrt.c: Likewise.
7581 * math/w_sqrtf.c: Likewise.
7582 * math/w_sqrtl.c: Likewise.
7583 * math/w_tgamma.c: Likewise.
7584 * math/w_tgammaf.c: Likewise.
7585 * math/w_tgammal.c: Likewise.
7586
6a621eb7
UD
7587 * po/ja.po: Update from translation team.
7588
bf582445
AJ
75892011-09-29 Andreas Jaeger <aj@suse.de>
7590
f9efbf3a
AJ
7591 [BZ #13179]
7592 * sunrpc/netname.c (netname2host): Fix logic.
7593
bf582445
AJ
7594 [BZ #6779]
7595 [BZ #6783]
7596 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7597 correctly.
7598 * math/w_remainder.c (__remainder): Likewise.
7599 * math/w_remainderf.c (__remainderf): Likewise.
7600 * math/libm-test.inc (remainder_test): Add test cases.
7601
48693bea
AK
76022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7603
7604 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7605 sdiv_qrnnd.
7606
42622229
LD
76072011-10-07 Ulrich Drepper <drepper@gmail.com>
7608
7609 * string/test-memcmp.c: Avoid unncessary #defines.
7610 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7611
093ecf92
LD
76122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7613
7614 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7615 Use new sse2 version for core i3 - i7 as it's faster
7616 than sse42 version.
7617 (bit_Prefer_PMINUB_for_stringop): New.
7618 * sysdeps/x86_64/rawmemchr.S: Update.
7619 Replace with faster SSE2 version.
7620 * sysdeps/x86_64/memrchr.S: New file.
7621 * sysdeps/x86_64/memchr.S: Update.
7622 Replace with faster SSE2 version.
7623
fde56e5c
MP
76242011-09-12 Marek Polacek <mpolacek@redhat.com>
7625
7626 * elf/dl-load.c (lose): Add cast to avoid warning.
7627
21fd49a9
UD
76282011-10-07 Ulrich Drepper <drepper@gmail.com>
7629
5a06e643
UD
7630 * po/ca.po: Update from translation team.
7631
684ae515
UD
7632 * inet/getnetgrent_r.c: Hook up nscd.
7633 * nscd/Makefile (routines): Add nscd_netgroup.
7634 (nscd-modules): Add netgroupcache.
7635 (CFLAGS-netgroupcache.c): Define.
7636 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7637 (cache_search): Add const to second parameter.
7638 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7639 INNETGR.
7640 (dbs): Add netgrdb entry.
7641 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7642 (verify_persistent_db): Handle netgrdb.
7643 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7644 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7645 GETFDNETGR.
7646 (netgroup_response_header): Define.
7647 (innetgroup_response_header): Define.
7648 (datahead): Add netgroup_response_header and innetgroup_response_header
7649 elements.
7650 * nscd/nscd.conf: Add entries for netgroup cache.
7651 * nscd/nscd.h (dbtype): Add netgrdb.
7652 (_PATH_NSCD_NETGROUP_DB): Define.
7653 (netgroup_iov_disabled): Declare.
7654 (xmalloc, xcalloc, xrealloc): Move declarations here.
7655 (cache_search): Adjust prototype.
7656 Add netgroup-related prototypes.
7657 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7658 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7659 (__nscd_innetgr): Declare.
7660 * nscd/selinux.c (perms): Use access_vector_t as element type and
7661 add netgroup-related initializers.
7662 * nscd/netgroupcache.c: New file.
7663 * nscd/nscd_netgroup.c: New file.
7664 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7665 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7666 For four parameters use innetgr.
7667 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7668 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7669 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7670 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7671
21fd49a9
UD
7672 * nscd/connections.c (register_traced_file): Don't register file
7673 for disabled databases.
7674
054c0457
UD
76752011-10-06 Ulrich Drepper <drepper@gmail.com>
7676
32b63198
UD
7677 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7678
054c0457
UD
7679 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7680 from tree and freeing node.
7681
64031225
JO
76822011-09-25 Jiri Olsa <jolsa@redhat.com>
7683
7684 * nss/nsswitch.c (__nss_database_lookup): Handle
7685 nss_parse_service_list out of memory case.
7686
0490345c
JO
76872011-09-15 Jiri Olsa <jolsa@redhat.com>
7688
7689 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7690 out of memory case.
7691
3a62d00d
AS
76922011-10-04 Andreas Schwab <schwab@redhat.com>
7693
7694 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7695 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7696 pass it down.
7697 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7698 elf_machine_rela, elf_machine_lazy_rel.
7699 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7700 (ELF_DYNAMIC_DO_REL): Likewise.
7701 (ELF_DYNAMIC_DO_RELA): Likewise.
7702 (ELF_DYNAMIC_RELOCATE): Likewise.
7703 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7704 to ELF_DYNAMIC_DO_REL.
7705 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7706 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7707 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7708 elf_machine_rela.
7709 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7710 skip_ifunc, don't call ifunc function if non-zero.
7711 (elf_machine_rela): Likewise.
7712 (elf_machine_lazy_rel): Likewise.
7713 (elf_machine_lazy_rela): Likewise.
7714 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7715 (elf_machine_lazy_rel): Likewise.
7716 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7717 Likewise.
7718 (elf_machine_lazy_rel): Likewise.
7719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7720 Likewise.
7721 (elf_machine_lazy_rel): Likewise.
7722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7723 (elf_machine_lazy_rel): Likewise.
7724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7725 (elf_machine_lazy_rel): Likewise.
7726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7727 (elf_machine_lazy_rel): Likewise.
7728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7729 (elf_machine_lazy_rel): Likewise.
7730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7731 (elf_machine_lazy_rel): Likewise.
7732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7733 (elf_machine_lazy_rel): Likewise.
7734
68577918
UD
77352011-09-28 Ulrich Drepper <drepper@gmail.com>
7736
7737 * nss/nss_files/files-init.c (_nss_files_init): Use static
7738 initialization for all the *_traced_file variables.
7739
68822d74
AS
77402011-09-28 Andreas Schwab <schwab@redhat.com>
7741
7742 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7743
2056100b
RM
77442011-09-27 Roland McGrath <roland@hack.frob.com>
7745
7746 [BZ #13226]
7747 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7748
32c76b63
AS
77492011-09-27 Andreas Schwab <schwab@redhat.com>
7750
7751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7752 Reread the line before reparsing it.
7753
bf972c9d
AS
77542011-09-26 Andreas Schwab <schwab@redhat.com>
7755
7756 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7757
e057a1b5
JM
77582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7759 Maxim Kuvyrkov <maxim@codesourcery.com>
7760 Joseph Myers <joseph@codesourcery.com>
7761
7762 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7763 if needed for __stack_chk_guard.
7764
bc7e1c36
RM
77652011-09-19 Roland McGrath <roland@hack.frob.com>
7766
ecb1482f
RM
7767 * sysdeps/posix/spawni.c (script_execute): Always define it.
7768 It will be optimized away if unused.
7769 (maybe_script_execute): New function.
7770 (__spawni): Call it.
7771
bc7e1c36
RM
7772 * Makerules: Don't include tls.make.
7773 (config-tls): Always set to thread.
7774 * tls.make.c: File removed.
7775
1c3b002b
MF
77762011-09-19 Mike Frysinger <vapier@gentoo.org>
7777
7778 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7779 * config.make.in (CPPFLAGS-config): New substituted variable.
7780
2840865d
UD
77812011-09-15 Ulrich Drepper <drepper@gmail.com>
7782
88738eb6
UD
7783 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7784
cbf645a6 7785 [BZ #13192]
2840865d
UD
7786 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7787 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7788
b402e91a
RM
77892011-09-15 Roland McGrath <roland@hack.frob.com>
7790
7791 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7792 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7794 (CALL_FAIL): Likewise.
7795 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7796 (CALL_FAIL): Macro removed.
7797 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7798
4c1a1f71
UD
77992011-09-15 Ulrich Drepper <drepper@gmail.com>
7800
7801 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7802 for __FINITE_MATH_ONLY__ == 1.
7803
edc121be
AS
78042011-09-15 Andreas Schwab <schwab@redhat.com>
7805
7806 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7807 __ieee754_sqrt instead of sqrt.
7808 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7809 __ieee754_sqrtf instead of sqrtf.
7810 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7811 __floorf instead of floorf.
7812 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7813 __floorf, __truncf instead of floorf, truncf.
7814
cd205654
UD
78152011-09-14 Ulrich Drepper <drepper@gmail.com>
7816
ee4d0315
UD
7817 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7818
cd205654
UD
7819 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7820 __extern_always_inline.
7821 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7822 32-bit.
7823
48b67d71
AS
78242011-09-14 Andreas Schwab <schwab@redhat.com>
7825
7826 * elf/rtld.c (dl_main): Also relocate in dependency order when
7827 doing symbol dependency testing.
7828
1ae12c75
AS
78292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7830
7831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7832 Always define `refsym'.
7833
995a80df
AS
78342011-09-13 Andreas Schwab <schwab@redhat.com>
7835
e529793b
AS
7836 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7837 (__FD_ELT): Renamed from __FDELT.
7838 * misc/bits/select2.h (__FD_ELT): Likewise.
7839 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7840 __FD_MASK instead of __FDELT, __FDMASK.
7841 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7842 Likewise.
7843 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7844 Likewise.
7845
52d4fef8
AS
7846 * elf/Makefile (gen-ldd): Fix pattern.
7847
995a80df
AS
7848 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7849 (init_tls): Likewise.
7850
8682f8b0
UD
78512011-09-12 Ulrich Drepper <drepper@gmail.com>
7852
7853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7854
de82006d
AS
78552011-09-12 Andreas Schwab <schwab@redhat.com>
7856
a7c8e6a1
AS
7857 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7858 `struct cmsghdr *' instead of `void *'.
7859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7860 Likewise.
7861
0f31fe77
AS
78622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7863
7864 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7865 if non-absolute.
7866 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7867 ldd_rewrite_script.
0f31fe77 7868
32b4c839
UD
78692011-09-11 Ulrich Drepper <drepper@gmail.com>
7870
83cd1420
UD
7871 * configure.in: Remove --with-tls option.
7872 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7873 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7874 out in case it is missing.
7875 * sysdeps/ia64/elf/configure.in: Likewise.
7876 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7877 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7878 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7879 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7880 * sysdeps/sh/elf/configure.in: Likewise.
7881 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7882 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7883 * sysdeps/x86_64/elf/configure.in: Likewise.
7884 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7885 * sysdeps/mach/hurd/tls.h: Likewise.
7886
633f745d
UD
7887 [BZ #13067]
7888 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7889
f318beb8
UD
7890 [BZ #13090]
7891 * configure.in: Fix use of AC_INIT.
7892
32b4c839
UD
7893 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7894
3ce1f295
UD
78952011-09-10 Ulrich Drepper <drepper@gmail.com>
7896
bb016596
UD
7897 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7898 __set_errno.
8e58439c
UD
7899 * malloc/hooks.c: Likewise.
7900
aebae053 7901 [BZ #11929]
02d46fc4
UD
7902 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7903 variables statically.
7904 (narenas): Initialize.
7905 (list_lock): Initialize.
bb016596
UD
7906 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7907 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7908 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7909 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7910 Add initializers to main_arena and mp_.
7911 (malloc_state): Remove pagesize member. Change all users to use
7912 GLRO(dl_pagesize).
7913
7914 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7915 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7916 is always initialized.
7917
22a89187
UD
7918 * malloc/malloc.c: Removed unused configurations and dead code.
7919 * malloc/arena.c: Likewise.
7920 * malloc/hooks.c: Likewise.
02d46fc4 7921 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7922
d063d164
UD
7923 * include/tls.h: Removed. USE___THREAD must always be defined.
7924 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7925 * elf/dl-libc.c: Likewise.
7926 * elf/dl-tsd.c: Likewise.
7927 * include/errno.h: Likewise.
7928 * include/netdb.h: Likewise.
7929 * include/resolv.h: Likewise.
7930 * inet/herrno-loc.c: Likewise.
7931 * inet/herrno.c: Likewise.
7932 * malloc/arena.c: Likewise.
7933 * malloc/hooks.c: Likewise.
7934 * malloc/malloc.c: Likewise.
7935 * resolv/res-state.c: Likewise.
7936 * resolv/res_libc.c: Likewise.
7937 * sysdeps/i386/dl-machine.h: Likewise.
7938 * sysdeps/ia64/dl-machine.h: Likewise.
7939 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7940 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7941 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7942 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7943 * sysdeps/sh/dl-machine.h: Likewise.
7944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7946 * sysdeps/unix/i386/sysdep.S: Likewise.
7947 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7948 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7957 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7958 * sysdeps/x86_64/dl-machine.h: Likewise.
7959 * tls.make.c: Likewise.
7960
3ce1f295
UD
7961 * configure.in: Remove --with-__thread option. Make tests for
7962 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7963 tls_model attribute fail if no support is available. Remove
7964 USE_IN_LIBIO.
7965 * Makeconfig: Adjust for dropped configure option. All features are
7966 now mandatory.
7967 * Makerules: Likewise.
7968 * Versions.def: Likewise.
7969 * argp/argp-fmtstream.c: Likewise.
7970 * argp/argp-fmtstream.h: Likewise.
7971 * argp/argp-help.c: Likewise.
7972 * assert/assert.c: Likewise.
7973 * config.h.in: Likewise.
7974 * config.make.in: Likewise.
7975 * configure: Likewise.
7976 * configure.in: Likewise.
7977 * csu/Versions: Likewise.
7978 * csu/init.c: Likewise.
7979 * elf/tst-audit2.c: Likewise.
7980 * elf/tst-tls10.c: Likewise.
7981 * elf/tst-tls10.h: Likewise.
7982 * elf/tst-tls11.c: Likewise.
7983 * elf/tst-tls12.c: Likewise.
7984 * elf/tst-tls14.c: Likewise.
7985 * elf/tst-tlsmod11.c: Likewise.
7986 * elf/tst-tlsmod12.c: Likewise.
7987 * elf/tst-tlsmod13.c: Likewise.
7988 * elf/tst-tlsmod13a.c: Likewise.
7989 * elf/tst-tlsmod14a.c: Likewise.
7990 * elf/tst-tlsmod15b.c: Likewise.
7991 * elf/tst-tlsmod16a.c: Likewise.
7992 * elf/tst-tlsmod16b.c: Likewise.
7993 * elf/tst-tlsmod7.c: Likewise.
7994 * elf/tst-tlsmod8.c: Likewise.
7995 * elf/tst-tlsmod9.c: Likewise.
7996 * gmon/gmon.c: Likewise.
7997 * grp/fgetgrent_r.c: Likewise.
7998 * grp/putgrent.c: Likewise.
7999 * hurd/fopenport.c: Likewise.
8000 * include/libc-symbols.h: Likewise.
8001 * include/tls.h: Likewise.
8002 * intl/gettextP.h: Likewise.
8003 * intl/loadinfo.h: Likewise.
8004 * locale/global-locale.c: Likewise.
8005 * locale/localeinfo.h: Likewise.
8006 * mach/devstream.c: Likewise.
8007 * malloc/arena.c: Likewise.
8008 * malloc/set-freeres.c: Likewise.
8009 * misc/err.c: Likewise.
8010 * misc/getttyent.c: Likewise.
8011 * misc/mntent_r.c: Likewise.
8012 * posix/getopt.c: Likewise.
8013 * posix/wordexp.c: Likewise.
8014 * pwd/fgetpwent_r.c: Likewise.
8015 * resolv/Versions: Likewise.
8016 * resolv/res_hconf.c: Likewise.
8017 * shadow/fgetspent_r.c: Likewise.
8018 * shadow/putspent.c: Likewise.
8019 * stdio-common/printf_fphex.c: Likewise.
8020 * stdio-common/tmpfile.c: Likewise.
8021 * stdlib/abort.c: Likewise.
8022 * stdlib/fmtmsg.c: Likewise.
8023 * sunrpc/auth_unix.c: Likewise.
8024 * sunrpc/clnt_perr.c: Likewise.
8025 * sunrpc/clnt_tcp.c: Likewise.
8026 * sunrpc/clnt_udp.c: Likewise.
8027 * sunrpc/clnt_unix.c: Likewise.
8028 * sunrpc/openchild.c: Likewise.
8029 * sunrpc/svc_simple.c: Likewise.
8030 * sunrpc/svc_tcp.c: Likewise.
8031 * sunrpc/svc_udp.c: Likewise.
8032 * sunrpc/svc_unix.c: Likewise.
8033 * sunrpc/xdr.c: Likewise.
8034 * sunrpc/xdr_array.c: Likewise.
8035 * sunrpc/xdr_rec.c: Likewise.
8036 * sunrpc/xdr_ref.c: Likewise.
8037 * sunrpc/xdr_stdio.c: Likewise.
8038
1248c1c4
PB
80392011-09-09 Ulrich Drepper <drepper@gmail.com>
8040
8041 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8042
80432011-07-03 Andreas Jaeger <aj@suse.de>
8044
8045 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8046 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8047 regenerate with gen-libm-tests.pl.
8048
80492010-05-12 Petr Baudis <pasky@suse.cz>
8050
8051 [BZ #11589]
8052 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8053 around j0() zero points by switching to j1().
8054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8058
f22e1074
UD
80592011-09-09 Ulrich Drepper <drepper@gmail.com>
8060
f19009c1
UD
8061 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8062 instead of 0.
8063 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8064 instead of 0. .
8065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8066 Patch in part by Pavel Roskin <proski@gnu.org>.
8067
3f8cc204
UD
8068 [BZ #13138]
8069 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8070 realloc.
8071 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8072 Free memory block if necessary.
8073
f22e1074
UD
8074 [BZ #12847]
8075 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8076 be NULL. Don't lock in this case.
8077
0a2349f9
RM
80782011-09-09 Roland McGrath <roland@hack.frob.com>
8079
8080 * elf/elf.h (ELFOSABI_GNU): New macro.
8081 (ELFOSABI_LINUX): Define to that.
8082
f3cdd467
DZ
80832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8084
8085 * string/strncat.c (strncat): Undef the symbol in case it has been
8086 defined in bits/string.h.
8087
74718d13
UD
80882011-09-09 Ulrich Drepper <drepper@gmail.com>
8089
633e9e0f
UD
8090 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8091
0a2349f9 8092 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8093 link map.
8094
f9924780
AJ
80952011-08-17 Andreas Jaeger <aj@suse.de>
8096
8097 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8098
7f5517aa
PP
80992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8100 Ian Lance Taylor <iant@google.com>
8101
8102 * math/libm-test.inc (lround_test): New testcase.
8103 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8104
762011fe
UD
81052011-09-08 Ulrich Drepper <drepper@gmail.com>
8106
92963737
UD
8107 * Makefile: Remove support for automatic cvs check-ins.
8108 * Makerules: Likewise.
8109 * config.make.in: Likewise.
8110 * configure.in: Likewise.
8111 * intl/Makefile: Likewise.
8112 * locale/Makefile: Likewise.
8113 * po/Makefile: Likewise.
8114 * posix/Makefile: Likewise.
8115 * sysdeps/gnu/Makefile: Likewise.
8116 * sysdeps/mach/hurd/Makefile: Likewise.
8117 * sysdeps/sparc/sparc32/Makefile: Likewise.
8118
b0727fd8
JS
8119 [BZ #13118]
8120 * posix/Makefile (bug-regex32-ENV): Define.
8121 Patch by John Stanley <jpsinthemix@verizon.net>.
8122
a0f33f99
UD
8123 * misc/Makefile (headers): Add bits/select2.h.
8124 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8125 * misc/bits/select2.h: New file.
8126 * include/bits/select2.h: New file.
8127 * debug/Makefile (routines): Add fdelt_chk.
8128 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8129 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8130 FD_ISSET.
8131 * debug/fdelt_chk.c: New file.
8132
762011fe
UD
8133 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8134 * wcsmbs/test-wmemcmp.c: Likewise.
8135 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8136 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8137
81382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8139
8140 * string/Makefile (strop-tests): Add memcmp.
8141 * string/test-wmemcmp.c: New file.
8142 * string/test-memcmp.c: Add wmemcmp support.
8143
7f513ec8
RM
81442011-09-08 Roland McGrath <roland@hack.frob.com>
8145
0442afb4
RM
8146 [BZ #13153]
8147 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8148 2011-07-19 change.
8149
7f513ec8
RM
8150 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8151 garbage value in a __mach_port_mod_refs call in the cases of the
8152 task-self and thread-self ports.
8153
a12b2239
ST
81542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8155
8156 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8157
610f9ab4
AS
81582011-09-08 Andreas Schwab <schwab@redhat.com>
8159
7f513ec8 8160 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8161
48882a1a
LD
81622011-09-07 Ulrich Drepper <drepper@gmail.com>
8163
b49865be
UD
8164 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8165
fdc86bc9
UD
8166 * elf/dl-libc.c (dlerror_run): Pass back error code from
8167 dl_catch_error.
8168
c966526a
UD
8169 [BZ #13123]
8170 * elf/dl-load.c (lose): Free l_origin if it is valid.
8171
48882a1a
LD
8172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8173 names.
8174 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8179 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8180
77a2a8b4
AZ
81812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
8183 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8184 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8185 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8186 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8187 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8188 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8189 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8190 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8191 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8192 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8193
24f579d8
AM
81942011-08-15 Alan Modra <amodra@gmail.com>
8195
8196 [BZ #13092]
8197 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8198 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8199 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8200 ppc_mcount to static-only-routines.
8201 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8202 __mcount_internal.
8203 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8204 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8205
3d4837df
UD
82062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8207
8208 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8209 for finite and infinity parameters.
8210
22700377
WS
82112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8212
8213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8214 and add nop instructions for throughput optimization.
8215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8216
5025581e
WS
82172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8218
8219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8220 aligned copy for power7 with vector-scalar instructions.
8221 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8222
08a300c9
L
82232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8224
8225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8226 AVX check.
8227
59178ef9
AS
82282011-09-07 Andreas Schwab <schwab@redhat.com>
8229
8230 [BZ #13144]
8231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8232 last change.
8233
e38ba7ab
UD
82342011-09-07 Ulrich Drepper <drepper@gmail.com>
8235
8236 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8237 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8238 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8240 clock_gettime.
8241
d53a73ac
UD
82422011-09-06 Ulrich Drepper <drepper@gmail.com>
8243
fc8bffcc
UD
8244 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8245 Forgot to demangle the pointer.
8246
ceaa0c5d
UD
8247 * sysdeps/i386/sysdep.h: Define atom_text_section.
8248 * sysdeps/x86_64/sysdep.h: Likewise.
8249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8250 section with atom_text_section.
8251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8253 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8255 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8256
a77d3c17
UD
8257 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8259 already be defined. Change to take two parameters and don't assign
8260 result to variable. Adjust all users.
8261 Define INTERNAL_GETTIME if not already defined.
8262 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8263 call.
8264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8265 HAVE_CLOCK_GETTIME_VSYSCALL.
8266 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8267
d53a73ac
UD
8268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8269 gettimeofday vsyscall, just use time.
8270
a8f84144
AS
82712011-09-06 Andreas Schwab <schwab@redhat.com>
8272
8273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8274 <errno.h>.
8275
ef606249
UD
82762011-09-06 Ulrich Drepper <drepper@gmail.com>
8277
8278 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8279 syscall on x86-64.
8280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8281 syscall.
8282 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8283 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8284 syscall if possible.
8285
6585cb60
UD
82862011-09-05 Ulrich Drepper <drepper@gmail.com>
8287
8288 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8289 e_ident. Don't pass to find_mapsXX.
8290 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8291
a5f524e4
LD
82922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8293
8294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8295 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8296 * sysdeps/x86_64/multiarch/strchr.S: Update.
8297 Check bit_slow_BSF bit.
8298 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8299 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8300 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8301
554881ef
UD
83022011-09-05 Ulrich Drepper <drepper@gmail.com>
8303
d96de963
UD
8304 [BZ #13134]
8305 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8306 before glibc 2.15.
8307 (tryshell): Define.
8308 (__spawni): Change last parameter to be flag. Test
8309 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8310 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8311 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8312 * posix/spawni.c: Likewise.
8313 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8314 * posix/spawnp.c: Likewise. Change normal version to use
8315 SPAWN_XFLAGS_USE_PATH.
8316 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8317 SPAWN_XFLAGS_TRY_SHELL.
8318
d48e5868
UD
8319 [BZ #13150]
8320 * posix/glob.h: Remove gcc 1.x support.
8321
554881ef
UD
8322 [BZ #13068]
8323 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8324
693fb948
LD
83252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8326
8327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8328 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8329 strrchr-sse2-bsf
8330 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8331 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8332 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8333 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8334 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8336
1b48c537
UD
83372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8338
49d42c37
UD
8339 * sysdeps/x86_64/wcscmp.S: New file.
8340
1b48c537
UD
8341 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8342 wcscmp-c wcscmp-sse2
8343 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8344 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8345 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8346 * wcsmbs/wcscmp.c: Allow renaming.
8347
15c95c5d
DM
83482011-09-05 David S. Miller <davem@davemloft.net>
8349
8350 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8351 stack slot, rather than the struct return pointer slot.
8352 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8353 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8355 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8356
2f0ad8f3
UD
83572011-09-05 Ulrich Drepper <drepper@gmail.com>
8358
d88ae418
UD
8359 * po/ja.po: Update from translation team.
8360
2f0ad8f3
UD
8361 [BZ #13144]
8362 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8363 kernel in 64-bit binaries.
8364
5f4318d1
DM
83652011-09-01 David S. Miller <davem@davemloft.net>
8366
8367 * elf/elf.h (HWCAP_SPARC_*): Move to..
8368 * sysdeps/sparc/sysdep.h: this new file and add new values.
8369 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8370 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8371 _DL_HWCAP_COUNT to 24.
8372 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8373 entries.
8374 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8375 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8376 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8378 instead of magic constants.
8379 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8380
3ba57516
DM
83812011-08-31 David S. Miller <davem@davemloft.net>
8382
8383 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8385 Reimplement to do errno handling inline.
8386 (SYSCALL_ERROR_HANDLER): New macro.
8387 (__SYSCALL_STRING): Do not do errno handling in asm.
8388 (__CLONE_SYSCALL_STRING): Delete.
8389 (__INTERNAL_SYSCALL_STRING): Delete.
8390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8391 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8392 (PSEUDO): Reimplement to do errno handling inline.
8393 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8394 (SYSCALL_ERROR_HANDLER): New macro.
8395 (__SYSCALL_STRING): Do not do errno handling in asm.
8396 (__CLONE_SYSCALL_STRING): Delete.
8397 (__INTERNAL_SYSCALL_STRING): Delete.
8398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8399 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8400 i386.
8401 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8402 (inline_syscall*): Add 'err' argument.
8403 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8404 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8405 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8406 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8407
8408 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8409 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8410
2bc17433
AS
84112011-08-30 Andreas Schwab <schwab@redhat.com>
8412
8413 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8414
fbeb5f4d
JO
84152011-08-29 Jiri Olsa <jolsa@redhat.com>
8416
8417 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8418 directive.
8419
ad69cc26
DM
84202011-08-24 David S. Miller <davem@davemloft.net>
8421
8422 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8423
39dd69df
AS
84242011-08-24 Andreas Schwab <schwab@redhat.com>
8425
8426 * elf/Makefile: Add rules to build and run unload8 test.
8427 * elf/unload8.c: New file.
8428 * elf/unload8mod1.c: New file.
8429 * elf/unload8mod1x.c: New file.
8430 * elf/unload8mod2.c: New file.
8431 * elf/unload8mod3.c: New file.
8432
8433 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8434 it wasn't used.
8435
2c0b250a
DM
84362011-08-23 David S. Miller <davem@davemloft.net>
8437
8438 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8439 subtract stack bias.
8440 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8441 %sp not %fp in calculations.
8442 (_JMPBUF_UNWINDS_ADJ): Likewise.
8443
22044b48
DM
8444 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8445 (aio_suspend): Call it to force an exception region around the
8446 AIO_MISC_WAIT() invocation.
8447
2cae4995
AS
84482011-08-23 Andreas Schwab <schwab@redhat.com>
8449
8450 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8451 backslash.
8452
873a772e
AJ
84532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8454
8455 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8456 protection macro.
8457 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8458 and <dl-machine.h>.
8459 (Elf64_FuncDesc): Remove.
8460
25ad0df1
DM
84612011-08-22 David S. Miller <davem@davemloft.net>
8462
8463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8464 sigaltstack check, add missing cfi directives.
8465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8466 missing cfi directives, and sigaltstack handling.
8467
e888bcbe
AS
84682011-08-16 Andreas Schwab <schwab@redhat.com>
8469
8470 [BZ #11724]
8471 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8472 object is seen twice.
8473 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8474
8475 * elf/Makefile (distribute): Add tst-initorder2.c.
8476 (tests): Add tst-initorder2.
8477 (modules-names): Add tst-initorder2a tst-initorder2b
8478 tst-initorder2c tst-initorder2d. Add rules to build them.
8479 ($(objpfx)tst-initorder2.out): New rule.
8480 * elf/tst-initorder2.c: New file.
8481 * elf/tst-initorder2.exp: New file.
8482
87162f46
AS
84832011-08-22 Andreas Schwab <schwab@redhat.com>
8484
70538b7f
AS
8485 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8486
f55ffe58
AS
8487 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8488 dependencies back to end of function.
8489
87162f46
AS
8490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8491 $(elfobjdir)/ld.so.
8492
91b392a4
UD
84932011-08-21 Ulrich Drepper <drepper@gmail.com>
8494
8495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8496 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8498 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8499 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8500 of __vdso_gettimeofday.
8501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8502 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8503 attribute_hidden.
8504 (_libc_vdso_platform_setup): Remove initialization of
8505 __vdso_gettimeofday and __vdso_time.
8506
5c43483f
UD
85072011-08-20 Ulrich Drepper <drepper@gmail.com>
8508
775a77e7
UD
8509 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8510 and fgetc_unlocked.
8511 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8512 getc_unlocked.
89f447ed 8513
49c74ba9
UD
8514 * elf/dl-open.c (add_to_global): Report additions to the global scope
8515 for LD_DEBUG=scopes.
8516 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8517 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8518
5c43483f
UD
8519 [BZ #13114]
8520 * stdio-common/Makefile (tests): Add bug24.
8521 * stdio-common/bug24.c: New file.
8522
a101b025
AJ
85232011-08-19 Andreas Jaeger <aj@suse.de>
8524
8525 [BZ #13114]
8526 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8527 non-existant file when using close-on-exec mode.
8528
c88f1766
UD
85292011-08-20 Ulrich Drepper <drepper@gmail.com>
8530
0276a718
UD
8531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8532 the very first instruction.
8533
c88f1766
UD
8534 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8535 the CFI state in the end.
8536 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8537 inclusion of dl-trampoline.h.
8538 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8539
51ccffa0
AS
85402011-08-19 Andreas Schwab <schwab@redhat.com>
8541
94d7165f
AS
8542 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8543 expectations for long double.
8544
51ccffa0
AS
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8546 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8547
fd708658 85482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8549
8550 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8551 artificual limit depends upon the system page size.
8552
44f0a71e
UD
85532011-08-17 Ulrich Drepper <drepper@gmail.com>
8554
8555 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8556 * resolv/Makefile: Define CFLAGS-libresolv.
8557
8de79a24
AS
85582011-08-17 Andreas Schwab <schwab@redhat.com>
8559
8560 * nss/makedb.c (compute_tables): Make variables used in nested
8561 function static.
8562
27724598
UD
85632011-08-17 Ulrich Drepper <drepper@gmail.com>
8564
c5305d88
UD
8565 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8566 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8567 if buffer was too small.
8568
27724598
UD
8569 * elf/pldd.c (main): Attach to all threads in the process.
8570 Rewrite /proc handling to use *at functions.
8571
076fe015
UD
85722011-08-16 Ulrich Drepper <drepper@gmail.com>
8573
174baab3
UD
8574 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8575 specifies first scope to show.
8576 (dl_open_worker): Update callers. Move printing scope of new
8577 object to before the relocation.
44f0a71e 8578 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8579 * sysdeps/generic/ldsodefs.h: Update declaration.
8580
076fe015
UD
8581 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8582 string for the scope number.
8583
a60df2c3
UD
85842011-08-14 Ulrich Drepper <drepper@gmail.com>
8585
8586 * nscd/servicescache.c (cache_addserv): Make sure written is always
8587 initialized.
8588
5e4287d1
RM
85892011-08-14 Roland McGrath <roland@hack.frob.com>
8590
85ae0589
RM
8591 * sysdeps/i386/i486/bits/atomic.h
8592 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8593 statement expression, so as to suppress "set but not used" warning.
8594 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8595
69f63097
RM
8596 * string/strncat.c (STRNCAT): Use prototype definition.
8597
675456ef
RM
8598 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8599 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8600 -Iprograms here.
8601 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8602 (localedef-modules): Add localedef.
8603 (locale-modules): Add locale.
8604
5e4287d1
RM
8605 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8606 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8607 to avoid a warning.
8608
9c96ff23
DM
86092011-08-14 David S. Miller <davem@davemloft.net>
8610
8611 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8612 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8613
f9ddf089
UD
86142011-08-13 Ulrich Drepper <drepper@gmail.com>
8615
44f0a71e 8616 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8617 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8618 * elf/rtld.c (dl_main): Set l_name of vDSO.
8619 Call _dl_show_scope when DL_DEBUG_SCOPES.
8620 (process_dl_debug): Recognize scopes flag and also set it for all.
8621 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8622 Declare _dl_show_scope.
8623
1dc27704
UD
8624 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8625 (do_dlopen): Pass caller_dlopen to dl_open.
8626 (__libc_dlopen_mode): Initialize caller_dlopen.
8627
f9ddf089
UD
8628 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8629 of libc. Make tolower call locale-independent. Optimize a bit by
8630 using isdigit instead of isalnum.
8631 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8632
9ac533d3
UD
86332011-08-12 Ulrich Drepper <drepper@gmail.com>
8634
8635 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8636 was a dependency or dynamically loaded.
8637
89edf2e9
UD
86382011-08-11 Ulrich Drepper <drepper@gmail.com>
8639
8e999d29
UD
8640 * intl/l10nflist.c: Allow architecture-specific pop function.
8641 * sysdeps/x86_64/l10nflist.c: New file.
8642
89edf2e9
UD
8643 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8644 classification.
8645
14d96785
AS
86462011-08-10 Andreas Schwab <schwab@redhat.com>
8647
8648 * include/dirent.h: Add libc_hidden_proto for scandirat and
8649 scandirat64. Don't declare __scandirat64.
8650 * dirent/scandirat.c: Add libc_hidden_def.
8651 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8652 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8653
6761ac04
DM
86542011-08-10 David S. Miller <davem@davemloft.net>
8655
8656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8657 enum.
8658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8661
c55fbd1e
UD
86622011-08-09 Ulrich Drepper <drepper@gmail.com>
8663
8664 * Versions.def [libc]: Add GLIBC_2.15.
8665 * dirent/Makefile (routines): Add scandirat and scandirat64.
8666 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8667 GLIBC_2.15.
8668 * dirent/dirent.h: Declare scandirat and scandirat64.
8669 * dirent/scandirat.c: New file.
8670 * dirent/scandirat64.c: New file.
8671 * sysdeps/wordsize-64/scandirat.c: New file.
8672 * sysdeps/wordsize-64/scandirat64.c: New file.
8673 * dirent/opendir.c: Define opendirat.
8674 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8675 using scandirat.
8676 * dirent/scandir64.c: Adjust for scandir.c change.
8677 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8678 __scandirat64, and __scandir_cancel_handler.
8679 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8680 additional parameter and use openat instead of open (outside of ld.so).
8681 Add new __opendir as wrapper around __opendirat.
8682 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8683 here without requiring old scandirat implementation.
8684
879165f2
UD
86852011-08-08 Ulrich Drepper <drepper@gmail.com>
8686
8687 * dirent/scandir.c (cancel_handler): Renamed to
8688 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8689 defined. Adjust users.
8690 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8691 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8692
cb7e923b
UD
86932011-08-04 Ulrich Drepper <drepper@gmail.com>
8694
16292edd
UD
8695 * string/test-string.h (IMPL): Use __STRING to expand name and then
8696 stringify it.
8697
cb7e923b
UD
8698 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8699 of cleanups.
8700
cff82933
LD
87012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8702
8703 * string/Makefile: Update.
8704 (strop-tests): Append strncat.
8705 * string/test-wcscmp.c: New file.
8706 New comprehensive test for wcscmp.
8707 * string/test-strcmp.c: Update.
8708 (WIDE): New define.
8709
9be9bfcc
AS
87102011-07-22 Andreas Schwab <schwab@redhat.com>
8711
8712 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8713 line.
8714
2e96f1c7
AS
87152011-07-26 Andreas Schwab <schwab@redhat.com>
8716
8717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8718 encoding to ACE if AI_IDN.
8719
85188888
JJ
87202011-08-01 Jakub Jelinek <jakub@redhat.com>
8721
8722 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8723 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8724
5fa16e9b
LD
87252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8726
8727 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8728 Fix overflow bug in strncat.
8729 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8730
8731 * string/test-strncat.c: Update.
8732 Add new tests for checking overflow bugs.
8733
87342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8735
8736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8737 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8738 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8739 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8740 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8741 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8742 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8743 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8744 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8745
8746 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8747 (USE_AS_STRCAT): Define.
8748 Add strcat and strncat support.
8749 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8750
8c1a459f
AS
87512011-07-25 Andreas Schwab <schwab@redhat.com>
8752
8753 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8754 __n bigger than INT_MAX+1.
8755 (__strncmp_g): Likewise.
8756
bba33c28
UD
87572011-07-23 Ulrich Drepper <drepper@gmail.com>
8758
798be72d
UD
8759 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8760 * libio/stido.h: Likewise.
8761
8accd4dc
UD
8762 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8763 (AF_NFC): Define.
8764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8765 (AF_NFC): Define.
8766
cbff0d96
UD
8767 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8770 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8772
9191c04a
UD
8773 [BZ #13021]
8774 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8775 installed.
8776
bba33c28
UD
8777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8778 typo.
8779 (_dl_x86_64_save_sse): Likewise.
8780
90f139dd
UD
87812011-07-22 Ulrich Drepper <drepper@gmail.com>
8782
1aae088a
UD
8783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8784 OSXSAVE.
8785 (_dl_x86_64_save_sse): Likewise.
8786
8e2045f5
UD
8787 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8788
90f139dd
UD
8789 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8790
1d002f25
AS
87912011-07-21 Andreas Schwab <schwab@redhat.com>
8792
8793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8794 change.
8795 (_dl_x86_64_save_sse): Use correct AVX check.
8796
21137f89
UD
87972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8798
8799 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8800 bug in strncpy/strncat.
8801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8802
a65c0b7a
UD
88032011-07-21 Ulrich Drepper <drepper@gmail.com>
8804
8805 * string/tester.c (test_strcat): Add tests for different alignments
8806 of source and destination.
8807 (test_strncat): Likewise.
8808
6986b98a
UD
88092011-07-20 Ulrich Drepper <drepper@gmail.com>
8810
90bb2039
UD
8811 [BZ #12852]
8812 * posix/glob.c (glob): Check passed in values before using them in
8813 expressions to avoid some overflows.
8814 (glob_in_dir): Likewise.
8815
5644ef54
UD
8816 [BZ #13007]
8817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8818 check for AVX enablement so that we don't crash with old kernels and
8819 new hardware.
8820 * elf/tst-audit4.c: Add same checks here.
8821 * elf/tst-audit6.c: Likewise.
8822
8823 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8824
bfc9dc9b
AS
88252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8826
8827 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8828
702e64bb
UD
88292011-07-20 Ulrich Drepper <drepper@gmail.com>
8830
8831 * po/cs.po: Update from translation team.
8832 * po/bg.po: Likewise.
8833
295e904f
MP
88342011-07-12 Marek Polacek <mpolacek@redhat.com>
8835
8836 * misc/sys/cdefs.h: Add support for const attribute.
8837 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8838 to gnu_dev_{major,minor,makedev} functions.
8839
3ff94596
MP
88402011-07-20 Marek Polacek <mpolacek@redhat.com>
8841
8842 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8843
28b59fca
AS
88442011-07-20 Andreas Schwab <schwab@redhat.com>
8845
8846 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8847 strlen results.
8848
19df733e
AK
88492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8850
8851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8852 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8853 register in order to avoid conflicts with the soft frame pointer
8854 being held in r11 when necessary.
8855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8856 (INTERNAL_VSYSCALL_NCS): Likewise.
8857
c8835729
MP
88582011-07-14 Marek Polacek <mpolacek@redhat.com>
8859
8860 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8861 * elf/dl-fini.c (_dl_fini): Adjust caller.
8862 * elf/dl-close.c (_dl_close_worker): Likewise.
8863 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8864
b902330c
MP
88652011-07-15 Marek Polacek <mpolacek@redhat.com>
8866
8991e135
MP
8867 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8868 "aux_cache->nlibs < 0".
8869
b902330c
MP
8870 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8871 in the reload-count case.
8872
99710781
LD
88732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8874
8875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8876 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8877 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8878 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8879 * sysdeps/x86_64/multiarch/strcat.S: New file.
8880 * sysdeps/x86_64/multiarch/strncat.S: New file.
8881 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8883 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8884 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8886 (USE_AS_STRCAT): Define.
8887 Add strcat and strncat support.
8888 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8890 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8891 * string/strncat.c: Update.
8892 (USE_AS_STRNCAT): Define.
8893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8894 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8895 and i7.
8896 * sysdeps/x86_64/multiarch/init-arch.h
8897 (bit_Prefer_PMINUB_for_stringop): New.
8898 (index_Prefer_PMINUB_for_stringop): Likewise.
8899 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8900 bit_Prefer_PMINUB_for_stringop.
8901
7dc6bd90
UD
89022011-07-19 Ulrich Drepper <drepper@gmail.com>
8903
8904 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8905 buffer64.
8906 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8907 of casting of buffer.
8908 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8909 buffer32 and buffer64.
8910 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8911 writes instead of casting of buffer.
8912 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8913 buffer32.
8914 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8915 casting of buffer.
8916
e0e72284
AS
89172011-07-19 Andreas Schwab <schwab@redhat.com>
8918
8919 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8920
feb1eb0b
UD
89212011-07-19 Ulrich Drepper <drepper@gmail.com>
8922
8923 * nscd/nscd.c (termination_handler): Don't do anything for a database
8924 if it has not yet been initialized.
8925
298711ff
UD
89262011-07-18 Ulrich Drepper <drepper@gmail.com>
8927
8928 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8929
89302011-07-15 Marek Polacek <mpolacek@redhat.com>
8931
8932 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8933
f9d68389
UD
89342011-07-18 Ulrich Drepper <drepper@gmail.com>
8935
8936 * po/nl.po: Update from translation team.
8937 * po/sv.po: Likewise.
8938
db290cf5
RM
89392011-07-16 Roland McGrath <roland@hack.frob.com>
8940
8941 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8942 now disallowed by GCC.
5c550700 8943
fd5e21c7
RM
8944 * configure.in (use-default-link): Default to yes if a test -shared
8945 link meets our qualifications.
8946 * configure: Regenerated.
8947
5c550700
RM
8948 * config.make.in (output-format): New variable.
8949 * configure.in: Check for ld --print-output-format support.
8950 * configure: Regenerated.
8951 * Makerules ($(common-objpfx)format.lds)
8952 [$(output-format) != unknown]: Just use $(output-format),
8953 instead of the linker-script munging.
8954
9fa2c032
RM
89552011-07-14 Roland McGrath <roland@hack.frob.com>
8956
a6928d51
RM
8957 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8958 of $(common-objpfx)shlib.lds.
8959 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8960
661607b3
RM
8961 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8962 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8963
9fa2c032
RM
8964 * configure.in (-z relro check): Adjust test code to add a large
8965 writable data section after it.
8966 * configure: Regenerated.
8967
defe9061
RM
89682011-07-11 Roland McGrath <roland@hack.frob.com>
8969
8970 * configure.in (-z relro check): Fix test code to make the variable
8971 truly const.
8972 * configure: Regenerated.
8973
319b9ad4
UD
89742011-07-11 Ulrich Drepper <drepper@gmail.com>
8975
8976 * nscd/nscd.h (struct traced_file): Define.
8977 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8978 elements. Add traced_files.
8979 (inotify_fd): Declare.
8980 (register_traced_file): Declare.
8981 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8982 (inotify_fd): Export.
8983 (resolv_conf_descr): Remove.
8984 (nscd_init): Move inotify descriptor creation to main.
8985 Don't register files for notification here.
8986 (register_traced_file): New function.
8987 (invalidate_cache): Don't use reset_res to determine whether to call
8988 res_init, go through the list of registered files.
8989 (main_loop_poll): The inotify descriptors are now stored in the
8990 structures for the traced files.
8991 (main_loop_epoll): Likewise
8992 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8993 to __nss_disable_nscd.
8994 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8995 for a database anymore. Check the records for all the registered
8996 files instead.
8997 * nss/Makefile (libnss_files-routines): Add files-init.
8998 (libnss_db-routines): Add db-init.
8999 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9000 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9001 * nss/nss_db/db-init.c: New file.
9002 * nss/nss_files/files-init.c: New file.
9003 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9004 __nss_lookup_function.
9005 (__nss_lookup_function): Call nss_load_library.
9006 (nss_load_all_libraries): New function.
9007 (__nss_disable_nscd): Take parameter with callback function for files
9008 to register. Set is_nscd. Load all the DSOs for the NSS modules
9009 used for the cached services.
9010 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9011 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9012 options for features to all the files in nscd.
9013
9014 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9015
23bee3e8
RM
90162011-07-10 Roland McGrath <roland@hack.frob.com>
9017
9018 * csu/elf-init.c (__libc_csu_init): Comment typo.
9019
46a5b7f0
UD
90202011-07-09 Ulrich Drepper <drepper@gmail.com>
9021
9022 * po/pl.po: Update from translation team.
9023 * po/ja.po: Likewise.
9024 * po/ru.po: Likewise.
9025 * po/ko.po: Likewise.
9026 * po/fr.po: Likewise.
9027
d30cf5bb
RM
90282011-07-09 Roland McGrath <roland@hack.frob.com>
9029
113ddea4
RM
9030 * configure.in (.ctors/.dtors header and trailer check):
9031 Use an empirical test on a built program.
9032 * configure: Regenerated.
9033
574920b4
RM
9034 * configure.in (-z relro check): Use an empirical test on a built DSO.
9035 Detect, but do not require, on ia64.
9036 * configure: Regenerated.
9037
d30cf5bb
RM
9038 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9039 Update tests that use readelf to use $READELF instead.
9040 * configure: Regenerated.
9041
8538fdb3
UD
90422011-07-08 Ulrich Drepper <drepper@gmail.com>
9043
9044 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9045 if the result is not used.
9046
04d08991
AJ
90472011-07-05 Andreas Jaeger <aj@suse.de>
9048
9049 [BZ#9696]
9050 * stdlib/tst-strtod.c: Add testcase.
9051
de283087
AD
90522011-07-07 Ulrich Drepper <drepper@gmail.com>
9053
4e5f31c8 9054 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9055 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9056 The latter has a higher limit. Take additional parameter to pass to
9057 the new function.
9058 (__pathconf): Pass file to __statfs_link_max.
9059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9060 __statfs_link_max.
9061 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9062 __statfs_link_max.
9063
de283087
AD
9064 [BZ #12868]
9065 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9066 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9067 Handle Lustre.
9068 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9069 (__statfs_filesize_max): Likewise.
9070 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9071
c75fa153
AJ
90722011-07-05 Andreas Jaeger <aj@suse.de>
9073
9074 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9075
1a544854
UD
90762011-07-06 Marek Polacek <mpolacek@redhat.com>
9077
9078 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9079 `status' variable.
9080 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9081 Likewise.
9082
6f0eec67
UD
90832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * Makefile (strop-tests): Add strncat.
9086 * string/test-strncat.c: New file.
9087
aae30307
UD
90882011-06-30 Marek Polacek <mpolacek@redhat.com>
9089
9090 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9091
c0cfb5eb
UD
90922011-06-21 Andreas Jaeger <aj@suse.de>
9093
9094 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9095 Copy rule from iconvdata/Makefile.
9096
01636b21
UD
90972011-07-06 Ulrich Drepper <drepper@gmail.com>
9098
9099 [BZ #12922]
9100 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9101 but no long options are defined, just return 'W'.
9102
9895c8bc
UD
91032011-06-22 Marek Polacek <mpolacek@redhat.com>
9104
9105 [BZ #9696]
9106 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9107
5d4cf042
UD
91082011-07-06 Ulrich Drepper <drepper@gmail.com>
9109
9110 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9111 netgroups to read.
960e5535 9112 (innetgr): Likewise.
5d4cf042 9113
751eb97e
RM
91142011-07-05 Roland McGrath <roland@hack.frob.com>
9115
9116 * config.make.in (install_root): Default to $(DESTDIR).
9117
f15f1e45
UD
91182011-07-05 Ulrich Drepper <drepper@gmail.com>
9119
9120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9121
4e34ac6a
RM
91222011-07-02 Roland McGrath <roland@hack.frob.com>
9123
5e9b6af4
RM
9124 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9125
84f9ea0f
RM
9126 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9127 containing directory rather than embedding absolute directory names.
9128
ea5ee9f7
RM
9129 * scripts/check-local-headers.sh: Rewritten using awk.
9130 Match by word, not by line. Print error messages for matches.
9131 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9132
1b74661a
RM
9133 * Makerules [shlib-lds-flags empty]:
9134 ($(common-objpfx)libc_pic.opts): New target.
9135 ($(common-objpfx)libc_pic.os.clean): New target.
9136 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9137
9138 * config.make.in (OBJCOPY): New variable.
9139 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9140 * configure: Regenerated.
9141
f781ef40
RM
9142 * config.make.in (use-default-link): New variable.
9143 * configure.in (use_default_link): Grok --with-default-link to set it.
9144 * configure: Regenerated.
9145 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9146 (shlib-lds, shlib-lds-flags): Define to empty.
9147
2d4fa81e
RM
9148 * Makerules (shlib-lds): New variable.
9149 (shlib-lds-flags): New variable.
9150 (build-shlib, build-moduile, build-module-asneeded): Use it.
9151 ($(common-objpfx)libc.so): Use $(shlib-lds).
9152 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9153 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9154
31fffa6b
RM
9155 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9156 DT_FLAGS/DT_FLAGS_1 with zero flags.
9157
4e34ac6a
RM
9158 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9159 linker script munging.
9160
fcfc776b
UD
91612011-07-02 Ulrich Drepper <drepper@gmail.com>
9162
9163 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9164 as 128-bit value.
9165 * crypt/sha512.c (sha512_process_block): Perform total addition using
9166 128-bit if possible.
9167 (__sha512_finish_ctx): Likewise.
9168 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9169 as 64-bit value.
9170 * crypt/sha256.c (SWAP64): Define.
9171 (sha256_process_block): Perform total addition using 64-bit if
9172 possible.
9173 (__sha256_finish_ctx): Likewise.
9174
99231d9a
UD
91752011-07-01 Ulrich Drepper <drepper@gmail.com>
9176
9177 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9179 * nscd/hstcache.c (cache_addhst): Likewise.
9180 * nscd/grpcache.c (cache_addgr): Likewise.
9181 * nscd/aicache.c (addhstaiX): Likewise
9182 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9183
445b4a53
TK
91842011-07-01 Thorsten Kukuk <kukuk@suse.de>
9185
9186 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9188 * nscd/hstcache.c (cache_addhst): Likewise.
9189 * nscd/grpcache.c (cache_addgr): Likewise.
9190 * nscd/aicache.c (addhstaiX): Likewise
9191
6d4d8e8e
AS
91922011-07-01 Andreas Schwab <schwab@redhat.com>
9193
9194 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9195 domain only when needed.
9196
89f654c5
AS
91972011-06-30 Andreas Schwab <schwab@redhat.com>
9198
9199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9200 is always restored.
9201
cf3b23ff
UD
92022011-06-29 Ulrich Drepper <drepper@gmail.com>
9203
9204 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9205 are re-adding the entry.
9206 * nscd/servicescache.c (cache_addserv): Likewise.
9207
751626f9
AJ
92082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9209
9210 * sysdeps/generic/dl-irel.h: fix protection against multiple
9211 inclusions.
9212 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9213
9113ea1f
UD
92142011-06-28 Ulrich Drepper <drepper@gmail.com>
9215
5c0b8d90
UD
9216 [BZ #12935]
9217 * malloc/memusage.sh: Fix quoting in message.
9218 * debug/xtrace.sh: Likewise.
9219
9113ea1f
UD
9220 * configure.in: Remove support for --experimental-malloc option, make
9221 it the default.
9222 * config.make.in: Likewise.
9223 * malloc/Makefile: Likewise.
9224
a4172181
AS
92252011-06-27 Andreas Schwab <schwab@redhat.com>
9226
9227 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9228 two-byte characters.
9229
78a7eee7
RM
92302011-06-27 Roland McGrath <roland@hack.frob.com>
9231
62bede13
RM
9232 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9233 AC_CACHE_CHECK invocation.
9234 * configure: Regenerated.
9235
78a7eee7
RM
9236 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9237
5ce33a62
UD
92382011-06-27 Ulrich Drepper <drepper@gmail.com>
9239
034807a9
UD
9240 [BZ #12350]
9241 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9242 bit from old_res_options.
9243
4902da17
UD
9244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9245
5ce33a62
UD
9246 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9247 value type for setfct.
9248
c2344f56
L
92492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9250
9251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9252 __gettimeofday instead of gettimeofday.
9253
68468076
UD
92542011-06-26 Ulrich Drepper <drepper@gmail.com>
9255
9256 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9257
acb0d739
L
92582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9259
9260 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9261
9262 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9263 info.
9264
8912479f
L
92652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9266
9267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9268 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9269 strcpy-sse2-unaligned strncpy-sse2-unaligned
9270 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9271 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9272 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9273 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9274 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9275 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9276 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9277 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9278 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9279 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9280 (STRCPY): Support SSE2 and SSSE3 versions.
9281
d5495a11
UD
92822011-06-24 Ulrich Drepper <drepper@gmail.com>
9283
9284 [BZ #12874]
9285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9286 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9287 kernels which artificially limit size of requests.
9288
0b1cbaae
L
92892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9292 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9293 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9294 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9295 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9296 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9297 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9298 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9299 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9301 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9302 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9303 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9304 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9305 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9307 Enable unaligned load optimization for Intel Core i3, i5 and i7
9308 processors.
9309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9310 Define.
9311 (index_Fast_Unaligned_Load): Define.
9312 (HAS_FAST_UNALIGNED_LOAD): Define.
9313
07f494a0
MP
93142011-06-23 Marek Polacek <mpolacek@redhat.com>
9315
9316 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9317
fa3fc0fe
UD
93182011-06-22 Ulrich Drepper <drepper@gmail.com>
9319
9320 [BZ #12907]
9321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9322 until it is clear that the information is realy needed.
9323 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9324
e12df166
AS
93252011-06-22 Andreas Schwab <schwab@redhat.com>
9326
9327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9328
852eb34d
UD
93292011-06-22 Ulrich Drepper <drepper@gmail.com>
9330
84e2a551
UD
9331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9332 /sys/devices/system/cpu/online if it is usable.
9333
852eb34d
UD
9334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9335 reading the information from the /proc filesystem to once a second.
9336
6e502e19
UD
93372011-06-21 Andreas Jaeger <aj@suse.de>
9338
9339 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9340 NULL after inclusion of kernel headers.
9341
75d39ff2
UD
93422011-06-21 Ulrich Drepper <drepper@gmail.com>
9343
51f9aa6a
UD
9344 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9345 calls to internal_setent.
9346
c0244a9d
UD
9347 [BZ #12885]
9348 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9349 addresses using gethostbyname4_r ignore IPv4 addresses.
9350
c5e3c2ae
UD
9351 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9352 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9353
75d39ff2
UD
9354 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9355
42675c6f
DM
93562011-06-20 David S. Miller <davem@davemloft.net>
9357
9358 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9359 inclusions.
9360 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9361
9362 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9363 (elf_irel): Use it.
9364 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9365 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9366 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9367 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9368 * sysdeps/x86_64/dl-irel.h: Likewise.
9369
9370 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9371 * elf/dl-sym.c: Likewise.
9372
57912a71
UD
93732011-06-15 Ulrich Drepper <drepper@gmail.com>
9374
9375 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9376 need to dereference resplen2.
9377
ee22793d
AS
93782011-06-14 Andreas Schwab <schwab@redhat.com>
9379
9380 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9381
a9e836b0
UD
93822011-06-15 Ulrich Drepper <drepper@gmail.com>
9383
77fb9117
UD
9384 * Makeconfig: Define vardbdir and inst_vardbdir.
9385 * nss/Makefile: Add rules to install db-Makefile.
9386
40c1b22c
UD
9387 * nss/nss_db/db-XXX.c: Cleanup.
9388
9f2da732
UD
9389 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9390 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9391 GLIBC_PRIVATE.
9392 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9393 * nss/makedb.c: Implement -g option to specify that value strings
9394 are generated and should not be added to table iterated over for
9395 get*ent calls.
9396 * nss/nss_db/db-initgroups.c: New file.
9397
82e9a1f7
UD
9398 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9399 interface.
9400
c41af17e
UD
9401 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9402 (internal_getgrouplist): Adjust to name change.
9403 Update use_initgroups_entry if this is not the first call.
9404 * nss/databases.def: Add initgroups entry.
9405
a9e836b0
UD
9406 * nss/makedb.c (compute_tables): Check result of multiple hash table
9407 sizes to minimize maximum chain length.
9408
2666d441
UD
94092011-06-14 Ulrich Drepper <drepper@gmail.com>
9410
9411 * Versions.def: Add entry for libnss_db.
9412 * shlib-versions: Likewise.
9413 * nss/Makefile: Add rules to build libnss_db.
9414 * nss/Versions: Add libnss_db information. Organize libnss_files
9415 entries better.
9416 * nss/db-Makefile: Add gshadow support. Change rules for the new
9417 makedb progra. Some minor improvements to generate smaller files.
9418 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9419 here from...
9420 * nss/makedb.c: ...here.
9421 Improve database format to be smaller and require less memory at
9422 runtime.
9423 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9424 db anymore.
9425 * nss/nss_db/db-netgrp.c: Likewise.
9426 * nss/nss_db/db-open.c: Likewise.
9427 * nss/nss_files/flies-XXX.x: Adjust comments.
9428 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9429 * nss/nss_files/files-grp.c: Likewise.
9430 * nss/nss_files/files-hosts.c: Likewise.
9431 * nss/nss_files/files-network.c: Likewise.
9432 * nss/nss_files/files-proto.c: Likewise.
9433 * nss/nss_files/files-pwd.c: Likewise.
9434 * nss/nss_files/files-rpc.c: Likewise.
9435 * nss/nss_files/files-service.c: Likewise.
9436 * nss/nss_files/files-sgrp.c: Likewise.
9437 * nss/nss_files/files-spwd.c: Likewise.
9438 * nss/nss_db/db-alias.c: Removed.
9439 * nss/nss_db/dummy-db.h: Removed.
9440
9ee76b5a
UD
94412011-06-02 Ulrich Drepper <drepper@gmail.com>
9442
9443 * nss/makedb.c: Rewritten to not use database library.
9444 * nss/Makefile: Update to build new makedb program.
9445
c71ca1f8
AJ
94462011-06-14 Andreas Jaeger <aj@suse.de>
9447
9448 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9449 memset declaration.
9450
3154bfb8
UD
94512011-06-10 Andreas Schwab <schwab@redhat.com>
9452
9453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9454 tmpbuf.
9455
b350afab
RM
94562011-06-10 Roland McGrath <roland@hack.frob.com>
9457
decd4e50
RM
9458 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9459 * elf/Makefile ($(objpfx)ld.so): Likewise.
9460
5615eaf2
RM
9461 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9462 Don't list ld.so twice in dependencies.
9463
9464 * posix/bug-regex31.c: Include <stdlib.h>.
9465
9466 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9467
9468 * nis/nss_compat/compat-spwd.c
9469 (getspent_next_nss_netgr): Remove unused variable.
9470 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9471
9472 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9473 nonmembers" output to use the right array.
9474
9475 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9476
9477 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9478
9479 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9480 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9481 * catgets/gencat.c (read_input_file): Likewise.
9482 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9483
9484 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9485 variable definition inside #if's controlling its use.
9486
9487 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9488
9489 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9490
9491 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9492
9493 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9494 unreachable code.
9495
9496 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9497
b68e08db
RM
9498 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9499 * configure: Regenerated.
9500
b350afab
RM
9501 * Makerules: Revert last change.
9502 * elf/Makefile: Likewise.
9503
28368601
RM
95042011-06-09 Roland McGrath <roland@hack.frob.com>
9505
9506 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9507 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9508 (reloc-link): Likewise.
9509
11988f8f
UD
95102011-06-09 Ulrich Drepper <drepper@gmail.com>
9511
9512 * elf/Makefile: Add rules to build pldd.
9513 * elf/pldd.c: New file.
9514 * elf/pldd-xx.c: New file.
9515
e80fab37
UD
95162011-06-07 Ulrich Drepper <drepper@gmail.com>
9517
9518 * version.h: Update for 2.15 development version.
9519
9b849836
DM
95202011-06-07 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9523 ifuncs.
9524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9525 elf_machine_lazy_rel): Likewise.
9526 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9528 elf_machine_lazy_rel): Likewise.
9529 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9530 dl_hwcap via passed in argument.
9531 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9532 Likewise.
9533
5a31b283
AK
95342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9535
9536 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9537
069e52f8
RM
95382011-06-06 Roland McGrath <roland@hack.frob.com>
9539
9540 [BZ #12849]
9541 * manual/fdl-1.1.texi: New file, verbatim from:
9542 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9543 * manual/lgpl-2.1.texi: New file, verbatim from:
9544 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9545 * manual/Makefile (licenses): New variable, list those new file names.
9546 (texis): Use it.
9547 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9548
9549 * manual/fdl.texi: File removed.
9550 * manual/lesser.texi: File removed.
9551 * manual/libc.texinfo (Copying, Documentation License):
9552 Use new @include file names, put @appendix directive before @include.
9553
f16846a5
JJ
95542011-06-04 Jakub Jelinek <jakub@redhat.com>
9555
9556 [BZ #12841]
9557 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9558 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9559 (mq_open): Add __NTH.
9560
3d29045b
L
95612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9564 Assume Intel Core i3/i5/i7 processor if AVX is available.
9565
8c297311
UD
95662011-05-31 Ulrich Drepper <drepper@gmail.com>
9567
9568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9569 typo.
9570
c8fc0c91
UD
95712011-05-31 Andreas Schwab <schwab@redhat.com>
9572
9573 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9574 memory. Use alloca_account. Fix memory leak when retrying.
9575
5b27a807
UD
95762011-05-31 Ulrich Drepper <drepper@gmail.com>
9577
356f8bc6
UD
9578 * version.h (RELEASE): Bump for 2.14 release.
9579 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9580
5b27a807
UD
9581 * config.make.in (RANLIB): Remove entry.
9582
01f16ab0
UD
95832011-05-30 Ulrich Drepper <drepper@gmail.com>
9584
41fce8bd
UD
9585 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9586 (libc.pot): Work around missing support for .ksh extension in xgettext.
9587
4769ae77
UD
9588 [BZ #12684]
9589 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9590 if both request failed.
9591 (send_dg): In case of server errors clear resplen or *resplen2.
9592
6b1e7d19
UD
9593 [BZ #12454]
9594 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9595 when there are multiple maps.
9596 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9597 (_dl_fini): Remove test here.
9598
01f16ab0
UD
9599 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9600
b1ebd700
UD
96012011-05-29 Ulrich Drepper <drepper@gmail.com>
9602
7ae22829
UD
9603 [BZ #12350]
9604 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9605 bit from old_res_options.
9606 (gaih_inet): Likewise.
9607
553149f6 9608 [BZ #11099]
18a84741 9609 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9610 as signed.
9611
652ffab1
UD
9612 * resolv/res_init.c (res_setoptions): Make the code more compact.
9613
16985fd0
UD
9614 [BZ #11558]
9615 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9616 set RES_USEVC.
9617
0464f746
UD
9618 [BZ #11634]
9619 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9620
7d17596c
UD
9621 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9622
cf6bbbd7
UD
9623 [BZ #11781]
9624 * malloc/malloc.h: Declare malloc hook variables as volatile.
9625
13f1ab36
UD
9626 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9627 in last patch.
9628
b1ebd700
UD
9629 [BZ #11799]
9630 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9631 raise in the comment.
80e2212d
UD
9632 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9634 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9635
ce67228d
UD
96362011-05-28 Ulrich Drepper <drepper@gmail.com>
9637
8887a920
UD
9638 [BZ #12811]
9639 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9640 grow the buffers more if it already has to be sufficient.
9641 (build_wcs_upper_buffer): Likewise.
9642 * posix/regexec.c (check_matching): Likewise.
9643 (clean_state_log_if_needed): Likewise.
9644 (extend_buffers): Don't enlarge buffers beyond size of the input
9645 buffer.
9646 Patches mostly by Emil Wojak <emil@wojak.eu>.
9647 * posix/bug-regex32.c: New file.
9648 * posix/Makefile (tests): Add bug-regex32.
9649
4f031072
UD
9650 * locale/findlocale.c (_nl_find_locale): Return right away if
9651 _nl_explode_name failed.
9652 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9653
d0478f0c
UD
9654 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9655
de81b246
UD
9656 * debug/xtrace.sh: Unify messages.
9657 * malloc/memusage.sh: Likewise.
9658
c738465a
UD
9659 [BZ #12813]
9660 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9661 time symbol from vDSO. Substitute with vsyscall if not available.
9662 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9663 __vdso_time.
9664
f1f929d7
UD
9665 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9666 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9667 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9668 Add sendmmsg and internal_sendmmsg.
9669 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9670 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9671 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9672
ce67228d
UD
9673 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9674 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9676
e57420c6
UD
96772011-05-27 Ulrich Drepper <drepper@gmail.com>
9678
a8509ca5
UD
9679 [BZ #12813]
9680 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9681 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9682 available.
9683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9684 __vdso_getcpu.
9685
e57420c6
UD
9686 [BZ #12814]
9687 * iconvdata/Makefile (tests): Add bug-iconv9.
9688 * iconvdata/bug-iconv9.c: New file.
9689
4d07db15
AS
96902011-05-27 Andreas Schwab <schwab@redhat.com>
9691
9692 [BZ #12814]
9693 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9694
ea486f69
JJ
96952011-05-25 Jakub Jelinek <jakub@redhat.com>
9696
9697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9698 (struct user_regs_struct): Change intcs field back to cs.
9699
6f038433
UD
97002011-05-25 Ulrich Drepper <drepper@gmail.com>
9701
9702 * po/ja.po: Update from translation team.
9703
67f86a25
UD
97042011-05-23 Ulrich Drepper <drepper@gmail.com>
9705
9706 [BZ #12795]
9707 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9708 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9709
def7fbd6
AS
97102011-05-20 Andreas Schwab <schwab@redhat.com>
9711
9712 * stdlib/longlong.h: Update from GCC.
9713
f50ef8f1
AS
97142011-05-23 Andreas Schwab <schwab@redhat.com>
9715
9716 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9717 parameter name.
9718 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9719 Add parameter name.
9720 (__sysconf): Pass it down.
9721
de7ce8f1
UD
97222011-05-22 Ulrich Drepper <drepper@gmail.com>
9723
f2962a71
UD
9724 [BZ #12671]
9725 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9726 some situations.
9727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9728 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9729 add in in __libc_use_alloca calls. Adjust callers.
9730 (glob): Use malloc in some situations.
9731
de7ce8f1
UD
9732 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9733 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9734 pltexit.
9735
aec84f53
UD
97362011-05-21 Ulrich Drepper <drepper@gmail.com>
9737
05bb4a68
UD
9738 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9739 and CLOCK_BOOTTIME_ALARM.
9740
7ea72f99
UD
9741 [BZ #12782]
9742 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9743 is returned.
9744
7e4afad5
UD
9745 * string/_strerror.c (__strerror_r): Print negative errors as signed
9746 numbers.
9747
8e211fec
UD
9748 [BZ #12777]
9749 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9750 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9751 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9752
f7d82dc9
UD
9753 * configure.in: Fix typo in redirection and correct removal of test
9754 files in two cases.
9755
cc9e536d
UD
9756 [BZ #12788]
9757 * locale/setlocale.c (new_composite_name): Fix test to check for
9758 identical name of all categories.
9759
aec84f53
UD
9760 [BZ #12792]
9761 * libio/filedoalloc.c (local_isatty): New function.
9762 (_IO_file_doallocate): Use local_isatty.
9763 * stdio-common/perror.c (perror): In case a new stream is used
9764 forward the stream error.
9765 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9766 error flag.
9767
78e64fdc
RT
97682011-05-20 Ulrich Drepper <drepper@gmail.com>
9769
34a9094f
UD
9770 [BZ #11869]
9771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9772 alloca.
9773 * include/alloca.h (extend_alloca_account): Define.
9774
78e64fdc
RT
9775 [BZ #11857]
9776 * posix/regex.h: Fix comments with documentation of user-accessible
9777 fields after compilation and describe correct free'ing of pattern
9778 after re_compile_pattern.
9779 Patch by Reuben Thomas <rrt@sc3d.org>.
9780
457bddfc
RA
97812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9782
9783 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9784 and -mno-altivec to prevent the compiler from using Altivec and/or
9785 VSX instructions when the corresponding registers are not available.
9786
a4527b51
AS
97872011-05-19 Andreas Schwab <schwab@redhat.com>
9788
9789 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9790
ed690b2f
UD
97912011-05-19 Ulrich Drepper <drepper@gmail.com>
9792
9793 * libio/freopen.c (freopen): Use __dup2, not dup2.
9794 * libio/freopen64.c (freopen64): Likewise.
9795
8db73634
L
97962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 [BZ #12775]
9799 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9800 * math/Makefile (tests): Add test-powl.
9801 (CFLAGS-test-powl.c): Define.
9802 * math/test-powl.c: New file.
9803
0a197a9d
L
98042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9807
ee30c380
UD
98082011-05-17 Ulrich Drepper <drepper@gmail.com>
9809
9810 [BZ #11837]
9811 * iconvdata/gb18030.c: Update to GB18020-2005.
9812
6ce75379
UD
98132011-05-16 Ulrich Drepper <drepper@gmail.com>
9814
a4b89fd8
AR
9815 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9816 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9817 Patch by Aharon Robbins <arnold@skeeve.com>.
9818
ea389b12
UD
9819 [BZ #11892]
9820 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9821 on the stack.
9822
68a3f91f
UD
9823 [BZ #11895]
9824 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9825 through underflows.
9826
15cc7dd1
UD
9827 [BZ #12766]
9828 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9829 point to strings before performing equality test for error_one_per_line
9830 mode.
9831
f3799213
UD
9832 [BZ #11697]
9833 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9834
d79a9c94
UD
9835 [BZ #11820]
9836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9837 (struct user_fpregs_struct): Avoid __uint*_t types.
9838
56e5eb46
UD
9839 [BZ #6420]
9840 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9841 symbol info. Use it instead of calling _dl_addr locally.
9842 (lock_and_info): New function.
9843 (tr_freehook): Call lock_and_info and pass symbol info as additional
9844 parameter to tr_where.
9845 (tr_mallochook): Likewise.
9846 (tr_reallochook): Likewise.
9847 (tr_memalignhook): Likewise.
9848
6ce75379
UD
9849 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9850 used and couldn't be at all thread-safe.
9851
f8a3b5bf
UD
98522011-05-15 Ulrich Drepper <drepper@gmail.com>
9853
94b7cc37
UD
9854 * libio/freopen.c (freopen): Don't close old file descriptor
9855 before the new one is opened. Instead dup the new file descriptor
9856 to the old one after the new stream is created.
9857 * libio/freopen64.c (freopen64): Likewise.
9858 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9859 * libio/fileops.c (_IO_new_file_close_it): Handle new
9860 _IO_FLAGS2_NOCLOSE flag.
9861 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9862 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9863 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9864 _IO_FLAGS2_NOCLOSE flag.
9865 * include/unistd.h: Add hidden_proto for dup3.
9866 Define __have_dup3.
9867 * io/dup3.c: Define hidden symbol.
9868 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9869
bd25564e
UD
9870 [BZ #7101]
9871 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9872 when an incomplete long option is used.
9873 * posix/tst-getopt_long1.c: New file.
9874 * posix/Makefile (tests): Add tst-getopt_long1.
9875
c84cfef4
UD
9876 [BZ #10138]
9877 * scripts/config.guess: Update from autoconf-2.68.
9878 * scripts/config.sub: Likewise.
9879
3b85df27
UD
9880 [BZ #10157]
9881 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9882 tests into ...
9883 (has_cpuclock): ...this. New function.
9884 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9885 macro here based on has_cpuclock code.
9886
15a856b1
UD
9887 [BZ #10149]
9888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9889 First byte (not low byte) is now always NUL.
9890 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9891
05f399e6
UD
9892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9893 Use non-cancelable interfaces.
9894
10a52685 9895 [BZ #9809]
94ecc67d
UD
9896 * locale/iso-639.def: Add entry for Sorani.
9897
f8a3b5bf
UD
9898 [BZ #11901]
9899 * include/stdlib.h: Move include protection to the right place.
9900 Define abort_msg_s. Declare __abort_msg with it.
9901 * stdlib/abort.c (__abort_msg): Adjust type.
9902 * assert/assert.c (__assert_fail_base): New function. Majority
9903 of code from __assert_fail. Allocate memory for __abort_msg with
9904 mmap.
9905 (__assert_fail): Now call __assert_fail_base.
9906 * assert/assert-perr.c: Remove bulk of implementation. Use
9907 __assert_fail_base.
9908 * include/assert.hL Declare __assert_fail_base.
9909 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9910 mmap.
9911 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9912
1af4e298
UD
99132011-05-14 Ulrich Drepper <drepper@gmail.com>
9914
f8a3b5bf 9915 [BZ #11952]
d26dfc60
MG
9916 [BZ #12453]
9917 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9918 until all modules are registered in the DTV.
9919 * elf/Makefile: Add rules to build and run tst-tls19.
9920 * elf/tst-tls19.c: New file.
9921 * elf/tst-tls19mod1.c: New file.
9922 * elf/tst-tls19mod2.c: New file.
9923 * elf/tst-tls19mod3.c: New file.
9924 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9925
2fc54d6f
UD
9926 [BZ #12083]
9927 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9928 correctly.
9929
98d76b46
UD
9930 [BZ #12601]
9931 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9932 two-byte sequence errors.
9933 * iconvdata/Makefile (tests): Add bug-iconv8.
9934 * iconvdata/bug-iconv8.c: New file.
9935
da3c19ef
UD
9936 [BZ #12626]
9937 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9938 buf2 definition.
9939
ca408c15
UD
9940 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9941
d6f67f7d
UD
9942 [BZ #12432]
9943 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9944 (dummy_getcfa): New function.
9945 (init): Get _Unwind_GetCFA address, use dummy if not found.
9946 (backtrace_helper): In recursion check, also check whether CFA changes.
9947 (__backtrace): Completely initialize arg.
9948
1af4e298 9949 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9950 storing incomplete byte sequence in state object. Avoid testing for
9951 guaranteed too small input if we know there is enough data available.
1af4e298 9952
da62f81b
AS
99532011-05-11 Andreas Schwab <schwab@redhat.com>
9954
9955 * Makeconfig (+link-pie): Indent.
9956 * Rules (binaries-pie): Define if $(have-fpie) and
9957 $(build-shared).
9958 (binaries-shared): Also filter out $(binaries-pie).
9959 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9960 * nscd/Makefile (others-pie): Add nscd.
9961 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9962 ($(objpfx)nscd): Remove command override.
9963 * login/Makefile (others-pie): Add pt_chown.
9964 ($(objpfx)pt_chown): Remove command override.
9965 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9966 remove command overrides.
9967
fcabc0f8
UD
99682011-05-13 Ulrich Drepper <drepper@gmail.com>
9969
20030ae6
UD
9970 * libio/tst_putwc.c: Fix error messages.
9971
fcabc0f8
UD
9972 [BZ #12724]
9973 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9974 currently writing and seek to current position when not.
9975 * libio/Makefile (tests): Add bug-fclose1.
9976 * libio/bug-fclose1.c: New file.
9977
320a5dc0
PB
99782011-05-12 Ulrich Drepper <drepper@gmail.com>
9979
9980 [BZ #12511]
9981 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9982 don't set DF_1_NODELETE here.
9983 (do_lookup_x): When entering new entry test for copy relocation
9984 and if necessary set DF_1_NODELETE flag.
9985 * elf/tst-unique4.cc: New file.
9986 * elf/tst-unique4.h: New file.
9987 * elf/tst-unique4lib.cc: New file.
9988 * elf/Makefile: Add rules to build and run tst-unique4.
9989 Patch by Piotr Bury <pbury@goahead.com>.
9990
22836f52
UD
99912011-05-11 Ulrich Drepper <drepper@gmail.com>
9992
f574184a
UD
9993 [BZ #12052]
9994 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9995
e1fb097f
UD
9996 [BZ #12625]
9997 * misc/mntent_r.c (addmntent): Flush the stream after the output
9998
22836f52
UD
9999 [BZ #12393]
10000 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10001 (is_trusted_path_normalize): Skip initial colon. Append slash
10002 to empty buffer. Duplicate is_trusted_path code but allow
10003 constructed patch to be prefix.
10004 (is_dst): Allow $ORIGIN followed by /.
10005 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10006 Correct testing of result of is_trusted_path_normalize
10007 (decompose_rpath): Fix warning.
10008
7b3b0b2a
UD
100092011-05-10 Ulrich Drepper <drepper@gmail.com>
10010
10011 [BZ #11257]
10012 * grp/initgroups.c (internal_getgrouplist): When we found the service
10013 list through the initgroups entry in nsswitch.conf do not always
10014 continue on a successful lookup. Don't always use the
eac80ce2 10015 __nss_group_database value if it is set.
7b3b0b2a
UD
10016 * nss/nsswitch.conf (initgroups): Change action for successful db
10017 lookup to continue for compatibility.
10018
2a81eaa5
UD
100192011-05-09 Ulrich Drepper <drepper@gmail.com>
10020
be97a69e
UD
10021 [BZ #11532]
10022 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10023 and CP774 modules.
10024 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10025 and CP774 modules.
10026 * iconvdata/tst-tables.sh: Likewise.
10027 * iconvdata/cp770.c: New file.
10028 * iconvdata/cp771.c: New file.
10029 * iconvdata/cp772.c: New file.
10030 * iconvdata/cp773.c: New file.
10031 * iconvdata/cp774.c: New file.
10032 * iconvdata/testdata/CP770: New file.
10033 * iconvdata/testdata/CP770..UTF8: New file.
10034 * iconvdata/testdata/CP771: New file.
10035 * iconvdata/testdata/CP771..UTF8: New file.
10036 * iconvdata/testdata/CP772: New file.
10037 * iconvdata/testdata/CP772..UTF8: New file.
10038 * iconvdata/testdata/CP773: New file.
10039 * iconvdata/testdata/CP773..UTF8: New file.
10040 * iconvdata/testdata/CP774: New file.
10041 * iconvdata/testdata/CP774..UTF8: New file.
10042
10043 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10044 END CHARMAP line.
10045 * iconvdata/gen-8bit-gap.sh: Likewise.
10046 * iconvdata/gen-8bit.sh: Likewise.
10047
c1e9e399
UD
10048 * locale/iso-639.def: Add ary entry.
10049
24c55fb3 10050 [BZ #11258]
96b4b1b0
UD
10051 * locale/C-translit.h.in: Add U20A1 transliteration.
10052
bdc2f971
KB
10053 [BZ #12178]
10054 * locale/iso-639.def: Add wae entry.
10055 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10056
2952b117
UD
10057 [BZ #12545]
10058 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10059 for n.
10060
2a81eaa5
UD
10061 [BZ #12711]
10062 * locale/C-translit.h.in: Add entry for U20B9.
10063 Patch by pravin.d.s@gmail.com.
10064
28377d1b
UD
100652011-05-08 Ulrich Drepper <drepper@gmail.com>
10066
7fb90fb8
UD
10067 [BZ #12713]
10068 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10069 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10070 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10071 in rtld. Use *stat64.
7fb90fb8 10072 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10073 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10074 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10075 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10076 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10077 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10078 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10079 __fstatat64 macros.
7fb90fb8
UD
10080 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10081 * dirent/rewinddir.c: Add libc_hidden_def.
10082 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10083 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10084
28377d1b
UD
10085 * include/dirent.h (__alloc_dir): Add flags parameter.
10086 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10087 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10088 __alloc_dir.
10089 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10090 from fdopendir if O_CLOEXEC is already set.
10091
66bdbaa4
AM
100922011-03-15 Alan Modra <amodra@gmail.com>
10093
10094 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10095 l_tls_firstbyte_offset non-zero. Save padding offset in
10096 l_tls_firstbyte_offset for later use.
10097 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10098 freeing static tls block.
10099
95721191
JN
101002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10101
10102 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10103 where #ifdef was intended. The intent is to prevent ARG_MAX from
10104 being defined by the kernel headers.
10105
f87dfb1f
UD
101062011-05-07 Ulrich Drepper <drepper@gmail.com>
10107
10108 [BZ #12734]
10109 * resolv/resolv.h: Define RES_NOTLDQUERY.
10110 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10111 no-tld-query and set RES_NOTLDQUERY.
10112 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10113 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10114 modern BIND to search name as TLD unless forbidden.
10115
47c3cd7a
UD
101162011-05-07 Petr Baudis <pasky@suse.cz>
10117 Ulrich Drepper <drepper@gmail.com>
10118
10119 [BZ #12393]
10120 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10121 (is_trusted_path): ...to here.
c1e9ea35 10122 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10123 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10124 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10125
8a35c912
PP
101262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10127
10128 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10129 __BEGIN/__END_DECLS.
10130
acd41f47
UD
101312011-05-06 Ulrich Drepper <drepper@gmail.com>
10132
10133 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10134 NSS_STATUS_NOTFOUND if no record was found.
10135
597df647
AS
101362011-05-05 Andreas Schwab <schwab@redhat.com>
10137
10138 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10139 (headers-not-in-tirpc): Remove rpc/netdb.h
10140 * resolv/netdb.h: Revert last change.
10141
b9af1301
PP
101422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10143
10144 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10145 circular dependency between libgcc.a and libc.a.
10146
4e34d5f5
AS
101472011-05-05 Andreas Schwab <schwab@redhat.com>
10148
10149 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10150 * nis/Makefile: Don't install rpcsvc/*.
10151 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10152 instead of <rpc/types.h>.
10153 (MAXHOSTNAMELEN): Define.
10154
00ee369c
AS
101552011-05-03 Andreas Schwab <schwab@redhat.com>
10156
10157 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10158
0b592a30
MB
101592011-04-28 Maciej Babinski <mbabinski@google.com>
10160
10161 [BZ #12714]
10162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10163 gethostbyname4_r when IPv6 results are possible.
10164
6e04cbbe
UD
101652011-05-02 Ulrich Drepper <drepper@gmail.com>
10166
10167 [BZ #12723]
10168 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10169 _PC_PIPE_BUF handling.
10170
e4ecafe0
BH
101712011-04-30 Bruno Haible <bruno@clisp.org>
10172
10173 [BZ #12717]
10174 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10175 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10176 to 'int'.
10177 * inet/getnameinfo.c (getnameinfo): Likewise.
10178
125ee683
UD
101792011-04-29 Ulrich Drepper <drepper@gmail.com>
10180
10181 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10182 to groups setting in database lookup.
10183 * nss/nsswitch.conf: Add initgroups entry.
10184
b722481a
EB
101852011-04-22 Ulrich Drepper <drepper@gmail.com>
10186
10187 [BZ #12685]
10188 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10189 mode string.
10190 Patch by Eric Blake <eblake@redhat.com>.
10191
4df46dbd
L
101922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * sunrpc/Makefile (need-export-routines): Add svc_run.
10195 (routines): Remove svc_run.
10196 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10197 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10198 * sunrpc/svc_run.c (svc_run): Likewise.
10199 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10200
e84142d2
UD
102012011-04-21 Ulrich Drepper <drepper@gmail.com>
10202
10203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10204 problem in reallocation in last patch.
10205
877175d8
UD
102062011-04-20 Ulrich Drepper <drepper@gmail.com>
10207
10208 * sunrpc/Makefile: Move inclusion of Rules.
10209
ab8eed78
UD
102102011-04-19 Ulrich Drepper <drepper@gmail.com>
10211
10212 * nss/nss_files/files-initgroups.c: New file.
10213 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10214 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10215 _nss_files_initgroups_dyn.
10216
e3d8f584
RS
102172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10218
10219 * elf/elf.h (R_ARM_IRELATIVE): Define.
10220
af190f45
UD
102212011-04-19 Ulrich Drepper <drepper@gmail.com>
10222
10223 * po/ru.po: Update from translation team.
10224
53cf59ef
UD
102252011-04-17 Ulrich Drepper <drepper@gmail.com>
10226
10227 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10228 dependencies.
10229
4c559bcd
MF
102302011-02-06 Mike Frysinger <vapier@gentoo.org>
10231
10232 [BZ #12653]
10233 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10234 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10235 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10238
4420675c
AS
102392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10240
10241 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10242 differing bytes.
10243 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10246
75ea32ab
UD
102472011-04-17 Ulrich Drepper <drepper@gmail.com>
10248
10249 [BZ #12420]
10250 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10251 storing it.
10252 * stdlib/bug-getcontext.c: New file.
10253 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10254
27390476
AK
102552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10256
10257 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10258 instructions into .machine "z9-109".
10259 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10260 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10261
10442705
AK
102622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10263
10264 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10265 between environment variables and auxiliary vector.
10266
7b57bfe5
UD
102672011-04-16 Ulrich Drepper <drepper@gmail.com>
10268
10269 * Makefile: Add rules to build linkobj/libc.so.
10270 * include/libc-symbols.h: Define libc_hidden_nolink.
10271 * include/rpc/auth.h: Mark functions which are to be hidden.
10272 * include/rpc/auth_des.h: Likewise.
10273 * include/rpc/auth_unix.h: Likewise.
10274 * include/rpc/clnt.h: Likewise.
10275 * include/rpc/des_crypt.h: Likewise.
10276 * include/rpc/key_prot.h: Likewise.
10277 * include/rpc/pmap_clnt.h: Likewise.
10278 * include/rpc/pmap_prot.h: Likewise.
10279 * include/rpc/pmap_rmt.h: Likewise.
10280 * include/rpc/rpc_msg.h: Likewise.
10281 * include/rpc/svc.h: Likewise.
10282 * include/rpc/svc_auth.h: Likewise.
10283 * include/rpc/xdr.h: Likewise.
10284 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10285 * nss/Makefile: Likewise.
10286 * sunrpc/Makefile: Don't install headers. Build library with normal
10287 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10288 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10289 for the compat linking library. Remove use of INTDEF/INTUSE.
10290 * sunrpc/auth_none.c: Likewise.
10291 * sunrpc/auth_unix.c: Likewise.
10292 * sunrpc/authdes_prot.c: Likewise.
10293 * sunrpc/authuxprot.c: Likewise.
10294 * sunrpc/clnt_gen.c: Likewise.
10295 * sunrpc/clnt_perr.c: Likewise.
10296 * sunrpc/clnt_raw.c: Likewise.
10297 * sunrpc/clnt_simp.c: Likewise.
10298 * sunrpc/clnt_tcp.c: Likewise.
10299 * sunrpc/clnt_udp.c: Likewise.
10300 * sunrpc/clnt_unix.c: Likewise.
10301 * sunrpc/des_crypt.c: Likewise.
10302 * sunrpc/des_soft.c: Likewise.
10303 * sunrpc/get_myaddr.c: Likewise.
10304 * sunrpc/key_call.c: Likewise.
10305 * sunrpc/key_prot.c: Likewise.
10306 * sunrpc/netname.c: Likewise.
10307 * sunrpc/pm_getmaps.c: Likewise.
10308 * sunrpc/pm_getport.c: Likewise.
10309 * sunrpc/pmap_clnt.c: Likewise.
10310 * sunrpc/pmap_prot.c: Likewise.
10311 * sunrpc/pmap_prot2.c: Likewise.
10312 * sunrpc/pmap_rmt.c: Likewise.
10313 * sunrpc/publickey.c: Likewise.
10314 * sunrpc/rpc_cmsg.c: Likewise.
10315 * sunrpc/rpc_common.c: Likewise.
10316 * sunrpc/rpc_dtable.c: Likewise.
10317 * sunrpc/rpc_prot.c: Likewise.
10318 * sunrpc/rpc_thread.c: Likewise.
10319 * sunrpc/rtime.c: Likewise.
10320 * sunrpc/svc.c: Likewise.
10321 * sunrpc/svc_auth.c: Likewise.
10322 * sunrpc/svc_authux.c: Likewise.
10323 * sunrpc/svc_raw.c: Likewise.
10324 * sunrpc/svc_run.c: Likewise.
10325 * sunrpc/svc_simple.c: Likewise.
10326 * sunrpc/svc_tcp.c: Likewise.
10327 * sunrpc/svc_udp.c: Likewise.
10328 * sunrpc/svc_unix.c: Likewise.
10329 * sunrpc/svcauth_des.c: Likewise.
10330 * sunrpc/xcrypt.c: Likewise.
10331 * sunrpc/xdr.c: Likewise.
10332 * sunrpc/xdr_array.c: Likewise.
10333 * sunrpc/xdr_float.c: Likewise.
10334 * sunrpc/xdr_intXX_t.c: Likewise.
10335 * sunrpc/xdr_mem.c: Likewise.
10336 * sunrpc/xdr_rec.c: Likewise.
10337 * sunrpc/xdr_ref.c: Likewise.
10338 * sunrpc/xdr_sizeof.c: Likewise.
10339 * sunrpc/xdr_stdio.c: Likewise.
10340
e6c61494
UD
103412011-04-10 Ulrich Drepper <drepper@gmail.com>
10342
10343 [BZ #12650]
10344 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10345 * sysdeps/ia64/dl-tls.h: Likewise.
10346 * sysdeps/powerpc/dl-tls.h: Likewise.
10347 * sysdeps/s390/dl-tls.h: Likewise.
10348 * sysdeps/sh/dl-tls.h: Likewise.
10349 * sysdeps/sparc/dl-tls.h: Likewise.
10350 * sysdeps/x86_64/dl-tls.h: Likewise.
10351 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10352
34fe483e
AS
103532011-03-14 Andreas Schwab <schwab@redhat.com>
10354
10355 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10356 rpath element also skip the following colon.
10357 (expand_dynamic_string_token): Add is_path parameter and pass
10358 down to DL_DST_REQUIRED and _dl_dst_substitute.
10359 (decompose_rpath): Call expand_dynamic_string_token with
10360 non-zero is_path. Ignore empty rpaths.
10361 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10362 with zero is_path.
10363
f12a32e6
AS
103642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10365
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10367 Make cancelable.
10368
38a7d692
UD
103692011-04-09 Ulrich Drepper <drepper@gmail.com>
10370
10371 [BZ #12655]
10372 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10373 Patch by Filipe David Manana <fdmanana@apache.org>.
10374
e451d22b
AS
103752011-04-07 Andreas Schwab <schwab@redhat.com>
10376
10377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10378 Maintain aligned stack.
10379 (CHECK_RSP): Remove unused macro.
10380
dedc7c7b
UD
103812011-04-03 Ulrich Drepper <drepper@gmail.com>
10382
10383 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10385
94521213
UD
103862011-04-02 Ulrich Drepper <drepper@gmail.com>
10387
10388 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10389
8cb700c0 10390 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10391
0354e355
L
103922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 [BZ #12518]
10395 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10396 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10397 * sysdeps/x86_64/memmove.c: New file.
10398 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10399 (memcpy): Renamed to ...
10400 (__new_memcpy): This.
10401 (memcpy): Provide GLIBC_2_14 memcpy.
10402 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10403 (memcpy): Provide GLIBC_2_2_5 memcpy.
10404
8593482f
UD
104052011-04-01 Ulrich Drepper <drepper@gmail.com>
10406
10407 [BZ #12631]
10408 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10409
81a5726b
AS
104102011-03-30 Andreas Schwab <schwab@redhat.com>
10411
10412 * misc/syncfs.c: New file.
10413 * misc/Makefile (routines): Add syncfs.
10414 * posix/unistd.h: Declare syncfs.
10415 * sysdeps/unix/syscalls.list: Add syncfs.
10416
00e5419f
AS
104172011-04-01 Andreas Schwab <schwab@redhat.com>
10418
10419 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10420 open_by_handle_at.
10421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10426 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10428
748876bf
UD
104292011-04-01 Ulrich Drepper <drepper@gmail.com>
10430
658e451d
UD
10431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10432 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10433 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10438
748876bf
UD
10439 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10440 sync_file_range.c with -fexceptions.
10441 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10442 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10443 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10444 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10445 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10446 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10448 sync_file_range as cancellation point
10449 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10450 now a wrapper around __call_sync_file_range with cancellation handling.
10451 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10452 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10453 function name to __call_sync_file_range.
10454 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10455 Add call_sync_file_range.
748876bf 10456
6e63d5e1
AS
104572011-04-01 Andreas Schwab <schwab@redhat.com>
10458
10459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10460 bits/timex.h.
6e63d5e1 10461
46998f74
UD
104622011-04-01 Ulrich Drepper <drepper@gmail.com>
10463
4c1423ed
UD
10464 * iconv/iconv.h: Fix typo in comment.
10465 * io/fcntl.h: Likewise.
10466 * libio/stdio.h: Likewise.
10467 * posix/spawn.h: Likewise.
10468 * posix/unistd.h: Likewise.
10469 * stdlib/stdlib.h: Likewise.
10470 * time/time.h: Likewise.
10471 * wcsmbs/wchar.h: Likewise.
10472
158648c0
UD
10473 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10474 open_by_handle): Add.
10475 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10476 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10477 Augment a few comments.
10478 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10483 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10484 open_by_handle.
10485
46998f74
UD
10486 * io/fcntl.h (AT_EMPTY_PATH): Define.
10487
83fe108b
UD
104882011-03-30 Ulrich Drepper <drepper@gmail.com>
10489
10490 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10491 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10492 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10493 to...
10494 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10495 * Versions.def: Add GLIBC_2.14.
10496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10497 Export.
83fe108b 10498
bb242059
UD
104992011-03-22 Ulrich Drepper <drepper@gmail.com>
10500
10501 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10502 round counter.
10503 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10504
c97a1282
L
105052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 [BZ #12597]
10508 * string/test-strncmp.c (do_page_test): New function.
10509 (check2): Likewise.
10510 (test_main): Call check2.
10511 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10512
2a115601
UD
105132011-03-20 Ulrich Drepper <drepper@gmail.com>
10514
10515 [BZ #12587]
10516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10517 Handle cache information in CPU leaf 4.
10518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10519
8126d904
UD
105202011-03-18 Ulrich Drepper <drepper@gmail.com>
10521
042c49c6 10522 [BZ #12583]
8126d904
UD
10523 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10524 character representation.
10525 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10526
ccfe366e
RA
105272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10528
10529 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10530 END(__isnan) to END(__isnanf) to match function entry point/label
10531 EALIGN(__isnanf,...).
10532
c6e13027
JJ
105332011-03-10 Jakub Jelinek <jakub@redhat.com>
10534
10535 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10536
33f85a3f
UD
105372011-03-10 Ulrich Drepper <drepper@gmail.com>
10538
028478fa
UD
10539 [BZ #12510]
10540 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10541 copy from the symbol referenced in the relocation to initialize the
10542 used variable.
10543 Patch by Piotr Bury <pbury@goahead.com>.
10544 * elf/Makefile: Add rules to build and tst-unique3.
10545 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10546 * elf/tst-unique3.cc: New file.
10547 * elf/tst-unique3.h: New file.
10548 * elf/tst-unique3lib.cc: New file.
10549 * elf/tst-unique3lib2.cc: New file.
10550
33f85a3f
UD
10551 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10552
03592fc7
MF
105532011-03-10 Mike Frysinger <vapier@gentoo.org>
10554
10555 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10556 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10557 to _start.
03592fc7 10558
6a5ee102
UD
105592011-03-06 Ulrich Drepper <drepper@gmail.com>
10560
10561 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10562 to-be-loaded object along a path to loader is ld.so.
10563
7e4ba49c
HJ
105642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10565 Ulrich Drepper <drepper@gmail.com>
10566
10567 * sysdeps/x86_64/memset.S: After aligning destination, code
10568 branches to different locations depending on the value of
10569 misalignment, when multiarch is enabled. Fix this.
10570
105712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10572
10573 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10574 Set _x86_64_preferred_memory_instruction for AMD processsors.
10575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10576 Set bit_Prefer_SSE_for_memop for AMD processors.
10577
13a804de
UD
105782011-03-04 Ulrich Drepper <drepper@gmail.com>
10579
10580 * libio/fmemopen.c (fmemopen): Optimize a bit.
10581
9d25c392
AS
105822011-03-03 Andreas Schwab <schwab@redhat.com>
10583
10584 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10585
a5543c6a
RM
105862011-03-03 Roland McGrath <roland@redhat.com>
10587
10588 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10589
012d35f7
DM
105902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10591
7e4ba49c 10592 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10593 __bzero_ultra1 instead of __memset_ultra1.
10594
4bff6e01
AS
105952011-02-23 Andreas Schwab <schwab@redhat.com>
10596 Ulrich Drepper <drepper@gmail.com>
10597
10598 [BZ #12509]
10599 * include/link.h (struct link_map): Add l_orig_initfini.
10600 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10601 returning unsuccessfully.
10602 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10603 close of a file loaded at startup, restore the original l_initfini
10604 list.
10605 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10606 list, store the pointer.
10607 * elf/Makefile ($(objpfx)noload-mem): New rule.
10608 (noload-ENV): Define.
10609 (tests): Add $(objpfx)noload-mem.
10610 * elf/noload.c: Include <memcheck.h>.
10611 (main): Call mtrace. Close all opened handles.
10612
f2092faf
AS
106132011-02-17 Andreas Schwab <schwab@redhat.com>
10614
10615 [BZ #12454]
10616 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10617 dependencies are missing.
10618
6c8a2e88
ST
106192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10620
f2092faf 10621 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10622 Hurd needs munmap.
10623 * sysdeps/mach/hurd/ifreq.h: New file.
10624
84a42118
PB
106252011-01-27 Petr Baudis <pasky@suse.cz>
10626 Ulrich Drepper <drepper@gmail.com>
10627
071f805e 10628 [BZ 12445]#
84a42118
PB
10629 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10630 to extend_alloca().
10631 * stdio-common/bug23.c: New file.
10632 * stdio-common/Makefile (tests): Add bug23.
10633
e23fe25b
AS
106342010-09-28 Andreas Schwab <schwab@redhat.com>
10635 Ulrich Drepper <drepper@gmail.com>
10636
10637 [BZ #12489]
10638 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10639 before performing relro protection. At old place add assertion
10640 to make sure nothing changed.
10641
d3f02e10
NS
106422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10643 Glauber de Oliveira Costa <glommer@gmail.com>
10644
10645 * elf/elf.h: Add new ARM TLS relocs.
10646
d55fd7a5
RA
106472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10648
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10650 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10651 cast from r3.
10652 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10653 'tests' variable.
10654 * sysdeps/wordsize-64/tst-writev.c: New file.
10655
2206397e
RA
106562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10657
10658 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10659 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10660 insns in _dl_start to prevent a TOC reference before relocs are
10661 resolved.
10662
e9433893
UD
106632011-02-15 Ulrich Drepper <drepper@gmail.com>
10664
10665 [BZ #12469]
10666 * Makeconfig: Remove RANLIB definition.
10667 * Makerules: Don't use RANLIB.
10668 * aclocal.m4: Remove ranlib test.
10669 * configure.in: No need to check for ranlib.
10670 * elf/rtld-Rules: Don't use RANLIB.
10671
f75286c6
ST
106722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10673
8e31c82d
ST
10674 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10675 protection macro.
10676 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10677 inclusion protection macro.
10678
f75286c6
ST
10679 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10680 SIGRTMIN and SIGRTMAX and print information in that case only when
10681 SIGRTMIN is defined.
10682
c1d0e639
JJ
106832011-02-11 Jakub Jelinek <jakub@redhat.com>
10684
10685 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10686 arginfo fn returning -1.
10687
10688 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10689 and thousands string is zero terminated.
10690
edf9294e
AS
106912011-02-03 Andreas Schwab <schwab@redhat.com>
10692
10693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10694 sysdeps/unix/sysv/linux/bits/socket.h.
10695
2b7e92df
ST
106962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10697
edf9294e
AS
10698 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10699 (__CPU_COUNT): Remove old macros.
10700 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10701 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10702 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10703 (__sched_cpualloc, __sched_cpufree): Add declarations.
10704
a4c7ea7b
UD
107052011-02-05 Ulrich Drepper <drepper@gmail.com>
10706
10707 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10708 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10709 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10710 (readdhstai): Return value of addhstaiX call.
10711 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10712 (addgrbyX): Return value returned by cache_addgr.
10713 (readdgrbyname): Return value returned by addgrbyX.
10714 (readdgrbygid): Likewise.
10715 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10716 (addpwbyX): Return value returned by cache_addpw.
10717 (readdpwbyname): Return value returned by addhstbyX.
10718 (readdpwbyuid): Likewise.
10719 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10720 (addservbyX): Return value returned by cache_addserv.
10721 (readdservbyname): Return value returned by addservbyX:
10722 (readdservbyport): Likewise.
10723 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10724 (addhstbyX): Return value returned by cache_addhst.
10725 (readdhstbyname): Return value returned by addhstbyX.
10726 (readdhstbyaddr): Likewise.
10727 (readdhstbynamev6): Likewise.
10728 (readdhstbyaddrv6): Likewise.
10729 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10730 (readdinitgroups): Return value returned by addinitgroupsX.
10731 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10732 (prune_cache): Keep track of timeout value of re-added entries.
10733 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10734 * nscd/nscd.h: Adjust prototypes of readd* functions.
10735
a0bf67cc
RM
107362011-02-04 Roland McGrath <roland@redhat.com>
10737
10738 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10739 (nis_stats): Likewise.
10740 * nis/nis_modify.c (nis_modify): Likewise.
10741 * nis/nis_remove.c (nis_remove): Likewise.
10742 * nis/nis_add.c (nis_add): Likewise.
10743
10744 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10745
10746 * posix/fnmatch_loop.c: Add some consts.
10747
10748 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10749
435b95eb
L
107502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 [BZ #12460]
10753 * config.make.in (config-cflags-novzeroupper): Define.
10754 * configure.in: Substitute libc_cv_cc_novzeroupper.
10755 * elf/Makefile (AVX-CFLAGS): Define.
10756 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10757 (CFLAGS-tst-auditmod4a.c): Likewise.
10758 (CFLAGS-tst-auditmod4b.c): Likewise.
10759 (CFLAGS-tst-auditmod6b.c): Likewise.
10760 (CFLAGS-tst-auditmod6c.c): Likewise.
10761 (CFLAGS-tst-auditmod7b.c): Likewise.
10762 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10763
8517b15e
UD
107642011-02-02 Ulrich Drepper <drepper@gmail.com>
10765
10766 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10767 function to the callback.
10768 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10769
10a656fe
AS
107702011-02-02 Andreas Schwab <schwab@redhat.com>
10771
10772 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10773 of errno.
10774
968dad0a
UD
107752011-01-19 Ulrich Drepper <drepper@gmail.com>
10776
9f94d2ea 10777 [BZ #11724]
968dad0a
UD
10778 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10779 of constructors.
10780 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10781 of destructors.
10782 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10783
10784 [BZ #11724]
10785 * elf/Makefile: Add rules to build and run new test.
10786 * elf/tst-initorder.c: New file.
10787 * elf/tst-initorder.exp: New file.
10788 * elf/tst-initordera1.c: New file.
10789 * elf/tst-initordera2.c: New file.
10790 * elf/tst-initordera3.c: New file.
10791 * elf/tst-initordera4.c: New file.
10792 * elf/tst-initorderb1.c: New file.
10793 * elf/tst-initorderb2.c: New file.
10794 * elf/tst-order-a1.c: New file.
10795 * elf/tst-order-a2.c: New file.
10796 * elf/tst-order-a3.c: New file.
10797 * elf/tst-order-a4.c: New file.
10798 * elf/tst-order-b1.c: New file.
10799 * elf/tst-order-b2.c: New file.
10800 * elf/tst-order-main.c: New file.
10801 New test case by George Gensure <werkt0@gmail.com>.
10802
86e92359
UD
108032010-10-01 Andreas Schwab <schwab@redhat.com>
10804
10805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10806 decoding ACE if AI_CANONIDN.
10807
5d5732b0
UD
108082011-01-18 Ulrich Drepper <drepper@gmail.com>
10809
10810 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10811
a77e8cbc
UD
108122011-01-17 Ulrich Drepper <drepper@gmail.com>
10813
6392473f
UD
10814 * version.h (RELEASE): Bump for 2.13 release.
10815 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10816
620a0529
UD
10817 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10818
18ba70a5
UD
10819 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10820 MADV_NOHUGEPAGE.
32465c3e
UD
10821 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10826 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10827
c0dafcf1
UD
10828 * posix/getconf.c: Update copyright year.
10829 * catgets/gencat.c: Likewise.
10830 * csu/version.c: Likewise.
10831 * debug/catchsegv.sh: Likewise.
10832 * debug/xtrace.sh: Likewise.
10833 * elf/ldconfig.c: Likewise.
10834 * elf/ldd.bash.in: Likewise.
10835 * elf/sprof.c (print_version): Likewise.
10836 * iconv/iconv_prog.c: Likewise.
10837 * iconv/iconvconfig.c: Likewise.
10838 * locale/programs/locale.c: Likewise.
10839 * locale/programs/localedef.c: Likewise.
10840 * malloc/memusage.sh: Likewise.
10841 * malloc/mtrace.pl: Likewise.
10842 * nscd/nscd.c (print_version): Likewise.
10843 * nss/getent.c: Likewise.
10844
a77e8cbc
UD
10845 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10846 PF_CAIF, and PF_ALG.
10847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10848
77e8bddf
AS
108492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10850
1f20b93a
AS
10851 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10852 (modules-names): Use them.
10853 (ifunc-test-modules, ifunc-pie-tests): Define.
10854 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10855 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10856 (test-extras): Likewise.
10857 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10858 $(compile-command.c).
10859 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10860 (all-built-dso): Define.
10861 (check-textrel.out, check-execstack.out): Depend on it.
10862
77e8bddf
AS
10863 * configure.in: Don't override --enable-multi-arch.
10864
bc425b33
UD
108652011-01-15 Ulrich Drepper <drepper@gmail.com>
10866
10867 [BZ #6812]
10868 * nscd/hstcache.c (tryagain): Define.
10869 (cache_addhst): Return tryagain not notfound for temporary errors.
10870 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10871 failed.
10872
794c3ad3
UD
108732011-01-14 Ulrich Drepper <drepper@gmail.com>
10874
70181fdd
UD
10875 [BZ #10563]
10876 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10877 to make the syscall.
10878 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10879
794c3ad3
UD
10880 [BZ #12378]
10881 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10882 and fall back to matching as normal character if the string ends before
10883 the matching ']' is found. This is what POSIX requires.
10884 * posix/testfnm.c: Adjust test result.
10885 * posix/globtest.sh: Adjust test result. Add new test.
10886 * posix/tst-fnmatch.input: Likewise.
10887 * posix/tst-fnmatch2.c: Add new test.
10888
68dc9497
AS
108892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10890
10891 * elf/Makefile (check-execstack): Revert last change. Depend on
10892 check-execstack.h.
10893 (check-execstack.h): New target.
10894 (generated): Add check-execstack.h.
10895 * elf/check-execstack.c: Include "check-execstack.h".
10896 (main): Revert last change.
10897 (handle_file): Return zero if GNU_STACK is absent and
10898 DEFAULT_STACK_PERMS doesn't include PF_X.
10899
451f001b
UD
109002011-01-13 Ulrich Drepper <drepper@gmail.com>
10901
cfa28e56
UD
10902 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10903 in child fails because the descriptor is already closed.
8cf8ce17
UD
10904 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10905 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10907
1086d70d
UD
10908 [BZ #12397]
10909 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10910 syscall.
10911
451f001b
UD
10912 [BZ #10484]
10913 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10914 temporary buffer used to handle multi lookups locally.
a85b5cb4 10915 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10916
08769175
UD
109172011-01-12 Ulrich Drepper <drepper@gmail.com>
10918
10919 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10920 loader is ld.so.
10921
5e49c52e
UD
109222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10923
10924 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10925 alignment for SSE2.
10926
60522a5f
UD
109272011-01-12 Ulrich Drepper <drepper@gmail.com>
10928
10929 [BZ #12394]
10930 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10931 characters. When rounding increased number of integer digits recompute
10932 number of groups.
10933 * stdio-common/tst-grouping.c: New file.
10934 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10935
f257bbd7
UD
109362011-01-09 Ulrich Drepper <drepper@gmail.com>
10937
10938 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10939 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10940
10941 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10942 void.
10943 * bits/select.h: Likewise.
10944
fa9c15cb
UD
109452011-01-08 Ulrich Drepper <drepper@gmail.com>
10946
10947 * po/ja.po: Update from translation team.
10948
16c2895f
DM
109492011-01-04 David S. Miller <davem@sunset.davemloft.net>
10950
10951 [BZ #11155]
10952 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10953 implementation just like for lxstat, fxstatat, et al.
10954
2543fef2
JM
109552010-12-27 Jim Meyering <meyering@redhat.com>
10956
10957 [BZ #12348]
10958 * posix/regexec.c (build_trtable): Return failure indication upon
10959 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10960
98727dbe
UD
109612010-12-25 Ulrich Drepper <drepper@gmail.com>
10962
5bd6dc5c
UD
10963 [BZ #12201]
10964 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10965 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10966 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10967 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10968
97983464
UD
10969 [BZ #12207]
10970 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10971
98727dbe
UD
10972 [BZ #12204]
10973 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10974 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10975
4a531bb0
L
109762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10977
10978 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10979 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10980 script has SORT_BY_INIT_PRIORITY.
10981 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10982 NO_CTORS_DTORS_SECTIONS is defined.
10983 * elf/soinit.c: Likewise.
10984 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10985 NO_CTORS_DTORS_SECTIONS is defined.
10986 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10987 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10988 * sysdeps/sh/init-first.c: Likewise.
10989 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10990
07eb4b71
UD
109912010-12-24 Ulrich Drepper <drepper@gmail.com>
10992
10993 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10994 always use the slow path.
10995
30950a5f
RA
109962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10997
10998 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10999 similar rule which adds the sysdep directories to the header search in
11000 order to pick up the correct platform stackinfo.h.
11001 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11002 perform test if it is, otherwise return successfully without testing.
11003 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11004 DEFAULT_STACK_PERMS define in stackinfo.h.
11005 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11006 defined in stackinfo.h.
11007 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11008 DEFAULT_STACK_PERMS defined in stackinfo.h.
11009 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11010 * sysdeps/ia64/stackinfo.h: Likewise.
11011 * sysdeps/s390/stackinfo.h: Likewise.
11012 * sysdeps/sh/stackinfo.h: Likewise.
11013 * sysdeps/sparc/stackinfo.h: Likewise.
11014 * sysdeps/x86_64/stackinfo.h: Likewise.
11015 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11016 PF_X for powerpc64. Retain PF_X for powerpc32.
11017
db753e2c
UD
110182010-12-19 Ulrich Drepper <drepper@gmail.com>
11019
14b697f7
UD
11020 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11021 accurately.
db753e2c
UD
11022 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11023 GETDENTS_64BIT_ALIGNED.
11024
28300719
UD
110252010-12-14 Ulrich Drepper <dreper@gmail.com>
11026
14b697f7 11027 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11028
4f197237
AS
110292010-12-10 Andreas Schwab <schwab@redhat.com>
11030
dbb0472f
AS
11031 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11032 _GNU_SOURCE.
11033
4f197237
AS
11034 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11035 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11036 Remove __restrict.
11037 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11038 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11039
fb88ac72
UD
110402010-12-09 Ulrich Drepper <drepper@gmail.com>
11041
11042 [BZ #11655]
11043 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11044 are initialized.
11045
42acbb92
JJ
110462010-12-09 Jakub Jelinek <jakub@redhat.com>
11047
11048 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11049
c038d98d
UD
110502010-12-03 Ulrich Drepper <drepper@gmail.com>
11051
11052 * po/it.po: Update from translation team.
11053
3a4a2499
L
110542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11055
11056 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11057 unused codes.
11058
1e24cf6e
UD
110592010-11-30 Ulrich Drepper <drepper@gmail.com>
11060
11061 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11062
a7690819
AS
110632010-11-24 Andreas Schwab <schwab@redhat.com>
11064
11065 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11066 specially.
11067 (gaih_getanswer_slice): Likewise.
11068
3bf8d1b1
JJ
110692010-10-20 Jakub Jelinek <jakub@redhat.com>
11070
11071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11072
6db52fbb
PB
110732010-05-31 Petr Baudis <pasky@suse.cz>
11074
11075 [BZ #11149]
11076 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11077 silently even in the chroot mode.
11078
eaca7569
UD
110792010-11-22 Ulrich Drepper <drepper@gmail.com>
11080
11081 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11082 last patch a bit. Pretty printing
11083
3056dcdb
UD
110842010-05-31 Petr Baudis <pasky@suse.cz>
11085
11086 [BZ #10085]
11087 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11088 initialization of skip_initgroups_dyn.
11089
cf7c9078
UD
110902010-11-19 Ulrich Drepper <drepper@gmail.com>
11091
11092 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11094
a1fb5e3e
UD
110952010-11-16 Ulrich Drepper <drepper@gmail.com>
11096
11097 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11098
3540d66b
AS
110992010-11-11 Andreas Schwab <schwab@redhat.com>
11100
11101 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11102 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11103 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11104 ($(objpfx)tst-fnmatch-mem): New rule.
11105 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11106 * posix/tst-fnmatch.c (main): Call mtrace.
11107
13b69574
L
111082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11111 Support Intel processor model 6 and model 0x2c.
11112
da93d214
LM
111132010-11-10 Luis Machado <luisgpm@br.ibm.com>
11114
11115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11116 signed comparison.
11117
8ca52c6e
L
111182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11119
11120 [BZ #12205]
11121 * string/test-strncasecmp.c (check_result): New function.
11122 (do_one_test): Use it.
11123 (check1): New function.
11124 (test_main): Use it.
11125 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11126 Support strcasecmp and strncasecmp.
11127
69da074d
UD
111282010-11-08 Ulrich Drepper <drepper@gmail.com>
11129
11130 [BZ #12194]
11131 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11133
ff02d528
L
111342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11135
11136 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11137 IFUNC support.
11138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11139 memset-x86-64.
11140 * sysdeps/x86_64/multiarch/bzero.S: New file.
11141 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11142 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11143 * sysdeps/x86_64/multiarch/memset.S: New file.
11144 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11146 Set bit_Prefer_SSE_for_memop for Intel processors.
11147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11148 Define.
11149 (index_Prefer_SSE_for_memop): Define.
11150 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11151
344d0b54
LM
111522010-11-04 Luis Machado <luisgpm@br.ibm.com>
11153
11154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11155 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11156
c0dde15b
UD
111572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11158
11159 [BZ #12191]
11160 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11161 (__x86_64_raw_data_cache_size_half): Likewise.
11162 (__x86_64_raw_shared_cache_size): Likewise.
11163 (__x86_64_raw_shared_cache_size_half): Likewise.
11164
11165 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11166 (__x86_64_raw_data_cache_size_half): Likewise.
11167 (__x86_64_raw_shared_cache_size): Likewise.
11168 (__x86_64_raw_shared_cache_size_half): Likewise.
11169 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11170 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11171 and __x86_64_raw_shared_cache_size_half. Round
11172 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11173 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11174 to multiple of 256 bytes.
11175
0e516e0e
MS
111762010-11-03 Ulrich Drepper <drepper@gmail.com>
11177
11178 [BZ #12167]
11179 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11180 of inacessible symlinks. Verify result of symlink before returning it.
11181 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11182 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11183
0e012e87
ER
111842010-10-28 Erich Ritz <erichritz@gmail.com>
11185
11186 * math/math.h (isinf): Fix typo in comment.
11187
de0ff7bc
UD
111882010-11-01 Ulrich Drepper <drepper@gmail.com>
11189
11190 * po/da.po: Update from translation team.
11191
fa41c84d
UD
111922010-10-26 Ulrich Drepper <drepper@gmail.com>
11193
11194 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11195 is added to the list.
11196
f0967738
AK
111972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11198 Ulrich Drepper <drepper@gmail.com>
11199
11200 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11201 the global list here. Move code to...
11202 (_dl_add_to_namespace_list): ...here. New function.
11203 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11204 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11205 * elf/dl-load.c (lose): Don't remove the element from the list.
11206 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11207 (_dl_map_object): Likewise.
11208
112092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11210
11211 [BZ #12159]
11212 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11213 into all bytes of SSE register.
11214 Patch by Richard Li <richardpku@gmail.com>.
11215
f0967738 112162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11217
11218 [BZ #12140]
11219 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11220 perturbing.
11221
d0b9e94f
MB
112222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11223
11224 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11225 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11227 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11229 submachine.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11231
8e9f92e9
AS
112322010-10-22 Andreas Schwab <schwab@redhat.com>
11233
11234 * include/dlfcn.h (__RTLD_SECURE): Define.
11235 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11236 mode & __RTLD_SECURE instead.
11237 (open_path): Rename preloaded parameter to secure.
11238 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11239 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11240 * elf/dl-deps.c (openaux): Likewise.
11241 * elf/rtld.c (struct map_args): Remove is_preloaded.
11242 (map_doit): Don't use it.
11243 (dl_main): Likewise.
11244 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11245 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11246
bc96fbda
AS
112472010-09-09 Andreas Schwab <schwab@redhat.com>
11248
11249 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11250 (sysd-rules-targets): Remove duplicates.
11251 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11252 rtld-%.$o dependency.
11253
22cd1c9b
AS
112542010-10-18 Andreas Schwab <schwab@redhat.com>
11255
11256 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11257 _dl_map_object do it.
11258
18edac48
UD
112592010-10-19 Ulrich Drepper <drepper@gmail.com>
11260
11261 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11262 fast fma builtins, define the macros in the C99 standard.
11263 (FP_FAST_FMAF): Likewise.
11264 (FP_FAST_FMAL): Likewise.
11265 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11266
11267 * bits/mathdef.h: Update copyright year.
11268 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11269
d2050124
MM
112702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11271
11272 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11273 builtins, define the macros in the C99 standard.
11274 (FP_FAST_FMAF): Likewise.
11275 (FP_FAST_FMAL): Likewise.
11276 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11277 multiply/add.
11278 (FP_FAST_FMAF): Likewise.
11279
475facd1
JJ
112802010-10-15 Jakub Jelinek <jakub@redhat.com>
11281
11282 [BZ #3268]
11283 * math/libm-test.inc (fma_test): Some new testcases.
11284 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11285 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11286 y and infinite z. Do multiplication by C already in long double.
11287 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11289 y and infinite z. Do bitwise or of inexact bit into u.d.
11290 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11291 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11292 * sysdeps/i386/fpu/s_fma.S: Removed.
11293 * sysdeps/i386/fpu/s_fmal.S: Removed.
11294
7c08a05c
JJ
112952010-10-16 Jakub Jelinek <jakub@redhat.com>
11296
11297 [BZ #3268]
11298 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11300 computation is not scheduled after fetestexcept. Fix value
11301 of minimum denormal long double.
11302
f3f7372d
JJ
113032010-10-14 Jakub Jelinek <jakub@redhat.com>
11304
11305 [BZ #3268]
11306 * math/libm-test.inc (fma_test): Add some more tests.
11307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11308 correctly.
11309
14d43591
AS
113102010-10-15 Andreas Schwab <schwab@redhat.com>
11311
11312 * scripts/data/localplt-s390-linux-gnu.data: New file.
11313 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11314
5e908464
JJ
113152010-10-13 Jakub Jelinek <jakub@redhat.com>
11316
11317 [BZ #3268]
11318 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11319 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11320 instead of dbl-64.
11321 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11322 inlines.
11323 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11325 if one of x and y is very large and the other is subnormal.
11326 * sysdeps/s390/fpu/s_fmaf.c: New file.
11327 * sysdeps/s390/fpu/s_fma.c: New file.
11328 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11329 * sysdeps/powerpc/fpu/s_fma.S: New file.
11330 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11331 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11332 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11333
113342010-10-12 Jakub Jelinek <jakub@redhat.com>
11335
11336 [BZ #3268]
11337 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11338 fma tests.
11339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11340 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11341 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11342 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11343 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11344 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11346
b833d51f
UD
113472010-10-12 Ulrich Drepper <drepper@redhat.com>
11348
11349 [BZ #12078]
11350 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11351 * posix/bug-regex31.input: Add test case.
11352
1751705d
UD
113532010-10-11 Ulrich Drepper <drepper@gmail.com>
11354
e9b9cbf5
UD
11355 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11356 * posix/bug-regex31.input: New file.
11357
11358 [BZ #12078]
11359 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11360 (parse_sub_exp): Fix last change, use postorder.
11361
ef06edbe
UD
11362 * posix/bug-regex31.c: New file.
11363 * posix/Makefile: Add rules to build and run bug-regex31.
11364
a129c80d
UD
11365 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11366
11367 [BZ #12078]
11368 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11369
b76b818e
UD
11370 [BZ #12108]
11371 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11372 to have entries in sys_siglist.
11373
1751705d
UD
11374 [BZ #12093]
11375 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11376 be NULL.
11377
9ff8d36f
JJ
113782010-10-07 Jakub Jelinek <jakub@redhat.com>
11379
11380 [BZ #3268]
11381 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11382 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11383 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11384 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11385 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11386 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11387 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11388 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11389 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11390 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11391 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11392 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11393 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11394 * math/ftestexcept.c (fetestexcept): Likewise.
11395 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11396 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11397 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11398 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11399 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11400 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11402
af325969
UD
114032010-10-11 Ulrich Drepper <drepper@gmail.com>
11404
c579b202 11405 [BZ #12107]
af325969
UD
11406 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11407 newline.
11408
67a67b95
UD
114092010-10-06 Ulrich Drepper <drepper@gmail.com>
11410
11411 * string/bug-strstr1.c: New file.
11412 * string/Makefile: Add rules to build and run bug-strstr1.
11413
5fb308bc
EB
114142010-10-05 Eric Blake <eblake@redhat.com>
11415
11416 [BZ #12092]
11417 * string/str-two-way.h (two_way_long_needle): Always clear memory
11418 when skipping input due to the shift table.
11419
45db99c7
UD
114202010-10-03 Ulrich Drepper <drepper@gmail.com>
11421
3b111893
UD
11422 [BZ #12005]
11423 * malloc/mcheck.c: Handle large requests.
11424
45db99c7
UD
11425 [BZ #12077]
11426 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11427 for strncmp and strncasecmp.
11428 * string/stratcliff.c: Add tests for strcmp and strncmp.
11429 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11430
cf7a1eb8
NI
114312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11432
11433 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11434 __set_fpscr.
11435
6484ba5e
AJ
114362010-09-30 Andreas Jaeger <aj@suse.de>
11437
11438 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11439 (CGROUP_SUPER_MAGIC): Define.
11440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11441 Handle btrfs and cgroup file systems.
11442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11443 Likewise.
11444
91c42559
LM
114452010-09-27 Luis Machado <luisgpm@br.ibm.com>
11446
11447 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11448 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11449
87a97932
AK
114502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11451
11452 [BZ #12067]
11453 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11454 trying to locate the ELF header.
11455
c21cc9bc
AS
114562010-09-27 Andreas Schwab <schwab@redhat.com>
11457
11458 [BZ #11611]
11459 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11460 Mask out sign-bit copies when constructing f_fsid.
11461
315970f6
PB
114622010-09-24 Petr Baudis <pasky@suse.cz>
11463
11464 * debug/stack_chk_fail_local.c: Add missing licence exception.
11465 * debug/warning-nop.c: Likewise.
11466
1ac7a2c7
JM
114672010-09-15 Joseph Myers <joseph@codesourcery.com>
11468
11469 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11470 implementing getdents64 using getdents syscall, set d_type if
11471 __ASSUME_GETDENTS32_D_TYPE.
11472
56801c50
AS
114732010-09-16 Andreas Schwab <schwab@redhat.com>
11474
11475 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11476 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11477
dda51327
UD
114782010-09-21 Ulrich Drepper <drepper@redhat.com>
11479
11480 [BZ #12037]
11481 * posix/unistd.h: Undo change of feature selection for ftruncate from
11482 2010-01-11.
11483
8ffcee4a
UD
114842010-09-20 Ulrich Drepper <drepper@redhat.com>
11485
a545ecd9 11486 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11487 detection.
11488
e24f0a8b
AS
114892010-09-20 Andreas Schwab <schwab@redhat.com>
11490
11491 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11492 fanotify_mark.
11493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11494
7291c56f
AS
114952010-09-14 Andreas Schwab <schwab@redhat.com>
11496
11497 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11498 variables after CHECK_SP call.
11499 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11500
bc5fb037
AS
115012010-09-13 Andreas Schwab <schwab@redhat.com>
11502 Ulrich Drepper <drepper@redhat.com>
11503
11504 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11505 re-relocationg ld.so.
11506 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11507 _dl_init_paths call.
11508 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11509 here anymore.
11510
e66e7419
UD
115112010-09-14 Ulrich Drepper <drepper@redhat.com>
11512
11513 * resolv/res_init.c (__res_vinit): Count the default server we added.
11514
c044aa75
CLT
115152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11516 Ulrich Drepper <drepper@redhat.com>
11517
11518 [BZ #11968]
11519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11520 (____longjmp_chk): Use %ebx for saving value across system call.
11521 Add unwind info.
11522
32cf4069
AS
115232010-09-06 Andreas Schwab <schwab@redhat.com>
11524
11525 * manual/Makefile: Don't mix pattern rules with normal rules.
11526
817328ee
AS
115272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11528
11529 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11530 operation.
11531 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11532 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11533 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11534 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11536 Likewise.
11537
29fddf61
UD
115382010-09-04 Ulrich Drepper <drepper@redhat.com>
11539
11540 [BZ #11979]
11541 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11542 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11543
0959ffc9
UD
115442010-09-02 Ulrich Drepper <drepper@redhat.com>
11545
11546 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11547 * sysdeps/x86_64/addmul_1.S: Likewise.
11548 * sysdeps/x86_64/lshift.S: Likewise.
11549 * sysdeps/x86_64/mul_1.S: Likewise.
11550 * sysdeps/x86_64/rshift.S: Likewise.
11551 * sysdeps/x86_64/sub_n.S: Likewise.
11552 * sysdeps/x86_64/submul_1.S: Likewise.
11553
ece29840
ST
115542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11555
0959ffc9
UD
11556 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11557 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11558 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11559 * bits/sched.h [__need_schedparam]
ece29840 11560 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11561 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11562 (__defined_schedparam): Define to 1.
ece29840
ST
11563 (__sched_param): New structure, identical to sched_param.
11564 (__need_schedparam): Undefine.
11565
e53a31fe
MF
115662010-08-31 Mike Frysinger <vapier@gentoo.org>
11567
fdc0c10d
MF
11568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11569 (epoll_create1): Declare.
11570
e53a31fe
MF
11571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11572
a726d796
AS
115732010-08-31 Andreas Schwab <schwab@redhat.com>
11574
11575 [BZ #7066]
11576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11577 shifting retval into place.
11578
2f3e3dc7
UD
115792010-09-01 Ulrich Drepper <drepper@redhat.com>
11580
f2933da9
UD
11581 * nis/rpcsvc/nis.h: Update copyright notice.
11582 * nis/rpcsvc/nis.x: Likewise.
11583 * nis/rpcsvc/nis_callback.h: Likewise.
11584 * nis/rpcsvc/nis_callback.x: Likewise.
11585 * nis/rpcsvc/nis_object.x: Likewise.
11586 * nis/rpcsvc/nis_tags.h: Likewise.
11587 * nis/rpcsvc/yp.h: Likewise.
11588 * nis/rpcsvc/yp.x: Likewise.
11589 * nis/rpcsvc/ypupd.h: Likewise.
11590 * nis/yp_xdr.c: Likewise.
11591 * nis/ypupdate_xdr.c: Likewise.
11592
2f3e3dc7
UD
11593 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11594 mainly the body of pmap_getport. Add parameters to specify timeouts.
11595 (pmap_getport): Use __libc_rpc_getport.
11596 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11597 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11598 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11599
f3dcc2f9
AS
116002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11601
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11603 fanotify_mark.
11604
6d34eb5b
RM
116052010-08-27 Roland McGrath <roland@redhat.com>
11606
11607 * sysdeps/i386/i686/multiarch/Makefile
11608 (CFLAGS-varshift.c): New variable.
11609
9ea3de11
UD
116102010-08-27 Ulrich Drepper <drepper@redhat.com>
11611
c96d23fc
UD
11612 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11613 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11614
9ea3de11
UD
11615 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11616
11617 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11618
623aac7f
L
116192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * sysdeps/x86_64/strlen.S: Unroll the loop.
11622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11623 strlen-sse2 strlen-sse2-bsf.
11624 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11625 __strlen_no_bsf if bit_Slow_BSF is set.
11626 (__strlen_sse42): Removed.
11627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11628 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11629
8b2b7715
RM
116302010-08-25 Roland McGrath <roland@redhat.com>
11631
11632 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11633 * sysdeps/x86_64/multiarch/varshift.c: New file.
11634 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11635 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11636 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11637 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11638
e73015f2
L
116392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11642 strlen-sse2 strlen-sse2-bsf.
11643 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11644 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11645 (__strlen_sse2): Removed.
11646 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11649 bit_Slow_BSF for Atom.
11650 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11651 (index_Slow_BSF): Define.
11652 (HAS_SLOW_BSF): Define.
11653
df24a73e
UD
116542010-08-25 Ulrich Drepper <drepper@redhat.com>
11655
11656 [BZ #10851]
11657 * resolv/res_init.c (__res_vinit): When no server address at all
11658 is given default to loopback.
11659
f2ac4868
RM
116602010-08-24 Roland McGrath <roland@redhat.com>
11661
09055553
RM
11662 * configure.in: Remove config-name.h generation.
11663 * configure: Regenerated.
11664 * config-name.in: File removed.
11665 * scripts/config-uname.sh: New file.
11666 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11667 ($(objdir)config-name.h): New target.
11668
f2ac4868
RM
11669 * sunrpc/rpc_parse.h: Avoid nested comment.
11670
73f27d5e
RH
116712010-08-24 Richard Henderson <rth@redhat.com>
11672 Ulrich Drepper <drepper@redhat.com>
11673 H.J. Lu <hongjiu.lu@intel.com>
11674
11675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11677 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11678 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11679 _mm_alignr_epi8 with _mm_loadu_si128.
11680 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11681 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11682 (__m128i_shift_right): Removed.
11683 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11684 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11685 * sysdeps/x86_64/multiarch/varshift.h: New file.
11686 * sysdeps/x86_64/multiarch/varshift.S: New file.
11687
84b9230c
MF
116882010-08-21 Mike Frysinger <vapier@gentoo.org>
11689
11690 * configure.in: Move assembler checks to before sysdep dir checking.
11691
9bbd0ddc
PB
116922010-08-20 Petr Baudis <pasky@suse.cz>
11693
11694 * LICENSES: Sync the sunrpc license.
11695
9da4bb31
UD
116962010-08-19 Ulrich Drepper <drepper@redhat.com>
11697
a7ab6ec8
UD
11698 * sunrpc/auth_des.c: Update copyright notice once again.
11699 * sunrpc/auth_none.c: Likewise.
11700 * sunrpc/auth_unix.c: Likewise.
11701 * sunrpc/authdes_prot.c: Likewise.
11702 * sunrpc/authuxprot.c: Likewise.
11703 * sunrpc/bindrsvprt.c: Likewise.
11704 * sunrpc/clnt_gen.c: Likewise.
11705 * sunrpc/clnt_perr.c: Likewise.
11706 * sunrpc/clnt_raw.c: Likewise.
11707 * sunrpc/clnt_simp.c: Likewise.
11708 * sunrpc/clnt_tcp.c: Likewise.
11709 * sunrpc/clnt_udp.c: Likewise.
11710 * sunrpc/clnt_unix.c: Likewise.
11711 * sunrpc/des_crypt.c: Likewise.
11712 * sunrpc/des_soft.c: Likewise.
11713 * sunrpc/get_myaddr.c: Likewise.
11714 * sunrpc/getrpcport.c: Likewise.
11715 * sunrpc/key_call.c: Likewise.
11716 * sunrpc/key_prot.c: Likewise.
11717 * sunrpc/openchild.c: Likewise.
11718 * sunrpc/pm_getmaps.c: Likewise.
11719 * sunrpc/pm_getport.c: Likewise.
11720 * sunrpc/pmap_clnt.c: Likewise.
11721 * sunrpc/pmap_prot.c: Likewise.
11722 * sunrpc/pmap_prot2.c: Likewise.
11723 * sunrpc/pmap_rmt.c: Likewise.
11724 * sunrpc/rpc/auth.h: Likewise.
11725 * sunrpc/rpc/auth_unix.h: Likewise.
11726 * sunrpc/rpc/clnt.h: Likewise.
11727 * sunrpc/rpc/des_crypt.h: Likewise.
11728 * sunrpc/rpc/key_prot.h: Likewise.
11729 * sunrpc/rpc/netdb.h: Likewise.
11730 * sunrpc/rpc/pmap_clnt.h: Likewise.
11731 * sunrpc/rpc/pmap_prot.h: Likewise.
11732 * sunrpc/rpc/pmap_rmt.h: Likewise.
11733 * sunrpc/rpc/rpc.h: Likewise.
11734 * sunrpc/rpc/rpc_des.h: Likewise.
11735 * sunrpc/rpc/rpc_msg.h: Likewise.
11736 * sunrpc/rpc/svc.h: Likewise.
11737 * sunrpc/rpc/svc_auth.h: Likewise.
11738 * sunrpc/rpc/types.h: Likewise.
11739 * sunrpc/rpc/xdr.h: Likewise.
11740 * sunrpc/rpc_clntout.c: Likewise.
11741 * sunrpc/rpc_cmsg.c: Likewise.
11742 * sunrpc/rpc_common.c: Likewise.
11743 * sunrpc/rpc_cout.c: Likewise.
11744 * sunrpc/rpc_dtable.c: Likewise.
11745 * sunrpc/rpc_hout.c: Likewise.
11746 * sunrpc/rpc_main.c: Likewise.
11747 * sunrpc/rpc_parse.c: Likewise.
11748 * sunrpc/rpc_parse.h: Likewise.
11749 * sunrpc/rpc_prot.c: Likewise.
11750 * sunrpc/rpc_sample.c: Likewise.
11751 * sunrpc/rpc_scan.c: Likewise.
11752 * sunrpc/rpc_scan.h: Likewise.
11753 * sunrpc/rpc_svcout.c: Likewise.
11754 * sunrpc/rpc_tblout.c: Likewise.
11755 * sunrpc/rpc_util.c: Likewise.
11756 * sunrpc/rpc_util.h: Likewise.
11757 * sunrpc/rpcinfo.c: Likewise.
11758 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11759 * sunrpc/rpcsvc/key_prot.x: Likewise.
11760 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11761 * sunrpc/rpcsvc/mount.x: Likewise.
11762 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11763 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11764 * sunrpc/rpcsvc/rex.x: Likewise.
11765 * sunrpc/rpcsvc/rstat.x: Likewise.
11766 * sunrpc/rpcsvc/rusers.x: Likewise.
11767 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11768 * sunrpc/rpcsvc/spray.x: Likewise.
11769 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11770 * sunrpc/rtime.c: Likewise.
11771 * sunrpc/svc.c: Likewise.
11772 * sunrpc/svc_auth.c: Likewise.
11773 * sunrpc/svc_authux.c: Likewise.
11774 * sunrpc/svc_raw.c: Likewise.
11775 * sunrpc/svc_run.c: Likewise.
11776 * sunrpc/svc_simple.c: Likewise.
11777 * sunrpc/svc_tcp.c: Likewise.
11778 * sunrpc/svc_udp.c: Likewise.
11779 * sunrpc/svc_unix.c: Likewise.
11780 * sunrpc/svcauth_des.c: Likewise.
11781 * sunrpc/xcrypt.c: Likewise.
11782 * sunrpc/xdr.c: Likewise.
11783 * sunrpc/xdr_array.c: Likewise.
11784 * sunrpc/xdr_float.c: Likewise.
11785 * sunrpc/xdr_mem.c: Likewise.
11786 * sunrpc/xdr_rec.c: Likewise.
11787 * sunrpc/xdr_ref.c: Likewise.
11788 * sunrpc/xdr_sizeof.c: Likewise.
11789 * sunrpc/xdr_stdio.c: Likewise.
11790
9da4bb31
UD
11791 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11792 handling.
11793
bdaa77bc
AS
117942010-08-19 Andreas Schwab <schwab@redhat.com>
11795
11796 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11797
fe2f79db
LM
117982010-08-19 Luis Machado <luisgpm@br.ibm.com>
11799
11800 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11801 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11802 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11803 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11804 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11805 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11806 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11807 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11809 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11810 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11811 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11812 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11813 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11814
b9b42ee0
AB
118152010-07-26 Anton Blanchard <anton@samba.org>
11816
11817 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11818 * malloc/arena.c (heap_trim): Likewise.
11819
1c06ba31
UD
118202010-08-16 Ulrich Drepper <drepper@redhat.com>
11821
11822 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11823 here. Not...
11824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11825 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11826
f8392f40
L
118272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11828
11829 * sysdeps/i386/elf/Makefile: New file.
11830
3162f12e
AS
118312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11832
11833 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11834 from fanotify_init.
11835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11837
28c90b2c
UD
118382010-08-15 Ulrich Drepper <drepper@redhat.com>
11839
11840 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11841 of strncasecmp_l.
1feccb6c 11842 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11843
ca6bb004
UD
118442010-08-14 Ulrich Drepper <drepper@redhat.com>
11845
e9f82e0d
UD
11846 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11847 strncase_l-nonascii.
11848 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11849 Add strncase_l-ssse3.
11850 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11851 * sysdeps/x86_64/strcmp.S: Likewise.
11852 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11853 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11854 * sysdeps/x86_64/strncase.S: New file.
11855 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11856 * sysdeps/x86_64/strncase_l.S: New file.
11857 * string/Makefile (strop-tests): Add strncasecmp.
11858 * string/test-strncasecmp.c: New file.
11859
11860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11861 warning.
11862
ca6bb004
UD
11863 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11864 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11865
052fa7b3
AS
118662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11867
11868 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11869
962dba78
UD
118702010-08-12 Ulrich Drepper <drepper@redhat.com>
11871
11872 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11873 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11874 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11875
bebff237
AM
118762010-05-01 Alan Modra <amodra@gmail.com>
11877
11878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11879 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11880 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11881 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11882 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11883 tidying. Don't tail-call __sigjmp_save for static lib.
11884 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11885 save location.
11886 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11887 (CALL_MCOUNT): Add eh info, and nop after bl.
11888 (TAIL_CALL_SYSCALL_ERROR): New macro.
11889 (PSEUDO_RET): Use it.
11890 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11891 Correct save location of integer regs and cr.
11892 (_dl_profile_resolve): Correct cr save location. Delete nops
11893 after bl when SHARED. Reduce cfi size a little by better
11894 placement of cfi directives.
11895 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11896 make a stack frame. Instead use parm save area as a temp.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11898 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11900 Don't make a stack frame for parent, use parm save area.
11901 Increase child stack frame to 112 bytes. Don't save unused reg,
11902 and adjust reg usage. Set up cfi on error recovery and
11903 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11905 (__makecontext): Add dummy nop after jump to exit.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11907 Use correct parm save area and cr save, reduce stack frame.
11908 Correct cfi for possible PSEUDO_RET frame setup.
11909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11910 Branch to local label emitted by PSEUDO_RET rather than
11911 __syscall_error.
11912
02637374
AS
119132010-08-12 Andreas Schwab <schwab@redhat.com>
11914
11915 [BZ #11904]
11916 * locale/programs/locale.c (print_assignment): New function.
11917 (show_locale_vars): Use it.
11918
c3e2f19b
UD
119192010-08-11 Ulrich Drepper <drepper@redhat.com>
11920
3cdaa6ad
UD
11921 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11922 field.
11923 (struct statfs64): Likewise.
11924 (_STATFS_F_FLAGS): Define.
11925 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11927 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11928 (ST_VALID): Define locally.
11929 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11930 __statvfs_getflags, use the provided value.
11931 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11932 __ASSUME_STATFS_F_FLAGS.
11933
754f7da3
UD
11934 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11935
10b3bedc
UD
11936 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11937 Add sys/fanotify.h.
11938 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11939 fanotify_mask for GLIBC_2.13.
11940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11941 fanotify_init and fanotify_mark.
11942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11943 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11944
c08fb0d7
UD
11945 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11946 Add prlimit.
11947 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11948 prlimit64 for GLIBC_2.13.
11949 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11950 prlimit64.
11951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11952 syscall.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11955 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11958 add prlimit alias.
11959 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11960
15bac72b
UD
11961 [BZ #11903]
11962 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11963 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11964
c3e2f19b
UD
11965 * nss/Makefile: Add rules to build and run tst-nss-test1.
11966 * shlib-versions: Add entry for libnss_test1.
11967 * nss/nss_test1.c: New file.
11968 * nss/tst-nss-test1.c: New file.
11969
11970 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11971 (__nss_configure_lookup): Set appropriate entry in
11972 __nss_configure_lookup to true.
11973 * nss/nsswitch.h: Define enum with indeces of databases in
11974 databases and __nss_database_custom arrays. Declare
11975 __nss_database_custom.
11976 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11977 to avoid using nscd when custom rules are installed.
11978 * nss/getXXbyYY_r.c: Likewise.
11979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11980
11981 * nss/nss_files/files-parse.c: Whitespace fixes.
11982
f15ce4d8
UD
119832010-08-09 Ulrich Drepper <drepper@redhat.com>
11984
11985 [BZ #11883]
11986 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11987 * posix/fnmatch_loop.c: Likewise.
11988
d22e4cc9
AK
119892010-07-17 Andi Kleen <ak@linux.intel.com>
11990
11991 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11992 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11993 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11994 * Versions.def [GLIBC_2.13]: Add.
11995
805bc17d
UD
119962010-08-06 Ulrich Drepper <drepper@redhat.com>
11997
11998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11999 Also fail if tpwd after pwuid call is NULL.
12000
5a42321d
ST
120012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12002
12003 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12004 when converting to ms.
12005
fd3ebeda
ST
120062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12007
12008 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12009 EOPNOTSUPP errors with ENOTTY.
12010 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12011 EOPNOTSUPP errors with ENOTTY.
12012
73507d3a
UD
120132010-07-31 Ulrich Drepper <drepper@redhat.com>
12014
12015 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12016 Add strcasecmp_l-ssse3.
12017 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12018 strcasecmp.
12019 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12020 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12021 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12022
fe36dd02
UD
120232010-07-30 Ulrich Drepper <drepper@redhat.com>
12024
66f6765a
UD
12025 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12026
42e08a54
UD
12027 * string/Makefile (strop-tests): Add strcasecmp.
12028 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12029 strcasecmp_l-nonascii.
12030 (gen-as-const-headers): Add locale-defines.sym.
12031 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12032 * sysdeps/x86_64/strcasecmp.S: New file.
12033 * sysdeps/x86_64/strcasecmp_l.S: New file.
12034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12035 * sysdeps/x86_64/locale-defines.sym: New file.
12036 * string/test-strcasecmp.c: New file.
12037
fe36dd02
UD
12038 * string/test-strcasestr.c: Test both ends of the range of characters.
12039 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12040
48cbc0d6
RM
120412010-07-29 Roland McGrath <roland@redhat.com>
12042
76e6d6bc 12043 [BZ #11856]
48cbc0d6
RM
12044 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12045
880113d9
UD
120462010-07-27 Ulrich Drepper <drepper@redhat.com>
12047
12048 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12049 for ld.so.
12050
deb9cabb
AS
120512010-07-27 Andreas Schwab <schwab@redhat.com>
12052
12053 * manual/memory.texi (Malloc Tunable Parameters): Document
12054 M_PERTURB.
12055
1c7570ff
RM
120562010-07-26 Roland McGrath <roland@redhat.com>
12057
12058 [BZ #11840]
12059 * configure.in (-fgnu89-inline check): Set and substitute
12060 gnu89_inline, not libc_cv_gnu89_inline.
12061 * configure: Regenerated.
12062 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12063
24fb0f88
UD
120642010-07-26 Ulrich Drepper <drepper@redhat.com>
12065
12066 * string/test-strnlen.c: New file.
12067 * string/Makefile (strop-tests): Add strnlen.
12068 * string/tester.c (test_strnlen): Add a few more test cases.
12069 * string/tst-strlen.c: Better error reporting.
12070
12071 * sysdeps/x86_64/strnlen.S: New file.
12072
8e96b93a
UD
120732010-07-24 Ulrich Drepper <drepper@redhat.com>
12074
12075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12076 lower-latency instructions.
12077
dbc676d4
UD
120782010-07-23 Ulrich Drepper <drepper@redhat.com>
12079
12080 * string/test-strcasestr.c: New file.
12081 * string/test-strstr.c: New file.
12082 * string/Makefile (strop-tests): Add strstr and strcasestr.
12083 * string/str-two-way.h: Don't undefine MAX.
12084 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12085
f6a31e0e
AS
120862010-07-21 Andreas Schwab <schwab@redhat.com>
12087
12088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12089 strcasestr-nonascii.
12090 (CFLAGS-strcasestr-nonascii.c): Define.
12091 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12093 Remove unused attribute.
12094
5dbc3b6c
RM
120952010-07-20 Roland McGrath <roland@redhat.com>
12096
12097 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12098 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12099 ld.so.cache was broken. With it, there is no way to disable dsocaps
12100 like LD_HWCAP_MASK can disable hwcaps.
12101
23d101d8
EPM
121022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12103
12104 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12105
cc9f2e47
UD
121062010-07-16 Ulrich Drepper <drepper@redhat.com>
12107
12108 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12109 call in strcasestr.
12110 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12111 __strcasestr_sse42_nonascii.
12112 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12113 strcasestr-nonascii.c.
12114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12115
77c1b069
LM
121162010-06-15 Luis Machado <luisgpm@br.ibm.com>
12117
12118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12119 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12120 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12122
440566c3
UD
121232010-07-09 Ulrich Drepper <drepper@redhat.com>
12124
12125 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12126 fcntl.
12127
5be9d05d
AS
121282010-07-06 Andreas Schwab <schwab@redhat.com>
12129
c30b7ee2 12130 [BZ #11577]
5be9d05d
AS
12131 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12132 dl_signal_cerror.
12133
8a492a67
UD
121342010-07-06 Ulrich Drepper <drepper@redhat.com>
12135
12136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12137 _PC_PIPE_BUF using F_GETPIPE_SZ.
12138
713df3d5
RM
121392010-07-05 Roland McGrath <roland@redhat.com>
12140
12141 * manual/arith.texi (Rounding Functions): Fix rint description
12142 implicit in round description.
12143
702e8f14
UD
121442010-07-02 Ulrich Drepper <drepper@redhat.com>
12145
12146 * elf/Makefile: Fix linking for a few tests to make recent linker
12147 happy.
12148
52ed8be9
AS
121492010-06-30 Andreas Schwab <schwab@redhat.com>
12150
12151 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12152 $(common-objpfx)libc_nonshared.a.
12153
f47c9a11
LM
121542010-06-21 Luis Machado <luisgpm@br.ibm.com>
12155
12156 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12157 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12158 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12159 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12160 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12163 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12178 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12179 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12180 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12181 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12182 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12183 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12184 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12185 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12186 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12187 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12188 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12189 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12204
6fb8cbcb
L
122052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12208 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12209 * string/memmove.c (memmove): Renamed to ...
12210 (MEMMOVE): ...this. Default to memmove.
12211 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12212 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12213 (END_CHK): Define.
12214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12215 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12216 mempcpy-ssse3-back memmove-ssse3-back.
12217 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12218 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12220 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12221 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12222 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12223 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12224 * sysdeps/x86_64/multiarch/memmove.c: New file.
12225 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12226 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12227 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12228 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12229 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12231 Define.
12232 (index_Fast_Copy_Backward): Define.
12233 (HAS_ARCH_FEATURE): Define.
12234 (HAS_FAST_REP_STRING): Define.
12235 (HAS_FAST_COPY_BACKWARD): Define.
12236
4e733bac 122372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12238
12239 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12240 Restore proper fallback handling.
12241
63c4ed22
UD
122422010-06-19 Ulrich Drepper <drepper@redhat.com>
12243
ac2b484c
UD
12244 [BZ #11701]
12245 * posix/group_member.c (__group_member): Correct checking loop.
12246
63c4ed22
UD
12247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12248 OOM in getpwuid_r correctly. Return error number when the caller
12249 should return, otherwise -1.
12250 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12251 call returning > 0 value.
12252 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12253
765ade4b
AS
122542010-06-07 Andreas Schwab <schwab@redhat.com>
12255
12256 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12257 libc_nonshared.a from targets in modules-names.
12258
80da2e09
KS
122592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12260
12261 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12262 requires it.
12263
158db122
LM
122642010-06-10 Luis Machado <luisgpm@br.ibm.com>
12265
12266 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12268 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12270
caa78cf8
AS
122712010-06-02 Andreas Schwab <schwab@redhat.com>
12272
12273 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12274
b2ef2c01
UD
122752010-06-14 Ulrich Drepper <drepper@redhat.com>
12276
12277 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12278 and F_GETPIPE_SZ.
12279 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12284 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12285
fbd643b6
RM
122862010-06-14 Roland McGrath <roland@redhat.com>
12287
12288 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12289
f32f2869
JJ
122902010-06-07 Jakub Jelinek <jakub@redhat.com>
12291
12292 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12293 __REDIRECT followed by __THROW.
12294 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12295 * posix/getopt.h (getopt): Likewise.
12296
2a50c078
EPM
122972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12298
12299 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12300 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12301 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12302 in AT_FLAGS.
12303 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12304 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12305
eb5ad2eb
LM
123062010-05-28 Luis Machado <luisgpm@br.ibm.com>
12307
12308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12309
3c88fe1e
L
123102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 [BZ #11640]
12313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12314 Properly check family and model.
12315
d2f73151
TY
123162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12317
12318 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12319
ebd2e13d
LM
123202010-05-24 Luis Machado <luisgpm@br.ibm.com>
12321
12322 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12323
b32b8b45
UD
123242010-05-21 Ulrich Drepper <drepper@redhat.com>
12325
12326 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12327 symbol reference.
12328
9acbe24d
AS
123292010-05-19 Andreas Schwab <schwab@redhat.com>
12330
12331 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12332 symbol reference.
12333
f0ccf6ea
AS
123342010-05-21 Andreas Schwab <schwab@redhat.com>
12335
3d04ff3a
AS
12336 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12337 and internal_recvmmsg.
12338 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12339 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12340 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12341 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12342
f0ccf6ea
AS
12343 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12344 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12345 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12346
5b08ac57
AS
123472010-05-20 Andreas Schwab <schwab@redhat.com>
12348
12349 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12350
4828935d
LM
123512010-05-17 Luis Machado <luisgpm@br.ibm.com>
12352
12353 POWER7 optimizations.
12354 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12355 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12356
373d545e
UD
123572010-05-19 Ulrich Drepper <drepper@redhat.com>
12358
12359 * version.h: Update for 2.13 development version.
12360
21a2b1ae
AS
123612010-05-12 Andrew Stubbs <ams@codesourcery.com>
12362
12363 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12364 exceptions. Return 0.
12365
3f7dcb2b
RM
123662010-05-07 Roland McGrath <roland@redhat.com>
12367
12368 * elf/ldconfig.c (main): Add a const.
12369
5f24d53a 123702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12371
a160f8d8
UD
12372 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12373 (args_options): Add no-idn option.
12374 (ahosts_keys_int): Add idn_flags to ai_flags.
12375 (parse_option): Handle 'i' option to clear idn_flags.
12376
5f24d53a
UD
12377 * malloc/malloc.c (_int_free): Possible race in the most recently
12378 added check. Only act on the data if no current modification
12379 happened.
265bb1ce
UD
12380
12381See ChangeLog.17 for earlier changes.