]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix ChangeLog
[glibc.git] / ChangeLog
CommitLineData
539d8e01
AJ
12013-03-04 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4 common definitions.
5
6 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12
2e167a70 132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
14
15 [BZ #15055]
16 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17 __ieee754_sqrl instead of __sqrl.
18
68508633
JM
192013-03-01 Joseph Myers <joseph@codesourcery.com>
20
21 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22 * sysdeps/powerpc/fpu_control.h: ... here.
23 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26 * sysdeps/powerpc/bits/mathinline.h: ... here.
27
7775448e
RM
282013-03-01 Roland McGrath <roland@hack.frob.com>
29
30 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32 to just [NEED_DL_SYSINFO_DSO].
33 * elf/dl-support.c: Likewise.
34 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35 * elf/rtld.c (dl_main): Likewise.
36 * elf/setup-vdso.h (setup_vdso): Likewise.
37 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38 * sysdeps/unix/sysv/linux/dl-sysdep.c
39 (_dl_discover_osversion): Likewise.
40
4e9b5995
CD
412013-03-01 Carlos O'Donell <carlos@redhat.com>
42
43 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45
e23872c8
SP
462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47
e5c74c63
SP
48 * NEWS: Mention libm performance improvements and non-x86 PI
49 futex support.
50
e23872c8
SP
51 * csu/libc-start.c (__pthread_initialize_minimal): Change
52 function arguments.
53 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54
b5510883
JM
552013-02-28 Joseph Myers <joseph@codesourcery.com>
56
57 [BZ #13550]
58 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
60 <bp-sym.h> and <bp-asm.h>.
61 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63 and <bp-asm.h>.
64 (memcpy): Don't use BP_SYM.
65 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66 <bp-asm.h>.
67 (__mpn_add_n): Don't use BP_SYM.
68 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70 and <bp-asm.h>.
71 (__mpn_addmul_1): Don't use BP_SYM.
72 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
73 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
74 <bp-sym.h>.
75 (_setjmp): Don't use BP_SYM.
76 (__novmx_setjmp): Likewise.
77 (__GI__setjmp): Likewise.
78 (__vmx_setjmp): Likewise.
79 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
80 <bp-sym.h>.
81 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
82 (__bzero): Don't use BP_SYM.
83 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
84 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
85 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
86 <bp-sym.h> and <bp-asm.h>.
87 (memcpy): Don't use BP_SYM.
88 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
89 <bp-sym.h> and <bp-asm.h>.
90 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
91 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
92 <bp-sym.h> and <bp-asm.h>.
93 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
94 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
95 <bp-asm.h>.
96 (__mpn_lshift): Don't use BP_SYM.
97 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
98 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
99 <bp-asm.h>.
100 (memset): Don't use BP_SYM.
101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
103 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
104 <bp-asm.h>.
105 (__mpn_mul_1): Don't use BP_SYM.
106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
107 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
108 <bp-sym.h> and <bp-asm.h>.
109 (memcmp): Don't use BP_SYM.
110 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
111 <bp-sym.h> and <bp-asm.h>.
112 (memcpy): Don't use BP_SYM.
113 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
114 <bp-sym.h> and <bp-asm.h>.
115 (memset): Don't use BP_SYM.
116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
117 <bp-sym.h> and <bp-asm.h>.
118 (strncmp): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
120 <bp-sym.h> and <bp-asm.h>.
121 (memcpy): Don't use BP_SYM.
122 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
123 <bp-sym.h> and <bp-asm.h>.
124 (memset): Don't use BP_SYM.
125 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (__memchr): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (memcmp): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (memcpy): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (__mempcpy): Don't use BP_SYM.
137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
138 <bp-sym.h> and <bp-asm.h>.
139 (__memrchr): Don't use BP_SYM.
140 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
141 <bp-sym.h> and <bp-asm.h>.
142 (memset): Don't use BP_SYM.
143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
144 <bp-sym.h> and <bp-asm.h>.
145 (__rawmemchr): Don't use BP_SYM.
146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
147 <bp-sym.h> and <bp-asm.h>.
148 (__STRCMP): Don't use BP_SYM.
149 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
150 <bp-sym.h> and <bp-asm.h>.
151 (strchr): Don't use BP_SYM.
152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
153 <bp-sym.h> and <bp-asm.h>.
154 (__strchrnul): Don't use BP_SYM.
155 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
156 <bp-sym.h> and <bp-asm.h>.
157 (strlen): Don't use BP_SYM.
158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
159 <bp-sym.h> and <bp-asm.h>.
160 (strncmp): Don't use BP_SYM.
161 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
162 <bp-sym.h> and <bp-asm.h>.
163 (__strnlen): Don't use BP_SYM.
164 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
165 <bp-asm.h>.
166 (__mpn_rshift): Don't use BP_SYM.
167 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
168 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
169 <bp-sym.h> and <bp-asm.h>.
170 (__sigsetjmp): Don't use BP_SYM.
171 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
172 (L(start_addresses)): Don't use BP_SYM.
173 (_start): Likewise.
174 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
175 <bp-asm.h>.
176 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
177 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
178 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
179 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
180 <bp-asm.h>.
181 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
182 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
183 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
184 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
185 <bp-asm.h>.
186 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
187 comments.
188 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
189 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
190 <bp-asm.h>.
191 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
192 FIXME comments.
193 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
194 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
195 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
196 <bp-asm.h>.
197 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
198 comment.
199 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
200 and <bp-asm.h>.
201 (strncmp): Don't use BP_SYM,
202 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
203 <bp-asm.h>.
204 (__mpn_sub_n): Don't use BP_SYM.
205 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
206 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
207 and <bp-asm.h>.
208 (__mpn_submul_1): Don't use BP_SYM.
209 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
211 <bp-sym.h> and <bp-asm.h>.
212 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
214 <bp-sym.h> and <bp-asm.h>.
215 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
216 comment.
217
8d19fe64
SP
2182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
219
220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
221 Use ZK to minimize writes to Z.
222 (sub_magnitudes): Simplify code a bit.
223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
224 Use ZK to minimize writes to Z.
225 (sub_magnitudes): Simplify code a bit.
226
85bd816a
RM
2272013-02-27 Roland McGrath <roland@hack.frob.com>
228
229 * csu/gmon-start.c: Add special exception to license text.
230
b5977bf2
RH
2312013-02-27 Richard Henderson <rth@redhat.com>
232
233 * scripts/config.guess: Update from config.git.
234 * scripts/config.sub: Likewise.
235
11d6e2f2
SP
2362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
237
09c14ed2
SP
238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
239
a688864e
SP
240 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
241
6295157a
SP
242 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
243
b8de2202
SP
244 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
245
11d6e2f2
SP
246 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
247
7e80ddb8
RM
2482013-02-26 Roland McGrath <roland@hack.frob.com>
249
250 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
251 [$(build-shared = yes].
7e80ddb8 252
7da6d9ed
SP
2532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
254
45f05884
SP
255 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
256 (__mul): Reduce iterations for calculating mantissa.
257
2236d359
SP
258 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
259 MPTWO.
260 (__mpranred): Likewise.
261
7da6d9ed
SP
262 [BZ #15160]
263 * malloc/memusagestat.c (main): Draw graphs for heap and stack
264 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
265
b7688c42
PE
2662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
267
268 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
269 Define __attribute__.
270
53a5c423
SP
2712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
272
273 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
274 unused.
275 * posix/regex_internal.h (__attribute): Remove.
276 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
277 (re_string_context_at): Likewise.
278 (bitset_not): Use __attribute__ and mark function as possibly
279 unused.
280 (bitset_merge): Likewise.
281 (bitset_mask): Likewise.
282 (re_string_char_size_at): Likewise.
283 (re_string_wchar_at): Likewise.
284 (re_string_elem_size_at): Likewise.
285
60f5a8b5
SP
2862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
287
2a983a2e
SP
288 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
289 code.
290 (cc32): Likewise.
291
e69804d1
SP
292 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
293 (__acr): Likewise.
294 (__cpy): Likewise.
295 (norm): Likewise.
296 (denorm): Likewise.
297 (__dbl_mp): Likewise.
298 (add_magnitudes): Likewise.
299 (sub_magnitudes): Likewise.
300 (__mul): Likewise.
301 (__inv): Likewise.
302
2f22a1e8
SP
303 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
304 style.
305
8930ddc7
SP
306 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
307 style.
308
dc60cb11
SP
309 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
310 code.
311
60f5a8b5
SP
312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
313 up changes with default code.
314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
315 Likewise.
316
b4d1fd33
AM
3172013-02-24 Allan McRae <allan@archlinux.org>
318
faf6f8bc
AM
319 * manual/socket.texi (The Internet Namespace): Order menu items
320 to match that in the file.
321
b4d1fd33
AM
322 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
323 node listing of the info page menu.
324
2366713d
JM
3252013-02-21 Joseph Myers <joseph@codesourcery.com>
326
327 [BZ #13550]
328 * sysdeps/i386/bp-asm.h: Remove file.
329 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
330 (PARMS): Do not use macros from bp-asm.h.
331 (S1): Likewise.
332 (S2): Likewise.
333 (SIZE): Likewise.
334 (__mpn_add_n): Do not use BP_SYM
335 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
336 "bp-asm.h".
337 (PARMS): Do not use macros from bp-asm.h.
338 (S1): Likewise.
339 (SIZE): Likewise.
340 (__mpn_addmul_1): Do not use BP_SYM
341 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
342 "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (SIGMSK): Likewise.
345 (_setjmp): Likewise. Do not use BP_SYM.
346 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
347 "bp-asm.h".
348 (PARMS): Do not use macros from bp-asm.h.
349 (SIGMSK): Likewise.
350 (setjmp): Likewise. Do not use BP_SYM.
351 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
352 "bp-asm.h".
353 (PARMS): Do not use macros from bp-asm.h.
354 (__frexp): Do not use BP_SYM.
355 (frexp): Likewise.
356 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
357 "bp-asm.h".
358 (PARMS): Do not use macros from bp-asm.h.
359 (__frexpf): Do not use BP_SYM.
360 (frexpf): Likewise.
361 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
362 "bp-asm.h".
363 (PARMS): Do not use macros from bp-asm.h.
364 (__frexpl): Do not use BP_SYM.
365 (frexpl): Likewise.
366 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
367 "bp-asm.h".
368 (PARMS): Do not use macros from bp-asm.h.
369 (__remquo): Do not use BP_SYM.
370 (remquo): Likewise.
371 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
372 "bp-asm.h".
373 (PARMS): Do not use macros from bp-asm.h.
374 (__remquof): Do not use BP_SYM.
375 (remquof): Likewise.
376 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
377 "bp-asm.h".
378 (PARMS): Do not use macros from bp-asm.h.
379 (__remquol): Do not use BP_SYM.
380 (remquol): Likewise.
381 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
382 "bp-asm.h".
383 (PARMS): Do not use macros from bp-asm.h.
384 (DEST): Likewise.
385 (SRC): Likewise.
386 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
387 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
388 "bp-asm.h".
389 (PARMS): Do not use macros from bp-asm.h.
390 (strlen): Do not use BP_SYM.
391 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
392 "bp-asm.h".
393 (PARMS): Do not use macros from bp-asm.h.
394 (S1): Likewise.
395 (S2): Likewise.
396 (SIZE): Likewise.
397 (__mpn_add_n): Do not use BP_SYM.
398 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
399 "bp-asm.h".
400 (PARMS): Do not use macros from bp-asm.h.
401 (S1): Likewise.
402 (SIZE): Likewise.
403 (__mpn_addmul_1): Do not use BP_SYM.
404 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
405 weak_alias.
406 (bzero): Likewise.
407 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
408 "bp-asm.h".
409 (PARMS): Do not use macros from bp-asm.h.
410 (S): Likewise.
411 (SIZE): Likewise.
412 (__mpn_lshift): Do not use BP_SYM.
413 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
414 "bp-asm.h".
415 (PARMS): Do not use macros from bp-asm.h.
416 (DEST): Likewise.
417 (SRC): Likewise.
418 (LEN): Likewise.
419 (memcpy): Likewise. Do not use BP_SYM.
420 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
421 libc_hidden_def and weak_alias.
422 (mempcpy): Do not use BP_SYM in weak_alias.
423 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
424 "bp-asm.h".
425 (PARMS): Do not use macros from bp-asm.h.
426 (DEST): Likewise.
427 (LEN): Likewise.
428 [!BZERO_P] (CHR): Likewise.
429 (memset): Likewise. Do not use BP_SYM.
430 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
431 "bp-asm.h".
432 (PARMS): Do not use macros from bp-asm.h.
433 (S1): Likewise.
434 (SIZE): Likewise.
435 (__mpn_mul_1): Do not use BP_SYM.
436 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
437 "bp-asm.h".
438 (PARMS): Do not use macros from bp-asm.h.
439 (S): Likewise.
440 (SIZE): Likewise.
441 (__mpn_rshift): Do not use BP_SYM.
442 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
443 "bp-asm.h".
444 (PARMS): Do not use macros from bp-asm.h.
445 (STR): Likewise.
446 (CHR): Likewise.
447 (strchr): Likewise. Do not use BP_SYM.
448 (index): Do not use BP_SYM in weak_alias.
449 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
450 "bp-asm.h".
451 (PARMS): Do not use macros from bp-asm.h.
452 (DEST): Likewise.
453 (SRC): Likewise.
454 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
455 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
456 "bp-asm.h".
457 (PARMS): Do not use macros from bp-asm.h.
458 (strlen): Do not use BP_SYM.
459 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
460 "bp-asm.h".
461 (PARMS): Do not use macros from bp-asm.h.
462 (S1): Likewise.
463 (S2): Likewise.
464 (SIZE): Likewise.
465 (__mpn_sub_n): Do not use BP_SYM.
466 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
467 "bp-asm.h".
468 (PARMS): Do not use macros from bp-asm.h.
469 (S1): Likewise.
470 (SIZE): Likewise.
471 (__mpn_submul_1): Do not use BP_SYM.
472 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
473 "bp-asm.h".
474 (PARMS): Do not use macros from bp-asm.h.
475 (S1): Likewise.
476 (S2): Likewise.
477 (SIZE): Likewise.
478 (__mpn_add_n): Do not use BP_SYM.
479 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
480 weak_alias.
481 (bzero): Likewise.
482 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
483 "bp-asm.h".
484 (PARMS): Do not use macros from bp-asm.h.
485 (BLK2): Likewise.
486 (LEN): Likewise.
487 (memcmp): Do not use BP_SYM.
488 (bcmp): Do not use BP_SYM in weak_alias.
489 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
490 "bp-asm.h".
491 (PARMS): Do not use macros from bp-asm.h.
492 (DEST): Likewise.
493 (SRC): Likewise.
494 (LEN): Likewise.
495 (memcpy): Likewise. Do not use BP_SYM.
496 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
497 "bp-asm.h".
498 (PARMS): Do not use macros from bp-asm.h.
499 (DEST): Likewise.
500 (SRC): Likewise.
501 (LEN): Likewise.
502 (memmove): Likewise. Do not use BP_SYM.
503 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
504 "bp-asm.h".
505 (PARMS): Do not use macros from bp-asm.h.
506 (DEST): Likewise.
507 (SRC): Likewise.
508 (LEN): Likewise.
509 (__mempcpy): Likewise. Do not use BP_SYM.
510 (mempcpy): Do not use BP_SYM in weak_alias.
511 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
512 "bp-asm.h".
513 (PARMS): Do not use macros from bp-asm.h.
514 (DEST): Likewise.
515 (LEN): Likewise.
516 [!BZERO_P] (CHR): Likewise.
517 (memset): Likewise. Do not use BP_SYM.
518 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
519 "bp-asm.h".
520 (PARMS): Do not use macros from bp-asm.h.
521 (STR2): Likewise.
522 (strcmp): Do not use BP_SYM.
523 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
524 "bp-asm.h".
525 (PARMS): Do not use macros from bp-asm.h.
526 (STR): Likewise.
527 (DELIM): Likewise.
528 [USE_AS_STRTOK_R] (SAVE): Likewise.
529 (FUNCTION): Likewise. Do not use BP_SYM.
530 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
531 aliases.
532 (strtok_r): Likewise.
533 (__GI___strtok_r): Likewise.
534 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
535 (PARMS): Do not use macros from bp-asm.h.
536 (S): Likewise.
537 (SIZE): Likewise.
538 (__mpn_lshift): Do not use BP_SYM.
539 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
540 (PARMS): Do not use macros from bp-asm.h.
541 (STR): Likewise.
542 (CHR): Likewise.
543 (__memchr): Do not use BP_SYM.
544 (memchr): Do not use BP_SYM in weak_alias.
545 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
546 (PARMS): Do not use macros from bp-asm.h.
547 (BLK2): Likewise.
548 (LEN): Likewise.
549 (memcmp): Do not use BP_SYM.
550 (bcmp): Do not use BP_SYM in weak_alias.
551 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
552 (PARMS): Do not use macros from bp-asm.h.
553 (S1): Likewise.
554 (SIZE): Likewise.
555 (__mpn_mul_1): Do not use BP_SYM.
556 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
557 "bp-asm.h".
558 (PARMS): Do not use macros from bp-asm.h.
559 (STR): Likewise.
560 (CHR): Likewise.
561 (__rawmemchr): Do not use BP_SYM.
562 (rawmemchr): Do not use BP_SYM in weak_alias.
563 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
564 (PARMS): Do not use macros from bp-asm.h.
565 (S): Likewise.
566 (SIZE): Likewise.
567 (__mpn_rshift): Do not use BP_SYM.
568 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
569 (PARMS): Do not use macros from bp-asm.h.
570 (SIGMSK): Likewise.
571 (__sigsetjmp): Likewise. Do not use BP_SYM.
572 * sysdeps/i386/start.S: Do not include "bp-sym.h".
573 (_start): Do not use BP_SYM.
574 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
575 (PARMS): Do not use macros from bp-asm.h.
576 (DEST): Likewise.
577 (SRC): Likewise.
578 (__stpcpy): Likewise. Do not use BP_SYM.
579 (stpcpy): Do not use BP_SYM in weak_alias.
580 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
581 "bp-asm.h".
582 (PARMS): Do not use macros from bp-asm.h.
583 (DEST): Likewise.
584 (SRC): Likewise.
585 (LEN): Likewise.
586 (__stpncpy): Likewise. Do not use BP_SYM.
587 (stpncpy): Do not use BP_SYM in weak_alias.
588 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
589 (PARMS): Do not use macros from bp-asm.h.
590 (STR): Likewise.
591 (CHR): Likewise.
592 (strchr): Likewise. Do not use BP_SYM.
593 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
594 "bp-asm.h".
595 (PARMS): Do not use macros from bp-asm.h.
596 (STR): Likewise.
597 (CHR): Likewise.
598 (__strchrnul): Likewise. Do not use BP_SYM.
599 (strchrnul): Do not use BP_SYM in weak_alias.
600 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
601 "bp-asm.h".
602 (PARMS): Do not use macros from bp-asm.h.
603 (STOP): Likewise.
604 (strcspn): Do not use BP_SYM.
605 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
606 "bp-asm.h".
607 (PARMS): Do not use macros from bp-asm.h.
608 (STR): Likewise.
609 (STOP): Likewise.
610 (strpbrk): Likewise. Do not use BP_SYM.
611 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
612 "bp-asm.h".
613 (PARMS): Do not use macros from bp-asm.h.
614 (STR): Likewise.
615 (CHR): Likewise.
616 (strrchr): Likewise. Do not use BP_SYM.
617 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
618 (PARMS): Do not use macros from bp-asm.h.
619 (SKIP): Likewise.
620 (strspn): Do not use BP_SYM.
621 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
622 (PARMS): Do not use macros from bp-asm.h.
623 (STR): Likewise.
624 (DELIM): Likewise.
625 (SAVE): Likewise.
626 (FUNCTION): Likewise. Do not use BP_SYM.
627 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
628 aliases.
629 (strtok_r): Likewise.
630 (__GI___strtok_r): Likewise.
631 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
632 (PARMS): Do not use macros from bp-asm.h.
633 (S1): Likewise.
634 (S2): Likewise.
635 (SIZE): Likewise.
636 (__mpn_sub_n): Do not use BP_SYM.
637 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
638 "bp-asm.h".
639 (PARMS): Do not use macros from bp-asm.h.
640 (S1): Likewise.
641 (SIZE): Likewise.
642 (__mpn_submul_1): Do not use BP_SYM.
643 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
644 <bp-sym.h>.
645 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
646 and <bp-asm.h>.
647 (PARMS): Do not use macros from bp-asm.h.
648 (FLAGS): Likewise.
649 (PTID): Likewise.
650 (TLS): Likewise.
651 (CTID): Likewise.
652 (__clone): Do not use BP_SYM.
653 (clone): Do not use BP_SYM in weak_alias.
654 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
655 and <bp-asm.h>.
656 (PARMS): Do not use macros from bp-asm.h.
657 (LEN): Likewise.
658 (__mmap64): Do not use BP_SYM.
659 (mmap64): Do not use BP_SYM in weak_alias.
660 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
661 <bp-sym.h> and <bp-asm.h>.
662 (PARMS): Do not use macros from bp-asm.h.
663 (__posix_fadvise64_l64): Do not use BP_SYM.
664 * sysdeps/unix/sysv/linux/i386/semtimedop.S
665 (PARMS): Do not use macros from bp-asm.h.
666 (NSOPS): Likewise.
667 (semtimedop): Do not use BP_SYM.
668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
669 and <bp-asm.h>.
670
582a3cff
AM
6712013-02-21 Allan McRae <allan@archlinux.org>
672
673 * manual/message.texi (Charset conversion in gettext):
674 Move @end statement to beginning of line.
675
bab8a695
SP
6762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
677
80945231
SP
678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
679 static.
680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
681 Likewise.
682
bab8a695
SP
683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
684 (denorm): Likewise.
685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
687
e21d7aa7
AK
6882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
689
690 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
691 tail-call to the resolved function if pltexit isn't needed.
692
4c7a4263
SP
6932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
694
695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
696 or Y being zero as being unlikely.
697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
698 Likewise.
699
41f49342
CD
7002013-02-20 Carlos O'Donell <carlos@redhat.com>
701
702 * manual/nss.texi (System Databases and Name Service Switch):
703 Remove frobnicate @pxref.
704
50022a93
TS
7052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
706
707 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
708 __attribute__ ((unused)) to __attribute__ ((__unused__)).
709
08cbd996
PM
7102013-02-20 Petr Machata <pmachata@redhat.com>
711
712 * elf/elf.h (R_ARM_TARGET1): New macro.
713 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
714 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
715 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
716 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
717 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
718 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
719 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
720 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
721 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
722 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
723 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
724 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
725 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
726 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
727 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
728 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
729 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
730 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
731 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
732 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
733 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
734 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
735 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
736 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
737 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
738 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
739 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
740 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
741 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
742 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
743 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
744 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
745 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
746 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
747 (R_ARM_THM_GOT_BREL12): Likewise.
748 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
749 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
750 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
751 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
752 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
753 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
754 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
755 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
756 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
757
c7b275d6
TS
7582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
759
760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
761 __attribute_used__ to __attribute__ ((unused)).
762
20cd7fb3
SP
7632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
764
765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
766 powerpc mpa.c.
767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
768 comment formatting.
769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
770
92945b52
JM
7712013-02-19 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #13550]
774 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
775 Remove macro.
776 (ENTER): Remove both macro definitions.
777 (LEAVE): Likewise.
778 (CHECK_BOUNDS_LOW): Likewise.
779 (CHECK_BOUNDS_HIGH): Likewise.
780 (CHECK_BOUNDS_BOTH): Likewise.
781 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
782 (RETURN_BOUNDED_POINTER): Likewise.
783 (RETURN_NULL_BOUNDED_POINTER): Likewise.
784 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
785 (POP_ERRNO_LOCATION_RETURN): Likewise.
786 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
787 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
788 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
789 macros.
790 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
791 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
792 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
793 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
794 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
795 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
796 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
797 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
798 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
799 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
800 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
801 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
802 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
803 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
804 removed macros.
805 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
806 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
807 macros.
808 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
809 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
810 * sysdeps/i386/i586/memset.S (memset): Likewise.
811 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
812 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
813 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
814 macros.
815 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
816 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
817 Change uses of L(2) to L(out).
818 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
819 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
820 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
821 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
822 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
823 removed macros.
824 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
825 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
826 macros.
827 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
828 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
829 (RETURN): Do not use macro LEAVE.
830 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
831 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
832 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
833 * sysdeps/i386/i686/memset.S (memset): Likewise.
834 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
835 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
836 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
837 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
838 Likewise.
839 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
840 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
841 L(1_2) and L(1_3) into L(1).
842 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
843 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
845 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
846 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
847 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
848 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
849 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
850 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
851 macros.
852 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
853 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
854 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
855 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
856 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
857 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
858 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
859 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
860 * sysdeps/i386/strcspn.S (strcspn): Likewise.
861 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
862 * sysdeps/i386/strrchr.S (strrchr): Likewise.
863 * sysdeps/i386/strspn.S (strspn): Likewise.
864 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
865 conditional code.
866 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
867 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
868 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
869 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
870 L(1_3) into L(1_1).
871 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
872 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
873 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
874 macros.
875 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
876
2389741a
JJ
8772013-02-19 Jakub Jelinek <jakub@redhat.com>
878
879 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
880 macro.
881
2016b3cd
SP
8822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
883
e4f22324
SP
884 * math/atest-exp.c (exp_mpn): Remove ROUND.
885 * math/atest-exp2.c (exp_mpn): Likewise.
886 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
887
2016b3cd
SP
888 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
889 * stdlib/tst-tls-atexit-lib.c: Likewise.
890 * stdlib/tst-tls-atexit.c: Likewise.
891
4be9b544
MF
8922013-02-18 Mike Frysinger <vapier@gentoo.org>
893
894 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
895 and __attribute_alloc_size__.
896
2f62b9ee
MF
8972013-02-18 Mike Frysinger <vapier@gentoo.org>
898
899 * include/programs/xmalloc.h: Change __attribute_alloc_size to
900 __attribute_alloc_size__.
901 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
902 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
903
6ff444c4
MF
9042013-02-18 Mike Frysinger <vapier@gentoo.org>
905
906 * include/programs/xmalloc.h: New file.
907 * catgets/gencat.c: Include it.
908 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
909 * elf/pldd.c: Likewise.
910 * iconv/iconv_charmap.c: Likewise.
911 * iconv/iconvconfig.c: Likewise.
912 * iconv/strtab.c: Likewise.
913 * locale/programs/locale.c: Likewise.
914 * locale/programs/localedef.h: Likewise.
915 * locale/programs/simple-hash.c: Likewise.
916 * nscd/nscd.h: Likewise.
917 * nss/makedb.c: Likewise.
918 * sysdeps/generic/ldconfig.h: Likewise.
919
be179c8a
SP
9202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
921
ba384f6e
SP
922 * Versions.def: Add GLIBC_2.18.
923 * include/link.h (struct link_map): New member l_tls_dtor_count.
924 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
925 (__call_tls_dtors): Likewise.
926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
927 __cxa_thread_atexit_impl.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
929 Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
931 Likewise.
932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
933 Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
935 Likewise.
936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
938 Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
940 Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
943 Likewise.
944 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
945 (tests): Add test case tst-tls-atexit.
946 (modules-names): Add shared library for tst-tls-atexit.
947 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
948 (GLIBC_PRIVATE): Add __call_tls_dtors.
949 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
950 for libstdc++.
951 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
952 * stdlib/tst-tls-atexit.c: New test case.
953 * stdlib/tst-tls-atexit-lib.c: New test case.
954
ffaa74cf 955 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 956
be179c8a
SP
957 * elf/Versions (ld): Add _dl_find_dso_for_object.
958 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
959 * elf/dl-open.c (_dl_find_dso_for_object): New function.
960 (dl_open_worker): Use _dl_find_dso_for_object.
961 * elf/dl-sym.c (do_sym): Likewise.
962 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
963
f78b5caa
AK
9642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
965
966 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
967 Syntactic changes only.
968 (_dl_runtime_profile): Do a tail-call to the resolved function.
969
29691210
JM
9702013-02-17 Joseph Myers <joseph@codesourcery.com>
971
972 [BZ #13550]
973 * sysdeps/x86_64/bp-asm.h: Remove file.
974 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
975 <bp-sym.h> and <bp-asm.h>.
976 (__clone): Do not use BP_SYM.
977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
978 <bp-sym.h> and <bp-asm.h>.
979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
980 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
981 "bp-asm.h".
982 (_setjmp): Do not use BP_SYM.
983 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
984 "bp-asm.h".
985 (setjmp): Do not use BP_SYM.
986 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
987 libc_hidden_def.
988 (mempcpy): Do not use BP_SYM in weak_alias.
989 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
990 "bp-asm.h".
991 (strchr): Do not use BP_SYM.
992 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
993 "bp-asm.h".
994 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
995 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
996 (_start): Do not use BP_SYM.
997 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
998 "bp-asm.h".
999 (strcat): Do not use BP_SYM.
1000 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1001 "bp-asm.h".
1002 (STRCMP): Do not use BP_SYM.
1003 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1004 "bp-asm.h".
1005 (STRCPY): Do not use BP_SYM.
1006 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1007 "bp-asm.h".
1008 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1009 "bp-asm.h".
1010 (FUNCTION): Do not use BP_SYM.
1011 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1012 weak_alias.
1013 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1014
f238fd19
AJ
10152013-02-17 Andreas Jaeger <aj@suse.de>
1016
1017 * time/Versions: Sort entries.
1018 * string/Versions: Likewise.
1019 * resolv/Versions: Likewise.
1020 * posix/Versions: Likewise.
1021 * iconv/Versions: Likewise.
1022 * elf/Versions: Likewise.
1023 * wcsmbs/Versions: Likewise.
1024
bd07f23c 10252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1026
22af19f9
SP
1027 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1028 loop termination condition.
1029
4709fe76
SP
1030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1031 variable to calculate EZ.
1032 (__sqr): Likewise.
2d0e0f29
SP
1033
1034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1035 the lower precision input.
1036
daaa7713
JM
10372013-02-15 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #13550]
1040 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1041 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1042 (run-via-rtld-prefix): Do not handle %-bp tests.
1043 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1044 (all-object-suffixes): Remove .ob.
1045 (bppfx): Remove variable.
1046 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1047 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1048 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1049 [$(build-bounded) = yes] (libtype.ob): Likewise.
1050 * Makerules (elide-routines.ob): Remove variable.
1051 (do-tests-clean): Do not handle *-bp.out.
1052 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1053 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1054 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1055 (tests): Do not include $(tests-bp.out).
1056 (xtests): Do not include $(xtests-bp.out).
1057 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1058 [$(build-bounded) = yes] ($(addprefix
1059 $(objpfx),$(binaries-bounded))): Remove rule.
1060 ($(objpfx)%-bp.out): Remove rule.
1061 * config.make.in (build-bounded): Remove variable.
1062 * crypt/Makefile [$(build-bounded) = yes]
1063 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1064 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1065 append to variable.
1066 [$(build-bounded) = yes] (install-lib): Likewise.
1067 [$(build-bounded) = yes] (generated): Likewise.
1068 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1069 Remove rule.
1070 * intl/Makefile [$(build-bounded) = yes]
1071 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1072 * math/Makefile [$(build-bounded) = yes]
1073 ($(tests:%=$(objpfx)%-bp): Likewise.
1074 * misc/Makefile [$(build-bounded) = yes]
1075 ($(objpfx)tst-tsearch-bp): Likewise.
1076 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1077 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1078 Remove dependency.
1079 * string/Makefile (o-objects.ob): Remove variable.
1080 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1081 (CFLAGS-.ob): Remove variable.
1082 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1083 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1084 both definitions of variable.
1085 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1086 (ASFLAGS-.ob): Remove variable.
1087
e97ed6dd
JM
10882013-02-14 Joseph Myers <joseph@codesourcery.com>
1089
2bdd4ca6
JM
1090 [BZ #13550]
1091 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1092 Remove __BOUNDED_POINTERS__ from condition.
1093 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1094 * string/bits/string2.h [!__NO_STRING_INLINES &&
1095 !__BOUNDED_POINTERS__]: Likewise.
1096 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1097 Likewise.
1098 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1099 Remove conditional code.
1100 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1101 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1102 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1103 condition.
1104
e97ed6dd
JM
1105 [BZ #13550]
1106 * csu/libc-start.c: Do not include <bp-sym.h>.
1107 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1108 * elf/dl-open.c: Do not include <bp-sym.h>.
1109 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1110 * math/fegetenv.c: Do not include <bp-sym.h>.
1111 (fegetenv): Do not use BP_SYM in versioned symbols.
1112 * nptl/sysdeps/pthread/bits/libc-lockP.h
1113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1114 <bp-sym.h>.
1115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1116 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1118 (__pthread_mutex_destroy): Likewise.
1119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1120 (__pthread_mutex_lock): Likewise.
1121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1122 (__pthread_mutex_trylock): Likewise.
1123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1124 (__pthread_mutex_unlock): Likewise.
1125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1126 (__pthread_mutexattr_init): Likewise.
1127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1128 (__pthread_mutexattr_destroy): Likewise.
1129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1130 (__pthread_mutexattr_settype): Likewise.
1131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1132 (__pthread_rwlock_init): Likewise.
1133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1134 (__pthread_rwlock_destroy): Likewise.
1135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1136 (__pthread_rwlock_rdlock): Likewise.
1137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1138 (__pthread_rwlock_tryrdlock): Likewise.
1139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1140 (__pthread_rwlock_wrlock): Likewise.
1141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1142 (__pthread_rwlock_trywrlock): Likewise.
1143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1144 (__pthread_rwlock_unlock): Likewise.
1145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1146 (__pthread_key_create): Likewise.
1147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1148 (__pthread_setspecific): Likewise.
1149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1150 (__pthread_getspecific): Likewise.
1151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1152 Likewise.
1153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1154 (_pthread_cleanup_push_defer): Likewise.
1155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1156 (_pthread_cleanup_pop_restore): Likewise.
1157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1158 (pthread_setcancelstate): Likewise.
1159 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1160 <bp-sym.h>.
1161 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1162 (memchr): Do not use BP_SYM in weak_alias.
1163 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1164 (fegetenv): Do not use BP_SYM in versioned symbols.
1165 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1166 (fesetenv): Do not use BP_SYM in versioned symbols.
1167 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1168 (feupdateenv): Do not use BP_SYM in versioned symbols.
1169 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1170 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1171 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1172 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1173 (open64): Do not use BP_SYM in weak_alias.
1174 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1175 (fegetenv): Do not use BP_SYM in versioned symbols.
1176 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1177 (fesetenv): Do not use BP_SYM in versioned symbols.
1178 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1179 (feupdateenv): Do not use BP_SYM in versioned symbols.
1180 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1181 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1182 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1183 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1184 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1185 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1187 <bp-sym.h>.
1188 (__libc_start_main): Do not use BP_SYM.
1189
d6752ccd
SP
11902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1191
cb57ce60
SP
1192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1193 redundant return line.
1194 (norm): Likewise.
1195 (denorm): Likewise.
1196 (dbl_mp): Likewise.
1197 (sub_magnitudes): Likewise.
1198 (__add): Likewise.
1199 (__sub): Likewise.
1200 (__mul): Likewise.
1201 (__inv): Likewise.
1202 (__dvd): Likewise.
1203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1204 (norm): Likewise.
1205 (denorm): Likewise.
1206 (dbl_mp): Likewise.
1207 (sub_magnitudes): Likewise.
1208 (__add): Likewise.
1209 (__sub): Likewise.
1210 (__mul): Likewise.
1211 (__inv): Likewise.
1212 (__dvd): Likewise.
1213
f414520d
SP
1214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1215 instead of __mul.
1216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1218 (cc32): Likewise.
1219
d6752ccd
SP
1220 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1221 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1223 of __mul for squares.
1224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1225 function
1226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1227 Likewise.
1228 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1230
70d9946a
JM
12312013-02-13 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #13550]
1234 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1235 code.
1236 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1237 prototype or function definition. Rename ubp_* variables and
1238 parameters. Remove argv definitions conditional on
1239 [__BOUNDED_POINTERS__].
1240 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1241 * elf/dl-runtime.c (_dl_fixup): Likewise.
1242 * include/set-hooks.h (RUN_HOOK): Likewise.
1243 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1244 definition.
1245 * string/strcpy.c (strcpy): Do not use __unbounded.
1246 * sysdeps/generic/frame.h (struct layout): Likewise.
1247 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1248 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1249 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1250 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1251 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1252 (__backtrace): Likewise.
1253 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1254 use __ptrvalue.
1255 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1256 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1257 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1258 Likewise.
1259 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1260 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1261 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1262 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1263 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1264 Do not use __unbounded.
1265 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1266 Rename __unboundedrlimits parameter to rlimits in prototype.
1267 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1268 Do not use __unbounded.
1269 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1270 not use __ptrvalue.
1271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1272 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1273 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1274 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1275 __ptrvalue or __unbounded.
1276 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1277 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1278 use __unbounded.
1279 (__new_msgctl): Do not use __ptrvalue.
1280 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1281 __unbounded.
1282 (__libc_msgrcv): Do not use __ptrvalue.
1283 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1284 startup_info): Do not use __unbounded.
1285 (__libc_start_main): Likewise. Rename ubp_* variables and
1286 parameters. Remove argv definitions conditional on
1287 [__BOUNDED_POINTERS__].
1288 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1289 __ptrvalue.
1290 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1291 use __unbounded.
1292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1293 or __ptrvalue.
1294 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1295 use __unbounded.
1296 (__new_shmctl): Do not use __ptrvalue.
1297 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1298 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1299 Likewise.
1300 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1302 (__libc_sigaction): Likewise.
1303 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1305 Likewise.
1306 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1307
cc7834d6
OB
13082013-02-13 Ondřej Bílka <neleai@seznam.cz>
1309
ffb1ec7b 1310 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1311
1312 * string/mempcpy.c: Implement by calling memcpy.
1313
bdf02814
SP
13142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1315
c2af38aa
SP
1316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1317
4e92d59e
SP
1318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1319 evaluation.
1320
909279a5
SP
1321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1322 values in the mantissa.
1323
bdf02814
SP
1324 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1325 minimize writes to Z.
1326 (sub_magnitudes): Simplify code a bit.
1327
cd525923
RM
13282013-02-12 Roland McGrath <roland@hack.frob.com>
1329
1330 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1331 from the message. The linker prefixes all warnings with that already.
1332
7e2f0d2d
AS
13332013-02-12 Andreas Schwab <schwab@suse.de>
1334
a445af0b
AS
1335 [BZ #15078]
1336 * posix/regexec.c (extend_buffers): Add parameter min_len.
1337 (check_matching): Pass minimum needed length.
1338 (clean_state_log_if_needed): Likewise.
1339 (get_subexp): Likewise.
1340 * posix/Makefile (tests): Add bug-regex34.
1341 (bug-regex34-ENV): Define.
1342 * posix/bug-regex34.c: New file.
1343
7e2f0d2d
AS
1344 [BZ #11561]
1345 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1346 elements compare against the byte sequence of it, not its name.
1347 * posix/Makefile (tests): Add bug-regex35.
1348 (bug-regex35-ENV): Define.
1349 * posix/bug-regex35.c: New file.
1350
a175b684
TV
13512013-02-11 Tom de Vries <tom@codesourcery.com>
1352
1353 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1354 comment.
1355 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1356 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1357 (CHECK_EOL): Add undef.
1358
310998fe 13592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1360
1361 * bits/stdlib-bsearch.h: New file.
1362 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1363 * stdlib/stdlib.h: Likewise.
41eda41d 1364
8ded91fb
RM
13652013-02-11 Roland McGrath <roland@hack.frob.com>
1366
1367 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1368 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1369 declaration.
1370 * manual/search.texi (Array Search Function): Add missing const in
1371 lfind prototype.
1372 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1373 declaration to use rlim_t.
1374 (Basic Scheduling Functions): Remove erroneous const from
1375 sched_getparam prototype. Remove erroneous * from
1376 sched_get_priority_max and sched_get_priority_min prototypes.
1377 (Resource Usage): Fix summary @comment on vtimes to refer to
1378 sys/vtimes.h rather than vtimes.h.
1379 Add missing *s in vtimes prototype.
1380 (Limits on Resources): Fix ulimit prototype to return long int.
1381 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1382 prototypes to use long int rather than double.
1383 (BSD Random): Fix initstate and setstate to use char *, not void *.
1384 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1385 prototype to make second argument 'struct aiocb64 *const[]'.
1386 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1387 (Status of AIO Operations): Remove erroneous const in aio_return and
1388 aio_return64 prototypes.
1389 (Synchronizing I/O): Fix sync prototype to return void.
1390 * manual/startup.texi (Suboptions): Remove an erroneous const in
1391 getsubopt prototype.
1392 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1393 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1394 use size_t rather than int.
1395 (Scanning All Users): Likewise for getpwent_r.
1396 (Setting Groups): Add missing const to setgroups prototype.
1397 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1398 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1399 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1400 'const void *' rather than 'const char *'.
1401 (Host Address Functions): Likewise for inet_ntop.
1402 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1403 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1404 ssize_t for return value.
1405 (Sending Data): Likewise for send, sendto, sendmsg.
1406 (Socket Option Functions): Add a missing const in setsockopt prototype.
1407 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1408 use wchar_t for the argument.
1409 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1410 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1411 take no arguments.
1412 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1413 double/float/long double for second argument.
1414 Fix return types of significand, significandf, significandl.
1415 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1416 argument in fchmod prototype.
1417 (File Owner): Use uid_t and gid_t in fchown prototype.
1418 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1419 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1420 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1421 use 'const struct dirent **' as argument types to CMP function pointer
1422 argument.
1423 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1424 (File Times): Fix summary magic @comment for struct utimbuf and utime
1425 to refer to utime.h, not time.h.
1426 * manual/string.texi (Argz Functions): Add missing const in
1427 argz_extract and argz_next prototypes.
1428 (Finding Tokens in a String): Likewise for basename.
1429 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1430 (Copying and Concatenation): Fix typo in wmemmove prototype.
1431 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1432 (Signal Stack): Remove erroneous const in sigstack prototype.
1433 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1434 prototype.
1435 (Simple Calendar Time): Likewise for stime.
1436 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1437 prototype.
1438 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1439 say sys/sysctl.h instead.
1440 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1441 and vsyslog prototypes.
1442
fe77fe6d
TV
14432013-02-11 Tom de Vries <tom@codesourcery.com>
1444
1445 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1446 Remove.
1447
3a09b620
RM
14482013-02-11 Roland McGrath <roland@hack.frob.com>
1449
1450 * misc/sys/mman.h: Fix typo in mremap comment.
1451
550a0b89
RM
14522013-02-08 Roland McGrath <roland@hack.frob.com>
1453
1454 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1455 the '\0' terminator.
1456
a2da1673
JM
14572013-02-08 Joseph Myers <joseph@codesourcery.com>
1458
1459 [BZ #13550]
1460 * debug/segfault.c: Don't include <bp-checks.h>.
1461 * sysdeps/generic/bp-checks.h: Remove file.
1462 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1463 (__GETDENTS): Don't use CHECK_N.
1464 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1465 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1466 (__getgroups): Don't use CHECK_N.
1467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1468 (setgroups): Don't use CHECK_N.
1469 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1470 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1471 (__libc_msgrcv): Don't use CHECK_N.
1472 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1473 (__libc_msgsnd): Don't use CHECK_N.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1475 <bp-checks.h>.
1476 (__libc_pread): Don't use CHECK_N.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1478 include <bp-checks.h>.
1479 (__libc_pread64): Don't use CHECK_N.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1481 include <bp-checks.h>.
1482 (__libc_pwrite): Don't use CHECK_N.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1484 include <bp-checks.h>.
1485 (__libc_pwrite64): Don't use CHECK_N.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1487 <bp-checks.h>.
1488 (__libc_pread): Don't use CHECK_N.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1490 include <bp-checks.h>.
1491 (__libc_pread64): Don't use CHECK_N.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1493 include <bp-checks.h>.
1494 (__libc_pwrite): Don't use CHECK_N.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1496 include <bp-checks.h>.
1497 (__libc_pwrite64): Don't use CHECK_N.
1498 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1499 (do_pread): Don't use CHECK_N.
1500 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1501 (do_pread64): Don't use CHECK_N.
1502 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1503 (do_pwrite): Don't use CHECK_N.
1504 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1505 (do_pwrite64): Don't use CHECK_N.
1506 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1507 (__libc_readv): Don't use CHECK_N.
1508 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1509 (semop): Don't use CHECK_N.
1510 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1511 <bp-checks.h>.
1512 (semtimedop): Don't use CHECK_N.
1513 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1514 (__libc_pread): Don't use CHECK_N.
1515 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1516 <bp-checks.h>.
1517 (__libc_pread64): Don't use CHECK_N.
1518 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1519 <bp-checks.h>.
1520 (__libc_pwrite): Don't use CHECK_N.
1521 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1522 <bp-checks.h>.
1523 (__libc_pwrite64): Don't use CHECK_N.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1525 <bp-checks.h>.
1526 (__libc_msgrcv): Don't use CHECK_N.
1527 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1528 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1529 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1530 (__libc_writev): Don't use CHECK_N.
1531
b84660a8
RM
15322013-02-08 Roland McGrath <roland@hack.frob.com>
1533
7f3e75f8
RM
1534 * string/strcpy.c: Removed unused variable.
1535
b84660a8
RM
1536 * Makeconfig (+sysdep-includes): Define with := rather than =.
1537 Use an existing include/ subdir of each sysdeps dir before it.
1538
471514d3
CD
15392013-02-08 Carlos O'Donell <carlos@redhat.com>
1540
1541 * nscd/connection.c (register_traced_file): Comment function.
1542 [HAVE_INOTIFY] (union __inev): Define.
1543 [HAVE_INOTIFY] (inotify_check_files): New function.
1544 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1545 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1546 clear_db_cache.
1547 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1548
b2d3c3be
CD
15492013-02-08 Carlos O'Donell <carlos@redhat.com>
1550
1551 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1552 loaded if not already and that a failure is permanent.
1553
b39949d2
CD
15542013-02-08 Carlos O'Donell <carlos@redhat.com>
1555
ddacd1db 1556 [BZ #15006]
b39949d2
CD
1557 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1558 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1559
b2c9eff4
JM
15602013-02-08 Joseph Myers <joseph@codesourcery.com>
1561
f3aae3f3
JM
1562 [BZ #13550]
1563 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1564 (CHECK_1_NULL_OK): Likewise.
1565 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1566 (__fxstat): Do not use CHECK_1.
1567 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1568 <bp-checks.h>.
1569 (___fxstat64): Do not use CHECK_1.
1570 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1571 <bp-checks.h>.
1572 (__fxstatat): Do not use CHECK_1.
1573 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1574 <bp-checks.h>.
1575 (__fxstatat64): Do not use CHECK_1.
1576 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1577 <bp-checks.h>.
1578 (__fxstat): Do not use CHECK_1.
1579 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1580 <bp-checks.h>.
1581 (__fxstatat): Do not use CHECK_1.
1582 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1583 <bp-checks.h>.
1584 (__getresgid): Do not use CHECK_1.
1585 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1586 <bp-checks.h>.
1587 (__getresuid): Do not use CHECK_1.
1588 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1589 <bp-checks.h>.
1590 (__lxstat): Do not use CHECK_1.
1591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1592 <bp-checks.h>.
1593 (__old_msgctl): Do not use CHECK_1.
1594 (__new_msgctl): Likewise.
1595 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1596 <bp-checks.h>.
1597 (__new_setrlimit): Do not use CHECK_1.
1598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1599 <bp-checks.h>.
1600 (__old_shmctl): Do not use CHECK_1.
1601 (__new_shmctl): Likewise.
1602 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1603 <bp-checks.h>.
1604 (__xstat): Do not use CHECK_1.
1605 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1606 (__lxstat): Do not use CHECK_1.
1607 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1608 <bp-checks.h>.
1609 (___lxstat64): Do not use CHECK_1.
1610 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1611 (__old_msgctl): Do not use CHECK_1.
1612 (__new_msgctl): Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1614 <bp-checks.h>.
1615 (__gettimeofday): Do not use CHECK_1.
1616 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1617 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1618 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1619 <bp-checks.h>.
1620 (__gettimeofday): Do not use CHECK_1.
1621 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1622 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1623 (__new_shmctl): Do not use CHECK_1.
1624 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1625 <bp-checks.h>.
1626 (do_sigtimedwait): Do not use CHECK_1.
1627 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1628 <bp-checks.h>.
1629 (do_sigwaitinfo): Do not use CHECK_1.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1631 <bp-checks.h>.
1632 (msgctl): Do not use CHECK_1.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1634 <bp-checks.h>.
1635 (shmctl): Do not use CHECK_1.
1636 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1637 (ustat): Do not use CHECK_1.
1638 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1639 <bp-checks.h>.
1640 (__fxstat): Do not use CHECK_1.
1641 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1642 <bp-checks.h>.
1643 (__fxstatat): Do not use CHECK_1.
1644 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1645 <bp-checks.h>.
1646 (__lxstat): Do not use CHECK_1.
1647 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1648 <bp-checks.h>.
1649 (__xstat): Do not use CHECK_1.
1650 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1651 (__xstat): Do not use CHECK_1.
1652 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1653 (___xstat64): Do not use CHECK_1.
1654
b2c9eff4
JM
1655 [BZ #13550]
1656 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1657 definitions.
1658 (CHECK_BOUNDS_HIGH): Likewise.
1659 * string/strcpy.c: Do not include <bp-checks.h>.
1660 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1661
f1d70dad
RM
16622013-02-07 Roland McGrath <roland@hack.frob.com>
1663
1664 * nscd/nscd-client.h (__nscd_drop_map_ref):
1665 Add __attribute__ ((unused)).
1666 * nis/nss-nisplus.h (niserr2nss): Likewise.
1667
1668 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1669 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1670
1671 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1672 Remove inline keyword.
1673 * include/rounding-mode.h (round_away): Likewise.
1674 * libio/wfileops.c (adjust_wide_data): Likewise.
1675 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1676 (__m128i_strloadu_tolower): Likewise.
1677 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1678 (__m128i_strloadu_tolower): Likewise.
1679 * time/mktime.c (ydhms_diff): Likewise.
1680 * locale/elem-hash.h (elem_hash): Likewise.
1681 * locale/setlocale.c (setdata): Likewise.
1682 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1683 (re_string_wchar_at): Likewise.
1684 (bitset_not, bitset_merge, bitset_mask): Likewise.
1685 [!(__GNUC__ > 3)] (inline): Remove macro.
1686 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1687 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1688 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1689 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1690 * string/memcmp.c (memcmp_bytes): Likewise.
1691 * locale/programs/locarchive.c (compute_hashval): Likewise.
1692 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1693 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1694 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1695 * nss/getent.c (print_rpc, print_protocols): Likewise.
1696 (print_passwd, print_group, print_aliases): Likewise.
1697 * nis/nss-nisplus.h (niserr2nss): Likewise.
1698 * nscd/connections.c (restart_p): Likewise.
1699 Change return type to bool.
1700
eab55bfb
RM
17012013-02-05 Roland McGrath <roland@hack.frob.com>
1702
7bd642f5
RM
1703 * Makeconfig (all-Depend-files): Add existing
1704 $(sorted-subdirs:=/Depend) files.
1705 (all-subdirs): Remove nss.
1706 * sysdeps/unix/inet/Subdirs: Add it here instead.
1707 * hesiod/Depend: New file.
1708
573c29b2
RM
1709 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1710 instead of calling alloca.
1711
b2e25af0
RM
1712 * io/lseek.c (__lseek): Rename to __libc_lseek.
1713 Define __lseek as an alias.
1714
eab55bfb
RM
1715 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1716
9a0d1941
CD
17172013-02-04 Carlos O'Donell <carlos@redhat.com>
1718
1719 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1720 else clause and remove check for non-standard endianness.
1721
b83bbec4
DM
17222013-02-04 David S. Miller <davem@davemloft.net>
1723
1724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1725
6277fdab
JM
17262013-02-04 Joseph Myers <joseph@codesourcery.com>
1727
1728 [BZ #13550]
1729 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1730 (__ubp_memchr): Remove prototype.
1731 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1732 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1733 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1734 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1735 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1736 Remove alias.
1737 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1738 (__ubp_memchr): Likewise.
1739 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1740 (__ubp_memchr): Likewise.
1741 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1742 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1743 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1744 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1745 CHECK_STRING.
1746 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1747 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1748 (__getcwd): Do not use CHECK_STRING.
1749 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1750 <bp-checks.h>.
1751 (__real_chown): Do not use CHECK_STRING.
1752 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1753 <bp-checks.h>.
1754 (fchownat): Do not use CHECK_STRING.
1755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1756 CHECK_STRING.
1757 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1758 <bp-checks.h>.
1759 (__lchown): Do not use CHECK_STRING.
1760 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1761 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1762 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1763 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1765 include <bp-checks.h>.
1766 (truncate64): Do not use CHECK_STRING.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1768 <bp-checks.h>.
1769 (__real_chown): Do not use CHECK_STRING.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1771 <bp-checks.h>.
1772 (__lchown): Do not use CHECK_STRING.
1773 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1774 <bp-checks.h>.
1775 (__chown): Do not use CHECK_STRING.
1776 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1777 <bp-checks.h>.
1778 (truncate64): Do not use CHECK_STRING.
1779 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1782 (__xmknod): Do not use CHECK_STRING.
1783 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1784 <bp-checks.h>.
1785 (__xmknodat): Do not use CHECK_STRING.
1786 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1787 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1788
903ae060
AS
17892013-02-04 Andreas Schwab <schwab@suse.de>
1790
1791 [BZ #14142]
1792 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1793 * include/netdb.h: Likewise for h_errno.
1794 * elf/tst-stackguard1.c: Include <tls.h>.
1795
542f9466
JK
17962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 * elf/link.h (struct link_map): Extend the l_addr comment.
1799 * include/link.h (struct link_map): Likewise.
1800
e782a927
JM
18012013-02-01 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #13550]
1804 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1805 (BOUNDED_1): Remove macro.
1806 * debug/backtrace.c: Don't include <bp-checks.h>.
1807 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1808 (__backtrace): Likewise.
1809 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1810 <bp-checks.h>.
1811 (__backtrace): Don't use BOUNDED_1.
1812 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1813 <bp-checks.h>.
1814 (__backtrace): Don't use BOUNDED_1.
1815 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1816 (__backtrace): Don't use BOUNDED_1.
1817 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1818 (shmat): Don't use BOUNDED_N.
1819
8cf28c5e
JM
18202013-01-31 Joseph Myers <joseph@codesourcery.com>
1821
3a7ac8a0
JM
1822 [BZ #13550]
1823 * sysdeps/generic/bp-start.h: Remove file.
1824 * csu/libc-start.c: Don't include <bp-start.h>.
1825 (LIBC_START_MAIN): Set up __environ directly instead of using
1826 INIT_ARGV_and_ENVIRON.
1827 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1828 <bp-start.h>.
1829
f3499f95
JM
1830 [BZ #13550]
1831 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1832 definitions.
1833 (CHECK_FCNTL): Likewise.
1834 (CHECK_N_PAGES): Likewise.
1835
32a45bea
JM
1836 [BZ #13550]
1837 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1838 definitions.
1839 (CHECK_SIGSET_NULL_OK): Likewise.
1840 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1841 <bp-checks.h>.
1842 (sigpending): Don't use CHECK_SIGSET.
1843 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1844 <bp-checks.h>.
1845 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1846 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1847 <bp-checks.h>.
1848 (do_sigsuspend): Don't use CHECK_SIGSET.
1849 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1850 use CHECK_SIGSET.
1851 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1852 (do_sigwait): Don't use CHECK_SIGSET.
1853 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1854 use CHECK_SIGSET.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1856 include <bp-checks.h>.
1857 (sigpending): Don't use CHECK_SIGSET.
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1859 include <bp-checks.h>.
1860 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1861 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1862 <bp-checks.h>.
1863 (sigpending): Don't use CHECK_SIGSET.
1864 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1865 <bp-checks.h>.
1866 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1867
2e8a5c8c
JM
1868 [BZ #13550]
1869 * sysdeps/generic/bp-semctl.h: Remove file.
1870 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1871 <bp-checks.h> and <bp-semctl.h>.
1872 (__old_semctl): Don't use CHECK_SEMCTL.
1873 (__new_semctl): Likewise.
1874 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1875 and <bp-semctl.h>.
1876 (__old_semctl): Don't use CHECK_SEMCTL.
1877 (__new_semctl): Likewise.
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1879 <bp-checks.h> and <bp-semctl.h>.
1880 (__old_semctl): Don't use CHECK_SEMCTL.
1881 (__new_semctl): Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1883 <bp-checks.h> and <bp-semctl.h>.
1884 (semctl): Don't use CHECK_SEMCTL.
1885
c2d54929
JM
1886 [BZ #13550]
1887 * Makerules (elide-bp-thunks): Remove variable.
1888 (elide-routines.oS): Don't use $(elide-bp-thunks).
1889 (elide-routines.os): Likewise.
1890 (elide-routines.o): Likewise.
1891 (elide-routines.op): Likewise.
1892 (elide-routines.og): Likewise.
1893 (objects): Don't use $(bp-thunks).
1894 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1895 include.
1896 (common-generated): Do not add s-proto-bp.d.
1897 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1898 (int): Likewise.
1899 (typ): Likewise.
1900 Do not generate makefile rules for bounded-pointer thunks.
1901 * sysdeps/generic/bp-thunks.h: Remove file.
1902 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1903 * sysdeps/unix/s-proto-bp.S: Likewise.
1904
8cf28c5e
JM
1905 [BZ #15062]
1906 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1907 parts of result separately when argument is not close to line from
1908 -i to i and one part of argument is small.
1909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1911 * math/libm-test.inc (cacos_test): Add more tests.
1912 (casin_test): Likewise.
1913 (casinh_test): Likewise.
1914 * sysdeps/i386/fpu/libm-test-ulps: Update.
1915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1916
c4e33b8d
DM
19172013-01-31 David S. Miller <davem@davemloft.net>
1918
1919 * po/de.po: Update from translation team.
1920
3b60b421
MK
19212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1922
1923 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1924
bb931195
TS
19252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1926
b5a5da23
TS
1927 * configure.in (_AC_PROG_CC_C89): New definition.
1928 * configure: Regenerate.
1929
bb931195
TS
1930 * configure.in (AC_PROG_CPP): New definition.
1931 * configure: Regenerate.
1932
8c53a12c
JM
19332013-01-23 Joseph Myers <joseph@codesourcery.com>
1934
1935 * debug/tst-backtrace.h: New file.
1936 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1937 (ret): Remove variable.
1938 (x): Likewise.
1939 (FAIL): Remove macro.
1940 (NO_INLINE): Likewise.
1941 (fn1): Use match function instead of strstr.
1942 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1943 (ret): Remove variable.
1944 (x): Likewise.
1945 (FAIL): Remove macro.
1946 (NO_INLINE): Likewise.
1947 (fn): Use match function instead of strstr.
1948 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1949 (ret): Remove variable.
1950 (x): Likewise.
1951 (FAIL): Remove macro.
1952 (NO_INLINE): Likewise.
1953 (handle_signal): Use match function instead of strstr.
1954 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1955 (ret): Remove variable.
1956 (x): Likewise.
1957 (FAIL): Remove macro.
1958 (NO_INLINE): Likewise.
1959 (handle_signal): Use match function instead of strstr.
1960
4858fa2a
RM
19612013-01-23 Roland McGrath <roland@hack.frob.com>
1962
1963 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1964
bae8e7f5
DM
19652013-01-23 David S. Miller <davem@davemloft.net>
1966
1967 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1968 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1969 argument of CAS if possible.
1970 * sysdeps/sparc/sparc64/bits/atomic.h
1971 (__arch_compare_and_exchange_val_32_acq): Likewise.
1972 (__arch_compare_and_exchange_val_64_acq): Likewise.
1973
9cbbc4ae
PT
19742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1975
1976 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1977 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1978 Include <limits.h>.
67b3f58c 1979 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1980
5655a0b5
AC
19812013-01-23 Adam Conrad <adconrad@0c3.net>
1982
1983 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1984 (LDFLAGS-tst-array5): Likewise.
1985
052aff95
JM
19862013-01-23 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #15036]
1989 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1990 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1991 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1992 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1993
7c1e01aa
DM
19942013-01-21 David S. Miller <davem@davemloft.net>
1995
1996 * sysdeps/sparc/backtrace.c: New file.
1997 * sysdeps/sparc/sparc32/backtrace.h: New file.
1998 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1999 * sysdeps/sparc/sparc64/backtrace.h: New file.
2000 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2001 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2002 -funwind-tables.
2003
ab087e0a
AS
20042013-01-21 Andreas Schwab <schwab@suse.de>
2005
2006 [BZ #15020]
2007 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2008 closed its stdout.
2009
ed689c2f
AS
20102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2011
2012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2013 "mpa2.h".
2014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2015
31d470ac
JM
20162013-01-18 Joseph Myers <joseph@codesourcery.com>
2017 Mark Mitchell <mark@codesourcery.com>
2018 Tom de Vries <tom@codesourcery.com>
2019 Paul Pluzhnikov <ppluzhnikov@google.com>
2020
2021 * debug/tst-backtrace2.c: New file.
2022 * debug/tst-backtrace3.c: Likewise.
2023 * debug/tst-backtrace4.c: Likewise.
2024 * debug/tst-backtrace5.c: Likewise.
2025 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2026 (CFLAGS-tst-backtrace3.c): Likewise.
2027 (CFLAGS-tst-backtrace4.c): Likewise.
2028 (CFLAGS-tst-backtrace5.c): Likewise.
2029 (LDFLAGS-tst-backtrace2): Likewise.
2030 (LDFLAGS-tst-backtrace3): Likewise.
2031 (LDFLAGS-tst-backtrace4): Likewise.
2032 (LDFLAGS-tst-backtrace5): Likewise.
2033 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2034 tst-backtrace4 and tst-backtrace5.
2035
90567f30 20362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2037 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2038
2039 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2040 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2042 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2044 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2045 "+r" and remove output regs list as redundant. Add explicit inline
2046 asm to specify register of return val to work around compiler codegen
2047 bug. Remove (int) cast on return value. Add return type parameter to
2048 use in macro so that this macro does not truncate return value for
2049 64-bit values.
2050 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2051 pass to INTERNAL_VSYSCALL_NCS.
2052 (INLINE_VSYSCALL): Add 'long int' as return type to
2053 INTERNAL_VSYSCALL_NCS macro invocation.
2054 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2055 INTERNAL_VSYSCALL_NCS macro invocation.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2057
d3b9ea61
SP
20582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2059
0b57daeb
SP
2060 [BZ #14496]
2061 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2062 Fix application of SIMD FP exception mask.
2063
caa99d06
SP
2064 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2065 mp_no from a power of two.
2066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2067 __mpexp_twomm1. Use __pow_mp.
2068
d3b9ea61
SP
2069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2070 multiplication.
2071
1dbaee3c
DM
20722013-01-17 David S. Miller <davem@davemloft.net>
2073
2074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2075
728d7b43
JM
20762013-01-17 Joseph Myers <joseph@codesourcery.com>
2077
2078 [BZ #15023]
2079 * include/complex.h: Condition contents on [!_COMPLEX_H].
2080 (__kernel_casinhf): New prototype.
2081 (__kernel_casinh): Likewise.
2082 (__kernel_casinhl): Likewise.
2083 * math/Makefile (libm_calls): Add k_casinh.
2084 * math/k_casinh.c: New file.
2085 * math/k_casinhf.c: Likewise.
2086 * math/k_casinhl.c: Likewise.
2087 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2088 finite nonzero arguments.
2089 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2090 finite nonzero arguments.
2091 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2092 finite nonzero arguments.
2093 * math/s_casinh.c: Do not include <float.h>.
2094 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2095 * math/s_casinhf.c: Do not include <float.h>.
2096 (__casinhf): Move code for finite nonzero arguments to
2097 k_casinhf.c.
2098 * math/s_casinhl.c: Do not include <float.h>.
2099 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2100 redefine.
2101 (__casinhl): Move code for finite nonzero arguments to
2102 k_casinhl.c.
2103 * math/libm-test.inc (cacos_test): Add more tests.
2104 * sysdeps/i386/fpu/libm-test-ulps: Update.
2105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2106
2a26ef3a
PT
21072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2108
2109 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2110 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2111 [!HAVE_MREMAP]: Remove [defined linux] case.
2112 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2113
a897655d
SP
21142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2115
2116 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2117
881ebe89 21182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2119
2120 * elf/elf.h (R_386_SIZE32): New relocation.
2121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2122 R_386_SIZE32.
2123 (elf_machine_rela): Likewise.
2124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2125 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2126
59981e9b
JM
21272013-01-17 Joseph Myers <joseph@codesourcery.com>
2128
2129 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2130 (FP_FAST_FMA): Do not define.
2131 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2132 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2133 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2134 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2135 !_SOFT_FLOAT]: Likewise.
2136 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2138 value.
2139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2140 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2141 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2143 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2144 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2145 file.
2146
cfa8054f
AS
21472013-01-16 Andreas Schwab <schwab@suse.de>
2148
2149 [BZ #14327]
2150 * include/stdlib.h (__mktemp): Add declaration.
2151 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2152 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2153
dd930cc5
SP
21542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
881ebe89
SP
2156 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2157 definitions.
2158 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2159 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2160 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2161 definitions here.
2162 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2163 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2164 definitions.
2165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2166 and ONE.
2167 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2168 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2170 definitions.
2171 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2172 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2173 definitions.
2174 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2175
dd930cc5
SP
2176 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2177
c19a9f89
DM
21782013-01-15 David S. Miller <davem@davemloft.net>
2179
1aa61767
DM
2180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2181 trunc{,f} to libm-sysdep_routes.
2182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2184 file.
2185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2187 file.
2188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2189 file.
2190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2192 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2193 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2194 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2195 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2196 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2197 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2198
c42d5e98
DM
2199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2200 nearbyint{,f} to libm-sysdep_routes.
2201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2203 New file.
2204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2205 file.
2206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2207 New file.
2208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2209 file.
2210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2213 file.
2214 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2216 file.
2217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2218 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2219 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2220
c19a9f89
DM
2221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2222 libc_feholdexcept and libc_fesetenv.
2223
357679d2
MF
22242013-01-15 Mike Frysinger <vapier@gentoo.org>
2225
2226 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2227
65a82e3d
DM
22282013-01-14 David S. Miller <davem@davemloft.net>
2229
8b954ab9
DM
2230 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2231 (SPARC_ASM_VIS2_IFUNC): Likewise.
2232 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2234 use of 'siam' instruction.
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2236 Likewise.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2238 Likewise.
2239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2240 Likewise.
2241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2246 file.
2247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2248 file.
2249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2250 file.
2251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2252 file.
2253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2258 new VIS2 routines.
2259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2262 Likewise.
2263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2268 routines to libm-sysdep_routines.
2269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2270
65a82e3d
DM
2271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2272 fdim/fdimf to libm-sysdep_routines.
2273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2274 file.
2275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2277 file.
2278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2281 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2282 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2283 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2284 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2285
e34ab705
SP
22862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2287
2a91b573
SP
2288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2289 to optimize copies.
2290
1066a534
SP
2291 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2294
e34ab705
SP
2295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2296 local variable MPTWO.
2297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2298 Likewise.
2299
aba5e596
MF
23002013-01-13 Mike Frysinger <vapier@gentoo.org>
2301
2302 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2303 GLOB_NOESCAPE.
2304
e557e9e5
MF
23052013-01-13 Mike Frysinger <vapier@gentoo.org>
2306
2307 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2308
0428cec9
MF
23092013-01-13 Mike Frysinger <vapier@gentoo.org>
2310
2311 * manual/pattern.texi (glob_t): Document gl_flags.
2312 (glob64_t): Likewise.
2313
8794a964
DM
23142013-01-11 David S. Miller <davem@davemloft.net>
2315
66438c3f
RM
2316 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2317 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2318 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2319 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2320 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2321 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2322 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2323 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2324 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2325 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2326 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2327 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2328 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2329
4ae4244d
DM
2330 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2331 sparc V9 rather than using V8 code.
2332 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2333 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2334
8794a964
DM
2335 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2336 Move to...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2338 Here.
2339
6270516e
RM
23402013-01-11 Roland McGrath <roland@hack.frob.com>
2341
2342 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2343 not in the main loop.
2344 * configure: Regenerated.
2345
6a57d931
JM
23462013-01-11 Joseph Myers <joseph@codesourcery.com>
2347
2348 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2349 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2350 to just #else.
2351 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2352 [!__GLIBC_HAVE_LONG_LONG] case.
2353 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2354 condition to just #else.
2355 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2356 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2357 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2358 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2359 unconditional.
2360 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2361 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2362 #elif condition to just #else.
2363 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2364 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2365 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2366 #elif condition to just #else.
2367
0e8529e9
SE
23682013-01-11 Steve Ellcey <sellcey@mips.com>
2369
2370 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2371 (EF_MIPS_ARCH_64): Fix value.
2372 (EF_MIPS_ARCH_32R2): New.
2373 (EF_MIPS_ARCH_64R2): New.
2374
740b3dbe
L
23752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2376
2377 * Makeconfig (+link-pie-before-libc): New.
2378 (+link-pie-after-libc): Likewise.
2379 (+link-pie-tests): Likewise.
2380 (+link-pie): Rewritten.
2381 (link-before-libc): Remove $(config-LDFLAGS).
2382 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2383 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2384 (config-LDFLAGS): Renamed to ...
2385 (rtld-LDFLAGS): This.
2386 (rtld-tests-LDFLAGS): New macro.
2387 (link-libc-rpath-link): Likewise.
2388 (link-libc-tests-rpath-link): Likewise.
2389 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2390 (link-libc): Prepand $(link-libc-rpath-link).
2391 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2392 (test-program-prefix): New macro.
2393 (test-via-rtld-prefix): Likewise.
2394 (test-program-cmd): Likewise.
2395 (host-test-program-cmd): Likewise.
2396 * Makefile ($(common-objpfx)testrun.sh): Replace
2397 $(run-program-prefix) with $(test-program-prefix).
2398 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2399 $(rtld-LDFLAGS).
2400 ($(common-objpfx)shlib.lds): Likewise.
2401 (build-module-helper): Likewise.
2402 ($(common-objpfx)format.lds): Likewise.
2403 * Rules (binaries-pie-tests): New.
2404 (binaries-pie-notests): Likewise.
2405 (binaries-pie): Rewritten.
2406 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2407 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2408 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2409 (make-test-out): Replace $(host-built-program-cmd) with
2410 $(host-test-program-cmd).
2411 * config.make.in (build-hardcoded-path-in-tests): New variable.
2412 * configure.in (--enable-hardcoded-path-in-tests): New configure
2413 option.
2414 (hardcoded_path_in_tests): New AC_SUBST.
2415 * configure: Regenerated.
2416 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2417 $(built-program-cmd) with $(test-program-cmd).
2418 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2419 (test_program_cmd): This.
2420 * elf/Makefile ($(objpfx)order.out): Run test with
2421 $(test-program-prefix).
2422 ($(objpfx)order2.out): Likewise.
2423 ($(objpfx)tst-initorder.out): Likewise.
2424 ($(objpfx)tst-initorder2.out): Likewise.
2425 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2426 $(test-program-cmd).
2427 ($(objpfx)tst-array1-static.out): Likewise.
2428 ($(objpfx)tst-array2.out): Likewise.
2429 ($(objpfx)tst-array3.out): Likewise.
2430 ($(objpfx)tst-array4.out): Likewise.
2431 ($(objpfx)tst-array5.out): Likewise.
2432 ($(objpfx)tst-array5-static.out): Likewise.
2433 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2434 $(test-program-cmd).
2435 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2436 $(run-program-prefix) with $(test-program-prefix).
2437 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2438 (test_program_prefix): This.
2439 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2440 $(run-program-prefix) with $(test-program-prefix).
2441 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2442 (test_program_prefix): This.
2443 * iconvdata/tst-tables.sh: Likewise.
2444 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2445 $(run-program-prefix) with $(test-program-prefix).
2446 ($(objpfx)tst-translit.out): Likewise.
2447 ($(objpfx)tst-gettext2.out): Likewise.
2448 ($(objpfx)tst-gettext4.out): Likewise.
2449 ($(objpfx)tst-gettext6.out): Likewise.
2450 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2451 (test_program_prefix): This.
2452 * intl/tst-gettext2.sh: Likewise.
2453 * intl/tst-gettext4.sh Likewise.
2454 * intl/tst-gettext6.sh: Likewise.
2455 * intl/tst-translit.sh: Likewise.
2456 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2457 with $(test-program-cmd).
2458 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2459 $(run-program-prefix) with $(test-program-prefix).
2460 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2461 (test_program_prefix): This.
2462 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2463 $(run-program-prefix) with $(test-program-prefix).
2464 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2465 (test_program_prefix): This.
2466 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2467 * posix/Makefile ($(objpfx)globtest.out): Replace
2468 $(run-via-rtld-prefix) and $(test-wrapper) with
2469 $(test-program-prefix) and $(test-via-rtld-prefix).
2470 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2471 $(test-program-prefix).
2472 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2473 $(host-test-program-cmd).
2474 (tst-spawn-ARGS): Likewise.
2475 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2476 $(test-program-prefix).
2477 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2478 (test_via_rtld_prefix): This.
2479 (test_wrapper): Renamed to ...
2480 (test_program_prefix): This.
2481 (run_program_prefix): Replaced by test_program_prefix.
2482 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2483 (test_program_prefix): This.
2484 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2485 with $(host-test-program-cmd).
2486 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2487 $(run-program-prefix) with $(test-program-prefix).
2488 ($(objpfx)tst-printf.out): Likewise.
2489 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2490 $(test-program-cmd).
2491 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2492 (test_program_prefix): This.
2493 * stdio-common/tst-unbputc.sh: Likewise.
2494 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2495 $(run-program-prefix) with $(test-program-prefix).
2496 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2497 (test_program_prefix): This.
2498 * string/Makefile ($(objpfx)tst-svc.out): Replace
2499 $(built-program-cmd) with $(test-program-cmd).
2500
c6fe55cf
AJ
25012013-01-11 Andreas Jaeger <aj@suse.de>
2502
2503 [BZ #15003]
2504 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2505 value. Sync with Linux 3.7.
2506
9e6919c8
DM
25072013-01-10 David S. Miller <davem@davemloft.net>
2508
2509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2510 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2511 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2512
1c9f1a02
RM
25132013-01-10 Roland McGrath <roland@hack.frob.com>
2514
2515 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2516 never set.
2517 * configure: Regenerated.
2518
b9de2dde
DM
25192013-01-10 David S. Miller <davem@davemloft.net>
2520
2521 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2522 sparc V9 rather than using V8 code.
2523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2525
e7f68ef4
RM
25262013-01-10 Roland McGrath <roland@hack.frob.com>
2527
2528 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2529 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2530 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2531 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2532 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2533 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2534 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2535 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2536 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2537 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2538 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2539 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2540 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2541 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2542 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2543 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2544 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2545 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2546 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2547 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2548 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2549 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2550 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2551 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2552 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2553 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2554 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2555
5a47cc9c
DM
25562013-01-10 David S. Miller <davem@davemloft.net>
2557
2558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2559
4cf8f209
L
25602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2561
2562 * posix/Makefile (tests-static): New variable.
2563 (tests): Add $(tests-static).
2564 (tst-exec-static-ARGS): New variable.
2565 (tst-spawn-static-ARGS): Likewise.
2566 * posix/tst-exec-static.c: New file.
2567 * posix/tst-spawn-static.c: Likewise.
2568 * posix/tst-exec.c: Support run directly.
2569 * posix/tst-spawn.c: Likewise.
2570
fed0faa1
JM
25712013-01-10 Joseph Myers <joseph@codesourcery.com>
2572
828beb13
JM
2573 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2574 long.
2575 * math/bits/mathcalls.h (llrint): Likewise.
2576 (llround): Likewise.
2577 * stdlib/stdlib.h (struct drand48_data): Likewise.
2578 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2579 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2580 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2581 Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2585 (elf_greg_t): Likewise.
2586 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2587 (__jmp_buf): Likewise.
2588 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2589 definitions.
2590 (llrint): Likewise, for all definitions.
2591 (llrintl): Likewise.
2592
fed0faa1
JM
2593 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2594 Remove [__GNUC__] condition.
2595 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2596 condition to just [__USE_ISOC99].
2597 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2598
1a20cb20
L
25992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 [BZ #14200]
2602 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2603 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2604 defined.
2605 (_POSIX_V6_ILP32_OFF32): Likewise.
2606 (_XBS5_ILP32_OFF32): Likewise.
2607 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2608 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2609
751b85f7
SP
26102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2611
7490eb81
SP
2612 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2613
751b85f7
SP
2614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2615 doubles __mpexp_twomm1. Adjust usage.
2616 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2617 Remove.
2618
988197f0
AS
26192013-01-10 Andreas Schwab <schwab@suse.de>
2620
2621 [BZ #14964]
2622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2623 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2624
e83d7298
DM
26252013-01-09 David S. Miller <davem@davemloft.net>
2626
034ed64b 2627 [BZ #15003]
e83d7298
DM
2628 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2629 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2630 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2631 TCP_FASTOPEN): Define.
2632 (tcp_repair_opt): New structure.
2633 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2634 enum values.
2635 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2636 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2637 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2638 (tcp_cookie_transactions): New structure.
2639
d5e0b9bd
AB
26402013-01-09 Anton Blanchard <anton@samba.org>
2641
2642 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2646
0c07e3ea
JM
26472013-01-09 Joseph Myers <joseph@codesourcery.com>
2648
2649 * include/features.h (__USE_ANSI): Remove.
2650
232f7002
RM
26512013-01-09 Roland McGrath <roland@hack.frob.com>
2652
ad98e30c
RM
2653 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2654
232f7002
RM
2655 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2656
950c99ca
SP
26572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2658
b5792741
SP
2659 * sysdeps/s390/fpu/libm-test-ulps: Update.
2660
47cf2278
SP
2661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2662
950c99ca
SP
2663 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2664 (__acr): Likewise.
2665 (__cpy): Likewise.
2666 (norm): Likewise.
2667 (denorm): Likewise.
2668 (__mp_dbl): Likewise.
2669 (__dbl_mp): Likewise.
2670 (add_magnitudes): Likewise.
2671 (sub_magnitudes): Likewise.
2672 (__add): Likewise.
2673 (__sub): Likewise.
2674 (__mul): Likewise.
2675 (__inv): Likewise.
2676 (__dvd): Likewise.
2677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2678 (__acr): Likewise.
2679 (__cpy): Likewise.
2680 (norm): Likewise.
2681 (denorm): Likewise.
2682 (__mp_dbl): Likewise.
2683 (__dbl_mp): Likewise.
2684 (add_magnitudes): Likewise.
2685 (sub_magnitudes): Likewise.
2686 (__add): Likewise.
2687 (__sub): Likewise.
2688 (__mul): Likewise.
2689 (__inv): Likewise.
2690 (__dvd): Likewise.
2691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2692 (__acr): Likewise.
2693 (__cpy): Likewise.
2694 (norm): Likewise.
2695 (denorm): Likewise.
2696 (__mp_dbl): Likewise.
2697 (__dbl_mp): Likewise.
2698 (add_magnitudes): Likewise.
2699 (sub_magnitudes): Likewise.
2700 (__add): Likewise.
2701 (__sub): Likewise.
2702 (__mul): Likewise.
2703 (__inv): Likewise.
2704 (__dvd): Likewise.
2705
eede9df9
JM
27062013-01-08 Joseph Myers <joseph@codesourcery.com>
2707
2708 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2709 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2710 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2711 2 && __USE_EXTERN_INLINES]: Likewise.
2712
c40ea3d9
AJ
27132013-01-08 Andreas Jaeger <aj@suse.de>
2714
2715 [BZ# 14985]
2716 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2717 Remove.
2718 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2719 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2720
2ccdea26
AB
27212013-01-07 Anton Blanchard <anton@samba.org>
2722
2723 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2724 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2725 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2726 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2727 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2728 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2729 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2730 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2733 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2736 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2738 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2743 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2746 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2748 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2750 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2752 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2753 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2755 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2756 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2761 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2766
a9708fed
JM
27672013-01-07 Joseph Myers <joseph@codesourcery.com>
2768
375607b9
JM
2769 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2770 (__MALLOC_PMT): Likewise.
2771 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2772 [__GNUC__], only on [_LIBC].
2773 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2774 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2775 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2776 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2777 forward declaration.
2778 (realloc_hook_ini): Likewise.
2779 (memalign_hook_ini): Likewise.
2780 (__libc_memalign): Do not use __MALLOC_PMT in variable
2781 declaration.
2782 (__libc_valloc): Likewise.
2783 (__libc_pvalloc): Likewise.
2784 (__libc_calloc): Likewise.
2785 (__posix_memalign): Likewise.
2786
a9708fed
JM
2787 [BZ #14996]
2788 * math/s_casinh.c: Include <float.h>.
2789 (__casinh): Do not do computation with squaring and square root
2790 for large arguments.
2791 * math/s_casinhf.c: Include <float.h>.
2792 (__casinhf): Do not do computation with squaring and square root
2793 for large arguments.
2794 * math/s_casinhl.c: Include <float.h>.
2795 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2796 (__casinhl): Do not do computation with squaring and square root
2797 for large arguments.
2798 * math/libm-test.inc (casin_test): Add more tests.
2799 (casinh_test): Likewise.
2800 * sysdeps/i386/fpu/libm-test-ulps: Update.
2801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2802
afec409a
L
28032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2806 (__x86_64_raw_data_cache_size): Likewise.
2807 (__x86_64_data_cache_size_half): Likewise.
2808 (__x86_64_raw_data_cache_size_half): Likewise.
2809 (__x86_64_shared_cache_size): Likewise.
2810 (__x86_64_raw_shared_cache_size): Likewise.
2811 (__x86_64_shared_cache_size_half): Likewise.
2812 (__x86_64_raw_shared_cache_size_half): Likewise.
2813 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2814 to ...
2815 (__x86_data_cache_size): This.
2816 (__x86_64_raw_data_cache_size): Renamed to ...
2817 (__x86_raw_data_cache_size): This.
2818 (__x86_64_data_cache_size_half): Renamed to ...
2819 (__x86_data_cache_size_half): This.
2820 (__x86_64_raw_data_cache_size_half): Renamed to ...
2821 (__x86_raw_data_cache_size_half): This.
2822 (__x86_64_shared_cache_size): Renamed to ...
2823 (__x86_shared_cache_size): This.
2824 (__x86_64_raw_shared_cache_size): Renamed to ...
2825 (__x86_raw_shared_cache_size): This.
2826 (__x86_64_shared_cache_size_half): Renamed to ...
2827 (__x86_shared_cache_size_half): This.
2828 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2829 (__x86_raw_shared_cache_size_half): This.
2830 * sysdeps/x86_64/memcpy.S: Updated.
2831 * sysdeps/x86_64/memset.S: Likewise.
2832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2834 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2835
0b3986d0
DM
28362013-01-04 David S. Miller <davem@davemloft.net>
2837
2838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2839
e47686e9
AS
28402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2841
d643bac1
AS
2842 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2843 1 to avoid redefinition warning.
2844 (__USE_GNU): Don't define.
2845 (init_signaling_nan): Protoize.
2846
e47686e9
AS
2847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2848
b18decba
SP
28492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2850
fffb407f
SP
2851 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2853 (__cpymn): Likewise.
2854 (norm): Remove commented code.
2855 (denorm): Likewise.
2856 (__mp_dbl): Likewise.
2857 (__inv): Likewise.
2858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2859 (__cpymn): Likewise.
2860 (norm): Remove commented code.
2861 (denorm): Likewise.
2862 (__mp_dbl): Likewise.
2863 (__inv): Likewise.
2864
b18decba
SP
2865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2866 mp_no value for 1.0 and 2.0.
2867 (norm): Use RADIXI instead of radixi.d.
2868 (denorm): Likewise.
2869 (__mul): Use 0.0 instead of zero.d.
2870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2871 mp_no value for 1.0 and 2.0.
2872 (norm): Use RADIXI instead of radixi.d.
2873 (denorm): Likewise.
2874 (__mul): Use 0.0 instead of zero.d.
2875
cdc1c96f
JM
28762013-01-04 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #14994]
2879 * math/s_casinh.c (__casinh): Reduce finite argument to first
2880 quadrant then set signs of results at the end.
2881 * math/s_casinhf.c (__casinhf): Likewise.
2882 * math/s_casinhl.c (__casinhl): Likewise.
2883 * math/libm-test.inc (casin_test): Add more tests.
2884 (casinh_test): Likewise.
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2887
302913e1
SP
28882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2889
6420d207
SP
2890 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2891
a9e48ab4
SP
2892 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2893
b7837264
SP
2894 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2895 declarations.
2896 (denorm): Likewise.
2897 (__mp_dbl): Likewise.
2898 (__inv): Likewise.
2899
f8af25d2
SP
2900 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2901 and adjust the header comment.
2902
302913e1
SP
2903 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2904 variable name from declaration.
2905
5d7dd1ca
L
29062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2909 Initialize COMMON_CPUID_INDEX_7 element.
2910 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2911 (CPUID_RTM): Likewise.
2912 (HAS_RTM): Likewise.
2913 (COMMON_CPUID_INDEX_7): New enum.
2914
2f5f40f4
AS
29152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2916
2917 [BZ #14981]
2918 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2919 size is zero, record memory as freed.
2920
4056f4a0
AJ
29212013-01-03 Andreas Jaeger <aj@suse.de>
2922
2923 * po/ia.po: Add new Interlingua translation.
2924
ab15736f 29252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2926
2927 * locale/programs/localedef.c: Fix description of '--posix' flag.
2928
568035b7
JM
29292013-01-02 Joseph Myers <joseph@codesourcery.com>
2930
e6898b8d
JM
2931 * NEWS: Update dates in second copyright notice.
2932 * README: Update copyright dates in example.
2933 * manual/libc.texinfo: Update copyright dates.
2934 * scripts/test-installation.pl: Update copyright date in --version
2935 output.
2936
0e2f9562
JM
2937 * hurd/ctty-input.c: Fix copyright notice formatting.
2938 * hurd/ctty-output.c: Likewise.
2939 * hurd/dtable.c: Likewise.
2940 * hurd/hurd-raise.c: Likewise.
2941 * hurd/hurdprio.c: Likewise.
2942 * hurd/msgportdemux.c: Likewise.
2943 * misc/sys/file.h: Likewise.
2944 * misc/sys/ioctl.h: Likewise.
2945 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2946 * sysdeps/mach/hurd/chdir.c: Likewise.
2947 * sysdeps/mach/hurd/fchdir.c: Likewise.
2948 * sysdeps/mach/hurd/rename.c: Likewise.
2949 * sysdeps/mach/hurd/rmdir.c: Likewise.
2950 * sysdeps/mach/hurd/seekdir.c: Likewise.
2951 * sysdeps/mach/hurd/setsid.c: Likewise.
2952 * sysdeps/posix/wait3.c: Likewise.
2953
568035b7
JM
2954 * All files with FSF copyright notices: Update copyright dates
2955 using scripts/update-copyrights.
2956 * intl/plural.c: Regenerated.
2957 * locale/programs/charmap-kw.h: Likewise.
2958 * locale/programs/locfile-kw.h: Likewise.
2959
da08f647
SP
29602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
0f5477af
SP
2962 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2963 four values.
2964
44e0d4c2
SP
2965 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2966 calculation loop and add branch prediction.
2967
4d55b4e5
SP
2968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2969 check access beyond bounds of m1np.
2970
da08f647
SP
2971 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2972 MPTWO.
2973 (__inv): Remove local variable MPTWO to use the global
2974 constant.
2975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2977 variable MPTWO.
2978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2979 MP3HALFS static const.
2980
8e051029
DM
29812013-01-01 David S. Miller <davem@davemloft.net>
2982
2983 * po/ca.po: Update from translation team.
2984
f4cf5f2d
JM
29852013-01-01 Joseph Myers <joseph@codesourcery.com>
2986
2987 * scripts/update-copyrights: New file.
2988 * Makeconfig: Reformat copyright notice.
2989 * ctype/ctype.h: Likewise.
2990 * debug/swprintf_chk.c: Likewise.
2991 * elf/dl-cache.c: Likewise.
2992 * elf/dl-debug.c: Likewise.
2993 * elf/dl-object.c: Likewise.
2994 * grp/initgroups.c: Likewise.
2995 * hurd/Makefile: Likewise.
2996 * hurd/hurd/signal.h: Likewise.
2997 * hurd/hurdfault.c: Likewise.
2998 * hurd/hurdioctl.c: Likewise.
2999 * hurd/hurdlookup.c: Likewise.
3000 * hurd/intr-msg.c: Likewise.
3001 * iconv/gconv_open.c: Likewise.
3002 * libio/swprintf.c: Likewise.
3003 * locale/lc-ctype.c: Likewise.
3004 * locale/nl_langinfo.c: Likewise.
3005 * mach/Machrules: Likewise.
3006 * mach/Makefile: Likewise.
3007 * malloc/obstack.h: Likewise.
3008 * manual/Makefile: Likewise.
3009 * manual/tsort.awk: Likewise.
3010 * misc/bits/stab.def: Likewise.
3011 * nis/nis_print_group_entry.c: Likewise.
3012 * nis/nis_table.c: Likewise.
3013 * nis/nss_compat/compat-pwd.c: Likewise.
3014 * nis/nss_compat/compat-spwd.c: Likewise.
3015 * po/Makefile: Likewise.
3016 * posix/fnmatch.c: Likewise.
3017 * posix/regex.h: Likewise.
3018 * resolv/Makefile: Likewise.
3019 * resolv/nss_dns/dns-network.c: Likewise.
3020 * resolv/res_hconf.c: Likewise.
3021 * scripts/gen-sorted.awk: Likewise.
3022 * soft-fp/soft-fp.h: Likewise.
3023 * stdio-common/printf.h: Likewise.
3024 * stdlib/monetary.h: Likewise.
3025 * stdlib/random.c: Likewise.
3026 * stdlib/random_r.c: Likewise.
3027 * sysdeps/generic/Makefile: Likewise.
3028 * sysdeps/gnu/Makefile: Likewise.
3029 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3052 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3053 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3054 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3055 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3056 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3057 * sysdeps/mach/hurd/errnos.awk: Likewise.
3058 * sysdeps/mach/hurd/fork.c: Likewise.
3059 * sysdeps/mach/hurd/getcwd.c: Likewise.
3060 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3061 * sysdeps/mach/hurd/mmap.c: Likewise.
3062 * sysdeps/mach/hurd/utimes.c: Likewise.
3063 * sysdeps/mach/hurd/xmknod.c: Likewise.
3064 * sysdeps/posix/profil.c: Likewise.
3065 * sysdeps/posix/readdir_r.c: Likewise.
3066 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3067 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3068 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3069 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3073 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3075 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3077 * sysdeps/pthread/lio_listio.c: Likewise.
3078 * sysdeps/sparc/dl-procinfo.h: Likewise.
3079 * sysdeps/unix/i386/sysdep.S: Likewise.
3080 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3081 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3082 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3083 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3085 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3086 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3087 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3088 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3089 * sysdeps/wordsize-32/divdi3.c: Likewise.
3090 * time/sys/time.h: Likewise.
3091 * wcsmbs/Makefile: Likewise.
3092
0549fbba
DM
30932013-01-01 David S. Miller <davem@davemloft.net>
3094
a141f1a7
DM
3095 * po/fr.po: Update from translation team.
3096
0549fbba
DM
3097 * catgets/gencat.c: Update copyright year.
3098 * csu/version.c: Likewise.
3099 * debug/catchsegv.sh: Likewise.
3100 * debug/pcprofiledump.c: Likewise.
3101 * debug/xtrace.sh: Likewise.
3102 * elf/ldconfig.c: Likewise.
3103 * elf/ldd.bash.in: Likewise.
3104 * elf/pldd.c: Likewise.
3105 * elf/sotruss.ksh: Likewise.
3106 * elf/sprof.c: Likewise.
3107 * iconv/iconv_prog.c: Likewise.
3108 * iconv/iconvconfig.c: Likewise.
3109 * locale/programs/locale.c: Likewise.
3110 * locale/programs/localedef.c: Likewise.
3111 * login/programs/pt_chown.c: Likewise.
3112 * malloc/memusage.sh: Likewise.
3113 * malloc/memusagestat.c: Likewise.
3114 * malloc/mtrace.pl: Likewise.
3115 * nscd/nscd.c: Likewise.
3116 * nss/getent.c: Likewise.
3117 * nss/makedb.c: Likewise.
3118 * posix/getconf.c: Likewise.
3119
18ea052c
SP
31202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3121
3122 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3123 numbers.
3124
9c89fca6
MF
31252012-12-30 Mike Frysinger <vapier@gentoo.org>
3126
3127 * math/bits/mathcalls.h (modf): Use __nonnull.
3128
085ec079
SP
31292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3130
3131 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3132 (split): Use macro CN instead of the bare value.
3133 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3134 could be used.
3135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3136 instead of the bare value.
3137 (power1): Likewise.
3138
6d9f97e1
SP
31392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3140
d63f73be
SP
3141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3142 __ATAN_TWOM.
3143 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3144
6d9f97e1
SP
3145 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3146 their values.
3147 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3149 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3150 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3151
4c4febf5
AJ
31522012-12-28 Andreas Jaeger <aj@suse.de>
3153
af5843ef
AJ
3154 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3155 values are from Linux 3.7.
3156
4c4febf5
AJ
3157 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3158 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3159
99136f82
SP
31602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3161
2f216c3c 3162 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3163 TRUE case.
3164
99136f82
SP
3165 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3166 (norm): Likewise.
3167 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3168 variables with preprocessor constants.
3169 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3170 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3171 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3172
7fffbdff
BH
31732012-12-27 Bruno Haible <bruno@clisp.org>
3174
3175 [BZ #14317]
3176 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3177 only if needed.
3178
b76eb5f0
SP
31792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
31a7fe5c
SP
3181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3182 and use variable directly.
3183 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3184
b76eb5f0
SP
3185 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3186 MPONE.
3187 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3189 variable MPONE.
3190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3192 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3193 include directive. Remove local variable MPONE.
3194 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3195 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3197
2c8bfe7d
DM
31982012-12-25 David S. Miller <davem@davemloft.net>
3199
3200 * version.h (RELEASE): Set to "development".
3201 (VERSION): Set to "2.17.90".
3202 * NEWS: Add 2.18 section.
3203
147d03b0
DM
32042012-12-21 David S. Miller <davem@davemloft.net>
3205
3206 * po/hr.po: Update from translation team.
3207
a8ebb2b9
AK
32082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3209
3210 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3211
95b4f1b6
SE
32122012-12-19 Steve Ellcey <sellcey@mips.com>
3213
b2d94007 3214 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3215
cedb2a90
MS
32162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3217
3218 * manual/contrib.texi (Contributors): Spelling correction.
3219
bbf527d6
DM
32202012-12-15 David S. Miller <davem@davemloft.net>
3221
3222 * po/ru.po: Update from translation team.
3223
bc38c906
DM
32242012-12-13 David S. Miller <davem@davemloft.net>
3225
85429b1a
DM
3226 * NEWS: Mention IFUNC testsuite enhancements.
3227
d283e353
DM
3228 * po/pl.po: Update from translation team.
3229 * po/bg.po: Likewise.
3230
bc38c906
DM
3231 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3232 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3233
a181b0d7
DM
32342012-12-11 David S. Miller <davem@davemloft.net>
3235
4641d57e
DM
3236 * po/sv.po: Update from translation team.
3237
f7bc6495
DM
3238 * po/vi.po: Update from translation team.
3239
6fc9048f
DM
3240 * po/cs.po: Update from translation team.
3241
a181b0d7
DM
3242 * po/de.po: Update from translation team.
3243 * po/eo.po: Likewise.
3244 * po/nl.po: Likewise.
3245
f70bfe80
SP
32462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3247
3c8b4190
SP
3248 [BZ #14246]
3249 * manual/argp.texi (Argp Helper Functions): Move node to follow
3250 Argp Parsing State.
3251
f70bfe80
SP
3252 [BZ #14872]
3253 * manual/conf.texi (Limits on File System Capacity): Mention if
3254 terminating null is included in the max size.
3255
188f0adf
AJ
32562012-12-10 Andreas Jaeger <aj@suse.de>
3257
3258 * po/cs.po: Update from translation team.
3259
56e7d3ad
SP
32602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3261
3262 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3263 void pointer and cast to uintptr_t.
3264 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3265 path.
3266 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3267 * sysdeps/s390/s390-64/memset.S: Likewise.
3268
76f2d2ea 32692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3270
3271 [BZ #14833]
3272 * menual/message.texi (Message Translation): Fix typos.
3273 (Helper programs for gettext): Likewise.
3274
67cbf9a2
AS
32752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3276
3277 [BZ #14898]
3278 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3279 Change to -1.
3280
682d0e9a
DM
32812012-12-07 David S. Miller <davem@davemloft.net>
3282
3283 * po/libc.pot: Update.
3284
573cd484
RH
32852012-12-07 Richard Henderson <rth@redhat.com>
3286
7e9da188 3287 [BZ #10114]
573cd484
RH
3288 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3289 normal/normal case to before the switch.
3290 (_FP_DIV): Likewise.
3291
e933a943
MF
32922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3293 Mike Frysinger <vapier@gentoo.org>
3294
3295 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3296 check for __NR_fadvise64_64.
3297
82123268
CM
32982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3299
3300 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3301 0, not just to plain "0" as a statement.
3302 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3303 with cw.
3304
d9814526
JM
33052012-12-06 Joseph Myers <joseph@codesourcery.com>
3306
3307 * NEWS: Use sourceware.org in Bugzilla URL.
3308
7728c574
SP
33092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3310
f16946dd
SP
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3312 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3313
5704bbcb
SP
3314 * stdio-common/tst-put-error.c (do_test): Add newline to the
3315 padded test to ensure flush.
3316
17aa0516
JL
33172012-12-05 Jeff Law <law@redhat.com>
3318
3319 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3320
363313b5
JM
33212012-12-05 Joseph Myers <joseph@codesourcery.com>
3322
effbd42a
JM
3323 * README: Don't refer to ports add-on as distributed separately.
3324 Mention AArch64 in list of systems supported in the ports add-on.
3325
87600365
JM
3326 * LICENSES: Add more non-FSF copyright and license notices.
3327
a0d7066a
JM
3328 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3329 ((unused)).
3330
66ca5a5b
JM
3331 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3332
363313b5
JM
3333 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3334 10000 as width of padded output.
3335
b37984ad
JM
33362012-12-04 Joseph Myers <joseph@codesourcery.com>
3337
9003570a
JM
3338 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3339
b37984ad
JM
3340 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3341 variable LX with __attribute__ ((unused)).
3342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3343 Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3347 with __attribute__ ((unused)).
3348
c8df52ec
DM
33492012-12-04 David S. Miller <davem@abraco.davemloft.net>
3350
3351 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3352
b3b099af
JM
33532012-12-04 Joseph Myers <joseph@codesourcery.com>
3354
c33aa6e3
JM
3355 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3356 (CFLAGS-nldbl-acos.c): New variable.
3357 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3358 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3359 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3360 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3361 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3362 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3363 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3364 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3365 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3366 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3367 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3368 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3369 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3370 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3371 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3372 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3373 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3374 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3375 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3376 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3377 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3378 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3379 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3380 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3381 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3382 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3383 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3384 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3385 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3386 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3387 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3388 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3389 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3390 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3391 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3392 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3393 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3394 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3395 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3396 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3397 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3398 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3399 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3400 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3401 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3402 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3403 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3404 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3405 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3406 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3407 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3408 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3409 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3410 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3411 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3412 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3413 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3414 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3415 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3416 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3417 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3418 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3419 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3420 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3421 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3422 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3423 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3424 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3425 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3426 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3427 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3428 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3429 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3430 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3431 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3432 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3433 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3434 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3435 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3436 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3437 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3438 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3439 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3440 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3441 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3442 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3443 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3444 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3445 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3446 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3447 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3448 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3449 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3450 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3451 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3452 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3453 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3454
20f0018d
JM
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3456 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3457
b3b099af
JM
3458 [BZ #14914]
3459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3460 whole low double instead of just low 47 bits when splitting values
3461 into two parts.
3462
029264d1
AM
34632012-12-03 Allan McRae <allan@archlinux.org>
3464
3465 * manual/stdio.texi (Predefined Printf Handlers): Remove
3466 @hsep and @vsep usage.
3467
c9d6789e
MF
34682012-12-03 Mike Frysinger <vapier@gentoo.org>
3469
3470 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3471 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3472
4b7634a5
JL
34732012-12-03 Jeff Law <law@redhat.com>
3474
3475 * time/sys/time.h (settimeofday): Do not mark TV argument
3476 as __nonnull.
3477
eb6cbd24
MF
34782012-12-01 Mike Frysinger <vapier@gentoo.org>
3479
3480 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3481 when currently writing and seek to current position when not.
3482 * libio/Makefile (tests): Remove bug-fclose1.
3483 * libio/bug-fclose1.c: Delete.
3484
f638872a
JM
34852012-12-01 Joseph Myers <joseph@codesourcery.com>
3486
3487 * manual/arith.texi (feenableexcept): Fix typo.
3488 (fedisableexcept): Likewise.
3489
48085d14
RM
34902012-11-30 Roland McGrath <roland@hack.frob.com>
3491
3492 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3493 second, differently-typed declaration, rather than a cast.
3494
1a538b9f
SP
34952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3496
3497 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3498 * include/rpc/svc.h: ... here.
3499
d07f2ff1 35002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3501
3502 [BZ #13013]
3503 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3504 depending n and resplen2 to catch cases where answer
3505 equals answerp2.
3506
c93ec1f0
CD
35072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3508
3509 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3510 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3511
37db69de
MF
35122012-11-29 Mike Frysinger <vapier@gentoo.org>
3513
3514 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3515
e10c4e4f
RM
35162012-11-29 Roland McGrath <roland@hack.frob.com>
3517
3518 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3519
2af1b328
JL
35202012-11-28 Jeff Law <law@redhat.com>
3521
3522 [BZ #13761]
3523 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3524 dataset_temporary. Track alloca usage into alloca_used.
3525 If dataset is large allocate and release it via malloc/free.
3526
111db5b1
FW
35272012-06-04 Florian Weimer <fweimer@redhat.com>
3528
f06cc227 3529 [BZ #14197]
111db5b1
FW
3530 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3531
dd694abd
DM
35322012-11-28 David S. Miller <davem@davemloft.net>
3533
3534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3535
9984dd01
JM
35362012-11-28 Joseph Myers <joseph@codesourcery.com>
3537
3538 [BZ #14803]
3539 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3540 of pi/2 rounded to nearest to 64 bits.
3541 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3542 nearest to 64 bits.
3543 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3544 bits.
3545
14bc93a9
JL
35462012-11-28 Jeff Law <law@redhat.com>
3547 Martin Osvald <mosvald@redhat.com>
3548
3549 [BZ #14889]
3550 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3551 * sunrpc/svc.c: Include time.h.
3552 (__svc_accept_failed): New function.
3553 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3554 any reason other than EINTR, call __svc_accept_failed.
3555 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3556 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3557
e3c6aa3a
AS
35582012-11-28 Andreas Schwab <schwab@suse.de>
3559
3560 * scripts/abilist.awk: Also handle indirect functions in .opd
3561 section.
3562
1bead169
JM
35632012-11-28 Joseph Myers <joseph@codesourcery.com>
3564
3565 [BZ #13881]
3566 * sysdeps/x86/fpu/powl_helper.c: New file.
3567 * sysdeps/x86/fpu/Makefile: Likewise.
3568 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3569 (p3): New object.
3570 (__ieee754_powl): Use __powl_helper for finite arguments except
3571 integer exponents below 8.
3572 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3573 (p3): New object.
3574 (__ieee754_powl): Use __powl_helper for finite arguments except
3575 integer exponents below 8.
3576 * math/libm-test.inc (pow_test): Add more tests and enable some
3577 previously disabled tests.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3580
0817d63d
SP
35812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3582 Carlos O'Donell <carlos_odonell@mentor.com>
3583
3584 * nss/makedb.c (is_prime): Assert that input is odd and greater
3585 than 4. Note that fact in a comment too.
3586 (next_prime): Add 4 to input.
3587
de2fd463
SP
35882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 [BZ #11741]
3591 * libio/Makefile (tests): Add test case tst-fwrite-error.
3592 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3593 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3594 * libio/tst-fwrite-error.c: New test case.
3595
c515fb51
L
35962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3599 before casting to void *.
3600 * include/libc-internal.h (__pointer_type): New macro.
3601 (__integer_if_pointer_type_sub): Likewise.
3602 (__integer_if_pointer_type): Likewise.
3603 (cast_to_integer): Likewise.
3604 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3605 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3606 before casting to atomic64_t.
3607 (atomic_exchange_acq): Likewise.
3608 (__arch_exchange_and_add_body): Likewise.
3609 (__arch_add_body): Likewise.
3610 (atomic_add_negative): Likewise.
3611 (atomic_add_zero): Likewise.
3612
4cf77aa9
JM
36132012-11-26 Joseph Myers <joseph@codesourcery.com>
3614
3615 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3616 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3617 (add_fdes): Likewise.
3618 (linear_search_fdes): Likewise.
3619 (binary_search_unencoded_fdes): Likewise.
3620
d260b3b4
AS
36212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3622
3623 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3624
67060746
AC
36252012-11-24 Adam Conrad <adconrad@0c3.net>
3626
3627 * configure.in: Autodetect C++ header directories.
3628 * configure: Regenerated.
3629
800938a1
MF
36302012-11-23 Mike Frysinger <vapier@gentoo.org>
3631
3632 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3633
4e6e34e6
AS
36342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3635
3636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3637
7c7feb47
JM
36382012-11-22 Joseph Myers <joseph@codesourcery.com>
3639
7184dcdf
JM
3640 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3641 LDBL_MANT_DIG == 106]: Disable some tests.
3642 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3643 Likewise.
3644 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3645 Likewise.
3646
0a42601f
JM
3647 [BZ #14871]
3648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3649 input for small inputs. Return +/- pi/2 for large inputs.
3650 * math/libm-test.inc (atan_test): Add more tests.
3651
79c9b9fe
JM
3652 * sysdeps/generic/unwind-dw2-fde-glibc.c
3653 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3654 __attribute__ ((unused)).
3655
c60d3bf2
JM
3656 [BZ #14645]
3657 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3658 x * y if x and y are nonzero and z is zero.
3659
ef1e0867
JM
3660 [BZ #14811]
3661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3662 nonzero exponents with absolute value below 0x1p-117 to +/-
3663 0x1p-117.
3664
1468ded3
JM
3665 [BZ #14869]
3666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3667 up arguments below 2**-450, not just those below 2**-500.
3668 * math/libm-test.inc (hypot_test): Add another test.
3669
8e27e3cc
JM
3670 [BZ #14868]
3671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3672 Return a+b for ratio over 2**120, not 2**60.
3673 * math/libm-test.inc (hypot_test): Add another test.
3674
c9c0279b
JM
3675 * math/libm-test.inc (clog_test): Use
3676 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3677 (clog10_test): Likewise.
3678
7c7feb47
JM
3679 [BZ #6778]
3680 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3681
fff1530e
AS
36822012-11-22 Andreas Schwab <schwab@suse.de>
3683
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685
94558d30
PT
36862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3687
3688 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3689 printf output with newline.
3690
7e1be741
L
36912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3692
6bfea974
L
3693 [BZ #14865]
3694 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3695 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3696 -z nodlopen, -z initfirst and -z execstack support.
3697 * configure: Regenerated.
3698
7e1be741
L
3699 * elf/elf.h (DF_1_NODIRECT): New macro.
3700 (DF_1_IGNMULDEF): Likewise.
3701 (DF_1_NOKSYMS): Likewise.
3702 (DF_1_NOHDR): Likewise.
3703 (DF_1_EDITED): Likewise.
3704 (DF_1_NORELOC): Likewise.
3705 (DF_1_SYMINTPOSE): Likewise.
3706 (DF_1_GLOBAUDIT): Likewise.
3707 (DF_1_SINGLETON): Likewise.
3708 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3709 DT_1_SUPPORTED_MASK bits.
3710 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3711
105ce2ce
CD
37122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3713
3714 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3715
123be9de
TS
37162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3717
d072f3f7
TS
3718 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3719 macro.
3720
123be9de
TS
3721 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3722 (sendmmsg): Move declarations...
3723 * socket/sys/socket.h: ... here.
3724 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3725 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3726 include it from...
3727 * socket/recvmmsg.c: ... this new file.
3728 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3729 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3730 definition of __sendmmsg hidden.
3731 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3732 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3733 Move ENOSYS stub into and include it from...
3734 * socket/sendmmsg.c: ... this new file.
3735 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3736 (sysdep_routines): Move recvmmsg and sendmmsg...
3737 * socket/Makefile (routines): ... here.
3738 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3739 (GLIBC_PRIVATE): Add __sendmmsg.
3740 * include/sys/socket.h (__sendmmsg): Add declarations.
3741 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3742 sendmmsg.
3743
cf9a5d18
JM
37442012-11-20 Joseph Myers <joseph@codesourcery.com>
3745
3746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3747 variable I1 with __attribute__ ((unused)).
3748 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3749
ecd4caf9
JM
37502012-11-19 Joseph Myers <joseph@codesourcery.com>
3751
be14d48f
JM
3752 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3753 DUMMY variables with __attribute__ ((unused)).
3754
ecd4caf9
JM
3755 * bits/byteswap.h: Include <bits/types.h>.
3756 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3757
986cab95
PT
37582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3759
3760 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3761 string_t. Do not manually set errno.
3762 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3763 length with __strnlen. Make sure to both set errno and return it on
3764 failure.
3765
6d33cc9d
DM
37662012-11-19 David S. Miller <davem@davemloft.net>
3767
3768 With help from Joseph Myers.
3769 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3770 very large arguments properly.
3771 * math/libm-test.inc (atan_test): New tests.
3772 (atan2_test): New tests.
3773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3775
ee663277
JM
37762012-11-19 Joseph Myers <joseph@codesourcery.com>
3777
877f2d8e
JM
3778 [BZ #14856]
3779 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3780 Define to 3.
3781
116fc08a
JM
3782 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3783 [POSIX] (EADDRNOTAVAIL): Likewise.
3784 [POSIX] (EAFNOSUPPORT): Likewise.
3785 [POSIX] (EALREADY): Likewise.
3786 [POSIX] (ECONNABORTED): Likewise.
3787 [POSIX] (ECONNREFUSED): Likewise.
3788 [POSIX] (ECONNRESET): Likewise.
3789 [POSIX] (EDESTADDRREQ): Likewise.
3790 [POSIX] (EDQUOT): Likewise.
3791 [POSIX] (EHOSTUNREACH): Likewise.
3792 [POSIX] (EIDRM): Likewise.
3793 [POSIX] (EISCONN): Likewise.
3794 [POSIX] (ELOOP): Likewise.
3795 [POSIX] (EMULTIHOP): Likewise.
3796 [POSIX] (ENETDOWN): Likewise.
3797 [POSIX] (ENETUNREACH): Likewise.
3798 [POSIX] (ENOBUFS): Likewise.
3799 [POSIX] (ENODATA): Likewise.
3800 [POSIX] (ENOLINK): Likewise.
3801 [POSIX] (ENOMSG): Likewise.
3802 [POSIX] (ENOPROTOOPT): Likewise.
3803 [POSIX] (ENOSR): Likewise.
3804 [POSIX] (ENOSTR): Likewise.
3805 [POSIX] (ENOTCONN): Likewise.
3806 [POSIX] (ENOTSOCK): Likewise.
3807 [POSIX] (EOPNOTSUPP): Likewise.
3808 [POSIX] (EOVERFLOW): Likewise.
3809 [POSIX] (EPROTO): Likewise.
3810 [POSIX] (EPROTONOSUPPORT): Likewise.
3811 [POSIX] (EPROTOTYPE): Likewise.
3812 [POSIX] (ESTALE): Likewise.
3813 [POSIX] (ETIME): Likewise.
3814 [POSIX] (ETXTBSY): Likewise.
3815 [POSIX] (EWOULDBLOCK): Likewise.
3816 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3817 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3818 [POSIX] (SEEK_CUR): Likewise.
3819 [POSIX] (SEEK_END): Likewise.
3820 [POSIX || UNIX98] (mode_t): Do not require.
3821 [POSIX] (off_t): Likewise.
3822 [POSIX] (pid_t): Likewise.
3823 [POSIX] (sys/stat.h): Do not allow header.
3824 [POSIX] (unistd.h): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3826 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3828 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3829 require.
3830 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3831 sigevent): Specify elements.
3832 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3833 entry.
3834 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3835 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3836
a483863f
JM
3837 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3838 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3839 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3840 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3841 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3842 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3843 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3844 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3846 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3847 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3848 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3849 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3851 Likewise.
3852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3853 Likewise.
3854 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3855 Likewise.
3856 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3857 Likewise.
3858 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3859 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3860 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3861 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3863 Specify lower bound on value.
3864 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3870 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3871 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3872 value.
3873 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3874 as optional.
3875 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3891 entry.
3892 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3893 optional.
3894 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3900 Likewise.
3901 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3906 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3908 as optional.
3909 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3913 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3914 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3915 specify as optional.
3916 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3919 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3920 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3921 [XPG3] (NL_LANGMAX): Likewise.
3922 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3923 [POSIX || XPG3] (NL_NMAX): Likewise.
3924 [POSIX || XPG3] (NL_SETMAX): Likewise.
3925 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3926 [XPG3] (NZERO): Likewise.
3927 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3928 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3929 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3930 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3931 (REG_ERANGE): Expect.
3932 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3933 optional-constant.
3934 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3935 Use (void) in prototype.
3936 [POSIX] (*_t): Allow.
3937 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3938 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3939 (WRDE_BADVAL): Expect.
3940
5ba924e3
JM
3941 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3942 expect.
3943 [XPG3 || XPG4] (O_RSYNC): Likewise.
3944 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3945 Likewise.
3946 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3947 [XPG3 || XPG4] (sigqueue): Likewise.
3948 [XPG3 || XPG4] (sigtimedwait): Likewise.
3949 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3950 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3951 [XPG3 || XPG4] (vsnprintf): Likewise.
3952 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3953 Likewise.
3954 [XPG3 || XPG4] (blksize_t): Likewise.
3955 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3956 Likewise.
3957 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3958 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3959 [XPG3 || XPG4] (struct itimerspec): Likewise.
3960 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3961 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3962 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3963 [XPG3 || XPG4] (clockid_t): Likewise.
3964 [XPG3 || XPG4] (timer_t): Likewise.
3965 [XPG3 || XPG4] (clock_getres): Likewise.
3966 [XPG3 || XPG4] (clock_gettime): Likewise.
3967 [XPG3 || XPG4] (clock_settime): Likewise.
3968 [XPG3 || XPG4] (nanosleep): Likewise.
3969 [XPG3 || XPG4] (timer_create): Likewise.
3970 [XPG3 || XPG4] (timer_delete): Likewise.
3971 [XPG3 || XPG4] (timer_gettime): Likewise.
3972 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3973 [XPG3 || XPG4] (timer_settime): Likewise.
3974 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3975 [XPG3 || XPG4] (getlogin_r): Likewise.
3976 [XPG3 || XPG4] (pread): Likewise.
3977 [XPG3 || XPG4] (pthread_atfork): Likewise.
3978 [XPG3 || XPG4] (pwrite): Likewise.
3979
ee663277
JM
3980 [BZ #14835]
3981 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3982 <bits/siginfo.h>.
3983
942caa16
PT
39842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3985
e19af380
PT
3986 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3987 finalizing MALLSTREAM.
3988
942caa16
PT
3989 * sysdeps/mach/hurd/syncfs.c: New file.
3990
cfde9b46
SP
39912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3992
3993 [BZ #14719]
3994 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3995 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3997 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3998 (_nss_dns_gethostbyname4_r): Likewise.
3999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4000 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4001
f6da27e5
PH
40022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4003
4004 [BZ #13763]
4005 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4006
6665d4a2
SM
40072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4008
1f51ee92
SM
4009 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4010 * elf/cache.c (print_entry): Print ",AArch64" for
4011 FLAG_AARCH64_LIB64
4012
6665d4a2
SM
4013 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4014 * elf/cache.c (print_entry): Print ",hard-float" for
4015 FLAG_ARM_LIBHF.
4016
05b227bd
DM
40172012-11-18 David S. Miller <davem@davemloft.net>
4018
4019 With help from Joseph Myers.
4020 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4021 cutoff to 2**-13.
4022 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4023 cutoff to 2**-25.
4024 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4025 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4026 small.
4027 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4028 * math/libm-test.inc (y0_test): New tests.
4029 (y1_test): New tests.
4030 * sysdeps/i386/fpu/libm-test-ulps: Update.
4031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4033
786b0b67
AS
40342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4035
4036 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4037 64-bit targets.
4038 * configure: Regenerated.
4039
8e18b86d
DM
40402012-11-17 David S. Miller <davem@davemloft.net>
4041
4042 [BZ #14811]
4043 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4044 nonzero exponents with absolute value below 0x1p-128 to +/-
4045 0x1p-128.
4046
531f1ae0
JM
40472012-11-17 Joseph Myers <joseph@codesourcery.com>
4048
12df29e2
JM
4049 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4050
150dc1a0
JM
4051 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4052
531f1ae0
JM
4053 * posix/getconf-speclist.c: New file.
4054 * posix/posix-envs.def: Likewise.
4055 * posix/confstr.c (START_ENV_GROUP): New macro.
4056 (END_ENV_GROUP): Likewise.
4057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4058 (KNOWN_PRESENT_ENV_STRING): Likewise.
4059 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4060 (UNKNOWN_ENVIRONMENT): Likewise.
4061 (confstr): Include posix-envs.def instead of handling
4062 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4063 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4064 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4065 (END_ENV_GROUP): Likewise.
4066 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4067 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4068 (UNKNOWN_ENVIRONMENT): Likewise.
4069 (__sysconf): Include posix-envs.def instead of handling associated
4070 cases directly here.
4071 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4072 preprocessing getconf-speclist.c rather than running getconf or
4073 generating empty file.
4074
a93f9cbc
PT
40752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4076
4077 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4078
d64d9f87
AL
40792012-11-16 Andrej Lajovic <natrij@gmail.com>
4080
4081 [BZ #14672]
4082 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4083
447885eb
DM
40842012-11-16 David S. Miller <davem@davemloft.net>
4085
4086 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4087 smaller than LDBL_EPSILON/2.0L, just return xm1.
4088
bcbf9830
L
40892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 * elf/tst-array1.c (init): Set constructor priority to 1000.
4092 (fini): Set destructor priority to 1000.
4093 * elf/tst-array2dep.c: Likewise.
4094
2b766585
SP
40952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4096
4097 [BZ #11741]
4098 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4099 (_IO_new_file_xsputn): Also return EOF if none of the input
4100 data was written when overflow failed.
4101 * libio/iopadn.c (_IO_padn): Likewise.
4102 * libio/iowpadn.c (_IO_wpadn): Likewise.
4103 * stdio-common/tst-put-error.c: Add copyright notice.
4104 (do_test): Add case for printing padded string.
4105 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4106 _IO_padn returned error.
4107 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4108 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4109 return EOF.
4110
b1848fde
SP
41112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4112
4113 * libio/libioP.h: Add comment note that the references to C++
4114 bits are now obsolete.
4115
2fd89785
MS
41162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4117
4118 * math/libm-test.inc (check_complex): Use asprintf.
4119
e3ea5409
JM
41202012-11-14 Joseph Myers <joseph@codesourcery.com>
4121
4122 * debug/pcprofiledump.c (print_version): Update copyright year.
4123 * malloc/memusagestat.c (print_version): Likewise.
4124
2e64d265
L
41252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4126
4127 [BZ #14831]
4128 * elf/Makefile (tests): Add tst-audit8.
4129 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4130 ($(objpfx)tst-audit8.out): New target.
4131 (tst-audit8-ENV): New variable.
4132 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4133 audit if l_reloc_result is NULL.
4134 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4135 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4136 * elf/tst-audit8.c: New file.
4137
c485e4d2
MS
41382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4139
4140 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4141 * misc/Makefile (CFLAGS-select.c): Define.
4142 * posix/Makefile (CFLAGS-pause.c): Define.
4143
3a0d900a
DM
41442012-11-13 David S. Miller <davem@davemloft.net>
4145
4146 * crypt/Makefile: Move test targets after toplevel Rules
4147 inclusion. Grab any necessary sysdep routines when linking.
4148 * crypt/md5.c (md5_process_block): Remove define, we will always
4149 name it __md5_process_block.
4150 (md5_finish_ctx): Update md5_process_block call.
4151 (md5_stream): Likewise.
4152 (md5_process_bytes): Likewise.
4153 (md5_process_block): Rename to __md5_process_block and move to ...
4154 * crypt/md5-block.c: ... here.
4155 * crypt/sha256.c (sha256_process_block): Move to ...
4156 * crypt/sha256-block.c: ... here.
4157 * crypt/sha512.c (sha512_process_block): Move to ...
4158 * crypt/sha512-block.c: ... here.
4159 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4160 path.
4161 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4162 * sysdeps/sparc/sparc64/multiarch/Makefile
4163 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4164 crypt subdir.
4165 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4167 multiarch changes.
4168 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4169 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4170 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4171 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4172 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4173 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4174 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4175 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4176 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4177 file.
4178 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4180 file.
4181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4182
8ca89318
JM
41832012-11-13 Joseph Myers <joseph@codesourcery.com>
4184
e27d476a
JM
4185 * timezone/tzselect.ksh: Update from tzcode git revision
4186 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4187 * timezone/zdump.c: Likewise.
4188 * timezone/zic.c: Likewise.
4189 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4190 in TZVERSION setting, not $(PKGVERSION).
4191 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4192 REPORT_BUGS_TO settings.
4193
8ca89318
JM
4194 [BZ #14838]
4195 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4196 macro.
4197
47594329
MS
41982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4199
4200 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4201 detection to immediately after _FP_ROUND().
4202 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4203 bits are 0.
4204
640ac3f1
DM
42052012-11-11 David S. Miller <davem@davemloft.net>
4206
4207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4208 inttypes.h
4209 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4210 __close rather than their public counterparts.
4211
3d2577bb
JM
42122012-11-10 Joseph Myers <joseph@codesourcery.com>
4213
4214 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4215 file.
4216 [UNIX98] (sem_timedwait): Do not expect.
4217 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4218 [XPG4 || UNIX98] (sockatmark): Do not expect.
4219 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4220 (clock_getcpuclockid): Do not expect.
4221 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4222 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4223 Do not expect.
4224 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4225 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4226 [UNIX98] (vwscanf): Likewise.
4227 [UNIX98] (vswscanf): Likewise.
4228
fb1ae1ee
JM
42292012-11-09 Joseph Myers <joseph@codesourcery.com>
4230
9ec6f8bd
JM
4231 * timezone/version.h: Remove file.
4232 * timezone/README: Do not refer to version.h.
4233 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4234 $(objpfx)version.h.
4235 ($(objpfx)zdump.o): Likewise.
c3f81911 4236 ($(objpfx)version.h): New target.
9ec6f8bd 4237
0aa8f8a1
JM
4238 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4239 2012i.
4240 * timezone/README: Don't mention modification to tzselect.ksh.
4241 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4242 work on unmodified tzselect.ksh. Substitute version numbers in
4243 tzselect.ksh.
4244
4e87147f
JM
4245 * Makefile (format-me): Remove.
4246 (INSTALL): Adjust indentation. Use commands directly instead of
4247 using $(format-me).
4248
8b748aed
JM
4249 * aclocal.m4 (ACX_PKGVERSION): New macro.
4250 (ACX_BUGURL): Likewise.
4251 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4252 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4253 (REPORT_BUGS_TO): Likewise.
4254 * configure: Regenerated.
4255 * config.h.in (PKGVERSION): New macro.
4256 (REPORT_BUGS_TO): Likewise.
4257 * config.make.in (PKGVERSION): New variable.
4258 (PKGVERSION_TEXI): Likewise.
4259 (REPORT_BUGS_TO): Likewise.
4260 (REPORT_BUGS_TEXI): Likewise.
4261 * Makefile (format-me): Use -I$(common-objpfx)manual.
4262 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4263 ($(common-objpfx)manual/%): New target.
4264 (manual/%): Remove target.
4265 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4266 (print_version): Use PKGVERSION.
4267 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4268 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4269 and REPORT_BUGS_TO.
4270 ($(objpfx)xtrace): Likewise.
4271 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4272 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4273 (print_version): Use PKGVERSION.
4274 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4275 (do_version): Use PKGVERSION.
4276 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4277 REPORT_BUGS_TO.
4278 (common-ldd-rewrite): Likewise.
4279 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4280 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4281 (print_version): Use PKGVERSION.
4282 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4283 * elf/pldd.c (argp_program_bug_address): Remove variable.
4284 (more_help): New function.
4285 (argp): Use more_help.
4286 (print_version): Use PKGVERSION.
4287 * elf/sln.c (main): Use PKGVERSION.
4288 (usage): Use REPORT_BUGS_TO.
4289 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4290 (top level): Use PKGVERSION.
4291 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4292 (print_version): Use PKGVERSION.
4293 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4294 (print_version): Use PKGVERSION.
4295 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4296 (print_version): Use PKGVERSION.
4297 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4298 (print_version): Use PKGVERSION.
4299 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4300 (print_version): Use PKGVERSION.
4301 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4302 (print_version): Use PKGVERSION.
4303 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4304 and BUGURL.
4305 ($(objpfx)memusage): Likewise.
4306 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4307 (do_version): Use PKGVERSION.
4308 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4309 (print_version): Use PKGVERSION.
4310 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4311 ($PKGVERSION): New variable.
4312 ($REPORT_BUGS_TO): Likewise.
4313 (usage): Use $REPORT_BUGS_TO.
4314 (top level): Use $PKGVERSION.
4315 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4316 ($(objpfx)pkgvers.texi): New rule.
4317 ($(objpfx)stamp-pkgvers): Likewise.
4318 * manual/install.texi: Include pkgvers.texi.
4319 (--with-pkgversion): Document new configure option.
4320 (--with-bugurl): Likewise.
4321 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4322 than necessarily for this particular distribution. Use
4323 REPORT_BUGS_TO for where to report bugs.
4324 * INSTALL: Regenerated.
4325 * manual/libc.texinfo: Include pkgvers.texi.
4326 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4327 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4328 (print_version): Use PKGVERSION.
4329 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4330 (print_version): Use PKGVERSION.
4331 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4332 (print_version): Use PKGVERSION.
4333 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4334 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4335 macro.
4336 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4337 (print_version): Use PKGVERSION.
4338 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4339 (print_version): Use PKGVERSION.
4340 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4341 and PKGVERSION.
4342
92e4b6a9
JM
4343 * timezone/checktab.awk: Update from tzcode 2012i.
4344 * timezone/ialloc.c: Likewise.
4345 * timezone/private.h: Likewise.
4346 * timezone/scheck.c: Likewise.
4347 * timezone/tzfile.h: Likewise.
4348 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4349 (TZVERSION): Hardcode tzcode version number.
4350 * timezone/zdump.c: Update from tzcode 2012i.
4351 * timezone/zic.c: Likewise.
4352 * timezone/version.h: New file.
4353 * timezone/README: Describe version.h. Update upstream location.
4354
9bde902c
JM
4355 [BZ #14824]
4356 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4357 (mktemp): Enable declaration.
4358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4362 Likewise.
4363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4364 Likewise.
4365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4366 Likewise.
4367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4368 Likewise.
4369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4370 Likewise.
4371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4372 Likewise.
4373
fb1ae1ee
JM
4374 [BZ #14821]
4375 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4376 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4377 for copies of such integer values.
4378 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4379 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4380
2c1adbcb
AJ
43812012-11-09 Andreas Jaeger <aj@suse.de>
4382
4383 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4384 definitions and declarations that are provided by
4385 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4386
d0f8457e
AK
43872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4388
3a235abb 4389 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4390 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4391 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4392 definition.
4393
57241e26
MS
43942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4395
4396 * elf/elf.h: Update comment before AArch64 relocations.
4397
60e8270d
DM
43982012-11-07 David S. Miller <davem@davemloft.net>
4399
4400 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4401 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4402 (__start_context): Declare.
4403 (__makecontext_ret): Delete.
4404 (__makecontext): Hook up __start_context instead of
4405 __makecontext_ret.
4406 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4407 (sysdep_routines): Add __start_context when in stdlib.
4408
0fbb0fbc
JM
44092012-11-07 Joseph Myers <joseph@codesourcery.com>
4410
4411 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4412 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4413 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4414 hardcoded "nm".
4415 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4416 (READELF): New variable. Use it instead of hardcoded "readelf".
4417
eb48db7e
L
44182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4421 * sysdeps/x86/Makefile: Here.
4422 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4423 * sysdeps/x86/tst-xmmymm.sh: This.
4424
05bcf62a
JM
44252012-11-07 Joseph Myers <joseph@codesourcery.com>
4426
c4b6cf53
JM
4427 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4428 expectations.
4429 [UNIX98] (pthread_barrier_t): Do not expect.
4430 [UNIX98] (pthread_barrierattr_t): Likewise.
4431 [UNIX98] (pthread_spinlock_t): Likewise.
4432 [UNIX98] (pthread_barrier_destroy): Likewise.
4433 [UNIX98] (pthread_barrier_init): Likewise.
4434 [UNIX98] (pthread_barrier_wait): Likewise.
4435 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4436 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4437 [UNIX98] (pthread_barrierattr_init): Likewise.
4438 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4439 [UNIX98] (pthread_getcpuclockid): Likewise.
4440 [UNIX98] (pthread_mutex_timedlock): Likewise.
4441 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4442 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4443 [UNIX98] (pthread_sigmask): Likewise.
4444 [UNIX98] (pthread_spin_destroy): Likewise.
4445 [UNIX98] (pthread_spin_init): Likewise.
4446 [UNIX98] (pthread_spin_lock): Likewise.
4447 [UNIX98] (pthread_spin_trylock): Likewise.
4448 [UNIX98] (pthread_spin_unlock): Likewise.
4449 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4450 Do not expect.
4451 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4453 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4454 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4455 [XPG3 || XPG4] (pthread_key_t): Likewise.
4456 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4457 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4458 [XPG3 || XPG4] (pthread_once_t): Likewise.
4459 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4460 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4462 [XPG3 || XPG4] (pthread_t): Likewise.
4463
cbe6e120
JM
4464 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4465 not expect.
4466 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4467
1b126443
JM
4468 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4469 Change function return type to int.
4470
b961a573
JM
4471 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4472 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4473 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4474 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4475 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4476 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4477 [!POSIX] (posix_madvise): Likewise.
4478 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4479 && !UNIX98].
4480 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4481 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4482 (mode_t): Likewise.
4483 (posix_mem_offset): Likewise.
4484 (posix_typed_mem_get_info): Likewise.
4485 (posix_typed_mem_open): Likewise.
4486
9e188909
JM
4487 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4488 Change condition to [XOPEN2K8].
4489
05bcf62a
JM
4490 * conform/conformtest.pl: Preprocess allow-header data with -x c
4491 instead of from stdin.
4492 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4493 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4494 [C99-based standards] (cerfc): Likewise.
4495 [C99-based standards] (cexp2): Likewise.
4496 [C99-based standards] (cexpm1): Likewise.
4497 [C99-based standards] (clog10): Likewise.
4498 [C99-based standards] (clog1p): Likewise.
4499 [C99-based standards] (clog2): Likewise.
4500 [C99-based standards] (clgamma): Likewise.
4501 [C99-based standards] (ctgamma): Likewise.
4502 [C99-based standards] (cerff): Likewise.
4503 [C99-based standards] (cerfcf): Likewise.
4504 [C99-based standards] (cexp2f): Likewise.
4505 [C99-based standards] (cexpm1f): Likewise.
4506 [C99-based standards] (clog10f): Likewise.
4507 [C99-based standards] (clog1pf): Likewise.
4508 [C99-based standards] (clog2f): Likewise.
4509 [C99-based standards] (clgammaf): Likewise.
4510 [C99-based standards] (ctgammaf): Likewise.
4511 [C99-based standards] (cerfl): Likewise.
4512 [C99-based standards] (cerfcl): Likewise.
4513 [C99-based standards] (cexp2l): Likewise.
4514 [C99-based standards] (cexpm1l): Likewise.
4515 [C99-based standards] (clog10l): Likewise.
4516 [C99-based standards] (clog1pl): Likewise.
4517 [C99-based standards] (clog2l): Likewise.
4518 [C99-based standards] (clgammal): Likewise.
4519 [C99-based standards] (ctgammal): Likewise.
4520 * conform/data/inttypes.h-data [C99-based standards]: Include
4521 stdint.h-data. Remove all expectations for stdint.h contents.
4522 [C99-based standards] (PRI*): Do not allow.
4523 [C99-based standards] (SCN*): Likewise.
4524 [C99-based standards] (*_t): Likewise.
4525 [C99-based-standards] (PRId8): Expect macro.
4526 [C99-based-standards] (PRIi8): Likewise.
4527 [C99-based-standards] (PRIo8): Likewise.
4528 [C99-based-standards] (PRIu8): Likewise.
4529 [C99-based-standards] (PRIx8): Likewise.
4530 [C99-based-standards] (PRIX8): Likewise.
4531 [C99-based-standards] (SCNd8): Likewise.
4532 [C99-based-standards] (SCNi8): Likewise.
4533 [C99-based-standards] (SCNo8): Likewise.
4534 [C99-based-standards] (SCNu8): Likewise.
4535 [C99-based-standards] (SCNx8): Likewise.
4536 [C99-based-standards] (PRIdLEAST8): Likewise.
4537 [C99-based-standards] (PRIiLEAST8): Likewise.
4538 [C99-based-standards] (PRIoLEAST8): Likewise.
4539 [C99-based-standards] (PRIuLEAST8): Likewise.
4540 [C99-based-standards] (PRIxLEAST8): Likewise.
4541 [C99-based-standards] (PRIXLEAST8): Likewise.
4542 [C99-based-standards] (SCNdLEAST8): Likewise.
4543 [C99-based-standards] (SCNiLEAST8): Likewise.
4544 [C99-based-standards] (SCNoLEAST8): Likewise.
4545 [C99-based-standards] (SCNuLEAST8): Likewise.
4546 [C99-based-standards] (SCNxLEAST8): Likewise.
4547 [C99-based-standards] (PRIdFAST8): Likewise.
4548 [C99-based-standards] (PRIiFAST8): Likewise.
4549 [C99-based-standards] (PRIoFAST8): Likewise.
4550 [C99-based-standards] (PRIuFAST8): Likewise.
4551 [C99-based-standards] (PRIxFAST8): Likewise.
4552 [C99-based-standards] (PRIXFAST8): Likewise.
4553 [C99-based-standards] (SCNdFAST8): Likewise.
4554 [C99-based-standards] (SCNiFAST8): Likewise.
4555 [C99-based-standards] (SCNoFAST8): Likewise.
4556 [C99-based-standards] (SCNuFAST8): Likewise.
4557 [C99-based-standards] (SCNxFAST8): Likewise.
4558 [C99-based-standards] (PRId16): Likewise.
4559 [C99-based-standards] (PRIi16): Likewise.
4560 [C99-based-standards] (PRIo16): Likewise.
4561 [C99-based-standards] (PRIu16): Likewise.
4562 [C99-based-standards] (PRIx16): Likewise.
4563 [C99-based-standards] (PRIX16): Likewise.
4564 [C99-based-standards] (SCNd16): Likewise.
4565 [C99-based-standards] (SCNi16): Likewise.
4566 [C99-based-standards] (SCNo16): Likewise.
4567 [C99-based-standards] (SCNu16): Likewise.
4568 [C99-based-standards] (SCNx16): Likewise.
4569 [C99-based-standards] (PRIdLEAST16): Likewise.
4570 [C99-based-standards] (PRIiLEAST16): Likewise.
4571 [C99-based-standards] (PRIoLEAST16): Likewise.
4572 [C99-based-standards] (PRIuLEAST16): Likewise.
4573 [C99-based-standards] (PRIxLEAST16): Likewise.
4574 [C99-based-standards] (PRIXLEAST16): Likewise.
4575 [C99-based-standards] (SCNdLEAST16): Likewise.
4576 [C99-based-standards] (SCNiLEAST16): Likewise.
4577 [C99-based-standards] (SCNoLEAST16): Likewise.
4578 [C99-based-standards] (SCNuLEAST16): Likewise.
4579 [C99-based-standards] (SCNxLEAST16): Likewise.
4580 [C99-based-standards] (PRIdFAST16): Likewise.
4581 [C99-based-standards] (PRIiFAST16): Likewise.
4582 [C99-based-standards] (PRIoFAST16): Likewise.
4583 [C99-based-standards] (PRIuFAST16): Likewise.
4584 [C99-based-standards] (PRIxFAST16): Likewise.
4585 [C99-based-standards] (PRIXFAST16): Likewise.
4586 [C99-based-standards] (SCNdFAST16): Likewise.
4587 [C99-based-standards] (SCNiFAST16): Likewise.
4588 [C99-based-standards] (SCNoFAST16): Likewise.
4589 [C99-based-standards] (SCNuFAST16): Likewise.
4590 [C99-based-standards] (SCNxFAST16): Likewise.
4591 [C99-based-standards] (PRId32): Likewise.
4592 [C99-based-standards] (PRIi32): Likewise.
4593 [C99-based-standards] (PRIo32): Likewise.
4594 [C99-based-standards] (PRIu32): Likewise.
4595 [C99-based-standards] (PRIx32): Likewise.
4596 [C99-based-standards] (PRIX32): Likewise.
4597 [C99-based-standards] (SCNd32): Likewise.
4598 [C99-based-standards] (SCNi32): Likewise.
4599 [C99-based-standards] (SCNo32): Likewise.
4600 [C99-based-standards] (SCNu32): Likewise.
4601 [C99-based-standards] (SCNx32): Likewise.
4602 [C99-based-standards] (PRIdLEAST32): Likewise.
4603 [C99-based-standards] (PRIiLEAST32): Likewise.
4604 [C99-based-standards] (PRIoLEAST32): Likewise.
4605 [C99-based-standards] (PRIuLEAST32): Likewise.
4606 [C99-based-standards] (PRIxLEAST32): Likewise.
4607 [C99-based-standards] (PRIXLEAST32): Likewise.
4608 [C99-based-standards] (SCNdLEAST32): Likewise.
4609 [C99-based-standards] (SCNiLEAST32): Likewise.
4610 [C99-based-standards] (SCNoLEAST32): Likewise.
4611 [C99-based-standards] (SCNuLEAST32): Likewise.
4612 [C99-based-standards] (SCNxLEAST32): Likewise.
4613 [C99-based-standards] (PRIdFAST32): Likewise.
4614 [C99-based-standards] (PRIiFAST32): Likewise.
4615 [C99-based-standards] (PRIoFAST32): Likewise.
4616 [C99-based-standards] (PRIuFAST32): Likewise.
4617 [C99-based-standards] (PRIxFAST32): Likewise.
4618 [C99-based-standards] (PRIXFAST32): Likewise.
4619 [C99-based-standards] (SCNdFAST32): Likewise.
4620 [C99-based-standards] (SCNiFAST32): Likewise.
4621 [C99-based-standards] (SCNoFAST32): Likewise.
4622 [C99-based-standards] (SCNuFAST32): Likewise.
4623 [C99-based-standards] (SCNxFAST32): Likewise.
4624 [C99-based-standards] (PRId64): Likewise.
4625 [C99-based-standards] (PRIi64): Likewise.
4626 [C99-based-standards] (PRIo64): Likewise.
4627 [C99-based-standards] (PRIu64): Likewise.
4628 [C99-based-standards] (PRIx64): Likewise.
4629 [C99-based-standards] (PRIX64): Likewise.
4630 [C99-based-standards] (SCNd64): Likewise.
4631 [C99-based-standards] (SCNi64): Likewise.
4632 [C99-based-standards] (SCNo64): Likewise.
4633 [C99-based-standards] (SCNu64): Likewise.
4634 [C99-based-standards] (SCNx64): Likewise.
4635 [C99-based-standards] (PRIdLEAST64): Likewise.
4636 [C99-based-standards] (PRIiLEAST64): Likewise.
4637 [C99-based-standards] (PRIoLEAST64): Likewise.
4638 [C99-based-standards] (PRIuLEAST64): Likewise.
4639 [C99-based-standards] (PRIxLEAST64): Likewise.
4640 [C99-based-standards] (PRIXLEAST64): Likewise.
4641 [C99-based-standards] (SCNdLEAST64): Likewise.
4642 [C99-based-standards] (SCNiLEAST64): Likewise.
4643 [C99-based-standards] (SCNoLEAST64): Likewise.
4644 [C99-based-standards] (SCNuLEAST64): Likewise.
4645 [C99-based-standards] (SCNxLEAST64): Likewise.
4646 [C99-based-standards] (PRIdFAST64): Likewise.
4647 [C99-based-standards] (PRIiFAST64): Likewise.
4648 [C99-based-standards] (PRIoFAST64): Likewise.
4649 [C99-based-standards] (PRIuFAST64): Likewise.
4650 [C99-based-standards] (PRIxFAST64): Likewise.
4651 [C99-based-standards] (PRIXFAST64): Likewise.
4652 [C99-based-standards] (SCNdFAST64): Likewise.
4653 [C99-based-standards] (SCNiFAST64): Likewise.
4654 [C99-based-standards] (SCNoFAST64): Likewise.
4655 [C99-based-standards] (SCNuFAST64): Likewise.
4656 [C99-based-standards] (SCNxFAST64): Likewise.
4657 [C99-based-standards] (PRIdMAX): Likewise.
4658 [C99-based-standards] (PRIiMAX): Likewise.
4659 [C99-based-standards] (PRIoMAX): Likewise.
4660 [C99-based-standards] (PRIuMAX): Likewise.
4661 [C99-based-standards] (PRIxMAX): Likewise.
4662 [C99-based-standards] (PRIXMAX): Likewise.
4663 [C99-based-standards] (SCNdMAX): Likewise.
4664 [C99-based-standards] (SCNiMAX): Likewise.
4665 [C99-based-standards] (SCNoMAX): Likewise.
4666 [C99-based-standards] (SCNuMAX): Likewise.
4667 [C99-based-standards] (SCNxMAX): Likewise.
4668 [C99-based-standards] (PRIdPTR): Likewise.
4669 [C99-based-standards] (PRIiPTR): Likewise.
4670 [C99-based-standards] (PRIoPTR): Likewise.
4671 [C99-based-standards] (PRIuPTR): Likewise.
4672 [C99-based-standards] (PRIxPTR): Likewise.
4673 [C99-based-standards] (PRIXPTR): Likewise.
4674 [C99-based-standards] (SCNdPTR): Likewise.
4675 [C99-based-standards] (SCNiPTR): Likewise.
4676 [C99-based-standards] (SCNoPTR): Likewise.
4677 [C99-based-standards] (SCNuPTR): Likewise.
4678 [C99-based-standards] (SCNxPTR): Likewise.
4679 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4680 allow.
4681 * conform/data/stdint.h-data: Update comments to clarify
4682 requirements.
4683 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4684 type.
4685 [C99-based standards] (INT8_MAX): Likewise.
4686 [C99-based standards] (INT16_MIN): Likewise.
4687 [C99-based standards] (INT16_MAX): Likewise.
4688 [C99-based standards] (INT32_MIN): Likewise.
4689 [C99-based standards] (INT32_MAX): Likewise.
4690 [C99-based standards] (INT64_MIN): Likewise.
4691 [C99-based standards] (INT64_MAX): Likewise.
4692 [C99-based standards] (UINT8_MAX): Likewise.
4693 [C99-based standards] (UINT16_MAX): Likewise.
4694 [C99-based standards] (UINT32_MAX): Likewise.
4695 [C99-based standards] (UINT64_MAX): Likewise.
4696 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4697 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4698 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4699 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4700 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4701 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4702 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4703 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4704 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4705 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4706 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4707 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4708 [C99-based standards] (INT_FAST8_MIN): Likewise.
4709 [C99-based standards] (INT_FAST8_MAX): Likewise.
4710 [C99-based standards] (INT_FAST16_MIN): Likewise.
4711 [C99-based standards] (INT_FAST16_MAX): Likewise.
4712 [C99-based standards] (INT_FAST32_MIN): Likewise.
4713 [C99-based standards] (INT_FAST32_MAX): Likewise.
4714 [C99-based standards] (INT_FAST64_MIN): Likewise.
4715 [C99-based standards] (INT_FAST64_MAX): Likewise.
4716 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4717 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4718 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4719 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4720 [C99-based standards] (INTPTR_MIN): Likewise.
4721 [C99-based standards] (INTPTR_MAX): Likewise.
4722 [C99-based standards] (UINTPTR_MAX): Likewise.
4723 [C99-based standards] (INTMAX_MIN): Likewise.
4724 [C99-based standards] (INTMAX_MAX): Likewise.
4725 [C99-based standards] (UINTMAX_MAX): Likewise.
4726 [C99-based standards] (PTRDIFF_MIN): Likewise.
4727 [C99-based standards] (PTRDIFF_MAX): Likewise.
4728 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4729 [C99-based standards] (SIZE_MAX): Likewise.
4730 [C99-based standards] (WCHAR_MAX): Likewise.
4731 [C99-based standards] (WINT_MAX): Likewise.
4732 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4733 constraint on value.
4734 [C99-based standards] (WCHAR_MIN): Likewise.
4735 [C99-based standards] (WINT_MIN): Likewise.
4736 [C99-based standards] (*_t): Allow.
4737 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4738 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4739 Include math.h-data and complex.h-data. Remove all expectations
4740 of math.h and complex.h contents.
4741 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4742 at end of line.
4743 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4744 (struct tm): Expect tag.
4745 [C99-based-standards] (wcstof): Expect function.
4746 [C99-based-standards] (wcstold): Likewise.
4747 [C99-based-standards] (wcstoll): Likewise.
4748 [C99-based-standards] (wcstoull): Likewise.
4749 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4750 macro-int-constant. Specify type.
4751 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4752 constraint on value.
4753 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4754 Specify type.
4755 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4756 Specify value.
4757 [ISO C standards]: Do not allow headers.
4758 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4759 wcs[abcdefghijklmnopqrstuvwxyz]*.
4760 [ISO C standards] (*_t): Do not allow.
4761 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4762 Expect function.
4763 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4764 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4765 Specify type.
4766 [ISO C standards]: Do not allow headers.
4767 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4768 is[abcdefghijklmnopqrstuvwxyz]*.
4769 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4770 to[abcdefghijklmnopqrstuvwxyz]*.
4771 [ISO C standards] (*_t): Do not allow.
4772 * conform/data/stdalign.h-data: New file.
4773 * conform/data/stdbool.h-data: Likewise.
4774 * conform/data/stdnoreturn.h-data: Likewise.
4775
7514feb8
RM
47762012-11-07 Roland McGrath <roland@hack.frob.com>
4777
4778 [BZ #14815]
4779 * manual/filesys.texi (Directory Entries): Typo fix.
4780 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4781
19b2ecfc
MS
47822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4783
4784 * elf/elf.h (EM_AARCH64): New macro.
4785 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4786 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4787 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4788 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4789 (R_AARCH64_TLSDESC): Likewise.
4790 (NT_ARM_TLS): Likewise.
4791 (NT_ARM_HW_BREAK): Likewise.
4792 (NT_ARM_HW_WATCH): Likewise.
4793
60e235ee
JM
47942012-11-07 Joseph Myers <joseph@codesourcery.com>
4795
4796 [BZ #14811]
4797 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4798 (__ieee754_powl): Saturate nonzero exponents with absolute value
4799 below 0x1p-79 to +/- 0x1p-79.
4800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4801 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4802 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4803 nonzero exponents with absolute value below 0x1p-32 to +/-
4804 0x1p-32.
4805 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4806 (__ieee754_powl): Saturate nonzero exponents with absolute value
4807 below 0x1p-79 to +/- 0x1p-79.
4808 * math/libm-test.inc (pow_test): Add more tests.
4809
0ab234b7
AK
48102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4811
4812 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4813 _dl_s390_cap_flags with kernel. Increase string length.
4814 (_dl_s390_platforms): Add z196 and zEC12.
4815
45832f74
JM
48162012-11-07 Joseph Myers <joseph@codesourcery.com>
4817
4818 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4819 Change XOPEN21K to XOPEN2K.
4820
19218757
MK
48212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4822
4823 * string/memmove.c: Use memcpy when possible.
4824
c5f45721
AJ
48252012-11-06 Andreas Jaeger <aj@suse.de>
4826
4827 * po/eo.po: Update from translation team.
4828
82477c28
JM
48292012-11-06 Joseph Myers <joseph@codesourcery.com>
4830
4831 [BZ #14793]
4832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4833 exponent and small x and y exponents, scale x or y up. Increase
4834 by 2 the exponent used in scaling up.
4835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4837 * math/libm-test.inc (fma_test): Add more tests.
4838 (fma_test_towardzero): Likewise.
4839 (fma_test_downward): Likewise.
4840 (fma_test_upward): Likewise.
4841
99252c8c
JM
48422012-11-05 Joseph Myers <joseph@codesourcery.com>
4843
acfa885f
JM
4844 [BZ #14805]
4845 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4846 fenv_t *.
4847
99252c8c
JM
4848 [BZ #14801]
4849 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4850 namespace for names of struct fields.
4851 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4852 fenv_t fields.
4853 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4854 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4855
d6d98dea
ST
48562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4857
4858 [BZ #3665]
4859 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4860
e10bb107
TS
48612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4862
4863 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4864 PTR_DEMANGLE.
4865
4866 [BZ #5246]
4867 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4868 PTR_DEMANGLE.
4869
a0c2940d
JM
48702012-11-04 Joseph Myers <joseph@codesourcery.com>
4871
4872 [BZ #14797]
4873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4874 definitely overflow as x * y not x * y + z.
4875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4877 * math/libm-test.inc (fma_test): Add more tests.
4878 (fma_test_towardzero): Likewise.
4879 (fma_test_downward): Likewise.
4880 (fma_test_upward): Likewise.
4881
b830319d
TS
48822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4883
4884 [BZ #157]
4885
4886 * include/stub-tag.h: Remove file.
4887 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4888 '#include' of it.
4889 * manual/maint.texi (Porting): Don't reference it.
4890 * Makerules ($(objpfx)stubs): Likewise.
4891 * dirent/closedir.c: Don't include <stub-tag.h>.
4892 * dirent/dirfd.c: Likewise.
4893 * dirent/fdopendir.c: Likewise.
4894 * dirent/getdents.c: Likewise.
4895 * dirent/getdents64.c: Likewise.
4896 * dirent/opendir.c: Likewise.
4897 * dirent/readdir.c: Likewise.
4898 * dirent/readdir64.c: Likewise.
4899 * dirent/readdir64_r.c: Likewise.
4900 * dirent/readdir_r.c: Likewise.
4901 * dirent/rewinddir.c: Likewise.
4902 * dirent/seekdir.c: Likewise.
4903 * dirent/telldir.c: Likewise.
4904 * gmon/profil.c: Likewise.
4905 * grp/setgroups.c: Likewise.
4906 * inet/if_index.c: Likewise.
4907 * io/access.c: Likewise.
4908 * io/chdir.c: Likewise.
4909 * io/chmod.c: Likewise.
4910 * io/chown.c: Likewise.
4911 * io/close.c: Likewise.
4912 * io/dup.c: Likewise.
4913 * io/dup2.c: Likewise.
4914 * io/dup3.c: Likewise.
4915 * io/euidaccess.c: Likewise.
4916 * io/faccessat.c: Likewise.
4917 * io/fchdir.c: Likewise.
4918 * io/fchmod.c: Likewise.
4919 * io/fchmodat.c: Likewise.
4920 * io/fchown.c: Likewise.
4921 * io/fchownat.c: Likewise.
4922 * io/fcntl.c: Likewise.
4923 * io/flock.c: Likewise.
4924 * io/fstatfs.c: Likewise.
4925 * io/fstatfs64.c: Likewise.
4926 * io/fstatvfs.c: Likewise.
4927 * io/fstatvfs64.c: Likewise.
4928 * io/futimens.c: Likewise.
4929 * io/fxstat.c: Likewise.
4930 * io/fxstat64.c: Likewise.
4931 * io/fxstatat.c: Likewise.
4932 * io/fxstatat64.c: Likewise.
4933 * io/getcwd.c: Likewise.
4934 * io/isatty.c: Likewise.
4935 * io/lchmod.c: Likewise.
4936 * io/lchown.c: Likewise.
4937 * io/link.c: Likewise.
4938 * io/linkat.c: Likewise.
4939 * io/lseek.c: Likewise.
4940 * io/lseek64.c: Likewise.
4941 * io/lxstat64.c: Likewise.
4942 * io/mkdir.c: Likewise.
4943 * io/mkdirat.c: Likewise.
4944 * io/mkfifo.c: Likewise.
4945 * io/mkfifoat.c: Likewise.
4946 * io/open.c: Likewise.
4947 * io/open64.c: Likewise.
4948 * io/openat.c: Likewise.
4949 * io/openat64.c: Likewise.
4950 * io/pipe.c: Likewise.
4951 * io/pipe2.c: Likewise.
4952 * io/poll.c: Likewise.
4953 * io/posix_fadvise.c: Likewise.
4954 * io/posix_fadvise64.c: Likewise.
4955 * io/posix_fallocate.c: Likewise.
4956 * io/posix_fallocate64.c: Likewise.
4957 * io/read.c: Likewise.
4958 * io/readlink.c: Likewise.
4959 * io/readlinkat.c: Likewise.
4960 * io/rmdir.c: Likewise.
4961 * io/sendfile.c: Likewise.
4962 * io/sendfile64.c: Likewise.
4963 * io/statfs.c: Likewise.
4964 * io/statfs64.c: Likewise.
4965 * io/statvfs.c: Likewise.
4966 * io/statvfs64.c: Likewise.
4967 * io/symlink.c: Likewise.
4968 * io/symlinkat.c: Likewise.
4969 * io/ttyname.c: Likewise.
4970 * io/ttyname_r.c: Likewise.
4971 * io/umask.c: Likewise.
4972 * io/unlink.c: Likewise.
4973 * io/unlinkat.c: Likewise.
4974 * io/utime.c: Likewise.
4975 * io/utimensat.c: Likewise.
4976 * io/write.c: Likewise.
4977 * io/xmknod.c: Likewise.
4978 * io/xmknodat.c: Likewise.
4979 * io/xstat.c: Likewise.
4980 * io/xstat64.c: Likewise.
4981 * login/getpt.c: Likewise.
4982 * login/grantpt.c: Likewise.
4983 * login/unlockpt.c: Likewise.
4984 * math/e_acoshl.c: Likewise.
4985 * math/e_acosl.c: Likewise.
4986 * math/e_asinl.c: Likewise.
4987 * math/e_atan2l.c: Likewise.
4988 * math/e_atanhl.c: Likewise.
4989 * math/e_coshl.c: Likewise.
4990 * math/e_expl.c: Likewise.
4991 * math/e_fmodl.c: Likewise.
4992 * math/e_gammal_r.c: Likewise.
4993 * math/e_hypotl.c: Likewise.
4994 * math/e_j0l.c: Likewise.
4995 * math/e_j1l.c: Likewise.
4996 * math/e_jnl.c: Likewise.
4997 * math/e_lgammal_r.c: Likewise.
4998 * math/e_log10l.c: Likewise.
4999 * math/e_log2l.c: Likewise.
5000 * math/e_logl.c: Likewise.
5001 * math/e_powl.c: Likewise.
5002 * math/e_rem_pio2l.c: Likewise.
5003 * math/e_sinhl.c: Likewise.
5004 * math/e_sqrtl.c: Likewise.
5005 * math/fclrexcpt.c: Likewise.
5006 * math/fedisblxcpt.c: Likewise.
5007 * math/feenablxcpt.c: Likewise.
5008 * math/fegetenv.c: Likewise.
5009 * math/fegetexcept.c: Likewise.
5010 * math/fegetround.c: Likewise.
5011 * math/feholdexcpt.c: Likewise.
5012 * math/fesetenv.c: Likewise.
5013 * math/fesetround.c: Likewise.
5014 * math/feupdateenv.c: Likewise.
5015 * math/fgetexcptflg.c: Likewise.
5016 * math/fraiseexcpt.c: Likewise.
5017 * math/fsetexcptflg.c: Likewise.
5018 * math/ftestexcept.c: Likewise.
5019 * math/k_cosl.c: Likewise.
5020 * math/k_rem_pio2l.c: Likewise.
5021 * math/k_sinl.c: Likewise.
5022 * math/k_tanl.c: Likewise.
5023 * math/s_asinhl.c: Likewise.
5024 * math/s_atanl.c: Likewise.
5025 * math/s_cbrtl.c: Likewise.
5026 * math/s_erfl.c: Likewise.
5027 * math/s_expm1l.c: Likewise.
5028 * math/s_log1pl.c: Likewise.
5029 * math/s_tanhl.c: Likewise.
5030 * misc/acct.c: Likewise.
5031 * misc/brk.c: Likewise.
5032 * misc/chflags.c: Likewise.
5033 * misc/chroot.c: Likewise.
5034 * misc/fchflags.c: Likewise.
5035 * misc/fgetxattr.c: Likewise.
5036 * misc/flistxattr.c: Likewise.
5037 * misc/fremovexattr.c: Likewise.
5038 * misc/fsetxattr.c: Likewise.
5039 * misc/fsync.c: Likewise.
5040 * misc/ftruncate.c: Likewise.
5041 * misc/futimes.c: Likewise.
5042 * misc/futimesat.c: Likewise.
5043 * misc/getdomain.c: Likewise.
5044 * misc/getdtsz.c: Likewise.
5045 * misc/gethostid.c: Likewise.
5046 * misc/gethostname.c: Likewise.
5047 * misc/getloadavg.c: Likewise.
5048 * misc/getpagesize.c: Likewise.
5049 * misc/getsysstats.c: Likewise.
5050 * misc/getxattr.c: Likewise.
5051 * misc/gtty.c: Likewise.
5052 * misc/ioctl.c: Likewise.
5053 * misc/lgetxattr.c: Likewise.
5054 * misc/listxattr.c: Likewise.
5055 * misc/llistxattr.c: Likewise.
5056 * misc/lremovexattr.c: Likewise.
5057 * misc/lsetxattr.c: Likewise.
5058 * misc/lutimes.c: Likewise.
5059 * misc/madvise.c: Likewise.
5060 * misc/mincore.c: Likewise.
5061 * misc/mlock.c: Likewise.
5062 * misc/mlockall.c: Likewise.
5063 * misc/mmap.c: Likewise.
5064 * misc/mprotect.c: Likewise.
5065 * misc/msync.c: Likewise.
5066 * misc/munlock.c: Likewise.
5067 * misc/munlockall.c: Likewise.
5068 * misc/munmap.c: Likewise.
5069 * misc/preadv.c: Likewise.
5070 * misc/preadv64.c: Likewise.
5071 * misc/ptrace.c: Likewise.
5072 * misc/pwritev.c: Likewise.
5073 * misc/pwritev64.c: Likewise.
5074 * misc/readv.c: Likewise.
5075 * misc/reboot.c: Likewise.
5076 * misc/remap_file_pages.c: Likewise.
5077 * misc/removexattr.c: Likewise.
5078 * misc/revoke.c: Likewise.
5079 * misc/select.c: Likewise.
5080 * misc/setdomain.c: Likewise.
5081 * misc/setegid.c: Likewise.
5082 * misc/seteuid.c: Likewise.
5083 * misc/sethostid.c: Likewise.
5084 * misc/sethostname.c: Likewise.
5085 * misc/setregid.c: Likewise.
5086 * misc/setreuid.c: Likewise.
5087 * misc/setxattr.c: Likewise.
5088 * misc/sstk.c: Likewise.
5089 * misc/stty.c: Likewise.
5090 * misc/swapoff.c: Likewise.
5091 * misc/swapon.c: Likewise.
5092 * misc/sync.c: Likewise.
5093 * misc/syncfs.c: Likewise.
5094 * misc/syscall.c: Likewise.
5095 * misc/truncate.c: Likewise.
5096 * misc/ualarm.c: Likewise.
5097 * misc/usleep.c: Likewise.
5098 * misc/ustat.c: Likewise.
5099 * misc/utimes.c: Likewise.
5100 * misc/vhangup.c: Likewise.
5101 * misc/writev.c: Likewise.
5102 * posix/_exit.c: Likewise.
5103 * posix/alarm.c: Likewise.
5104 * posix/execve.c: Likewise.
5105 * posix/fexecve.c: Likewise.
5106 * posix/fork.c: Likewise.
5107 * posix/fpathconf.c: Likewise.
5108 * posix/getaddrinfo.c: Likewise.
5109 * posix/getegid.c: Likewise.
5110 * posix/geteuid.c: Likewise.
5111 * posix/getgid.c: Likewise.
5112 * posix/getgroups.c: Likewise.
5113 * posix/getlogin.c: Likewise.
5114 * posix/getlogin_r.c: Likewise.
5115 * posix/getpgid.c: Likewise.
5116 * posix/getpid.c: Likewise.
5117 * posix/getppid.c: Likewise.
5118 * posix/getresgid.c: Likewise.
5119 * posix/getresuid.c: Likewise.
5120 * posix/getsid.c: Likewise.
5121 * posix/getuid.c: Likewise.
5122 * posix/glob64.c: Likewise.
5123 * posix/nanosleep.c: Likewise.
5124 * posix/pathconf.c: Likewise.
5125 * posix/pause.c: Likewise.
5126 * posix/posix_madvise.c: Likewise.
5127 * posix/pread.c: Likewise.
5128 * posix/pread64.c: Likewise.
5129 * posix/pwrite.c: Likewise.
5130 * posix/pwrite64.c: Likewise.
5131 * posix/sched_getaffinity.c: Likewise.
5132 * posix/sched_getp.c: Likewise.
5133 * posix/sched_gets.c: Likewise.
5134 * posix/sched_primax.c: Likewise.
5135 * posix/sched_primin.c: Likewise.
5136 * posix/sched_rr_gi.c: Likewise.
5137 * posix/sched_setaffinity.c: Likewise.
5138 * posix/sched_setp.c: Likewise.
5139 * posix/sched_sets.c: Likewise.
5140 * posix/sched_yield.c: Likewise.
5141 * posix/setgid.c: Likewise.
5142 * posix/setlogin.c: Likewise.
5143 * posix/setpgid.c: Likewise.
5144 * posix/setresgid.c: Likewise.
5145 * posix/setresuid.c: Likewise.
5146 * posix/setsid.c: Likewise.
5147 * posix/setuid.c: Likewise.
5148 * posix/sleep.c: Likewise.
5149 * posix/spawni.c: Likewise.
5150 * posix/sysconf.c: Likewise.
5151 * posix/times.c: Likewise.
5152 * posix/wait.c: Likewise.
5153 * posix/wait3.c: Likewise.
5154 * posix/wait4.c: Likewise.
5155 * posix/waitpid.c: Likewise.
5156 * resolv/gai_sigqueue.c: Likewise.
5157 * resource/getpriority.c: Likewise.
5158 * resource/getrlimit.c: Likewise.
5159 * resource/getrusage.c: Likewise.
5160 * resource/nice.c: Likewise.
5161 * resource/setpriority.c: Likewise.
5162 * resource/setrlimit.c: Likewise.
5163 * resource/ulimit.c: Likewise.
5164 * rt/aio_cancel.c: Likewise.
5165 * rt/aio_fsync.c: Likewise.
5166 * rt/aio_read.c: Likewise.
5167 * rt/aio_sigqueue.c: Likewise.
5168 * rt/aio_suspend.c: Likewise.
5169 * rt/aio_write.c: Likewise.
5170 * rt/clock_getres.c: Likewise.
5171 * rt/clock_gettime.c: Likewise.
5172 * rt/clock_nanosleep.c: Likewise.
5173 * rt/clock_settime.c: Likewise.
5174 * rt/lio_listio.c: Likewise.
5175 * rt/mq_close.c: Likewise.
5176 * rt/mq_getattr.c: Likewise.
5177 * rt/mq_notify.c: Likewise.
5178 * rt/mq_open.c: Likewise.
5179 * rt/mq_receive.c: Likewise.
5180 * rt/mq_send.c: Likewise.
5181 * rt/mq_setattr.c: Likewise.
5182 * rt/mq_timedreceive.c: Likewise.
5183 * rt/mq_timedsend.c: Likewise.
5184 * rt/mq_unlink.c: Likewise.
5185 * rt/shm_open.c: Likewise.
5186 * rt/shm_unlink.c: Likewise.
5187 * rt/timer_create.c: Likewise.
5188 * rt/timer_delete.c: Likewise.
5189 * rt/timer_getoverr.c: Likewise.
5190 * rt/timer_gettime.c: Likewise.
5191 * rt/timer_settime.c: Likewise.
5192 * setjmp/__longjmp.c: Likewise.
5193 * setjmp/setjmp.c: Likewise.
5194 * signal/kill.c: Likewise.
5195 * signal/killpg.c: Likewise.
5196 * signal/raise.c: Likewise.
5197 * signal/sigaction.c: Likewise.
5198 * signal/sigaltstack.c: Likewise.
5199 * signal/sigblock.c: Likewise.
5200 * signal/sigignore.c: Likewise.
5201 * signal/sigintr.c: Likewise.
5202 * signal/signal.c: Likewise.
5203 * signal/sigpause.c: Likewise.
5204 * signal/sigpending.c: Likewise.
5205 * signal/sigqueue.c: Likewise.
5206 * signal/sigreturn.c: Likewise.
5207 * signal/sigset.c: Likewise.
5208 * signal/sigsetmask.c: Likewise.
5209 * signal/sigstack.c: Likewise.
5210 * signal/sigsuspend.c: Likewise.
5211 * signal/sigtimedwait.c: Likewise.
5212 * signal/sigvec.c: Likewise.
5213 * signal/sigwait.c: Likewise.
5214 * signal/sigwaitinfo.c: Likewise.
5215 * signal/sysv_signal.c: Likewise.
5216 * socket/accept.c: Likewise.
5217 * socket/accept4.c: Likewise.
5218 * socket/bind.c: Likewise.
5219 * socket/connect.c: Likewise.
5220 * socket/getpeername.c: Likewise.
5221 * socket/getsockname.c: Likewise.
5222 * socket/getsockopt.c: Likewise.
5223 * socket/isfdtype.c: Likewise.
5224 * socket/listen.c: Likewise.
5225 * socket/recv.c: Likewise.
5226 * socket/recvfrom.c: Likewise.
5227 * socket/recvmsg.c: Likewise.
5228 * socket/send.c: Likewise.
5229 * socket/sendmsg.c: Likewise.
5230 * socket/sendto.c: Likewise.
5231 * socket/setsockopt.c: Likewise.
5232 * socket/shutdown.c: Likewise.
5233 * socket/sockatmark.c: Likewise.
5234 * socket/socket.c: Likewise.
5235 * socket/socketpair.c: Likewise.
5236 * stdio-common/ctermid.c: Likewise.
5237 * stdio-common/cuserid.c: Likewise.
5238 * stdio-common/remove.c: Likewise.
5239 * stdio-common/rename.c: Likewise.
5240 * stdio-common/renameat.c: Likewise.
5241 * stdio-common/tempname.c: Likewise.
5242 * stdlib/getcontext.c: Likewise.
5243 * stdlib/makecontext.c: Likewise.
5244 * stdlib/setcontext.c: Likewise.
5245 * stdlib/swapcontext.c: Likewise.
5246 * stdlib/system.c: Likewise.
5247 * streams/fattach.c: Likewise.
5248 * streams/fdetach.c: Likewise.
5249 * streams/getmsg.c: Likewise.
5250 * streams/getpmsg.c: Likewise.
5251 * streams/putmsg.c: Likewise.
5252 * streams/putpmsg.c: Likewise.
5253 * sysdeps/unix/bsd/getpt.c: Likewise.
5254 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5255 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5256 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5258 Likewise.
5259 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5260 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5261 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5262 * sysvipc/msgctl.c: Likewise.
5263 * sysvipc/msgget.c: Likewise.
5264 * sysvipc/msgrcv.c: Likewise.
5265 * sysvipc/msgsnd.c: Likewise.
5266 * sysvipc/semctl.c: Likewise.
5267 * sysvipc/semget.c: Likewise.
5268 * sysvipc/semop.c: Likewise.
5269 * sysvipc/semtimedop.c: Likewise.
5270 * sysvipc/shmat.c: Likewise.
5271 * sysvipc/shmctl.c: Likewise.
5272 * sysvipc/shmdt.c: Likewise.
5273 * sysvipc/shmget.c: Likewise.
5274 * termios/tcdrain.c: Likewise.
5275 * termios/tcflow.c: Likewise.
5276 * termios/tcflush.c: Likewise.
5277 * termios/tcgetattr.c: Likewise.
5278 * termios/tcgetpgrp.c: Likewise.
5279 * termios/tcsendbrk.c: Likewise.
5280 * termios/tcsetattr.c: Likewise.
5281 * termios/tcsetpgrp.c: Likewise.
5282 * time/adjtime.c: Likewise.
5283 * time/clock.c: Likewise.
5284 * time/getitimer.c: Likewise.
5285 * time/gettimeofday.c: Likewise.
5286 * time/setitimer.c: Likewise.
5287 * time/settimeofday.c: Likewise.
5288 * time/stime.c: Likewise.
5289 * time/time.c: Likewise.
5290
52912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5292
a20492cf
PT
5293 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5294 /usr/old/bin.
5295
72e182e3
PT
5296 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5297 instead of spaces.
5298 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5299
fbeafede
JM
53002012-11-03 Joseph Myers <joseph@codesourcery.com>
5301
5b5b04d6
JM
5302 [BZ #14796]
5303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5304 FE_TONEAREST before applying Dekker multiplication and Knuth
5305 addition. Clear inexact exceptions and check for exact zero
5306 results afterwards.
5307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5308 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5310 * math/libm-test.inc (fma_test): Add more tests.
5311 (fma_test_towardzero): Likewise.
5312 (fma_test_downward): Likewise.
5313 (fma_test_upward): Likewise.
5314 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5315 function.
5316 (libc_fesetround): New macro.
5317 (libc_fesetroundf): Likewise.
5318 (libc_fesetroundl): Likewise.
5319 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5320 function.
5321 (libc_fesetround_387): Likewise.
5322 (libc_fesetroundf): New macro.
5323 (libc_fesetround): Likewise.
5324 (libc_fesetroundl): Likewise.
5325 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5326 function.
5327 (libc_fesetroundf): New macro.
5328 (libc_fesetround): Likewise.
5329 (libc_fesetroundl): Likewise.
5330 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5331 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5332 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5333 libm_hidden_ver.
5334 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5335 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5336 libm_hidden_def.
5337 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5338 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5339 libm_hidden_ver.
5340 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5341 libm_hidden_def.
5342
fbeafede
JM
5343 [BZ #3439]
5344 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5345 integer constant usable in #if and use that to give value to enum
5346 constant.
5347 (FE_DIVBYZERO): Likewise.
5348 (FE_UNDERFLOW): Likewise.
5349 (FE_OVERFLOW): Likewise.
5350 (FE_INVALID): Likewise.
5351 (FE_INVALID_SNAN): Likewise.
5352 (FE_INVALID_ISI): Likewise.
5353 (FE_INVALID_IDI): Likewise.
5354 (FE_INVALID_ZDZ): Likewise.
5355 (FE_INVALID_IMZ): Likewise.
5356 (FE_INVALID_COMPARE): Likewise.
5357 (FE_INVALID_SOFTWARE): Likewise.
5358 (FE_INVALID_SQRT): Likewise.
5359 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5360 (FE_TONEAREST): Likewise.
5361 (FE_TOWARDZERO): Likewise.
5362 (FE_UPWARD): Likewise.
5363 (FE_DOWNWARD): Likewise.
5364 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5365 (FE_DIVBYZERO): Likewise.
5366 (FE_OVERFLOW): Likewise.
5367 (FE_UNDERFLOW): Likewise.
5368 (FE_INEXACT): Likewise.
5369 (FE_TONEAREST): Likewise.
5370 (FE_DOWNWARD): Likewise.
5371 (FE_UPWARD): Likewise.
5372 (FE_TOWARDZERO): Likewise.
5373 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5374 (FE_UNDERFLOW): Likewise.
5375 (FE_OVERFLOW): Likewise.
5376 (FE_DIVBYZERO): Likewise.
5377 (FE_INVALID): Likewise.
5378 (FE_TONEAREST): Likewise.
5379 (FE_TOWARDZERO): Likewise.
5380 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5381 (FE_OVERFLOW): Likewise.
5382 (FE_UNDERFLOW): Likewise.
5383 (FE_DIVBYZERO): Likewise.
5384 (FE_INEXACT): Likewise.
5385 (FE_TONEAREST): Likewise.
5386 (FE_TOWARDZERO): Likewise.
5387 (FE_UPWARD): Likewise.
5388 (FE_DOWNWARD): Likewise.
5389 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5390 (FE_DIVBYZERO): Likewise.
5391 (FE_OVERFLOW): Likewise.
5392 (FE_UNDERFLOW): Likewise.
5393 (FE_INEXACT): Likewise.
5394 (FE_TONEAREST): Likewise.
5395 (FE_DOWNWARD): Likewise.
5396 (FE_UPWARD): Likewise.
5397 (FE_TOWARDZERO): Likewise.
5398
105ca950
CM
53992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5400
5401 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5402
a542b389
AS
54032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5404
5405 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5406 commands. Quote $PWD.
5407 (blacklist_exports): Don't use remove_newlines. Replace "declare
5408 -x" by "export".
5409 (remove_newlines): Remove.
5410
f62c8abc
L
54112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5414 * stdlib/stdlib.h (atof): Moved to ...
5415 * include/bits/stdlib-float.h: Here. New file.
5416 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5417 * stdlib/bits/stdlib-float.h: New file.
5418 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5419 -mno-sse -mno-mmx.
5420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5421 <xmmintrin.h>.
5422
0155d5b2
JM
54232012-11-02 Joseph Myers <joseph@codesourcery.com>
5424
a68d0680
JM
5425 * conform/conformtest.pl (@headers): Add fenv.h.
5426 * conform/data/fenv.h-data: New file.
5427 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5428 include of <math/fenv.h>.
5429
caf7f573
JM
5430 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5431 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5432 && !UNIX98]. Enables tests for XOPEN2K8.
5433 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5434 POSIX2008]: Likewise.
5435
6c073ad6
JM
5436 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5437 (struct rusage): Do not expect type or its members.
5438
0155d5b2
JM
5439 [BZ #3439]
5440 * math/math.h (FP_NAN): Define macro to integer constant usable in
5441 #if and use that to give value to enum constant.
5442 (FP_INFINITE): Likewise.
5443 (FP_ZERO): Likewise.
5444 (FP_SUBNORMAL): Likewise.
5445 (FP_NORMAL): Likewise.
5446
b5dcacb4
AS
54472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5448
5449 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5450 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5451 arguments.
5452
f7934be8
RM
54532012-11-02 Roland McGrath <roland@hack.frob.com>
5454
5455 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5456 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5457 autoconf-time if not.
5458 * configure.in: Remove AC_PREREQ.
5459
d7d08bde
TMQMF
54602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5461
5462 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5463 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5464 of the internal implementation.
5465
dcdae19a
JM
54662012-11-02 Joseph Myers <joseph@codesourcery.com>
5467
5468 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5469 except include of <misc/sys/syslog.h>.
5470
d6cffd3e
AS
54712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5472
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5474 function returns with a NULL context exit with zero.
5475
b3563932
TMQMF
54762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5477
5478 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5479
b288a93d
L
54802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5481
5482 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5483 (run_program_cmd): This.
5484 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5485 (tst_langinfo): New variable. Use it.
5486
a2421a68
SAS
54872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5488
5489 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5490 floating point opcodes.
5491
6f796e1b
TS
54922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5493
7402596b
TS
5494 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5495 variable.
5496
d0d4f868
TS
5497 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5498
6f796e1b
TS
5499 * sysdeps/mach/hurd/powerpc: Remove directory.
5500 * sysdeps/mach/powerpc: Likewise.
5501
4da224a2
AS
55022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5503
5504 * scripts/check-local-headers.sh: Ignore c++ headers.
5505
341dd673
TS
55062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5507
5508 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5509 __libc_cleanup_region_start argument.
5510
473611b2
JM
55112012-11-01 Joseph Myers <joseph@codesourcery.com>
5512
5513 [BZ #14784]
5514 [BZ #14785]
5515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5516 x * y using scaling, not as x * y + z.
5517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5519 * math/libm-test.inc (fma_test): Add more tests.
5520 (fma_test_towardzero): Likewise.
5521 (fma_test_downward): Likewise.
5522 (fma_test_upward): Likewise.
5523
4078da3d
TS
55242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5525
5526 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5527
903252aa
JM
55282012-10-31 Joseph Myers <joseph@codesourcery.com>
5529
5530 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5531 New variable.
5532
cbc818d0
TS
55332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5534
5535 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5536
5a03cb1e
AS
55372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5538
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5540 Fix sort order.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5542 Likewise.
5543
90aff2ff
TMQMF
55442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5545
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5547 Fix the order of the list for glibc 2.17.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5549 Likewise.
5550
1818fcb7
AS
55512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5552
5553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5554
ef82f4da
JM
55552012-10-31 Joseph Myers <joseph@codesourcery.com>
5556
16a0e2ec
JM
5557 [BZ #14610]
5558 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5559 for low part of x being zero before using __atanl (y).
5560 * math/libm-test.inc (atan2_test): Add another test.
5561
0eb69512
JM
5562 * manual/install.texi (Configuring and compiling): Document
5563 general use of test-wrapper and test-wrapper-env.
5564 * INSTALL: Regenerated.
5565
ef82f4da
JM
5566 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5567 (__fma): Do not extract and scale down low bits on after-rounding
5568 systems when result rounded to normal precision would have normal
5569 exponent.
5570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5571 (__fmal): Do not extract and scale down low bits on after-rounding
5572 systems when result rounded to normal precision would have normal
5573 exponent.
5574 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5575 (__fmal): Do not extract and scale down low bits on after-rounding
5576 systems when result rounded to normal precision would have normal
5577 exponent.
5578 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5579 macro.
5580 (fma_test): Add more tests.
5581 (fma_test_towardzero): Likewise.
5582 (fma_test_downward): Likewise.
5583 (fma_test_upward): Likewise.
5584
954ef0d9
L
55852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 * sysdeps/i386/tininess.h: Renamed to ...
5588 * sysdeps/x86/tininess.h: This.
5589 * sysdeps/x86_64/tininess.h: Removed.
5590
df61ffb2
JM
55912012-10-30 Joseph Myers <joseph@codesourcery.com>
5592
5593 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5594 input. Use $(build-program-cmd).
5595 ($(objpfx)tst-array1-static.out): Likewise.
5596 ($(objpfx)tst-array2.out): Likewise.
5597 ($(objpfx)tst-array3.out): Likewise.
5598 ($(objpfx)tst-array4.out): Likewise.
5599 ($(objpfx)tst-array5.out): Likewise.
5600 ($(objpfx)tst-array5-static.out): Likewise.
5601
01767843
CM
56022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5603
47cc1490
CM
5604 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5605 if defined.
5606
01767843
CM
5607 * nss/nsswitch.h (nss_interface_function): Provide new
5608 macro for use with NSS functions.
5609 * grp/initgroups.c: Use new macro.
5610 * nss/getXXbyYY.c: Likewise.
5611 * nss/getXXbyYY_r.c: Likewise.
5612 * nss/getXXent.c: Likewise.
5613 * nss/getXXent_r.c: Likewise.
5614 * sysdeps/posix/getaddrinfo.c: Likewise.
5615
8321aa97
AJ
56162012-10-30 Andreas Jaeger <aj@suse.de>
5617
5618 * po/ru.po: Update Russion translation from translation project.
5619
2a27fd6d
JM
56202012-10-30 Joseph Myers <joseph@codesourcery.com>
5621
8627a232
JM
5622 [BZ #14152]
5623 [BZ #14783]
5624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5625 result and shift together with sticky bit instead of replicating
5626 round-to-nearest rounding.
5627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5629 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5630 missing underflow exceptions.
5631 (fma_test_towardzero): Add more tests.
5632 (fma_test_downward): Likewise.
5633 (fma_test_upward): Likewise.
5634
2a27fd6d
JM
5635 [BZ #14047]
5636 * sysdeps/generic/tininess.h: New file.
5637 * sysdeps/i386/tininess.h: Likewise.
5638 * sysdeps/sh/tininess.h: Likewise.
5639 * sysdeps/x86_64/tininess.h: Likewise.
5640 * stdlib/tst-strtod-underflow.c: Likewise.
5641 * stdlib/tst-tininess.c: Likewise.
5642 * stdlib/strtod_l.c: Include <tininess.h>.
5643 (round_and_return): Do not set errno for exact underflow cases.
5644 Force an underflow exception when setting errno for underflow.
5645 Determine underflow based on rounding to normal precision if
5646 TININESS_AFTER_ROUNDING.
5647 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5648 ERANGE for exact underflow cases.
5649 * stdlib/Makefile (tests): Add tst-tininess and
5650 tst-strtod-underflow.
5651 ($(objpfx)tst-tininess): Use $(link-libm).
5652 ($(objpfx)tst-strtod-underflow): Likewise.
5653
e7170363
AJ
56542012-10-30 Andreas Jaeger <aj@suse.de>
5655
e5088dc6
AJ
5656 [BZ#14767]
5657 * elf/Makefile (tests): Remove conditional for have-initfini-array
5658 since this is now always required and the variable does not exist
5659 anymore.
5660 (tests-static): Likewise.
5661 (modules-names): Likewise.
5662
e7170363 5663 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5664
5665 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5666 merged with constructor/destructor.
5667 (init_array): Likewise.
5668 * elf/tst-array2dep.c (fini_array): Likewise.
5669 (init_array): Likewise.
5670
60457d8a
MF
56712012-10-29 Mike Frysinger <vapier@gentoo.org>
5672
5673 * manual/message.texi: Delete @cartouche tags.
5674
8bece752
PT
56752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5676
94ce799f
PT
5677 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5678 EOPNOTSUPP.
5679 * sysdeps/mach/hurd/fsync.c: Likewise.
5680
8bece752
PT
5681 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5682 [_POSIX_REALTIME_SIGNALS]: Change condition to
5683 [_POSIX_REALTIME_SIGNALS > 0].
5684
86ebe6b1
AJ
56852012-10-27 Andreas Jaeger <aj@suse.de>
5686
5687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5688 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5690 [__WORDSIZE != 64]: Likewise.
5691
54399c08
L
56922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5693
5694 * iconvdata/tst-table.sh: Remove ${SHELL}.
5695 * iconvdata/tst-tables.sh: Likewise.
5696
e2211bed
DM
56972012-10-25 David S. Miller <davem@davemloft.net>
5698
5699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5700 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5701 of strtoull.
5702
f303f97c
DM
5703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5704 ifunc-impl-list.c
5705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5706 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5707 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5708 file.
5709
1e9d84cd
RM
57102012-10-25 Roland McGrath <roland@hack.frob.com>
5711
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5713 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5714 __getdirentries.
5715
df381762
JM
57162012-10-25 Joseph Myers <joseph@codesourcery.com>
5717 Jim Blandy <jimb@codesourcery.com>
5718
5719 * scripts/cross-test-ssh.sh: New file.
5720 * manual/install.texi (Configuring and compiling): Document use of
5721 cross-test-ssh.sh.
5722 * INSTALL: Regenerated.
5723
bff64913
PT
57242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5725
5726 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5727 EOPNOTSUPP.
5728
25fe8932
JM
57292012-10-25 Joseph Myers <joseph@codesourcery.com>
5730
5731 * Makeconfig (run-program-prefix): Fix comment.
5732
cc1290d0
JM
57332012-10-24 Joseph Myers <joseph@codesourcery.com>
5734 Jim Blandy <jimb@codesourcery.com>
5735
5736 * Makeconfig (test-wrapper): New variable,
5737 (test-wrapper-env): Likewise.
5738 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5739 (run-built-tests): Define to yes.
5740 (run-program-prefix): Use $(test-wrapper).
5741 (built-program-cmd): Likewise.
5742 * Rules (make-test-out): Use $(test-wrapper-env) and
5743 $(host-built-program-cmd).
5744 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5745 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5746 tst-pathopt.sh.
5747 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5748 $(test-wrapper-env) to tst-rtld-load-self.sh.
5749 ($(objpfx)order2.out): Use $(test-wrapper).
5750 ($(objpfx)tst-initorder.out): Likewise.
5751 ($(objpfx)tst-initorder2.out): Likewise.
5752 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5753 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5754 (test_wrapper_env): New variable. Use it to run ld.so.
5755 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5756 Use it to run ld.so.
5757 (test_wrapper_env): Likewise.
5758 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5759 $(test-wrapper) to run-iconv-test.sh.
5760 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5761 (ICONV): Use $test_wrapper.
5762 * posix/Makefile ($(objpfx)globtest.out): Pass
5763 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5764 globtest.sh, not $(run-program-prefix).
5765 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5766 (test_wrapper): Likewise.
5767 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5768 set together with run_via_rtld_prefix.
5769 (run_program_prefix): Define in terms of test_wrapper and
5770 run_via_rtld_prefix.
5771
6e6249d0
RM
57722012-10-24 Roland McGrath <roland@hack.frob.com>
5773
5774 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5775 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5776 Targets removed.
5777
5778 [BZ #14743]
5779 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5780 Declare __clock_getres, __clock_gettime, __clock_settime,
5781 __clock_nanosleep, and __clock_getcpuclockid.
5782 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5783 Remove librt_hidden_def (clock_gettime).
5784 * sysdeps/unix/clock_gettime.c: Likewise.
5785 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5787 * rt/clock_getres.c: Define __clock_getres as an alias.
5788 * sysdeps/posix/clock_getres.c: Likewise.
5789 * rt/clock_settime.c: Define __clock_settime as an alias.
5790 * sysdeps/unix/clock_settime.c: Likewise.
5791 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5792 * sysdeps/unix/clock_nanosleep.c: Likewise.
5793 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5794 * rt/clock-compat.c: New file.
5795 * rt/Makefile (librt-routines): Add clock-compat and move
5796 $(clock-routines) to ...
5797 (routines): ... here, new variable.
5798 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5799 Don't add get_clockfreq here.
5800 * rt/Versions (libc: GLIBC_2.17): New version set.
5801 Add clock_* symbols here.
5802 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5803 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5804 (GLIBC_2.17): Add clock_* symbols.
5805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5809 Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5811 Likewise.
5812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5816 * NEWS: Mention the move.
5817
5818 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5819 Use __open, __read, __close rather than their public counterparts.
5820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5821 (__get_clockfreq_via_cpuinfo): Likewise.
5822 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5823 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5824
5825 * config.h.in (HAVE_IFUNC): New #undef.
5826 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5827 was successful.
5828 * configure: Regenerated.
5829
0cae3f4b
MF
58302012-10-24 Mike Frysinger <vapier@gentoo.org>
5831
5832 * configure.in: Move READELF check to start of file.
5833 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5834 libc_cv_asm_gnu_indirect_function in the process.
5835 * configure: Regenerated.
5836
8175a253
MF
58372012-10-24 Mike Frysinger <vapier@gentoo.org>
5838
5839 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5840 send the output to /dev/null.
5841 (libc_cv_cc_with_libunwind): Likewise.
5842 (libc_cv_as_noexecstack): Likewise.
5843 * configure: Regenerate.
5844
0708a7d1
JM
58452012-10-24 Joseph Myers <joseph@codesourcery.com>
5846
10b40d85
JM
5847 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5848
0708a7d1
JM
5849 * posix/globtest.sh (TMPDIR): Do not set.
5850 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5851 (testout): Likewise.
5852
9fddec1a
AJ
58532012-10-24 Andreas Jaeger <aj@suse.de>
5854
3a8db22f
AJ
5855 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5856 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5857 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5858 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5859 posix_fadvise64, posix_fallocate64.
5860
9fddec1a
AJ
5861 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5862 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5863 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5864 Likewise.
5865 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5866 Likewise.
5867 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5868
5869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5870 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5871 <bits/fcntl-linux.h>.
5872 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5873
5874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5875 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5876 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5877 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5878 [__WORDSIZE != 64]: Likewise.
5879
ebfd1bbd
JM
58802012-10-23 Joseph Myers <joseph@codesourcery.com>
5881
03ac099f
JM
5882 * Makeconfig (run-built-tests): New variable.
5883 * Rules [$(cross-compiling) = yes]: Change condition to
5884 [$(run-built-tests) = no].
5885 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5886 to [$(run-built-tests) = yes].
5887 * elf/Makefile [$(cross-compiling) = no]: Likewise
5888 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5889 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5890 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5891 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5892 * io/Makefile [$(cross-compiling) = no]: Likewise.
5893 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5894 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5895 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5896 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5897 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5898 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5899 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5900 * string/Makefile [$(cross-compiling) = no]: Likewise.
5901
ebfd1bbd
JM
5902 * posix/Makefile ($(objpfx)globtest.out): Pass
5903 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5904 $(rtld-installed-name).
5905 * posix/globtest.sh (elf_objpfx): Remove variable.
5906 (rtld_installed_name): Likewise.
5907 (library_path): Likewise.
5908 (run_program_prefix): New variable. Use for running globtest
5909 binary.
5910
166bca24
JB
59112012-10-23 Jim Blandy <jimb@codesourcery.com>
5912 Joseph Myers <joseph@codesourcery.com>
5913
5914 * Makeconfig (host-built-program-cmd): New variable.
5915 * elf/Makefile (tst-stackguard1-ARGS): Use
5916 $(host-built-program-cmd).
5917 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5918 (tst-spawn-ARGS): Likewise.
5919 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5920
88866099
JM
59212012-10-23 Joseph Myers <joseph@codesourcery.com>
5922 Jim Blandy <jimb@codesourcery.com>
5923
5924 * Makeconfig (run-via-rtld-prefix): New variable.
5925 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5926 (built-program-cmd): Likewise.
5927
b4b4c296
AJ
59282012-10-22 Andreas Jaeger <aj@suse.de>
5929
5930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5931 __O_RSYNC if it exists, otherwise to O_SYNC.
5932
6fb54a22
JB
59332012-10-22 Jim Blandy <jimb@codesourcery.com>
5934 Joseph Myers <joseph@codesourcery.com>
5935
5936 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5937 /dev/null.
5938 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5939 from /dev/null
5940 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5941 /dev/null.
5942
481b90b9
AJ
59432012-10-22 Andreas Jaeger <aj@suse.de>
5944
2a0e2669
AJ
5945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5946 Define always.
5947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5948
76e38f9a
AJ
5949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5950 bits/fcntl-linux.h.
5951
7cd37b43
AJ
5952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5953 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5954
481b90b9
AJ
5955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5956 to __O_LARGEFILE.
5957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5958 to __O_LARGEFILE.
5959
aba75984
JB
59602012-10-21 Jim Blandy <jimb@codesourcery.com>
5961 Joseph Myers <joseph@codesourcery.com>
5962
5963 * config.make.in (NM): New variable.
5964
88d4247f
AJ
59652012-10-21 Andreas Jaeger <aj@suse.de>
5966
5967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5968 definitions and declarations that are provided by
5969 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5970
f2eed205
L
59712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5972
5973 [BZ #14683]
5974 * elf/Makefile (tests-static): Add tst-leaks1-static.
5975 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5976 ($(objpfx)tst-leaks1-static): New rule.
5977 ($(objpfx)tst-leaks1-static-mem): Likewise.
5978 (tst-leaks1-static-ENV): New macro.
5979 * elf/dl-open.c (dl_open_worker): Check the main application
5980 only if SHARED is defined.
5981 * elf/tst-leaks1-static.c: New file.
5982
335e6931
AJ
59832012-10-20 Andreas Jaeger <aj@suse.de>
5984
5985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5986 generic values for Linux.
5987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5988 and declarations that are provided by <bits/fcntl-linux.h> and
5989 include <bits/fcntl-linux.h>.
5990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5992
ac5c94d3
RM
59932012-10-20 Roland McGrath <roland@hack.frob.com>
5994
5995 * io/fcntl.h: Move include of <bits/types.h> to the top and
5996 include it unconditionally.
5997
de54b33a
L
59982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5999
228cfb01
L
6000 * wcsmbs/Makefile (tests-ifunc): New variable.
6001 (tests): Add $(tests-ifunc).
6002 * wcsmbs/test-wcschr-ifunc.c: New file.
6003 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6004 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6005 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6006 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6007 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6008
69f07e5f
L
6009 * string/Makefile (tests-ifunc): New variable.
6010 (tests): Add $(tests-ifunc).
6011 * string/test-memccpy.c (TEST_NAME): New macro.
6012 * string/test-memchr.c (TEST_NAME): Likewise.
6013 * string/test-memcmp.c (TEST_NAME): Likewise.
6014 * string/test-memcpy.c (TEST_NAME): Likewise.
6015 * string/test-memmem.c (TEST_NAME): Likewise.
6016 * string/test-memmove.c (TEST_NAME): Likewise.
6017 * string/test-memset.c (TEST_NAME): Likewise.
6018 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6019 * string/test-stpcpy.c (TEST_NAME): Likewise.
6020 * string/test-stpncpy.c (TEST_NAME): Likewise.
6021 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6022 * string/test-strcasestr.c (TEST_NAME): Likewise.
6023 * string/test-strcat.c (TEST_NAME): Likewise.
6024 * string/test-strchr.c (TEST_NAME): Likewise.
6025 * string/test-strcmp.c(TEST_NAME): Likewise.
6026 * string/test-strcpy.c (TEST_NAME): Likewise.
6027 * string/test-strcspn.c (TEST_NAME): Likewise.
6028 * string/test-strlen.c (TEST_NAME): Likewise.
6029 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6030 * string/test-strncmp.c (TEST_NAME): Likewise.
6031 * string/test-strncpy.c (TEST_NAME): Likewise.
6032 * string/test-strnlen.c (TEST_NAME): Likewise.
6033 * string/test-strpbrk.c (TEST_NAME): Likewise.
6034 * string/test-strrchr.c (TEST_NAME): Likewise.
6035 * string/test-strspn.c (TEST_NAME): Likewise.
6036 * string/test-strstr.c (TEST_NAME): Likewise.
6037 * string/test-bcopy-ifunc.c: New file.
6038 * string/test-bzero-ifunc.c: Likewise.
6039 * string/test-memccpy-ifunc.c: Likewise.
6040 * string/test-memchr-ifunc.c: Likewise.
6041 * string/test-memcmp-ifunc.c: Likewise.
6042 * string/test-memcpy-ifunc.c: Likewise.
6043 * string/test-memmem-ifunc.c: Likewise.
6044 * string/test-memmove-ifunc.c: Likewise.
6045 * string/test-mempcpy-ifunc.c: Likewise.
6046 * string/test-memset-ifunc.c: Likewise.
6047 * string/test-rawmemchr-ifunc.c: Likewise.
6048 * string/test-stpcpy-ifunc.c: Likewise.
6049 * string/test-stpncpy-ifunc.c: Likewise.
6050 * string/test-strcasecmp-ifunc.c: Likewise.
6051 * string/test-strcasestr-ifunc.c: Likewise.
6052 * string/test-strcat-ifunc.c: Likewise.
6053 * string/test-strchr-ifunc.c: Likewise.
6054 * string/test-strchrnul-ifunc.c: Likewise.
6055 * string/test-strcmp-ifunc.c: Likewise.
6056 * string/test-strcpy-ifunc.c: Likewise.
6057 * string/test-strcspn-ifunc.c: Likewise.
6058 * string/test-strlen-ifunc.c: Likewise.
6059 * string/test-strncasecmp-ifunc.c: Likewise.
6060 * string/test-strncat-ifunc.c: Likewise.
6061 * string/test-strncmp-ifunc.c: Likewise.
6062 * string/test-strncpy-ifunc.c: Likewise.
6063 * string/test-strnlen-ifunc.c: Likewise.
6064 * string/test-strpbrk-ifunc.c: Likewise.
6065 * string/test-strrchr-ifunc.c: Likewise.
6066 * string/test-strspn-ifunc.c: Likewise.
6067 * string/test-strstr-ifunc.c: Likewise.
6068
de54b33a
L
6069 * debug/Makefile (tests-ifunc): New variable.
6070 (tests): Add $(tests-ifunc).
6071 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6072 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6073 * debug/test-stpcpy_chk-ifunc.c: New file.
6074 * debug/test-strcpy_chk-ifunc.c: Likewise.
6075
88481c16
SP
60762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
6078 [BZ #13601]
6079 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6080 header is not read in.
6081
135948bd
JM
60822012-10-19 Joseph Myers <joseph@codesourcery.com>
6083
89f1c388
JM
6084 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6085 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6086 directly. Pass built executable to script as
6087 $(built-program-cmd).
6088 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6089 $testprogram without using LD_LIBRARY_PATH and $ldso.
6090
e40a0d21
JM
6091 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6092 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6093 $(rtld-installed-name).
6094 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6095 (rtld_installed_name): Likewise.
6096 (library_path): Likewise.
6097 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6098 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6099 $(run-program-prefix) to tst-tables.sh.
6100 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6101 it to run tst-table-from and tst-table-to.
6102 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6103 Pass it to tst-table.sh.
6104 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6105 $(run-program-prefix) to tst-gettext.sh.
6106 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6107 tst-translit.sh.
6108 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6109 tst-gettext2.sh.
6110 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6111 to run tst-gettext.
6112 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6113 to run tst-gettext2.
6114 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6115 to run tst-translit.
6116 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6117 $(run-program-prefix) to tst-mtrace.sh.
6118 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6119 to run tst-mtrace.
6120 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6121 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6122 $(rtld-installed-name).
6123 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6124 (rtld_installed_name): Likewise.
6125 (run_program_prefix): New variable. Use it to run wordexp-test.
6126
728e272a
JM
6127 * Makeconfig (ARCH): Remove all definitions.
6128 (machine): Likewise.
6129 [ARCH]: Remove conditional code.
6130 [!objdir]: Give error.
6131 [!objdir] (objpfx): Remove.
6132 [!objdir] (common-objpfx): Likewise.
6133 [!objdir] (common-objdir): Likewise.
6134 * configure.in (config_makefile): Remove. Hardcode Makefile in
6135 AC_CONFIG_FILES call.
6136 * configure: Regenerated.
6137
d528cdcf
JM
6138 [BZ #13888]
6139 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6140 or TMPDIR.
6141 (testout): Likewise.
6142
135948bd
JM
6143 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6144 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6145 $(rtld-installed-name).
6146 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6147 (rtld_installed_name): Likwise.
6148 (runit): Remove function.
6149 (run_getconf): New variable, Use it for running getconf binary.
6150
38c78296
L
61512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 [BZ #14716]
6154 * string/test-memmem.c (check_result): New function.
6155 (do_one_test): Use it.
6156 (check1): New function.
6157 (test_main): Use it.
6158
d077f65f
MT
61592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6160
6161 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6162
ced52c71
JM
61632012-10-18 Joseph Myers <joseph@codesourcery.com>
6164
6165 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6166 (_G_LSEEK64): Likewise.
6167 (_G_MMAP64): Likewise.
6168 (_G_FSTAT64): Likewise.
6169 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6170 (_G_LSEEK64): Likewise.
6171 (_G_MMAP64): Likewise.
6172 (_G_FSTAT64): Likewise.
6173 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6174 unconditional. Call __mmap64 directly.
6175 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6176 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6177 __lseek64 directly.
6178 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6179 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6180 __mmap64 directly.
6181 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6182 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6183 __lseek64 directly.
6184 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6185 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6186 __lseek64 directly.
6187 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6188 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6189 __lseek64 directly.
6190 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6191 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6192 __fxstat64 directly.
6193 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6194 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6195 unconditional.
6196 (freopen64) [!_G_OPEN64]: Remove conditional code.
6197 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6198 unconditional.
6199 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6200 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6201 unconditional.
6202 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6203 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6204 unconditional.
6205 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6206 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6207 unconditional.
6208 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6209 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6210 unconditional.
6211 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6212 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6213 unconditional.
6214 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6215 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6216 unconditional.
6217 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6218
b741de23
SP
62192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6220
6221 [BZ #12140]
6222 * manual/memory.texi (Malloc Tunable Parameters): Add note
6223 about free list pointers overwriting some perturb bytes.
6224 Wording suggested by Roland McGrath.
6225
f9b9d9c9
JM
62262012-10-17 Joseph Myers <joseph@codesourcery.com>
6227
6228 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6229 (lgamma_test): Likewise.
6230 (tgamma_test): Likewise.
6231
172a631a
FW
62322012-10-16 Florian Weimer <fweimer@redhat.com>
6233
6234 [BZ #14700]
6235 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6236 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6237
e9f37252
MK
62382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6239
6240 * NEWS: Mention BZ #14716.
6241 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6242 when removing AVAILABLE1_USES_J macro.
6243
d394eb74
L
62442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6245
6246 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6247 (__bswap_64): __uint64_t for unsigned 64-bit int.
6248
ca38dc17
AS
62492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6250
6251 * include/string.h (memmem): Declare libc hidden alias.
6252 * string/memmem.c (memmem): Define libc hidden alias.
6253 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6254 __read, __close instead of open, read, close.
6255
9a387d1f
L
62562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6257
ac49ecaf
L
6258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6259 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6260 global and hidden.
6261 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6262 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6263 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6264 Likewise.
6265 (__rawmemchr_sse2): Likewise.
6266 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6267 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6268 (__strchr_sse2): Likewise.
6269 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6270 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6271 (__strcasecmp_sse2): Likewise.
6272 (__strncasecmp_sse2): Likewise.
6273 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6274 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6275 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6276 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6277 (__strrchr_sse2): Likewise.
6278 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6279 ifunc-impl-list.c.
6280 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6281 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6282 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6283 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6284 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6285 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6286 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6287 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6288 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6289 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6290 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6292 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6293 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6294 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6295 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6296 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6297 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6298 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6299 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6300 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6301 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6302 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6303 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6304 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6306 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6307 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6308 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6309 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6310
b090e8ea
L
6311 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6312 global and hidden.
6313 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6314 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6315 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6316 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6317 Likewise.
6318 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6319 Likewise.
6320 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6321 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6322 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6323 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6324 ifunc-impl-list.c.
6325 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6334 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6335 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6336 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6337 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6338 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6339 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6341 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6342 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6348 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6350 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6351 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6352 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6353 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6354 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6355 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6356 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6357 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6358 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6359 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6361 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6362 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6364 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6365 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6366
11dd4af6
L
6367 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6368 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6369 * include/ifunc-impl-list.h: New file.
6370 * misc/ifunc-impl-list.c: Likewise.
6371 * misc/Makefile (routines): Add ifunc-impl-list.
6372 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6373 * string/test-string.h: Include <ifunc-impl-list.h>.
6374 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6375 impl_array): New variables.
6376 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6377 are defined.
6378 (test_init): Call __libc_ifunc_impl_list to initialize
6379 func_list if TEST_IFUNC and TEST_NAME are defined.
6380
9a387d1f
L
6381 * string/Makefile (strop-tests): Add bcopy and bzero.
6382 * string/test-bcopy.c: New file.
6383 * string/test-bzero.c: Likewise.
6384 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6385 defined.
6386 * string/test-memset.c: Support bzero test if TEST_BZERO is
6387 defined.
6388 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6389 __libc_memmove.
6390 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6391 __libc_memset.
6392 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6393 of memset.
6394
472371b9
JM
63952012-10-10 Joseph Myers <joseph@codesourcery.com>
6396
1e4a9536
JM
6397 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6398 * configure: Regenerated.
6399
d173d12e
JM
6400 * Makeconfig (+link-static-before-libc): Don't include
6401 $(link-static-libc).
6402
472371b9
JM
6403 * libio/libio.h (_IO_pos_t): Remove.
6404
89a3ad0b
AO
64052012-10-10 Alexandre Oliva <aoliva@redhat.com>
6406
6407 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6408 McGrath.
6409
e7451425
AO
64102012-10-10 Alexandre Oliva <aoliva@redhat.com>
6411
6412 * crypt/crypt-entry.c: Include fips-private.h.
6413 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6414 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6415 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6416 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6417
4ba74a35
AO
64182012-10-10 Alexandre Oliva <aoliva@redhat.com>
6419
6420 * crypt/crypt-private.h: Include stdbool.h.
6421 (_ufc_setup_salt_r): Return bool.
6422 * crypt/crypt-entry.c: Include errno.h.
6423 (__crypt_r): Return NULL with EINVAL for bad salt.
6424 * crypt/crypt_util.c (bad_for_salt): New.
6425 (_ufc_setup_salt_r): Check that salt is long enough and within
6426 the specified alphabet.
6427 * crypt/badsalttest.c: New file.
6428 * crypt/Makefile (tests): Add it.
6429 ($(objpfx)badsalttest): New.
6430
f96f1242
MK
64312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6432
6433 * NEWS: Add entry for BZ #14602.
6434
0e8e0c1c
JM
64352012-10-09 Joseph Myers <joseph@codesourcery.com>
6436
6437 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6438 type-generic.
6439 * math/libm-test.inc: Update comment listing what functions and
6440 macros are tested.
6441 (isgreater_test): New function.
6442 (isgreaterequal_test): Likewise.
6443 (isless_test): Likewise.
6444 (islessequal_test): Likewise.
6445 (islessgreater_test): Likewise.
6446 (isunordered_test): Likewise.
6447 (main): Call the new functions.
6448
273edc5e
RM
64492012-10-09 Roland McGrath <roland@hack.frob.com>
6450
b8493de0
RM
6451 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6452 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6453 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6454 * sysdeps/i386/configure: Regenerated.
6455 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6456 * sysdeps/mach/configure: Regenerated.
6457 * sysdeps/mach/hurd/configure: Regenerated.
6458 * sysdeps/powerpc/configure: Regenerated.
6459 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6460 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6461 * sysdeps/s390/s390-32/configure: Regenerated.
6462 * sysdeps/s390/s390-64/configure: Regenerated.
6463 * sysdeps/sh/configure: Regenerated.
6464 * sysdeps/sparc/configure: Regenerated.
6465 * sysdeps/unix/sysv/linux/configure: Regenerated.
6466 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6467 * sysdeps/x86_64/configure: Regenerated.
6468
273edc5e
RM
6469 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6470 defined. Don't check if MAP is NULL.
6471
c8450f70
JM
64722012-10-09 Joseph Myers <joseph@codesourcery.com>
6473
6474 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6475 (_G_stat64): Likewise.
6476 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6477 (_G_stat64): Likewise.
6478 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6479 instead of struct _G_stat64.
6480 * libio/fileops.c (mmap_remap_check): Likewise.
6481 (decide_maybe_mmap): Likewise.
6482 (_IO_new_file_seekoff): Likewise.
6483 (_IO_file_stat): Likewise.
6484 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6485 _G_off64_t.
6486 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6487 instead of struct _G_stat64.
6488 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6489
57e605ba
MK
64902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6491
6492 [BZ #14602]
6493 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6494 Replace with ...
6495 (CHECK_EOL): New macro.
6496 (two_way_short_needle): Check beginning of haystack for EOL. Use
6497 CHECK_EOL.
6498 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6499 Replace with CHECK_EOL.
6500 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6501 Replace with CHECK_EOL.
6502
ef1bb361
JM
65032012-10-08 Joseph Myers <joseph@codesourcery.com>
6504
6505 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6506 type-generic.
6507 * math/libm-test.inc: Update comment listing what functions and
6508 macros are tested.
6509 (finite_test): New function.
6510 (isinf_test): Likewise.
6511 (isnan_test): Likewise.
6512 (fpclassify_test): Test subnormal input.
6513 (isfinite_test): Likewise.
6514 (isnormal_test): Likewise.
6515 (main): Call the new functions.
6516
55f11534
JN
65172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6518
6519 [BZ #14660]
6520 * Makerules (%.dynsym): Force C locale when running
6521 $(OBJDUMP) --dynamic-syms.
6522
1ab29350
AS
65232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6524
6525 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6526 <stdint.h>.
6527
f1ecb7ef
DM
65282012-10-06 David S. Miller <davem@davemloft.net>
6529
6530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6531 upper 32-bits of the length value in %o2 since we use branch-on-register
6532 tests which consider the entire 64-bit register.
6533
5d41d91a
L
65342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6535
6536 * string/test-strstr.c (check2): Add a test for page boundary.
6537
3baddb72
DM
65382012-10-05 David S. Miller <davem@davemloft.net>
6539
6540 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6542 file.
6543 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6544 sysdep_routines.
6545 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6546 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6547 and bzero when HWCAP_SPARC_CRYPTO is present.
6548
9cee5585
L
65492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6550
d7e0dab9
L
6551 [BZ #14602]
6552 * string/test-strstr.c (check2): New function.
6553 (test_main): Call check2.
6554
03759f47
L
6555 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6556 and bug-strchr1.
6557 * string/bug-strcasestr1.c (do_test): Moved to ...
6558 * string/test-strcasestr.c (check1): Here. New function.
6559 (do_one_test): Break out result checking code into ...
6560 (check_result): This. New function.
6561 (do_one_test): Call check_result.
6562 (test_main): Call check1.
6563 * string/bug-strchr1.c (do_test): Moved to ...
6564 * string/test-strchr.c (check1): Here. New function.
6565 (do_one_test): Break out result checking code into ...
6566 (check_result): This. New function.
6567 (do_one_test): Call check_result.
6568 (test_main): Call check1.
6569 * string/bug-strstr1.c (main): Moved to ...
046f153e 6570 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6571 (do_one_test): Break out result checking code into ...
6572 (check_result): This. New function.
6573 (do_one_test): Call check_result.
6574 (test_main): Call check1.
6575 * string/bug-strcasestr1.c: Removed.
6576 * string/bug-strchr1.c: Likewise.
6577 * string/bug-strstr1.c: Likewise.
6578
53cea63e
L
6579 * elf/Makefile (dl-routines): Add hwcaps.
6580 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6581 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6582 (_dl_important_hwcaps): Moved to ...
6583 * elf/dl-hwcaps.c: Here. New file.
6584 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6585
9cee5585 6586 [BZ #14557]
bb859b06
L
6587 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6588 if IS_IN_rtld isn't defined.
6589
9cee5585
L
6590 * elf/dl-support.c (_dl_sysinfo_map): New.
6591 Include "get-dynamic-info.h" and "setup-vdso.h".
6592 (_dl_non_dynamic_init): Call setup_vdso.
6593 * elf/dynamic-link.h: Don't include <assert.h>.
6594 (elf_get_dynamic_info): Moved to ...
6595 * elf/get-dynamic-info.h: Here. New file.
6596 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6597 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6598 * elf/setup-vdso.h: Here. New file.
6599 * elf/rtld.c: Include "setup-vdso.h".
6600 (dl_main): Call setup_vdso.
6601
23c31b76
JM
66022012-10-05 Joseph Myers <joseph@codesourcery.com>
6603
28234b07
JM
6604 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6605 creal in comment listing functions tested. List finite, isinf,
6606 isnan, isless, islessequal, isgreater, isgreaterequal,
6607 islessgreater, isunordered, lgamma_r and pow10 as functions and
6608 macros not tested. Mention which functions not tested are aliases
6609 for other functions. Fix typo. Note that signs of NaNs are not
6610 tested.
6611
23c31b76
JM
6612 * scripts/config.guess: Update from config.git.
6613 * scripts/config.sub: Likewise.
6614
9043e228
RM
66152012-10-04 Roland McGrath <roland@hack.frob.com>
6616
6617 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6618 * misc/madvise.c (madvise): Renamed to __madvise.
6619 Make madvise a weak alias.
6620 * include/sys/mman.h: Declare __madvise.
6621 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6622 * sysdeps/unix/syscalls.list
6623 (madvise): Make __madvise the strong name, and madvise a weak alias.
6624 * sysdeps/unix/sysv/linux/syscalls.list
6625 (madvise, mmap): Remove redundant entries.
6626 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6627 * malloc/malloc.c (mtrim): Likewise.
6628 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6629
f57f8055
RM
66302012-10-03 Roland McGrath <roland@hack.frob.com>
6631
6632 * sysdeps/mach/hurd/dl-cache.c: File removed.
6633 * config.h.in (USE_LDCONFIG): New #undef.
6634 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6635 * configure: Regenerated.
6636 * elf/Makefile (dl-routines): Add dl-cache only under
6637 [$(use-ldconfig) = yes].
6638 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6639 cache on [USE_LDCONFIG].
6640 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6641 [USE_LDCONFIG].
6642 * elf/rtld.c (dl_main): Likewise.
6643
5bb0c10a
PT
66442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6645
6646 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6647 _SC_LEVEL4_CACHE_LINESIZE.
6648
010188c6
RM
66492012-10-03 Roland McGrath <roland@hack.frob.com>
6650
6651 * sysdeps/unix/bsd/confstr.h: File removed.
6652
b6c5ec07
AO
66532012-10-02 Alexandre Oliva <aoliva@redhat.com>
6654
6655 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6656 sys/sdt-config.h.
6657
408223d4
RM
66582012-10-02 Roland McGrath <roland@hack.frob.com>
6659
6660 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6661 Make 'mapoff' field ElfW(Off) rather than off_t.
6662
bb9510dc
DL
66632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6664
fc997c6e
DL
6665 * nscd/Makefile: Remove nscd-cflags and all its users.
6666 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6667 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6668
bb9510dc
DL
6669 [BZ #10631]
6670 * malloc.c (malloc_printerr): Clarify error message.
6671
05699367
L
66722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 [BZ #14648]
6675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6676 Set bit_FMA_Usable if FMA is supported.
6677 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6678 macro.
6679 (bit_FMA4_Usable): Updated.
6680 (index_FMA_Usable): New macro.
6681 (CPUID_FMA): Likewise
6682 (HAS_FMA): Defined with bit_FMA_Usable.
6683
51367701
RM
66842012-10-01 Roland McGrath <roland@hack.frob.com>
6685
6686 * bits/types.h (__swblk_t): Type removed.
6687 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6688 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6690 (__SWBLK_T_TYPE): Likewise.
6691 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6692 (__SWBLK_T_TYPE): Likewise.
6693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6694 (__SWBLK_T_TYPE): Likewise.
6695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6696 (__SWBLK_T_TYPE): Likewise.
6697
4d57bf63 66982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6699 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6700
6701 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6702 (xdr_mapname): Use YPMAXMAP as maxsize.
6703 (xdr_peername): Use YPMAXPEER as maxsize.
6704 (xdr_keydat): Use YPAXRECORD as maxsize.
6705 (xdr_valdat): Use YPMAXRECORD as maxsize.
6706
93c65d43
RM
67072012-10-01 Roland McGrath <roland@hack.frob.com>
6708
497a03d6
RM
6709 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6710
93c65d43
RM
6711 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6712 * csu/init-first.c: ... here.
6713 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6714 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6715 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6716 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6717 * sysdeps/i386/init-first.c: File removed.
6718 * sysdeps/sh/init-first.c: File removed.
6719
bec749fd
JM
67202012-10-01 Joseph Myers <joseph@codesourcery.com>
6721
6722 [BZ #14645]
6723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6724 if x * y might underflow to zero and z is zero.
6725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6727 * math/libm-test.inc (min_subnorm_value): New variable.
6728 (fma_test): Add more tests.
6729 (fma_test_towardzero): Likewise.
6730 (fma_test_downward): Likewise
6731 (fma_test_upward): Likewise.
6732 (initialize): Set min_subnorm_value.
6733
8ec5b013
JM
67342012-09-29 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #14638]
6737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6738 0 + 0.
6739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6740 mode for addition resulting in exact zero.
6741 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6743 exact 0 + 0.
6744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6746 * math/libm-test.inc (fma_test): Add more tests.
6747 (fma_test_towardzero): New function.
6748 (fma_test_downward): Likewise.
6749 (fma_test_upward): Likewise.
6750 (main): Call the new functions.
6751
b1fa802e
DM
67522012-09-28 David S. Miller <davem@davemloft.net>
6753
6754 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6755
d3b9fd9e
RM
67562012-09-28 Roland McGrath <roland@hack.frob.com>
6757
ea4d37b3
RM
6758 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6759 instead of SIGALRM.
6760
ac51c949
RM
6761 * sysdeps/gnu/_G_config.h: Moved to ...
6762 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6763 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6764 * sysdeps/generic/_G_config.h: ... here.
6765
28c195f7
RM
6766 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6767
848917f9
RM
6768 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6769
6bacf05b
RM
6770 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6771 Conditionalize target on [libnss_test1.so-version].
6772
91363dbb
RM
6773 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6774
cc87f7d8
RM
6775 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6776 (elfobjdir): Move out of conditionals.
6777
b1c608fe
RM
6778 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6779 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6780 (__nss_lookup_function): Conditionalize label remove_from_tree on
6781 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6782
1d9a6d96
DM
67832012-09-28 David S. Miller <davem@davemloft.net>
6784
6785 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6786 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6787 file.
6788 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6789 sysdep_routines.
6790 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6792 when HWCAP_SPARC_CRYPTO is present.
6793
72581615
PT
67942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6795
6796 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6797
715a900c
JL
67982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6799
6800 [BZ #6530]
6801 * stdio-common/vfprintf.c (process_string_arg): Revert
6802 2000-07-22 change.
6803
68042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6805
6806 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6807 for testcase.
6808 * stdio-common/tst-sprintf.c: Include <locale.h>
6809 (main): Test sprintf's handling of incomplete multibyte
6810 characters.
6811
9bac1d86
L
68122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 * elf/dl-runtime.c (VERSYMIDX): Removed.
6815 * elf/dl-version.c (VERSYMIDX): Likewise.
6816 * elf/do-rel.h (VERSYMIDX): Likewise.
6817 (VALIDX): Likewise.
6818 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6819 * elf/rtld.c (VALIDX): Likewise.
6820 (ADDRIDX): Likewise.
9bac1d86
L
6821 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6822 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6823 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6824 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6825 (VALIDX): Likewise.
6826 (ADDRIDX): Likewise.
9bac1d86 6827
b31606c0
PT
68282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6829
6830 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6831
11541177
JL
68322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6833
6834 [BZ #11438]
6835 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6836 to global scope.
6837 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6838 addresses are in the same scope as 192.0.2/24.
6839 * posix/gai.conf: Document new scope table defaults.
6840
adb26fae
SP
68412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6842
6843 [BZ #5298]
6844 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6845 for ftell. Compute offsets from write pointers instead.
6846 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6847
4573c6b0
SP
68482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6849
6850 [BZ #14543]
6851 * libio/Makefile (tests): New test case tst-fseek.
6852 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6853 combination works in wide mode.
6854 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6855 state when the external buffer state changes.
6856
aa9bbfe6
DM
68572012-09-27 David S. Miller <davem@davemloft.net>
6858
6859 [BZ #14376]
6860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6861 pass reloc->r_addend in as the 'high' argument to
6862 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6863
784421e7
DM
6864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6865
c39bc8b8
PT
68662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6867
6868 * rt/tst-aio2.c: Include <pthread.h>.
6869 * rt/tst-aio3.c: Likewise.
6870
1ccc2399
SE
68712012-09-27 Steve Ellcey <sellcey@mips.com>
6872
6873 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6874
31ed4153
L
68752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6876
25f5f885
L
6877 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6878 contents on [SHARED].
31ed4153 6879
b7bfe116
MP
68802012-09-26 Marek Polacek <polacek@redhat.com>
6881
6882 [BZ #14530]
6883 [BZ #13741]
6884 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6885 for C++ and GCC <4.3 as well as for non GCC compilers.
6886
43c4edba
MT
68872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6888
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6890
6a1bf82f
RM
68912012-09-25 Roland McGrath <roland@hack.frob.com>
6892
6893 * Makefile.in (all, install): Declare with .PHONY.
6894 Reported by Michael Hope <michael.hope@linaro.org>.
6895
8ad11b9a
TMQMF
68962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6897
6898 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6899 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6900 system header.
6901 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6902 Likewise.
6903 (sydep_routines): Add the new and the internal functions.
6904 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6905 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6907 (GLIBC_2.17): Add the new function.
6908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6909 (GLIBC_2.17): Likewise.
6910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6911 (GLIBC_2.17): Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6913 (GLIBC_2.17): Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6915
7e2fca8d
AM
69162012-09-25 Alan Modra <amodra@gmail.com>
6917
6918 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6919 Add release barrier before setting once_control to say
6920 initialisation is done. Add hints on lwarx. Use macro in
6921 place of isync.
6922 (clear_once_control): Add release barrier.
6923
b87c4b24
JM
69242012-09-25 Joseph Myers <joseph@codesourcery.com>
6925
d032e0d2
JM
6926 [BZ #13629]
6927 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6928 specially.
6929 * math/s_clog10.c (__clog10): Likewise.
6930 * math/s_clog10f.c (__clog10f): Likewise.
6931 * math/s_clog10l.c (__clog10l): Likewise.
6932 * math/s_clogf.c (__clogf): Likewise.
6933 * math/s_clogl.c (__clogl): Likewise.
6934 * math/Makefile (libm-calls): Add x2y2m1.
6935 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6936 (__x2y2m1): Likewise.
6937 (__x2y2m1l): Likewise.
6938 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6939 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6944 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6947
b87c4b24
JM
6948 [BZ #14621]
6949 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6950 int as type of variable DEPTH.
6951 (glob): Use size_t instead of int as type of variables NEWCOUNT
6952 and OLD_PATHC.
6953
6d3bf199
LD
69542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6955
22bf5c17
LD
6956 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6957 Add s_sincosf-sse2.
6958 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6959 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6960 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6961 macros for using routine as __sincosf_ia32.
6962 Use macro for function declaration and weak_alias.
6963 * sysdeps/i386/fpu/libm-test-ulps: Update.
6964
6965 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6967
6968 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6969 subnormal argument.
6970 * math/s_cexpf.c (__cexpf): Likewise.
6971 * math/s_csinf.c (__csinf): Likewise.
6972 * math/s_csinhf.c (__csinhf): Likewise.
6973 * math/s_ctanf.c (__ctanf): Likewise.
6974 * math/s_ctanhf.c (__ctanhf): Likewise.
6975 * math/s_ccosh.c (__ccoshf): Likewise.
6976 * math/s_cexp.c (__cexpl): Likewise.
6977 * math/s_csin.c (__csin): Likewise.
6978 * math/s_csinh.c (__csinh): Likewise.
6979 * math/s_ctan.c (__ctan): Likewise.
6980 * math/s_ctanh.c (ctanh): Likewise.
6981 * math/s_ccoshl.c (__ccoshl): Likewise.
6982 * math/s_cexpl.c (__cexpl): Likewise.
6983 * math/s_csinl.c (__csinl): Likewise.
6984 * math/s_csinhl.c (__csinhl): Likewise.
6985 * math/s_ctanl.c (__ctanl): Likewise.
6986 * math/s_ctanhl.c (__ctanhl): Likewise.
6987
203e5603
JM
69882012-09-25 Joseph Myers <joseph@codesourcery.com>
6989
6990 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6991 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6992 (_IO_off_t): Define to __off_t, not _G_off_t.
6993 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6994 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6995 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6996 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6997 type of __dummy and __dummy2 fields.
6998 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6999 (_G_ssize_t): Likewise.
7000 (_G_off_t): Likewise.
7001 (_G_pid_t): Likewise.
7002 (_G_uid_t): Likewise.
7003 (_G_wchar_t): Likewise.
7004 (_G_wint_t): Likewise.
7005 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7006 (_G_ssize_t): Likewise.
7007 (_G_off_t): Likewise.
7008 (_G_pid_t): Likewise.
7009 (_G_uid_t): Likewise.
7010 (_G_wchar_t): Likewise.
7011 (_G_wint_t): Likewise.
7012 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7013 (_G_ssize_t): Likewise.
7014 (_G_off_t): Likewise.
7015 (_G_pid_t): Likewise.
7016 (_G_uid_t): Likewise.
7017 (_G_wchar_t): Likewise.
7018 (_G_wint_t): Likewise.
7019
9fab36eb
SP
70202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7021
7022 * malloc/arena.c: Include malloc-sysdep.h.
7023 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7024 is sufficient to shrink the heap or an unmap is needed.
7025 * sysdeps/generic/malloc-sysdep.h: New file. Define
7026 new function check_may_shrink_heap.
7027 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7028 new function check_may_shrink_heap.
7029
2b4f00d1
SP
70302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7031
7032 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7033 comments.
7034
9a9028b1
DL
70352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7036
57c69bef
DL
7037 * catgets/test-gencat.sh: Add "set -e".
7038 * elf/tst-pathopt.sh: Likewise.
7039 * grp/tst_fgetgrent.sh: Likewise.
7040 * iconvdata/run-iconv-test.sh: Likewise.
7041 * intl/tst-gettext.sh: Likewise.
7042 * intl/tst-gettext2.sh: Likewise.
7043 * intl/tst-gettext4.sh: Likewise.
7044 * intl/tst-gettext6.sh: Likewise.
7045 * intl/tst-translit.sh: Likewise.
7046 * io/ftwtest-sh: Likewise.
7047 * libio/test-freopen.sh: Likewise.
7048 * malloc/tst-mtrace.sh: Likewise.
7049 * posix/globtest.sh: Likewise.
7050 * posix/tst-getconf.sh: Likewise.
7051 * posix/wordexp-tst.sh: Likewise.
7052 * stdio-common/tst-printf.sh: Likewise.
7053 * stdio-common/tst-unbputc.sh: Likewise.
7054 * stdlib/tst-fmtmsg.sh: Likewise.
7055 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7056 * catgets/Makefile: Do not specify -e option when running
7057 testsuite shell scripts.
7058 * elf/Makefile: Likewise.
7059 * grp/Makefile: Likewise.
7060 * iconvdata/Makefile: Likewise.
7061 * intl/Makefile: Likewise.
7062 * io/Makefile: Likewise.
7063 * libio/Makefile: Likewise.
7064 * malloc/Makefile: Likewise.
7065 * posix/Makefile: Likewise.
7066 * stdio-common/Makefile: Likewise.
7067 * stdlib/Makefile: Likewise.
7068 * sysdeps/x86_64/Makefile: Likewise.
7069
9a9028b1
DL
7070 * io/ftwtest-sh: Add copyright header.
7071 * posix/globtest.sh: Likewise.
7072 * posix/tst-getconf.sh: Likewise.
7073 * posix/wordexp-tst.sh: Likewise.
7074 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7075
ced6f16e
L
70762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7077
94b32c39
L
7078 [BZ #13679]
7079 * Makeconfig (+link): Defined as $(+link-static) if
7080 $(build-shared) isn't yes.
7081 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7082 isn't yes.
7083 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7084
189e935b
L
7085 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7086
ced6f16e
L
7087 [BZ #14562]
7088 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7089 new chunk size with MALLOC_ALIGN_MASK.
7090
a9f8e53a
JM
70912012-09-24 Joseph Myers <joseph@codesourcery.com>
7092
7093 [BZ #5044]
7094 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7095 <rounding-mode.h>.
7096 (__printf_fphex): Determine rounding using get_rounding_mode and
7097 round_away.
7098 * stdio-common/tst-printf-round.c (struct hex_test): New
7099 structure.
7100 (hex_tests): New variable.
7101 (test_hex_in_one_mode): New function.
7102 (do_test): Also run tests for hex float output.
7103
43153109
JM
71042012-09-21 Joseph Myers <joseph@codesourcery.com>
7105
7106 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7107 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7108 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7109 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7110 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7111 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7112 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7113 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7114
8a26625d
JM
71152012-09-20 Joseph Myers <joseph@codesourcery.com>
7116
7117 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7118 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7119 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7120 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7121
f3fd569c
DL
71222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7123
7124 [BZ #14579]
7125 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7126 mode only.
7127 * elf/tst-rtld-load-self.sh: New test.
7128 * elf/Makefile: Run it.
7129
63bbedd4
JM
71302012-09-18 Joseph Myers <joseph@codesourcery.com>
7131
7132 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7133 (tst-writev-ENV): Remove.
7134 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7135
626f8b6a
CM
71362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7137
7138 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7139
b7aaa4d6
JM
71402012-09-17 Joseph Myers <joseph@codesourcery.com>
7141
7142 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7143 unconditional.
7144 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7145 Likewise.
7146 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7147 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7148 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7149 Likewise.
7150
65513990
L
71512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7152
7153 [BZ #14587]
7154 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7155 * config.make.in (have-cpp-asm-debuginfo): Removed.
7156 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7157 * configure: Regenerated.
7158
784761be
JM
71592012-09-14 Joseph Myers <joseph@codesourcery.com>
7160
7161 [BZ #5044]
7162 * stdio-common/printf_fp.c: Include <stdbool.h> and
7163 <rounding-mode.h>.
7164 (___printf_fp): Determine rounding using get_rounding_mode and
7165 round_away.
7166 * stdio-common/tst-printf-round.c: New file.
7167 * stdio-common/Makefile (tests): Add tst-printf-round.
7168 (link-libm): New variable.
7169 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7170
9503345f
L
71712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 [BZ #14576]
7174 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7175 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7176 Likewise.
7177 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7178 Likewise.
7179
ad35fc00
JM
71802012-09-13 Joseph Myers <joseph@codesourcery.com>
7181
7182 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7183 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7184 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7186
6c9b0f68
JM
71872012-09-12 Joseph Myers <joseph@codesourcery.com>
7188
7189 [BZ #14518]
7190 * include/rounding-mode.h: New file.
7191 * sysdeps/generic/get-rounding-mode.h: Likewise.
7192 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7193 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7194 (MAX_VALUE): New macro.
7195 (MIN_VALUE): Likewise.
7196 (overflow_value): New function.
7197 (underflow_value): Likewise.
7198 (round_and_return): Use overflow_value and underflow_value to
7199 determine return values in overflow and underflow cases. Use
7200 round_away to determine rounding depending on rounding mode.
7201 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7202 determine return values in overflow and underflow cases.
7203 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7204 (struct test_results): New structure.
7205 (struct test): Use struct test_results to store expected results
7206 for all rounding modes.
7207 (TEST): Include expected results for all rounding modes.
7208 (test_in_one_mode): New function.
7209 (do_test): Use test_in_one_mode to compute and check results.
7210 Check results for all rounding modes.
7211 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7212 $(link-libm).
7213
19fcedd5
AM
72142012-12-09 Allan McRae <allan@archlinux.org>
7215
1e9d84cd 7216 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7217
8bbfd2f1
JM
72182012-09-11 Joseph Myers <joseph@codesourcery.com>
7219
7220 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7221 (_G_int32_t): Likewise.
7222 (_G_uint16_t): Likewise.
7223 (_G_uint32_t): Likewise.
7224 (_G_HAVE_BOOL): Likewise.
7225 (_G_HAVE_ATEXIT): Likewise.
7226 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7227 (_G_HAVE_IO_FILE_OPEN): Likewise.
7228 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7229 (_G_int32_t): Likewise.
7230 (_G_uint16_t): Likewise.
7231 (_G_uint32_t): Likewise.
7232 (_G_HAVE_BOOL): Likewise.
7233 (_G_HAVE_ATEXIT): Likewise.
7234 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7235 (_G_HAVE_IO_FILE_OPEN): Likewise.
7236 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7237 (_G_int32_t): Likewise.
7238 (_G_uint16_t): Likewise.
7239 (_G_uint32_t): Likewise.
7240 (_G_HAVE_BOOL): Likewise.
7241 (_G_HAVE_ATEXIT): Likewise.
7242 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7243 (_G_HAVE_IO_FILE_OPEN): Likewise.
7244
b1dc5912
L
72452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7246
7247 * csu/libc-tls.c: Update copyright years.
7248
0e886ef9
JM
72492012-09-10 Joseph Myers <joseph@codesourcery.com>
7250
28361c5e
JM
7251 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7252 [!_G_USING_THUNKS]: Remove conditional code.
7253 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7254 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7255
0e886ef9
JM
7256 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7257 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7258 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7259 (_G_VTABLE_LABEL_PREFIX): Likewise.
7260 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7261 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7262 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7263 (_G_VTABLE_LABEL_PREFIX): Likewise.
7264 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7265 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7266 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7267 (_G_VTABLE_LABEL_PREFIX): Likewise.
7268 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7269
bcba7aa2
L
72702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7271
7272 * libio/Makefile: Include ../Makeconfig before tests.
7273 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7274 only if $(build-shared) is yes.
7275
06585ee8
L
7276 * iconv/gconv_db.c: Update copyright years.
7277
80ccd52c
LD
72782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7279
7280 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7281 unwind info if defined PIC. Fix special cases description.
7282 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7283
7284 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7285 DP_HI_MASK entry.
7286 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7287
691bc9c1
L
72882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7289
3d9b46b3
L
7290 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7291
de2139a9
L
7292 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7293 is NULL.
7294
5ca78dd0
L
7295 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7296 (LDLIBS-tst-chk4): This.
7297 (LDFLAGS-tst-chk5): Renamed to ...
7298 (LDLIBS-tst-chk5): This.
7299 (LDFLAGS-tst-chk6): Renamed to ...
7300 (LDLIBS-tst-chk6): This.
7301 (LDFLAGS-tst-lfschk4): Renamed to ...
7302 (LDLIBS-tst-lfschk4): This.
7303 (LDFLAGS-tst-lfschk5): Renamed to ...
7304 (LDLIBS-tst-lfschk5): This.
7305 (LDFLAGS-tst-lfschk6): Renamed to ...
7306 (LDLIBS-tst-lfschk6): This.
7307
691bc9c1
L
7308 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7309 on $(common-objpfx)soversions.mk.
7310
65cafb1c
JM
73112012-09-07 Joseph Myers <joseph@codesourcery.com>
7312
7313 [BZ #10014]
7314 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7315 example host name.
7316
c78ab094
SP
73172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7318
7319 * malloc/arena.c (arena_get_retry): New function that gets
7320 another arena for the caller to try its request on.
7321 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7322 current arena cannot fulfill the request.
7323 (__libc_memalign): Likewise.
7324 (__libc_memalign): Likewise.
7325 (__libc_pvalloc): Likewise.
7326 (__libc_calloc): Likewise.
7327
01f49f59
JT
73282012-09-05 John Tobey <john.tobey@gmail.com>
7329
7330 [BZ #13542]
7331 * manual/arith.texi (Operations on Complex): Fix description
7332 of carg branch cut.
7333
4c23fed5
JM
73342012-09-06 Joseph Myers <joseph@codesourcery.com>
7335
1d3c8572
JM
7336 [BZ #10014]
7337 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7338 host name.
7339
4c23fed5
JM
7340 [BZ #10038]
7341 * manual/memory.texi (Memory): Make order of menu items match
7342 order of sections.
7343
04570aaa
L
73442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7345
7346 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7347 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7348 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7349
b80af2f4
L
73502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 * csu/libc-tls.c (static_dtv): Renamed to ...
7353 (_dl_static_dtv): This. Make it global.
7354 (_dl_initial_dtv): Removed.
7355 (__libc_setup_tls): Updated.
7356 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7357 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7358 DL_INITIAL_DTV.
7359
2abe9f15
PM
73602012-09-06 Petr Machata <pmachata@redhat.com>
7361
7362 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7363 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7364 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7365 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7366
0948c3af
L
73672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7368
7369 [BZ #14545]
7370 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7371 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7372 freeing dtv[-1].
7373
a5055ad1
L
73742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7375
7376 [BZ #14544]
7377 * Makeconfig (link-static-before-libc): Replace $(+prector)
7378 with $(+prectorT).
7379 (link-static-after-libc): Replace $(+postctor) with
7380 $(+postctorT).
7381 (link-bounded): Replace $(+prector)/$(+postctor) with
7382 $(+prectorT)/$(+postctorT).
7383 (+prectorT): New macro.
7384 (+postctorT): Likewise.
7385
ed8c2ecd
JM
73862012-09-06 Joseph Myers <joseph@codesourcery.com>
7387
7388 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7389 (round_str): Handle values above the maximum for IBM long double
7390 as inexact.
7391 * stdlib/tst-strtod-round.c (tests): Regenerated.
7392
14c996c8
AK
73932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7394
7395 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7396 assembler flag.
7397 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7398 zarch_nohighgprs around the zarch optimized routines.
7399 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7400 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7402 for zarch.
7403
430d6ce6
DM
74042012-09-05 David S. Miller <davem@davemloft.net>
7405
7406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7407
ff04dda4
DM
7408 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7409 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7410 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7411 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7412 entries.
7413
24d4e01b
AO
74142012-09-05 Alexandre Oliva <aoliva@redhat.com>
7415
7416 * malloc/arena.c: Fold copyright years.
7417 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7418
61d58174
AO
74192012-09-05 Alexandre Oliva <aoliva@redhat.com>
7420
7421 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7422
20196a5e
AO
74232012-09-05 Alexandre Oliva <aoliva@redhat.com>
7424
7425 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7426
5c447383
AO
74272012-09-05 Alexandre Oliva <aoliva@redhat.com>
7428
7429 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7430 change internal state upon failure.
7431
fad64255
AO
74322012-09-05 Alexandre Oliva <aoliva@redhat.com>
7433
7434 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7435 * malloc/memusage.c (mmap): Likewise.
7436 (mmap64, mremap): Likewise. Adjust name in comment.
7437
1ffb8c90
SP
74382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7439
7440 * libio/fileops.c: Fix typos in comments.
7441 * libio/oldfileops.c: Likewise.
7442 * libio/wfileops.c: Likewise.
7443
6ef9cc37
SP
74442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7445
7446 [BZ #1349]
7447 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7448 (tst-malloc-usable-ENV): Set environment for test case.
7449 * malloc/hooks.c (malloc_check_get_size): New function to get
7450 requested size.
7451 * malloc/malloc.c (musable): Use malloc_check_get_size.
7452 * malloc/tst-malloc-usable.c: New test case.
7453
4d038ae3
AS
74542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7455
7456 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7457
c4e85184
AM
74582012-09-05 Allan McRae <allan@archlinux.org>
7459
b9dafc56 7460 [BZ #13966]
c4e85184
AM
7461 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7462 determine header location.
7463 * configure: Regenerated.
7464
e1343020
AS
74652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7466
7467 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7468 float format.
7469 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7470 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7471 format.
e1343020
AS
7472 (test): Regenerate.
7473
0a9f1987
DM
74742012-09-04 David S. Miller <davem@davemloft.net>
7475
7476 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7477 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7479
29237804
FW
74802012-09-04 Florian Weimer <fweimer@redhat.com>
7481
7482 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7483 failures.
7484
edb3cb88
FW
7485 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7486
60160d83
JM
74872012-09-04 Joseph Myers <joseph@codesourcery.com>
7488
7489 [BZ #9914]
7490 * libio/iogetdelim.c: Include <limits.h>.
7491 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7492 + len + 1 would overflow.
7493
bcd6c8dc
AJ
74942012-09-03 Andreas Jaeger <aj@suse.de>
7495
7496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498
4ffffbd2
LD
74992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7500
7501 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7502 Add s_sinf-sse2, s_conf-sse2.
7503
7504 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7505 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7506 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7507 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7508
7509 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7510 for using routine as __sinf_ia32.
7511 Use macro for function declaration and weak_alias.
7512 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7513 for using routine as __cosf_ia32.
7514 Use macro for function declaration and weak_alias.
7515
7516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7517 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7518
7519 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7520 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7522
7523 * math/libm-test.inc (cos_test): Add more test cases.
7524 (sin_test): Likewise.
7525 (sincos_test): Likewise.
7526
511fa286
AK
75272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7528
7529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7530 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7531 hidden.
7532 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7533
5f30cfec
L
75342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7535
7536 [BZ #14538]
7537 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7538 first element of the GOT.
7539 (elf_machine_load_address): Return the difference between
7540 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7541
0786794f
AM
75422012-09-01 Allan McRae <allan@archlinux.org>
7543
5f30cfec
L
7544 [BZ #13412]
7545 * configure.in (AWK): Require gawk version 3.0 or later.
7546 * configure: Regenerated.
0786794f 7547
26889eac
JM
75482012-09-01 Joseph Myers <joseph@codesourcery.com>
7549
7550 * sysdeps/unix/sysv/linux/kernel-features.h
7551 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7553 [__NR_clock_getres]: Make code unconditional.
7554 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7555 (clock_getcpuclockid): Remove code left unreachable by removal of
7556 conditionals.
7557 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7558 code unconditional.
7559 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7561 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7562 Make code unconditional.
7563 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7564 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7565 * sysdeps/unix/sysv/linux/clock_settime.c
7566 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7567 conditional code.
7568 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7569 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7570
d22e28b0
L
75712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 [BZ #14476]
7574 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7575 scripts/test-installation.pl.
7576
7577 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7578 and $ld_so_version if it is set.
7579
050af9c4
SP
75802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7581
7582 [BZ #14516]
7583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7584 failure if reading from procfs failed.
7585 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7586
ad845c0b
JM
75872012-08-27 Joseph Myers <joseph@codesourcery.com>
7588
7589 * sysdeps/unix/sysv/linux/kernel-features.h
7590 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7591 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7592 Remove conditional code.
7593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7594 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7595 Remove conditional code.
7596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7597 * sysdeps/unix/sysv/linux/i386/fxstat.c
7598 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7600 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7601 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7603 * sysdeps/unix/sysv/linux/i386/lxstat.c
7604 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7606 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7607 Remove conditional code.
7608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7609 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7610 Remove conditional code.
7611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7612 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7613 <kernel-features.h>.
7614 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7615 Remove.
7616 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7617 Remove conditional code.
7618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7619 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7620 Remove conditional.
7621
5dbf56af
MF
76222012-08-27 Mike Frysinger <vapier@gentoo.org>
7623
7624 [BZ #5400]
7625 * NEWS: Add fixed bug number.
7626
d6e70f43
JM
76272012-08-27 Joseph Myers <joseph@codesourcery.com>
7628
7efb4737
JM
7629 [BZ #14519]
7630 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7631 underflowing exponent in case of negative sign.
7632 * stdlib/tst-strtod-round-data: Add more tests.
7633 * stdlib/tst-strtod-round.c (tests): Regenerated.
7634
af92131a
JM
7635 [BZ #3479]
7636 * stdlib/strtod_l.c (NDIG): Remove.
7637 (HEXNDIG): Likewise.
7638 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7639 smallest representable value.
7640 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7641 lie within an exact representation of 1/2 ulp of the result.
7642 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7643 unconditionally.
7644 (TENS_P9_IDX): Define unconditionally.
7645 (TENS_P9_SIZE): Likewise.
7646 (TENS_P10_IDX): Likewise.
7647 (TENS_P10_SIZE): Likewise.
7648 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7649 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7650 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7651 entries for 10^2^13 and 10^2^14.
7652 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7653 (TENS_P13_IDX): Define.
7654 (TENS_P13_SIZE): Likewise.
7655 (TENS_P14_IDX): Likewise.
7656 (TENS_P14_SIZE): Likewise.
7657 (_fpioconst_pow10): Change array size to
7658 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7659 unconditional.
7660 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7661 1024]: Add entries for 10^2^13 and 10^2^14.
7662 [LAST_POW10 > _LAST_POW10]: Remove #error.
7663 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7664 (_fpioconst_pow10): Change array size to
7665 FPIOCONST_POW10_ARRAY_SIZE.
7666 * stdlib/gen-fpioconst.c: New file.
7667 * stdlib/gen-tst-strtod-round.c: Likewise.
7668 * stdlib/tst-strtod-round-data: Likewise.
7669 * stdlib/tst-strtod-round.c: Likewise.
7670 * stdlib/Makefile (tests): Add tst-strtod-round.
7671
d6e70f43
JM
7672 [BZ #14459]
7673 * stdlib/strtod_l.c: Include <stdint.h>.
7674 (NDEBUG): Do not define.
7675 (round_and_return): Change EXPONENT parameter to type intmax_t.
7676 Rearrange calculations to avoid internal overflow possibilities.
7677 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7678 Rearrange calculations to avoid internal overflow possibilities.
7679 Assert that number fits inside MPNSIZE limbs.
7680 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7681 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7682 calculations and add assertions to avoid internal overflow
7683 possibilities. Add casts to avoid signed/unsigned operations.
7684 * stdlib/tst-strtod-overflow.c: New file.
7685 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7686
1f529f7d
MP
76872012-08-25 Marek Polacek <polacek@redhat.com>
7688
7689 * time/time.h: Fix some typos in comments.
7690
59a629f1
RM
76912012-08-23 Roland McGrath <roland@hack.frob.com>
7692
7693 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7694 * posix/tst-rfc3484-2.c: Likewise.
7695 * posix/tst-rfc3484-3.c: Likewise.
7696
d3bafbc9
SM
76972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7698
7699 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7700 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7701
4efcc022
JM
77022012-08-23 Joseph Myers <joseph@codesourcery.com>
7703
7704 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7705 #include of fxstatat64.c.
7706
3cc3ef96
RM
77072012-08-22 Roland McGrath <roland@hack.frob.com>
7708
f04e2132
RM
7709 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7710 * shadow/getspent_r.c: Likewise.
7711 * shadow/getspnam.c: Likewise.
7712 * shadow/getspnam_r.c: Likewise.
7713 * gshadow/getsgent.c: Likewise.
7714 * gshadow/getsgent_r.c: Likewise.
7715 * gshadow/getsgnam.c: Likewise.
7716 * gshadow/getsgnam_r.c: Likewise.
7717 * inet/getnetbyad.c: Likewise.
7718 * inet/getnetbyad_r.c: Likewise.
7719 * inet/getnetbynm.c: Likewise.
7720 * inet/getnetbynm_r.c: Likewise.
7721 * inet/getnetent.c: Likewise.
7722 * inet/getnetent_r.c: Likewise.
7723 * inet/getproto.c: Likewise.
7724 * inet/getproto_r.c: Likewise.
7725 * inet/getprtent.c: Likewise.
7726 * inet/getprtent_r.c: Likewise.
7727 * inet/getprtname.c: Likewise.
7728 * inet/getprtname_r.c: Likewise.
7729 * inet/getrpcbyname.c: Likewise.
7730 * inet/getrpcbyname_r.c: Likewise.
7731 * inet/getrpcbynumber.c: Likewise.
7732 * inet/getrpcbynumber_r.c: Likewise.
7733 * inet/getrpcent.c: Likewise.
7734 * inet/getrpcent_r.c: Likewise.
7735 * inet/getaliasent.c: Likewise.
7736 * inet/getaliasent_r.c: Likewise.
7737 * inet/getaliasname.c: Likewise.
7738 * inet/getaliasname_r.c: Likewise.
7739 * nscd/getgrgid_r.c: Likewise.
7740 * nscd/getgrnam_r.c: Likewise.
7741 * nscd/gethstbyad_r.c: Likewise.
7742 * nscd/gethstbynm3_r.c: Likewise.
7743 * nscd/getpwnam_r.c: Likewise.
7744 * nscd/getpwuid_r.c: Likewise.
7745 * nscd/getsrvbynm_r.c: Likewise.
7746 * nscd/getsrvbypt_r.c: Likewise.
7747 * nscd/gai.c: Likewise.
7748
c53d909c
RM
7749 * configure.in (build_nscd): New substituted variable, set
7750 by --disable-build-nscd and defaults to $use_nscd.
7751 * configure: Regenerated.
7752 * config.make.in (build-nscd): New substituted variable.
7753 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7754 Change conditional to require [$(build-nscd) = yes] as well.
7755 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7756
3cc3ef96
RM
7757 [BZ# 13696]
7758 * configure.in (use_nscd): New substituted variable, set by
7759 --disable-nscd. If enabled, define USE_NSCD.
7760 * configure: Regenerated.
7761 * config.h.in: Add USE_NSCD.
7762 * config.make.in (use-nscd): New substituted variable.
7763 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7764 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7765 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7766 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7767 (CFLAGS-getgrnam_r.c): Likewise.
7768 (CFLAGS-initgroups.c): Likewise.
7769 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7770 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7771 Variables removed.
7772 * inet/getnetgrent_r.c
7773 (nscd_setnetgrent): New function, broken out of ...
7774 (setnetgrent): ... here. Call it.
7775 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7776 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7777 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7778 * nscd/Makefile (routines, aux): Move definitions after include of
7779 Makeconfig. Conditionalize on [$(use-nscd) != no].
7780 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7781 Conditionalize on [USE_NSCD].
7782 (is_nscd, nscd_init_cb): Likewise.
7783 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7784 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7785 * nss/nss_db/db-init.c: Likewise.
7786 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7787 [USE_NSCD].
7788 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7789 (make_request): Use it.
7790 (cache_valid_p): New function.
7791 (__check_pf): Use it.
7792 * NEWS: Add item for --disable-nscd.
7793
07e51550
DL
77942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7795
7796 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7797 to support sed >= 4.2.1-20-ga9bf076.
7798 * configure: Regenerated.
7799
35a5b08b
RM
78002012-08-22 Roland McGrath <roland@hack.frob.com>
7801
7802 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7803 Conditionalize whole body on [IREL].
7804
8479f23a
JL
78052012-08-22 Jeff Law <law@redhat.com>
7806
7807 [BZ #14505]
7808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7809 if the family is PF_UNSPEC.
7810
48da0b21
MF
78112012-08-22 Mike Frysinger <vapier@gentoo.org>
7812
7813 * Makerules (lib-version): Rename from V.
7814 (install-lib-nosubdir): Change V to lib-version.
7815
15d0da8c
WS
78162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7817
7818 [BZ #14252]
7819 * powerpc32/power6/wcschr.c: New file.
7820 * powerpc32/power6/wcscpy.c: New file.
7821 * powerpc32/power6/wcsrchr.c: New file.
7822 * powerpc64/power6/wcschr.c: New file.
7823 * powerpc64/power6/wcscpy.c: New file.
7824 * powerpc64/power6/wcsrchr.c: New file.
7825
bcca0895
MK
78262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7827
7828 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7829 (two_way_short_needle): Use it.
5a4aaa33
RM
7830 * string/strstr.c (AVAILABLE1_USES_J): Define.
7831 * string/strcasestr.c: Likewise.
99677e57
MK
7832
7833 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7834 array references.
7835 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7836
400726de
MK
7837 [BZ #11607]
7838 * NEWS: Add an entry.
7839 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7840 define their defaults.
7841 (two_way_short_needle): Detect end-of-string on-the-fly.
7842 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7843 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7844 * string/bug-strcasestr1.c: New test.
7845 * string/Makefile: Run it.
7846
20a71f2c
MK
78472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7848
7849 [BZ #11607]
7850 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7851 the first character.
7852
21ad0558
RM
78532012-08-21 Roland McGrath <roland@hack.frob.com>
7854
7855 * csu/elf-init.c (__libc_csu_irel): Function removed.
7856 * csu/libc-start.c (apply_irel): New function.
7857 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7858
0e1d9911
JM
78592012-08-21 Joseph Myers <joseph@codesourcery.com>
7860
7861 * sysdeps/unix/sysv/linux/kernel-features.h
7862 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7863 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7864 <kernel-features.h>.
7865 [__NR_fadvise64_64]: Make code unconditional.
7866 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7867 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7868 !__NR_fadvise64_64)]: Likewise.
7869 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7870 !__NR_fadvise64_64))]: Likewise.
7871 [__NR_fadvise64]: Make code unconditional.
7872 [!__NR_fadvise64]: Remove conditional code.
7873 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7874 <kernel-features.h>.
7875 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7876 unconditional.
7877 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7878 conditional code.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7880 not include <kernel-features.h>.
7881 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7882 unconditional.
7883 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7884 conditional code.
7885 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7886 include <kernel-features.h>.
7887 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7888 unconditional.
7889 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7890 conditional code.
7891
14a50c9d
WS
78922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7893
7894 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7895 slight instruction rearrangements per scrollpipe analysis.
7896 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7897
c0f4faf0
RM
78982012-08-20 Roland McGrath <roland@hack.frob.com>
7899
696da859
RM
7900 * manual/syslog.texi (syslog; vsyslog, closelog):
7901 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7902 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7903
c0f4faf0
RM
7904 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7905 DSOCAPS to match condition on defining it.
7906
348363b2
JM
79072012-08-20 Joseph Myers <joseph@codesourcery.com>
7908
a35cbf28
JM
7909 * sysdeps/unix/sysv/linux/kernel-features.h
7910 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7912 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7913 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7915 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7916 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7918 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7919 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7920
445f7ecd
JM
7921 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7922 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7923
348363b2
JM
7924 * sysdeps/unix/sysv/linux/kernel-features.h
7925 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7926 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7927 unconditional.
7928 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7930 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7931 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7932 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7933 Make code unconditional.
7934 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7935 (__mmap64) [!__NR_mmap2]: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7937 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7938 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7940 [__NR_mmap2]: Make code unconditional.
7941 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7942 (__mmap64) [!__NR_mmap2]: Likewise.
7943
bc5bc0e5
AK
79442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7945
7946 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7947
88d506de
AJ
79482012-08-18 Andreas Jaeger <aj@suse.de>
7949
7950 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7951
493387d2
MF
79522012-08-18 Mike Frysinger <vapier@gentoo.org>
7953
7954 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7955 * include/unistd.h (__have_sock_cloexec): Likewise.
7956 (__have_pipe2): Likewise.
7957 (__have_dup3): Likewise.
7958
a277af22
MF
79592012-08-18 Mike Frysinger <vapier@gentoo.org>
7960
7961 [BZ #9685]
7962 * include/unistd.h (__have_pipe2): Change define into an extern int.
7963 (__have_dup3): Likewise.
7964 * socket/have_sock_cloexec.c: Include fcntl.h.
7965 (__have_pipe2): New variable.
7966 (__have_dup3): Likewise.
7967
fdab8fd3
MF
79682012-08-17 Mike Frysinger <vapier@gentoo.org>
7969
7970 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7971
31035e80
MP
79722012-08-17 Marek Polacek <polacek@redhat.com>
7973
7974 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7975 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7976
3bd9e993
RM
79772012-08-17 Roland McGrath <roland@hack.frob.com>
7978
c91c505f
RM
7979 * configure.in: Add AC_SUBST for sysheaders.
7980 * configure: Regenerated.
7981 * config.make.in (sysheaders): New substituted variable.
7982
7c6f9d53
RM
7983 * sysdeps/unix/mkfifo.c: Moved ...
7984 * sysdeps/posix/mkfifo.c: ... here.
7985 * sysdeps/unix/mkfifoat.c: Moved ...
7986 * sysdeps/posix/mkfifoat.c: ... here.
7987
7988 * sysdeps/unix/utime.c: Moved ...
7989 * sysdeps/posix/utime.c: ... here.
7990
7991 * sysdeps/unix/time.c: Moved ...
7992 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7993 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7995
7996 * sysdeps/unix/nice.c: Moved ...
7997 * sysdeps/posix/nice.c: ... here.
7998
7999 * sysdeps/unix/alarm.c: Moved ...
8000 * sysdeps/posix/alarm.c: ... here.
8001
3bd9e993
RM
8002 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8003
d1f09384
JL
80042012-08-17 Jeff Law <law@redhat.com>
8005
8006 * intl/Makefile (codeset_mo): New variable.
8007 ($(codeset_mo)): New target.
8008 (tst-codeset.out): Depend on that. Remove explicit rule.
8009 (tst-gettext3.out, tst-gettext5.out): Likewise.
8010 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8011 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8012 * intl/tst-codeset.sh: Remove.
8013 * intl/tst-gettext3.sh: Likewise.
8014 * intl/tst-gettext5.sh: Likewise.
8015
2ae1ae5c
RM
80162012-08-17 Roland McGrath <roland@hack.frob.com>
8017
c31fdb83
RM
8018 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8019 * sysdeps/unix/syscalls.list: ... here.
8020
a0844057
RM
8021 * sysdeps/posix/getaddrinfo.c
8022 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8023 (gaiconf_init, gaiconf_reload): Use them.
8024 [!_STATBUF_ST_NSEC]
8025 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8026 Define using time_t rather than struct timespec.
8027
750c1f2a
RM
8028 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8029 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8030 Macros removed.
8031 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8032 [!NO_THREADS].
8033 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8034 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8035 Likewise.
8036
2ae1ae5c
RM
8037 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8038 __libc_cleanup_push argument.
8039
e66a42f5
RM
8040 * bits/param.h: New file.
8041 * misc/sys/param.h: New file.
8042 * include/sys/param.h: New file.
8043 * misc/Makefile (headers): Add bits/param.h.
8044 * sysdeps/generic/sys/param.h: File removed.
8045 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8046 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8047 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8048 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8049
b7c08a66
RM
8050 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8051 last change.
8052
b2e1c562
RM
8053 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8054 [_IO_MTSAFE_IO].
8055 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8056 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8057 New macros.
8058
c75ccd4c
RM
8059 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8060 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8061 rather than -D_IO_MTSAFE_IO conditionally.
8062 * stdio-common/Makefile (CPPFLAGS): Likewise.
8063 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8064 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8065 Use $(libio-mtsafe).
8066 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8067 of -D_IO_MTSAFE_IO.
8068 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8069 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8070 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8071 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8072 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8073 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8074 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8075 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8076 (CFLAGS-fread_u_chk.c): Likewise.
8077 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8078 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8079 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8080 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8081 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8082 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8083 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8084 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8085 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8086
8087 * libio/Makefile: Test [$(libc-reentrant) = yes]
8088 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8089
8090 * Makeconfig
8091 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8092 * sysdeps/pthread/configure: File removed.
8093 * sysdeps/pthread/Makeconfig: New file.
8094 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8095 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8096
d9195db8
GB
80972012-08-16 Gary Benson <gbenson@redhat.com>
8098
8099 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8100 unmapping the first object in a namespace.
8101
86466cd9
RM
81022012-08-16 Roland McGrath <roland@hack.frob.com>
8103
8104 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8105 (__internal_setnetgrent): ... this. Add internal_function to
8106 definition. Add libc_hidden_def.
8107 (setnetgrent): Update caller.
8108 (internal_endnetgrent): Renamed to ...
8109 (__internal_endnetgrent): ... this. Add internal_function to
8110 definition. Add libc_hidden_def.
8111 (endnetgrent): Update caller.
8112 (internal_getnetgrent_r): Renamed to ...
8113 (__internal_getnetgrent_r): ... this. Add internal_function to
8114 definition. Add libc_hidden_def.
8115 (__getnetgrent_r): Update caller.
8116 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8117
c3c8283c
JM
81182012-08-16 Joseph Myers <joseph@codesourcery.com>
8119
8120 * stdlib/longlong.h: Update from GCC.
8121
db1ee0a8
RM
81222012-08-16 Roland McGrath <roland@hack.frob.com>
8123
8124 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8125 on _QL, which is set by umul_ppmm but never used.
8126 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8127 variables, which are set by GMP macros but never used.
8128 * stdio-common/_itowa.c (_itowa): Likewise.
8129 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8130 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8131
30f69637
CD
81322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8133
8134 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8135 struct La_sh_regs is not constant.
8136 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8137 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8138 and struct La_sparc64_regs are not constant.
8139
93a78ac4
JM
81402012-08-16 Joseph Myers <joseph@codesourcery.com>
8141
8142 * sysdeps/unix/sysv/linux/kernel-features.h
8143 (__ASSUME_POSIX_TIMERS): Remove.
8144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8146 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8147 Make code unconditional.
8148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8149 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8150 Make code unconditional.
8151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8152 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8153 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8155 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8156 Make code unconditional.
8157 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8158 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8159 (__libc_missing_posix_timers): Remove.
8160
dd924cd7
RM
81612012-08-15 Roland McGrath <roland@hack.frob.com>
8162
4b4f2771
RM
8163 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8164 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8165
601c888b
RM
8166 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8167
176790a7
RM
8168 * elf/dl-sym.c: Include <stdlib.h>.
8169
329bc018
RM
8170 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8171 constants, which avoids warnings in 32-bit builds.
8172
e04e272d
RM
8173 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8174 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8175
952bf94a
RM
8176 * misc/lseek.c: File moved to ...
8177 * io/lseek.c: ... here.
8178
7c99b50a
RM
8179 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8180
dd924cd7
RM
8181 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8182 shifting LEN more than 31 bits at once.
8183
b3f479a8
LD
81842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8185
8186 [BZ #14195]
8c4ae0d4
RM
8187 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8188 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8189 * string/test-strncasecmp.c (check1): Renamed to...
8190 (bz12205): ...this.
8191 (bz14195): Add new testcase for two empty input strings and N > 0.
8192 (test_main): Call new testcase, adapt for renamed function.
8193
9c55864e
AJ
81942012-08-15 Andreas Jaeger <aj@suse.de>
8195
8196 [BZ #14090]
8197 * crypt/md5test2.c: New test, based on test supplied by Serge
8198 Belyshev <belyshev@depni.sinp.msu.ru>.
8199 * crypt/Makefile (xtests): Add md5test-giant..
8200 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8201
02dcb6c5
PE
82022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8203
8204 [BZ #14090]
8205 * crypt/md5.c (md5_process_block): Don't assume the buffer
8206 length is less than 2**32.
8207 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8208 length is less than 2**64.
8209
a3f95dcc
RM
82102012-08-15 Roland McGrath <roland@hack.frob.com>
8211
be75d758
RM
8212 * string/str-two-way.h: Include <sys/param.h>.
8213 (MAX): Macro removed.
8214
7312ca90
RM
8215 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8216 Move #define and #undef of memmove to just before and after
8217 including <string.h>.
8218
9a0a5486
RM
8219 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8220 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8221 and after including <string.h>. Move declarations of
8222 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8223 to before #include "string/memmove.c".
8224
67cc348d
RM
8225 * include/dirent.h: Declare __getdirentries.
8226
a3f95dcc
RM
8227 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8228 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8229
ca98e171
MF
82302012-08-14 Mike Frysinger <vapier@gentoo.org>
8231
8232 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8233 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8234 * sysdeps/i386/configure: Regenerated.
8235 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8236 STABS_CURRENT_FILE, and STABS_FUN.
8237 (END): Remove call to STABS_FUN_END.
8238 (STABS_CURRENT_FILE1): Delete.
8239 (STABS_CURRENT_FILE): Likewise.
8240 (STABS_FUN): Likewise.
8241 (STABS_FUN_END): Likewise.
8242 (STABS_FUN2): Likewise.
8243 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8244 * sysdeps/x86_64/configure: Regenerated.
8245
5908bf46
RM
82462012-08-14 Roland McGrath <roland@hack.frob.com>
8247
8248 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8249 * elf/dl-lookup.c: Likewise.
5908bf46 8250
f2c05b9e
JM
82512012-08-14 Joseph Myers <joseph@codesourcery.com>
8252
8253 * sysdeps/unix/sysv/linux/kernel-features.h
8254 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8255 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8256 unconditionally.
8257 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8258 unconditionally.
8259 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8260 condition on __ASSUME_CLONE_THREAD_FLAGS.
8261
e11f5155
AJ
82622012-08-14 Andreas Jaeger <aj@suse.de>
8263
8264 * sysdeps/i386/fpu/libm-test-ulps: Update.
8265
51a9ba86
MK
82662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8267
2fdd4f78
AJ
8268 * include/atomic.h (atomic_exchange_and_add): Split into ...
8269 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8270 New atomic macros.
51a9ba86 8271
ba6cba9e
MT
82722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8273
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8275
42443a47
JL
82762012-08-13 Jeff Law <law@redhat.com>
8277
8278 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8279 null byte in the output string.
8280
121dce05
JM
82812012-08-10 Joseph Myers <joseph@codesourcery.com>
8282
8283 * sysdeps/unix/sysv/linux/kernel-features.h
8284 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8285 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8286 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8287 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8288 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8289 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8290 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8291
bf51f568
JL
82922012-08-09 Jeff Law <law@redhat.com>
8293
8294 [BZ #13939]
8295 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8296 When avoid_arena is set, don't retry in the that arena. Pick the
8297 next one, whatever it might be.
8298 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8299 (arena_lock): Pass in new parameter to arena_get2.
8300 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8301 arena_get2.
8302 (__libc_malloc): Unify retrying after main arena failure with
8303 __libc_memalign version.
8304 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8305
f85fa270
L
83062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 [BZ #14166]
8309 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8310 to __redirect_strstr.
8311 (__strstr_sse42): Use typeof __redirect_strstr.
8312 (__strstr_ia32): Likewise.
8313 (__libc_strstr): New prototype.
8314 (strstr): Renamed to ...
8315 (__libc_strstr): This.
8316 (strstr): New strong alias of __libc_strstr.
8317 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8318 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8319 __redirect_time.
8320 Include <time.h>.
8321 (__libc_time): New prototype.
8322 (time_ifunc): Replace time with __libc_time.
8323 (time): New strong alias and hidden definition of __libc_time.
8324 (__GI_time): Remove strong alias.
8325 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8326 Include <stddef.h>.
8327 (memmove): Redefined to __redirect_memmove.
8328 (__memmove_sse2): Use typeof __redirect_memmove.
8329 (__memmove_ssse3): Likewise.
8330 (__memmove_ssse3_back): Likewise.
8331 (__libc_memmove): New prototype.
8332 (memmove): Renamed to ...
8333 (__libc_memmove): This.
8334 (memmove): New strong alias of __libc_memmove.
8335
33b4a91e
MS
83362012-08-08 Mark Salter <msalter@redhat.com>
8337
8338 * elf/elf.h
8339 (R_MN10300_TLS_GD): Define.
8340 (R_MN10300_TLS_LD): Likewise.
8341 (R_MN10300_TLS_LDO): Likewise.
8342 (R_MN10300_TLS_GOTIE): Likewise.
8343 (R_MN10300_TLS_IE): Likewise.
8344 (R_MN10300_TLS_LE): Likewise.
8345 (R_MN10300_TLS_DTPMOD): Likewise.
8346 (R_MN10300_TLS_DTPOFF): Likewise.
8347 (R_MN10300_TLS_TPOFF): Likewise.
8348 (R_MN10300_SYM_DIFF): Likewise.
8349 (R_MN10300_ALIGN): Likewise.
8350 (R_MN10300_NUM): Update.
8351
b36137f1
JM
83522012-08-08 Joseph Myers <joseph@codesourcery.com>
8353
8354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8355 Remove.
8356
cdd915fd
RM
83572012-08-08 Roland McGrath <roland@hack.frob.com>
8358
a2433aac
RM
8359 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8360
cdd915fd
RM
8361 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8362 sysdeps/unix -> sysdeps/posix move.
8363 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8364
bf9b740a
AM
83652012-08-07 Allan McRae <allan@archlinux.org>
8366
8367 [BZ #14303]
8368 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8369 (SUNOS_CPP): Likewise.
8370 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8371 not found.
8372 (open_input): Call CPP using execvp.
8373
93df14ee
JM
83742012-08-07 Joseph Myers <joseph@codesourcery.com>
8375
8376 * sysdeps/unix/sysv/linux/kernel-features.h
8377 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8378 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8379 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8380 (__ASSUME_WAITID_SYSCALL): Likewise.
8381 * sysdeps/unix/sysv/linux/dl-execstack.c
8382 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8383 code unconditional.
8384 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8385 conditional code.
8386 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8387 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8388 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8389 code.
8390 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8391 unconditional.
8392 [__ASSUME_WAITID_SYSCALL]: Likewise.
8393 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8394
d34689de
RM
83952012-08-07 Roland McGrath <roland@hack.frob.com>
8396
a281decc
RM
8397 * sysdeps/unix/closedir.c: Renamed to ...
8398 * sysdeps/posix/closedir.c: ... here.
8399 * sysdeps/unix/dirfd.c: Renamed to ...
8400 * sysdeps/posix/dirfd.c: ... here.
8401 * sysdeps/unix/dirstream.h: Renamed to ...
8402 * sysdeps/posix/dirstream.h: ... here.
8403 * sysdeps/unix/fdopendir.c: Renamed to ...
8404 * sysdeps/posix/fdopendir.c: ... here.
8405 * sysdeps/unix/opendir.c: Renamed to ...
8406 * sysdeps/posix/opendir.c: ... here.
8407 * sysdeps/unix/readdir.c: Renamed to ...
8408 * sysdeps/posix/readdir.c: ... here.
8409 * sysdeps/unix/readdir_r.c: Renamed to ...
8410 * sysdeps/posix/readdir_r.c: ... here.
8411 * sysdeps/unix/rewinddir.c: Renamed to ...
8412 * sysdeps/posix/rewinddir.c: ... here.
8413 * sysdeps/unix/seekdir.c: Renamed to ...
8414 * sysdeps/posix/seekdir.c: ... here.
8415 * sysdeps/unix/telldir.c: Renamed to ...
8416 * sysdeps/posix/telldir.c: ... here.
8417 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8418 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8419 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8420 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8421
22895b47
RM
8422 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8423 * bits/fcntl.h: ... here.
8424
707a53b6
RM
8425 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8426 not 0.
8427 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8428 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8429 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8430 (struct flock): Move l_start, l_len to the beginning.
8431 Use __pid_t for l_pid.
8432 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8433 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8434 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8435 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8436 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8437 [__USE_LARGEFILE64] (struct flock64): New type.
8438 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8439
f0bd3e25
RM
8440 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8441 * bits/dirent.h: ... here.
8442
d34689de
RM
8443 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8444 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8445
6dad2c06
JM
84462012-08-07 Joseph Myers <joseph@codesourcery.com>
8447
8448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8449 Change from 2.6.0 to 2.6.16.
8450 * sysdeps/unix/sysv/linux/configure: Regenerated.
8451 * sysdeps/unix/sysv/linux/kernel-features.h
8452 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8453 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8454 version.
8455 (__ASSUME_UTIMES): Likewise.
8456 (__ASSUME_CLONE_STOPPED): Remove.
8457 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8458 architectures, not kernel version.
8459 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8460 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8461 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8462 (__ASSUME_WAITID_SYSCALL): Likewise.
8463 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8464 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8465 * README: State 2.6.16 as minimum Linux kernel version. Do not
8466 refer to older versions.
8467
03af9520
RM
84682012-08-06 Roland McGrath <roland@hack.frob.com>
8469
8e49df1d
RM
8470 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8471 Define alphasort64 as an alias.
8472 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8473 Define versionsort64 as an alias.
8474 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8475 Define scandir64 as an alias.
8476 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8477 Define scandirat64 as an alias.
8478 * dirent/alphasort64.c (alphasort64):
8479 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8480 * dirent/versionsort64.c: Likewise.
8481 * dirent/scandir64.c: Likewise.
8482 * dirent/scandirat64.c: Likewise.
8483 * sysdeps/wordsize-64/alphasort.c: File removed.
8484 * sysdeps/wordsize-64/alphasort64.c: File removed.
8485 * sysdeps/wordsize-64/scandir.c: File removed.
8486 * sysdeps/wordsize-64/scandir64.c: File removed.
8487 * sysdeps/wordsize-64/scandirat.c: File removed.
8488 * sysdeps/wordsize-64/scandirat64.c: File removed.
8489 * sysdeps/wordsize-64/versionsort.c: File removed.
8490 * sysdeps/wordsize-64/versionsort64.c: File removed.
8491 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8492 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8499
8500 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8502 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8504 [defined __arch64__ || defined __sparcv9]
8505 (__INO_T_MATCHES_INO64_T): New macro.
8506 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8507 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8508 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8509 * sysdeps/unix/sysv/linux/bits/dirent.h
8510 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8511 (_DIRENT_MATCHES_DIRENT64): New macro.
8512
03af9520
RM
8513 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8514 Define lockf64 as an alias.
8515 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8516 Define fseeko64 as an alias.
8517 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8518 Define ftello64 as an alias.
8519 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8520 Define _IO_fgetpos64 and fgetpos64 as aliases.
8521 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8522 Define _IO_fsetpos64 and fsetpos64 as aliases.
8523 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8524 Conditionalize body on this.
8525 * libio/fseeko64.c: Likewise.
8526 * libio/ftello64.c: Likewise.
8527 * libio/iofgetpos64.c: Likewise.
8528 * libio/iofsetpos64.c: Likewise.
8529 * sysdeps/wordsize-64/lockf.c: File removed.
8530 * sysdeps/wordsize-64/lockf64.c: File removed.
8531 * sysdeps/wordsize-64/fseeko.c: File removed.
8532 * sysdeps/wordsize-64/fseeko64.c: File removed.
8533 * sysdeps/wordsize-64/ftello.c: File removed.
8534 * sysdeps/wordsize-64/ftello64.c: File removed.
8535 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8536 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8537 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8538 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8539 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8549
8550 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8552 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8554 [defined __arch64__ || defined __sparcv9]
8555 (__OFF_T_MATCHES_OFF64_T): New macro.
8556 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8557 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8558 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8559 (__OFF_T_MATCHES_OFF64_T): New macro.
8560
c5757acd
L
85612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8562
8563 * stdlib/secure-getenv.c (__secure_getenv): Replace
8564 GLIBC_2_16 with GLIBC_2_17.
8565
3a31811e
L
85662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8570
faa2bccb
DM
85712012-08-03 David S. Miller <davem@davemloft.net>
8572
8573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8574
85fe1997
JM
85752012-08-03 Joseph Myers <joseph@codesourcery.com>
8576
8577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8578 Remove.
8579 (__ASSUME_CORRECT_SI_PID): Likewise.
8580 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8581 (__ASSUME_TMPFS_NAME): Likewise.
8582 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8583 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8584 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8585 (HAVE_AUX_SECURE): Make definition unconditional.
8586 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8587 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8588
4f75b7a0
RM
85892012-08-03 Roland McGrath <roland@hack.frob.com>
8590
8591 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8592 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8593 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8594 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8595 __eloop_threshold instead of SYMLOOP_MAX.
8596
8597 * sysdeps/generic/eloop-threshold.h: New file.
8598 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8599 of MAXSYMLINKS.
8600 * elf/chroot_canon.c (chroot_canon): Likewise.
8601
7aab07e4
JM
86022012-08-03 Joseph Myers <joseph@codesourcery.com>
8603
8604 [BZ #13717]
8605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8606 Change to 2.6.0 everywhere.
8607 * sysdeps/unix/sysv/linux/configure: Regenerated.
8608 * sysdeps/unix/sysv/linux/kernel-features.h
8609 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8610 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8611 kernel versions.
8612 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8613 (__ASSUME_FUTEX_REQUEUE): Remove.
8614 (__ASSUME_STATFS64): Define unconditionally.
8615 (__ASSUME_AT_SECURE): Likewise.
8616 (__ASSUME_CORRECT_SI_PID): Likewise.
8617 (__ASSUME_TGKILL): Define without depending on kernel version for
8618 i386.
8619 (__ASSUME_UTIMES): Likewise.
8620 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8621 kernel version.
8622 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8623 (__ASSUME_TMPFS_NAME): Likewise.
8624 * README: Update reference to Linux kernel versions.
8625
b67e9372
MP
86262012-08-02 Marek Polacek <polacek@redhat.com>
8627
1f529f7d 8628 [BZ# 14150]
b67e9372
MP
8629 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8630 libc_cv_asm_type_prefix with %.
8631 * configure: Regenerated.
d2441631
RM
8632 * include/libc-symbols.h: Remove comment about
8633 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8634 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8635 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8636 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8637 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8638 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8639 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8640 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8641 * elf/tst-unique2mod1.c: Likewise.
8642 * elf/tst-unique1mod2.c: Likewise.
8643 * elf/tst-unique1mod1.c: Likewise.
8644 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8645 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8646 Replace ASM_TYPE_DIRECTIVE with .type.
8647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8648 * sysdeps/i386/sysdep.h: Likewise.
8649 * sysdeps/x86_64/sysdep.h: Likewise.
8650 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8652 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8653 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8654 * sysdeps/powerpc/powerpc32/sysdep.h:
8655 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8656 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8658 * sysdeps/i386/fpu/e_powf.S: Likewise.
8659 * sysdeps/i386/fpu/e_expl.S: Likewise.
8660 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8661 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8662 * sysdeps/i386/fpu/e_pow.S: Likewise.
8663 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8665 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8666 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8667 * sysdeps/i386/fpu/e_log2.S: Likewise.
8668 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8669 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8670 * sysdeps/i386/fpu/e_powl.S: Likewise.
8671 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8672 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8673 * sysdeps/i386/fpu/e_logl.S: Likewise.
8674 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8675 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8676 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8678 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8679 * sysdeps/i386/fpu/e_log.S: Likewise.
8680 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8681 * sysdeps/i386/fpu/e_logf.S: Likewise.
8682 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8683 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8684 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8685 * sysdeps/i386/fpu/e_log10.S: Likewise.
8686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8692 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8693 * sysdeps/i386/i686/strtok.S: Likewise.
8694 * sysdeps/i386/i386-mcount.S: Likewise.
8695 * sysdeps/i386/strtok.S: Likewise.
8696 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8700 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8701 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8702 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8703 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8705 * sysdeps/x86_64/_mcount.S: Likewise.
8706 * sysdeps/x86_64/strtok.S: Likewise.
8707 * sysdeps/sh/_mcount.S: Likewise.
8708
2747bf9a
RM
87092012-08-01 Roland McGrath <roland@hack.frob.com>
8710
8711 * libio/iofopen.c: Include <fcntl.h>.
8712 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8713 (_IO_fopen64, fopen64): Define as aliases.
8714 * libio/iofopen64.c: Include <fcntl.h>.
8715 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8716 Conditionalize body on this.
8717 * sysdeps/wordsize-64/iofopen.c: File removed.
8718 * sysdeps/wordsize-64/iofopen64.c: File removed.
8719
3fb791b8
MP
87202012-08-01 Marek Polacek <polacek@redhat.com>
8721
8722 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8723 Use dlfcn directly instead of a variable.
8724 (binfmt-subdir): Do not define.
8725 (dlfcn): Likewise.
8726
a9f1039f
JM
87272012-08-01 Joseph Myers <joseph@codesourcery.com>
8728
23bddc06
JM
8729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8730 Remove all definitions.
8731 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8732 <kernel-features.h>.
8733 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8734 (miss_F_GETOWN_EX): Remove all definitions.
8735 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8736 macro definition.
8737 [!__ASSUME_FCNTL64]: Remove conditional code.
8738 [__ASSUME_FCNTL64]: Make code unconditional.
8739 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8740 <kernel-features.h>.
8741 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8742 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8743 (lockf64) [__NR_fcntl64]: Make code unconditional.
8744 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8745
a9f1039f
JM
8746 * sysdeps/unix/sysv/linux/kernel-features.h
8747 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8748 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8749 Make code unconditional.
8750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8753 [__NR_vfork]: Make code unconditional.
8754 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8755 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8757 [__NR_vfork]: Make code unconditional.
8758 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8759 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8760
09c0ee5f
RM
87612012-08-01 Roland McGrath <roland@hack.frob.com>
8762
48aec5b9
RM
8763 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8764 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8765
cd97c966
RM
8766 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8767 Define mkstemp64 as an alias.
3f55550c
RM
8768 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8769 Define mkstemps64 as an alias.
cd97c966
RM
8770 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8771 Define mkostemp64 as an alias.
b8625cfc
RM
8772 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8773 Define mkostemps64 as an alias.
cd97c966
RM
8774 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8775 Conditionalize body on this.
8776 * misc/mkostemp64.c: Likewise.
b8625cfc 8777 * misc/mkostemps64.c: Likewise.
3f55550c 8778 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8779 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8780 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8781 * sysdeps/wordsize-64/mkostemp.c: File removed.
8782 * sysdeps/wordsize-64/mkstemp.c: File removed.
8783 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8787
09c0ee5f
RM
8788 [BZ #14138]
8789 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8790 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8791 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8792 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8793
8794 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8795 compat_symbol macros from <shlib-compat.h> rather than the underlying
8796 default_symbol_version and symbol_version macros, so that DEFAULT
8797 lines in shlib-versions are respected.
8798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8799
7e66ee51
FW
88002012-08-01 Florian Weimer <fweimer@redhat.com>
8801
8802 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8803 Declare with warn_unused_result.
8804 (setgid, setregid, setegid, setresgid): Likewise.
8805 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8806 Likewise.
8807 * WUR-REPORT: Remove set*id functions.
8808
d2a54255
PT
88092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8810
8811 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8812
7ecdb005
RM
88132012-07-31 Roland McGrath <roland@hack.frob.com>
8814
789bd351
RM
8815 * include/sys/socket.h (__libc_accept, __libc_accept4):
8816 Add attribute_hidden.
8817 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8818
40ce302d
RM
8819 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8820 use of PTR_MANGLE.
8821 * inet/getnetgrent_r.c (setup): Likewise.
8822
7ecdb005
RM
8823 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8824
e2eabb2c
DM
88252012-07-31 David S. Miller <davem@davemloft.net>
8826
8827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8828
d0419dbf
JM
88292012-07-31 Joseph Myers <joseph@codesourcery.com>
8830
8831 [BZ #13629]
8832 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8833 value between 1.0 and 2.0 and smaller part has absolute value less
8834 than 1.0.
8835 * math/s_clog10.c (__clog10): Likewise.
8836 * math/s_clog10f.c (__clog10f): Likewise.
8837 * math/s_clog10l.c (__clog10l): Likewise.
8838 * math/s_clogf.c (__clogf): Likewise.
8839 * math/s_clogl.c (__clogl): Likewise.
8840 * math/libm-test.inc (clog_test): Add more tests.
8841 (clog10_test): Likewise.
8842 * sysdeps/i386/fpu/libm-test-ulps: Update.
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8844
2bc13872
FW
88452012-07-31 Florian Weimer <fweimer@redhat.com>
8846
8847 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8848 Exit with zero in case no suitable GID is found, and write a
8849 message to standard error.
8850
bea9b193
RM
88512012-07-30 Roland McGrath <roland@hack.frob.com>
8852
8853 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8854 rather than to 1.
8855 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8856 (MAXPATHLEN): Removed.
8857 (NOGROUP, NODEV): New macros.
8858 (setbit, clrbit, isset, isclr): New macros.
8859 (howmany, roundup, powerof2): New macros.
8860 (DEV_BSIZE): New macro.
8861
8862 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8863 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8864
8865 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8866 definition on [!__NO_LONG_DOUBLE_MATH].
8867
8868 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8869 PTR_MANGLE and PTR_DEMANGLE.
8870
8871 * socket/accept4.c (accept4): Rename to __libc_accept4.
8872 Define accept4 as a weak alias.
8873
8874 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8875 on [_DIRENT_HAVE_D_TYPE].
8876 * io/ftw.c (ftw_dir): Likewise.
8877
8878 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8879
8880 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8881
8882 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8883 Use the BSD numbers rather than the arbitrary ones we had.
8884 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8885 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8886 (SIGXCPU, SIGXFSZ): New macros.
8887 (_NSIG): Now 32.
8888
8889 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8890 initializer on [_LIBC_REENTRANT].
8891
8892 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8893 definitions inside [_POSIX_MAPPED_FILES].
8894
8895 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8896
8897 * dirent/opendir.c: Include <fcntl.h>.
8898
8899 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8900 (__libc_getspecific): Likewise.
8901 (__libc_key_create): Likewise.
8902
8903 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8904 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8905 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8906 (tmpfile64): Define as alias.
8907 * sysdeps/wordsize-64/tmpfile.c: File removed.
8908 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8911
8912 * stdio-common/vfscanf.c: Include <stdbool.h>.
8913 * nss/makedb.c: Likewise.
8914 * stdio-common/_i18n_number.h: Likewise.
8915 * argp/argp-help.c: Likewise.
8916 * posix/wordexp.c: Likewise.
8917 * sysdeps/posix/spawni.c: Likewise.
8918 * nss/nss_files/files-initgroups.c: Likewise.
8919 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8920 * nss/nss_files/files-initgroups.c: Likewise.
8921 * nss/nss_db/db-netgrp.c: Likewise.
8922 * nss/nss_db/db-initgroups.c: Likewise.
8923 * io/fchmodat.c: Include <sys/stat.h>.
8924
8925 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8926 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8927
8928 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8929 [HAVE_MMAP].
8930
8931 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8932 Add multiple inclusion protection.
8933
e5abc686
DM
89342012-07-27 David S. Miller <davem@davemloft.net>
8935
8936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8937
815e6fa3
GB
89382012-07-27 Gary Benson <gbenson@redhat.com>
8939
8940 [BZ #14298]
8941 * elf/rtld.c: Include <stap-probe.h>.
8942 (dl_main): Added static probes "init_start" and "init_complete".
8943 * elf/dl-load.c: Include <stap-probe.h>.
8944 (lose): Take new parameter "nsid".
8945 Added static probe "map_failed".
8946 (_dl_map_object_from_fd): Pass namespace id to lose.
8947 Added static probe "map_start".
8948 (open_verify): Pass namespace id to lose.
8949 * elf/dl-open.c: Include <stap-probe.h>.
8950 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8951 and "reloc_complete".
8952 * elf/dl-close.c: Include <stap-probe.h>.
8953 (_dl_close_worker): Added static probes "unmap_start" and
8954 "unmap_complete".
8955 * elf/rtld-debugger-interface.txt: New file documenting the above.
8956
9f98c16c
RM
89572012-07-26 Roland McGrath <roland@hack.frob.com>
8958
8959 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8960 rather than a string variable.
8961 * sunrpc/rpc_main.c (h_output): Likewise.
8962 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8963
f3c22df3
PT
89642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8965
8966 * inet/check_native.c: New file.
8967
3129cfc6
JM
89682012-07-26 Joseph Myers <joseph@codesourcery.com>
8969
da865e95
JM
8970 [BZ #13629]
8971 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8972 if larger part has absolute value 1.0.
8973 * math/s_clog10.c (__clog10): Likewise.
8974 * math/s_clog10f.c (__clog10f): Likewise.
8975 * math/s_clog10l.c (__clog10l): Likewise.
8976 * math/s_clogf.c (__clogf): Likewise.
8977 * math/s_clogl.c (__clogl): Likewise.
8978 * math/libm-test.inc (clog_test): Add more tests.
8979 (clog10_test): Likewise.
8980 * sysdeps/i386/fpu/libm-test-ulps: Update.
8981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8982
3129cfc6
JM
8983 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8984 (pltexit): Likewise.
8985 (La_regs): Likewise.
8986 (La_retval): Likewise.
8987 (int_retval): Likewise.
8988 Update #error for removed macros to refer only to definitions in
8989 tst-audit.h.
8990 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8991 macro.
8992 (pltexit): Likewise.
8993 (La_regs): Likewise.
8994 (La_retval): Likewise.
8995 (int_retval): Likewise.
8996 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8997 macro.
8998 (pltexit): Likewise.
8999 (La_regs): Likewise.
9000 (La_retval): Likewise.
9001 (int_retval): Likewise.
9002 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9003 macro.
9004 (pltexit): Likewise.
9005 (La_regs): Likewise.
9006 (La_retval): Likewise.
9007 (int_retval): Likewise.
9008 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9009 macro.
9010 (pltexit): Likewise.
9011 (La_regs): Likewise.
9012 (La_retval): Likewise.
9013 (int_retval): Likewise.
9014 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9015 macro.
9016 (pltexit): Likewise.
9017 (La_regs): Likewise.
9018 (La_retval): Likewise.
9019 (int_retval): Likewise.
9020 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9021 macro.
9022 (pltexit): Likewise.
9023 (La_regs): Likewise.
9024 (La_retval): Likewise.
9025 (int_retval): Likewise.
9026 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9027 macro definitions in tst-audit.h.
9028 * sysdeps/i386/tst-audit.h: New file.
9029 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9030 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9031 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9032 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9033 * sysdeps/sh/tst-audit.h: Likewise.
9034 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9035 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9036 * sysdeps/x86_64/tst-audit.h: Likewise.
9037
bfc07087
AJ
90382012-07-26 Andreas Jaeger <aj@suse.de>
9039
b1b2aaf8
AJ
9040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9041 ptrace.
9042
9043 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9044 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9045 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9046 PTRACE_O_MASK.
9047 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9050
bfc07087
AJ
9051 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9052 value.
9053
9054 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9055 _sigsys.
9056 (si_call_addr, si_syscall, si_arch): Define new macro.
9057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9058 _sigsys.
9059 (si_call_addr, si_syscall, si_arch): Define new marcro.
9060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9061 _sigsys.
9062 (si_call_addr, si_syscall, si_arch): Define new macro.
9063 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9064 _sigsys.
9065 (si_call_addr, si_syscall, si_arch): Define new macro.
9066
89b4b02f
JM
90672012-07-25 Joseph Myers <joseph@codesourcery.com>
9068
9069 [BZ #13717]
9070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9071 Change to 2.4.21 where previously 2.4.1.
9072 * sysdeps/unix/sysv/linux/configure: Regenerated.
9073 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9074 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9075 Linux kernel version.
9076 (__ASSUME_STD_AUXV): Remove.
9077 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9078 kernel version.
9079 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9080 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9081 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9082 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9083 (__ASSUME_NETLINK_SUPPORT): Likewise.
9084 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9085 (__no_netlink_support): Remove conditional definition.
9086 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9087 Remove.
9088 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9089 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9090 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9091 (if_nameindex_ioctl): Remove.
9092 (if_nameindex_netlink): Do not handle __no_netlink_support.
9093 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9094 code.
9095 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9096 Remove conditional code.
9097 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9098 code.
9099 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9100 unconditional.
9101 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9102 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9103 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9104 Remove.
9105 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9106 [!__ASSUME_STD_AUXV]: Remove conditional code.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9108 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9109 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9111 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9112 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9113 code.
9114 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9116 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9117 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9118 conditional code.
9119 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9121 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9122 code.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9124 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9125 conditional code.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9127 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9128 code unconditional.
9129 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9130 conditional code.
9131 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9132 unconditional.
9133 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9134 conditional code.
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9136 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9137 unconditional.
9138 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9139 conditional code.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9141 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9142 code unconditional.
9143 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9144 conditional code.
9145 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9146 unconditional.
9147 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9148 conditional code.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9150 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9151 code unconditional.
9152 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9153 conditional code.
9154 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9155 unconditional.
9156 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9157 conditional code.
9158
842a39cd
AS
91592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9162 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9163 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9164 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9165 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9166 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9167 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9168 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9169 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9170 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9171 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9172 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9173 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9174 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9177 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9179 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9182 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9183 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9184
84b3fd84
FW
91852012-07-25 Florian Weimer <fweimer@redhat.com>
9186
9187 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9188 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9189 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9190 Introduce __libc_secure_getenv.
0c7936d5
FW
9191 * stdlib/Versions (2.17): Add secure_getenv
9192 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9193 * stdlib/secure-getenv.c: Rename __secure_getenv to
9194 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9195 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9196 * stdlib/tst-secure-getenv.c: New.
9197 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9198 * manual/startup.texi (Environment Access): Document
9199 secure_getenv.
84b3fd84
FW
9200 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9201 __libc_secure_getenv.
9202 * inet/ruserpass.c (ruserpass): Likewise.
9203 * malloc/mtrace.c (mtrace): Likewise.
9204 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9205 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9206 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9207 * sysdeps/posix/tempname.c: Likewise. Evaluate
9208 HAVE_SECURE_GETENV.
9209 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9210 __secure_getenv to __libc_secure_getenv.
84b3fd84 9211 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9213 Likewise.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9215 Likewise.
9216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9223
56e49b71
JM
92242012-07-25 Joseph Myers <joseph@codesourcery.com>
9225
9226 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9227 (struct La_i86_retval): Likewise.
9228 (struct La_x86_64_regs): Likewise.
9229 (struct La_x86_64_retval): Likewise.
9230 (struct La_x32_regs): Likewise.
9231 (struct La_x32_retval): Likewise.
9232 (struct La_ppc32_regs): Likewise.
9233 (struct La_ppc32_retval): Likewise.
9234 (struct La_ppc64_regs): Likewise.
9235 (struct La_ppc64_retval): Likewise.
9236 (struct La_sh_regs): Likewise.
9237 (struct La_sh_retval): Likewise.
9238 (struct La_s390_32_regs): Likewise.
9239 (struct La_s390_32_retval): Likewise.
9240 (struct La_s390_64_regs): Likewise.
9241 (struct La_s390_64_retval): Likewise.
9242 (struct La_sparc32_regs): Likewise.
9243 (struct La_sparc32_retval): Likewise.
9244 (struct La_sparc64_regs): Likewise.
9245 (struct La_sparc64_retval): Likewise.
9246 (struct audit_ifaces): Remove architecture-specific pltenter and
9247 pltexit members.
9248 * sysdeps/i386/ldsodefs.h: New file.
9249 * sysdeps/powerpc/ldsodefs.h: Likewise.
9250 * sysdeps/s390/ldsodefs.h: Likewise.
9251 * sysdeps/sh/ldsodefs.h: Likewise.
9252 * sysdeps/sparc/ldsodefs.h: Likewise.
9253 * sysdeps/x86_64/ldsodefs.h: Likewise.
9254
354691b7
MP
92552012-07-25 Marek Polacek <polacek@redhat.com>
9256
9257 [BZ #6808]
9258 * math/libm-test.inc (yn_test): Add another test.
9259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9260 to ERANGE when the result is +-Inf.
9261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9262 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9263 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9264 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9265
bf9e2071
JM
92662012-07-24 Joseph Myers <joseph@codesourcery.com>
9267
9268 * conform/data/time.h-data (NULL): Use macro-constant. Require
9269 equal to 0.
9270 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9271 clock_t.
9272 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9273
57633811
TS
92742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9275
9276 * configure.in <sysdeps resolving>: Correct printing
9277 Implies_before.
9278 * configure: Regenerate.
9279
c23c33b0
TS
92802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9281
9282 * math/w_ilogb.c: Include <limits.h>.
9283 * math/w_ilogbl.c: Likewise.
9284
b5982523
JM
92852012-07-20 Joseph Myers <joseph@codesourcery.com>
9286
9287 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9288 va_copy. Document allowing for unavailable va_copy only as
9289 pre-C99 compatibility.
9290 * manual/string.texi (Copying and Concatenation): Use va_copy
9291 instead of __va_copy in concat example.
9292
ac4ea442
PT
92932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9294
9295 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9296 (__sendto): Use create_address_port. Initialize APORT and deallocate
9297 it if not null.
9298
f98eafbd
PT
9299 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9300 with O_NOLINK passed to __file_name_lookup.
9301
898c7aab
PT
9302 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9303 with O_NOLINK passed to __file_name_lookup.
9304
0ced335a
PT
9305 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9306 negative N or less than NGIDS.
9307
b3404dbd
PT
9308 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9309 type to string_t. Set ERANGE as errno and return it if NAME is not big
9310 enough. Use memcpy instead of strncpy.
9311
0f48659e
JM
93122012-07-20 Joseph Myers <joseph@codesourcery.com>
9313
9314 * elf/Makefile (check-data): Remove.
9315 (localplt.data): New vpath directive.
9316 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9317 instead of $(check-data).
9318 * scripts/data/localplt-generic.data: Move to ...
9319 * sysdeps/generic/localplt.data: ... here.
9320 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9321 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9322 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9324 ... here.
9325 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9327 ... here.
9328 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9330 ... here.
9331 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9333 ... here.
9334 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9336 ... here.
9337 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9339 ... here.
9340
d37cbdaa
AZ
93412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342
9343 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9344 PPC32 and PPC64 files.
9345 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9346 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9347
46f85fc2
AK
93482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9349
9350 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9351 __makecontext_ret to ...
9352 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9353 ... here and call exit if uc_link is NULL. New file.
9354 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9355 __makecontext_ret.S.
9356 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9357 __makecontext_ret to ...
9358 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9359 ... here and call exit if uc_link is NULL. New file.
9360 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9361 __makecontext_ret.S.
9362
08f43f9b
AK
93632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9364
9365 * elf/elf.h (R_390_IRELATIVE): New definition.
9366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9367 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9368 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9369 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9370 (elf_machine_lazy_rel): Likewise.
9371 * sysdeps/s390/dl-irel.h: New file.
9372 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9373 * sysdeps/s390/s390-64/memset.S: New asm code.
9374 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9375 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9376 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9377 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9378 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9379 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9381 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9382 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9383 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9384 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9385 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9386 * sysdeps/s390/s390-32/memset.S: New asm code.
9387 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9388
3b05db33
MP
93892012-07-17 Marek Polacek <polacek@redhat.com>
9390
9391 [BZ #14349]
9392 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9393 * sysdeps/s390/s390-64/configure.in: Likewise.
9394 * sysdeps/sparc/configure.in: Likewise.
9395 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9396 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9397 * sysdeps/i386/configure.in: Likewise.
9398 * sysdeps/x86_64/configure.in: Likewise.
9399 * sysdeps/sh/configure.in: Likewise.
9400 * sysdeps/s390/s390-32/configure: Regenerated.
9401 * sysdeps/s390/s390-64/configure: Likewise.
9402 * sysdeps/x86_64/configure: Likewise.
9403 * sysdeps/sh/configure: Likewise.
9404 * sysdeps/powerpc/powerpc64/configure: Likewise.
9405 * sysdeps/powerpc/powerpc32/configure: Likewise.
9406 * sysdeps/sparc/configure: Likwise.
9407 * sysdeps/i386/configure: Likewise.
9408
a66877c6
MP
9409 * elf/dl-open.c: Comment fixes.
9410
cfc82fd8
JM
94112012-07-17 Joseph Myers <joseph@codesourcery.com>
9412
bd29910a
JM
9413 * Makefile [CXX] (check-data): Remove.
9414 [CXX] (c++-types.data): New vpath directive.
9415 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9416 vpath. Do not allow for C++ type data being missing.
9417 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9418 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9419 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9420 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9421 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9422 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9423 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9425 ... here.
9426 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9428 ... here.
9429 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9431 ... here.
9432 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9434 ... here.
9435 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9437 ... here.
9438 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9440 ... here.
9441 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9443 ... here.
9444 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9446
cfc82fd8
JM
9447 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9448 definitions to architecture-specific files.
9449 (TLS_IE): Likewise.
9450 (TLS_LD): Likewise.
9451 (TLS_GD): Likewise.
9452 * sysdeps/i386/tls-macros.h: New file.
9453 * sysdeps/powerpc/tls-macros.h: Likewise.
9454 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9455 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9456 * sysdeps/sh/tls-macros.h: Likewise.
9457 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9458 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9459 * sysdeps/x86_64/tls-macros.h: Likewise.
9460
f7db3170
TS
94612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9462
07cbfc23
TS
9463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9464 zero value for regular exit case.
9465
f7db3170
TS
9466 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9467 (__start_context): Preserve zero value for regular exit case.
9468
dc97c227
TS
94692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9470 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9471
9472 * manual/setjmp.texi (setcontext): Clarify normal process
9473 termination when uc_link is the null pointer.
9474 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9475 exit call.
9476
d0cd7d02
AS
94772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9478
9479 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9480 preprocessor. Test for each exception mask separately.
9481
dd318934
AJ
94822012-07-16 Andreas Jaeger <aj@suse.de>
9483
9484 * po/ru.po: Update from translation team.
9485
8048311a
JM
94862012-07-15 Joseph Myers <joseph@codesourcery.com>
9487
9488 * conform/data/string.h-data (NULL): Use macro-constant. Require
9489 equal to 0.
9490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9491 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9492 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9493 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9495
b637d46e
AJ
94962012-07-13 Andreas Jaeger <aj@suse.de>
9497
9498 * po/fr.po: Update from translation team.
9499
541428fe
MP
95002012-07-12 Marek Polacek <polacek@redhat.com>
9501
9502 [BZ #14173]
9503 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9505 loop condition.
9506
ec332e94
JM
95072012-07-12 Joseph Myers <joseph@codesourcery.com>
9508
9509 [BZ #13717]
9510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9511 Change to 2.4.1 where previously 2.4.0.
9512 * sysdeps/unix/sysv/linux/configure: Regenerated.
9513 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9514 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9515 version.
9516 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9517 (__ASSUME_AT_CLKTCK): Remove.
9518 (__ASSUME_AT_PAGESIZE): Likewise.
9519 (__ASSUME_AT_XID): Likewise.
9520 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9521 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9522 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9523 unconditionally.
9524 (HAVE_AUX_PAGESIZE): Likewise.
9525 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9526 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9527 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9528
7b6e99be
JB
95292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9530
9531 [BZ #14307]
9532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9533 the temporary buffer used to invoke __gethostbyname2_r,
9534 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9535 host_data / struct gaih_addrtuple.
9536 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9537 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9538 header file nss/nsswitch.h.
9539 * nss/nsswitch.h (global scope): Add definition of implementation
9540 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9541 resolv/nss_dns/dns-host.c).
9542
608404eb
AJ
95432012-07-11 Andreas Jaeger <aj@suse.de>
9544
9545 * po/fr.po: Update from translation team.
9546
71220aca
AJ
9547 * po/sv.po: Update from translation team
9548 * po/fr.po: Another update from translation team.
9549
28cfe843
AZ
95502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551
9552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9553 for subnormals or multiply small sinh result by itself.
9554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9556
6b90f981
DM
95572012-07-11 David S. Miller <davem@davemloft.net>
9558
9559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9560
c6825772
AS
95612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9562
9563 [BZ #14347]
9564 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9565 (INTERNAL_MARK): Shift it here.
9566
7b8e0d49
MP
95672012-07-10 Marek Polacek <polacek@redhat.com>
9568
9569 [BZ #14151]
9570 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9571 libc_cv_asm_global_directive with .globl.
9572 * configure: Regenerated.
9573 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9574 with .globl.
9575 * sysdeps/i386/configure: Regenerated.
9576 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9577 with .globl.
9578 * sysdeps/x86_64/configure: Regenerated.
9579 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9580 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9581 * elf/tst-unique2mod2.c: Likewise.
9582 * elf/tst-unique2mod1.c: Likewise.
9583 * elf/tst-unique1mod2.c: Likewise.
9584 * elf/tst-unique1mod1.c: Likewise.
9585 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9586 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9588 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9589 * sysdeps/mach/sysdep.h: Likewise.
9590 * sysdeps/i386/sysdep.h: Likewise.
9591 * sysdeps/i386/i386-mcount.S: Likewise.
9592 * sysdeps/x86_64/_mcount.S: Likewise.
9593 * sysdeps/x86_64/sysdep.h: Likewise.
9594 * sysdeps/sh/_mcount.S: Likewise.
9595 * sysdeps/sh/sysdep.h: Likewise.
9596 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9598 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9599 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9600 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9603 * locale/localeinfo.h: Likewise.
9604 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9605 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9606
6c55cda3
RM
96072012-07-09 Roland McGrath <roland@hack.frob.com>
9608
9609 [BZ #14336]
9610 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9611 system".
9612 * manual/message.texi (The Uniforum approach): Likewise.
9613 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9614 (glibc iconv Implementation): Likewise.
9615
638a572e
JM
96162012-07-09 Joseph Myers <joseph@codesourcery.com>
9617
9618 [BZ #14337]
9619 * math/s_clog.c (__clog): Avoid scaling a value down where that
9620 could result in underflow.
9621 * math/s_clog10.c (__clog10): Likewise.
9622 * math/s_clog10f.c (__clog10f): Likewise.
9623 * math/s_clog10l.c (__clog10l): Likewise.
9624 * math/s_clogf.c (__clogf): Likewise.
9625 * math/s_clogl.c (__clogl): Likewise.
9626 * math/libm-test.inc (clog_test): Add more tests.
9627 (clog10_test): Likewise.
9628 * sysdeps/i386/fpu/libm-test-ulps: Update.
9629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630
261f4859
AS
96312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9632
0abaf3e4
AS
9633 [BZ #14283]
9634 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9635 by 7 not 8 to examine high bit of fractional part.
9636
261f4859
AS
9637 [BZ #14042]
9638 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9639 for call to __mcount_internal.
9640 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9641 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9642 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9643
f17ac40d
JM
96442012-07-06 Joseph Myers <joseph@codesourcery.com>
9645
9ad63c23
JM
9646 [BZ #14154]
9647 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9648 approximation for values within 0x1p-13f of an odd multiple of
9649 pi/4.
9650 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9651 exception. Add more tests.
9652 * sysdeps/i386/fpu/libm-test-ulps: Update.
9653
f17ac40d
JM
9654 [BZ #6778]
9655 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9656 inputs and return -1 for them. Do not check for +Inf in case not
9657 reachable for +Inf.
9658 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9659 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9660 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9661 and return -1 for them. Do not check for +Inf in case not
9662 reachable for +Inf.
9663 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9664 define.
9665 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9666 and return -1 for them. Do not check for +Inf in case not
9667 reachable for +Inf.
9668 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9669 spurious underflow.
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9672
fb21f89b
MF
96732012-07-06 Mike Frysinger <vapier@gentoo.org>
9674
9675 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9676
cdfe2c5e
JM
96772012-07-05 Joseph Myers <joseph@codesourcery.com>
9678
9679 [BZ #14157]
9680 [BZ #14331]
9681 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9682 could result in spurious underflow. Scale down values above
9683 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9684 * math/s_csqrtf.c (__csqrtf): Likewise.
9685 * math/s_csqrtl.c (__csqrtl): Likewise.
9686 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9687 spurious underflow.
9688 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9690
70d35b67
AS
96912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9692
704bc459
AS
9693 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9694 xopen-msg.sed.
9695 * catgets/xopen-msg.awk: New file.
9696 * catgets/xopen-msg.sed: Removed.
9697
70d35b67
AS
9698 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9699 po2text.sed.
9700 * intl/po2test.awk: New file.
9701 * intl/po2test.sed: Removed.
9702
ca61cf32
JM
97032012-07-04 Joseph Myers <joseph@codesourcery.com>
9704
9705 [BZ #14328]
9706 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9707 or multiply small sinh result by itself.
9708 * math/s_ctanf.c (__ctanf): Likewise.
9709 * math/s_ctanh.c (__ctanh): Likewise.
9710 * math/s_ctanhf.c (__ctanhf): Likewise.
9711 * math/s_ctanhl.c (__ctanhl): Likewise.
9712 * math/s_ctanl.c (__ctanl): Likewise.
9713 * math/libm-test.inc (ctan_test_tonearest): New function.
9714 (ctan_test_towardzero): Likewise.
9715 (ctan_test_downward): Likewise.
9716 (ctan_test_upward): Likewise.
9717 (ctanh_test_tonearest): Likewise.
9718 (ctanh_test_towardzero): Likewise.
9719 (ctanh_test_downward): Likewise.
9720 (ctanh_test_upward): Likewise.
9721 (main): Call these new functions.
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9724
ca48a46a
MF
97252012-07-03 Mike Frysinger <vapier@gentoo.org>
9726
9727 * .gitignore: Delete /ports entry.
9728
9d63d37d
AJ
97292012-07-03 Andreas Jaeger <aj@suse.de>
9730
9731 * po/bg.po: Update from translation team.
9732 * po/cs.po: Likewise.
9733 * po/de.po: Likewise.
9734 * po/hr.po: Likewise.
9735 * po/nl.pl: Likewise.
9736 * po/pl.po: Likewise.
9737 * po/vi.po: Likewise.
9738
370ca3d2
JM
97392012-07-03 Joseph Myers <joseph@codesourcery.com>
9740
95f5a9a8
JM
9741 * Makeconfig [!+link] (+link-before-libc): New variable.
9742 [!+link] (+link-after-libc): Likewise.
9743 [!+link] (+link-tests): Likewise.
9744 [!+link] (+link): Define in terms of $(+link-before-libc) and
9745 $(+link-after-libc).
9746 [!+link-static] (+link-static-before-libc): New variable.
9747 [!+link-static] (+link-static-after-libc): Likewise.
9748 [!+link-static] (+link-static-tests): Likewise.
9749 [!+link-static] (+link-static): Define in terms of
9750 $(+link-static-before-libc) and $(+link-static-after-libc).
9751 [build-shared] (link-libc-before-gnulib): New variable.
9752 [build-shared] (link-libc-tests): Likewise.
9753 [build-shared] (link-libc): Define in terms of
9754 $(link-libc-before-gnulib).
9755 [!build-shared] (link-libc-tests): New variable.
9756 (link-libc-static-tests): New variable.
9757 [!gnulib] (gnulib-arch): New variable.
9758 [!gnulib] (gnulib-tests): Likewise.
9759 [!gnulib] (static-gnulib-arch): Likewise.
9760 [!gnulib] (static-gnulib-tests): Likewise.
9761 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9762 Define with "=" instead of ":=".
9763 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9764 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9765 * Rules (binaries-all-notests): New variable.
9766 (binaries-all-tests): Likewise.
9767 (binaries-static-notests): Likewise.
9768 (binaries-static-tests): Likewise.
9769 (binaries-all): Define using $(binaries-all-notests) and
9770 $(binaries-all-tests).
9771 (binaries-static): Define using $(binaries-static-notests) and
9772 $(binaries-static-tests).
9773 (binaries-shared-tests): New variable.
9774 (binaries-shared-notests): Likewise.
9775 (binaries-shared): Remove variable.
9776 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9777 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9778 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9779 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9780 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9781 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9782 * elf/Makefile (sln-modules): New variable.
9783 (extra-objs): Add $(sln-modules:=.o).
9784 (ldconfig-modules): Add static-stubs.
9785 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9786 * elf/static-stubs.c: New file.
9787
7a845b2c
JM
9788 [BZ #14283]
9789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9790 by 7 not 8 to examine high bit of fractional part. Use volatile
9791 variables when splitting into final array of floats if
9792 __FLT_EVAL_METHOD__ != 0.
9793 * math/libm-test.inc (cos_test): Add another test.
9794 (sin_test): Likewise.
9795 * sysdeps/i386/fpu/libm-test-ulps: Update.
9796
e2283f38
JM
9797 [BZ #14273]
9798 * math/libm-test.inc (cosh_test): Add more tests.
9799
370ca3d2
JM
9800 * version.h (RELEASE): Set to "development".
9801 (VERSION): Set to "2.16.90".
9802
ee9247c3
CD
98032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9804
9805 * NEWS: Update copyright. Remove last-updated date.
9806 Mention math library bug fixes and timezone data changes.
9807 * README: Mention GNU/Hurd, x32, and HPPA support status.
9808
4648c381
TS
98092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9810
9811 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9812
aac78a43
AJ
98132012-06-27 Andreas Jaeger <aj@suse.de>
9814
9815 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9816
ed3dbfad
AJ
98172012-06-25 Andreas Jaeger <aj@suse.de>
9818
9819 * sysdeps/s390/fpu/libm-test-ulps: Update.
9820
4d0ee855
AS
98212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9822 Thomas Schwinge <thomas@codesourcery.com>
9823
9824 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9825 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9827 fanotify_mark.
9828
af1bce34
TS
98292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9830
a9fa33ba
TS
9831 * sysdeps/mach/start.c: Remove file.
9832 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9833 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9834 * sysdeps/sh/init-first.c: Likewise.
9835
58f902b8
TS
9836 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9837 registers for frame unwinding purposes, add CFI directives.
9838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9840 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9841 Likewise.
9842
1518f58b
TS
9843 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9844 __fortify_fail returning.
9845 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9846
db9b5059
TS
9847 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9848 sysdeps/sh/____longjmp_chk.S.
9849 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9850 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9851 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9852 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9853
967705fe
TS
9854 * sysdeps/sh/abort-instr.h: New file.
9855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9856 process in case exit returns.
9857
a9def8c4
TS
9858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9859 initialize the GOT register before use.
9860
2a649725
TS
9861 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9862 calculation of ARGC > 4.
9863
af1bce34
TS
9864 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9865 meaningful names to some local labels.
9866
d230f50a
KK
98672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9868 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9869
9870 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9871 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9872 (__arch_compare_and_exchange_val_16_acq): Likewise.
9873 (__arch_compare_and_exchange_val_32_acq): Likewise.
9874 (atomic_exchange_and_add): Fix gUSA sequence.
9875 (atomic_add): Likewise.
9876 (atomic_add_negative): Likewise.
9877 (atomic_add_zero): Likewise.
9878 (atomic_bit_test_set): Likewise.
9879
0479b305
AS
98802012-06-22 Andreas Schwab <schwab@redhat.com>
9881
9882 [BZ #13579]
9883 * include/link.h (struct link_map): Add l_free_initfini.
9884 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9885 l_initfini.
9886 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9887 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9888 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9889 set.
9890
0e3933b9
CD
98912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9892
9893 * configure.in: Use AC_LANG_SOURCE.
9894 * configure: Regenerate.
9895
4248b1b1
RM
98962012-06-22 Roland McGrath <roland@hack.frob.com>
9897
9898 * configure.in (libc_cv_localstatedir): New substituted variable.
9899 * configure: Regenerated.
9900 * config.make.in (localstatedir): New variable, substituted from
9901 libc_cv_localstatedir.
9902 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9903 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9904 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9905 * sysdeps/gnu/configure: Regenerated.
9906
006dd861
JL
99072012-06-21 Jeff Law <law@redhat.com>
9908
9909 [BZ #14277]
9910 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9911 free. Simplify list management for _LIBC case.
9912
79662d42
JM
99132012-06-21 Joseph Myers <joseph@codesourcery.com>
9914
b7abb4bf
JM
9915 [BZ #14273]
9916 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9917 Clear sign bit of 64-bit integer value before comparing against
9918 overflow value.
9919
79662d42
JM
9920 * sysdeps/mach/configure: Regenerated.
9921
1f150908
L
99222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 [BZ #14278]
9925 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9926
28363bbf
JL
99272012-06-21 Jeff Law <law@redhat.com>
9928
9929 [BZ #13882]
9930 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9931 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9933 * elf/dl-open.c (dl_open_worker): Likewise.
9934
09615db4
CD
99352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9936
9937 * scripts/list-sources.sh: Scan PORTS for translations.
9938 * po/libc.pot: Regenerated.
9939
2174c6dd
AJ
99402012-06-21 Andreas Jaeger <aj@suse.de>
9941
9942 [BZ #12194]
9943 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9944 warning.
9945 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9946 * bits/byteswap-16.h (__bswap_16): Likewise.
9947 * bits/byteswap.h (__bswap_constant_16): Likewise.
9948
3ee947b1
L
99492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 [BZ #14117]
a2f34833
L
9952 * sysdeps/i386/fpu_control.h: Removed.
9953 * sysdeps/x86_64/fpu_control.h: Moved to ...
9954 * sysdeps/x86/fpu_control.h: Here.
9955
3ee947b1
L
9956 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9957 (_FPU_SETCW): Likewise.
9958
ed1825f8
L
99592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9960
25f1282a
L
9961 [BZ #14117]
9962 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9963 * sysdeps/x86/fpu/bits/mathinline.h: This.
9964 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9965
ed1825f8
L
9966 [BZ #14050]
9967 [BZ #14117]
9968 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9969 functions if __x86_64__ is defined.
9970
36d54b74
CLT
99712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9972
9973 * string/endian.h: Add !__ASSEMBLER__ condition for including
9974 conversion interfaces.
9975
10285c21
JM
99762012-06-15 Joseph Myers <joseph@codesourcery.com>
9977
9978 [BZ #14241]
9979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9980 of ABS(x) in calculating zero to negative powers other than odd
9981 integers.
9982 * math/libm-test.inc (pow_test): Add more tests.
9983
06c5abbd
AJ
99842012-06-15 Andreas Jaeger <aj@suse.de>
9985
9986 * manual/contrib.texi (Contributors): Update entry of Liubov
9987 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9988 Machado Filho.
9989
a3aeac40
CH
99902012-06-15 Cyril Hrubis <metan@ucw.cz>
9991
9992 * string/string.h: Add __wur to GNU version of strerror_r.
9993
49bdf4c1
L
99942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9995
9996 [BZ #14229]
9997 * string/Makefile (tests): Add tst-strtok_r.
9998 * string/tst-strtok_r.c: New file.
9999 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10000 RAX_LP/RDX_LP on SAVE_PTR.
10001
834f9b8d
RM
100022012-06-14 Roland McGrath <roland@hack.frob.com>
10003
10004 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10005
75fa1921
JM
100062012-06-14 Joseph Myers <joseph@codesourcery.com>
10007
10008 * libm_test.inc (csqrt_test): Allow more spurious underflow
10009 exceptions.
10010 (j0_test): Likewise.
10011 (j1_test): Likewise.
10012 (y0_test): Likewise.
10013 (y1_test): Likewise.
10014
771766df
CD
100152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10016
10017 * po/Makefile (libc.pot): Use UTF-8 charset.
10018
ceb9e56b
PP
100192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10020
10021 [BZ #14210]
10022 Suppress sign-conversion warning from FD_SET.
10023 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10024 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10025 not unsigned long int.
10026 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10027
ddb28975
L
100282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10029
10030 [BZ #14050]
10031 [BZ #14117]
10032 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10033 __extern_always_inline instead of __extern_inline.
10034 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10035 (__signbit): Likewise.
10036 (__signbitl): Support C++ namespace.
10037 (lrintf): New inline function.
10038 (lrint): Likewise.
10039 (llrintf): Likewise.
10040 (llrint): Likewise.
10041 (fmaxf): Likewise.
10042 (fmax): Likewise.
10043 (fminf): Likewise.
10044 (fmin): Likewise.
10045 (rint): Likewise.
10046 (rintf): Likewise.
10047 (ceil): Likewise.
10048 (ceilf): Likewise.
10049 (floor): Likewise.
10050 (floorf): Likewise.
10051 (nearbyint): Likewise.
10052 (nearbyintf): Likewise.
10053
d7b4fb26
TS
100542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10055
10056 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10057 non-default versions.
10058
eb55f5c2
RM
100592012-06-11 Roland McGrath <roland@hack.frob.com>
10060
10061 [BZ #14218]
10062 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10063
366af02c
TS
100642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10065
99ff6e5c
TS
10066 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10067 (FE_UPWARD, FE_DOWNWARD): Don't define.
10068 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10069 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10070
366af02c
TS
10071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10072 reading it.
10073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10074 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10075
793ea851
KK
100762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10077
10078 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10080 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10082
a728a38f
L
100832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 [BZ #14117]
c08010c7
L
10086 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10087 * sysdeps/i386/fpu/Implies: New file.
10088 * sysdeps/x86_64/fpu/Implies: Likewise.
10089 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10090 * sysdeps/x86/fpu/bits/fenv.h: This.
10091
a728a38f
L
10092 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10093 __SSE_MATH__.
10094
6e230d11
SP
100952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10096
10097 [BZ #14134]
10098 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10099 character 0xffff that matches the last element of the
10100 conversion table.
10101
1b671feb
AZ
101022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10103
10104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10105 fmodl commit.
10106
6043738b
AZ
101072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108
10109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10110 values higher than 25.6283.
10111
34ae0b32
AZ
101122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113
10114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10115 subnormal exponent extraction and add some __builtin_expect.
10116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10117 Fix for subnormal mantissa calculation.
10118
1214ec8f
MF
101192012-06-04 Mike Frysinger <vapier@gentoo.org>
10120
10121 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10122 cpu2 is -1 and errno is not ENOSYS.
10123
f3d1f93c
L
101242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 [BZ #14117]
0e4a3cd7
L
10127 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10128 * sysdeps/x86/bits/string.h: This.
10129 * sysdeps/x86_64/bits/string.h: Removed.
10130
6704c645
L
10131 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10132 if not compiling for x86-64, but compiling for >= i486.
10133
48495318
L
10134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10135 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10136
14adcbfc
L
10137 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10138 New macro from Linux kernel 3.4.0.
10139 (FP_XSTATE_MAGIC2): Likewise.
10140 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10141 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10142 (struct _fpx_sw_bytes): New struct.
10143 (struct _xsave_hdr): Likewise.
10144 (struct _ymmh_state): Likewise.
10145 (struct _xstate): Likewise.
10146
68e408ab
L
10147 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10148 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10150 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10151 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10152 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10153
f3d1f93c
L
10154 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10155 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10156 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10157 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10158 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10159 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10160
d9dc34cd
TMQMF
101612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10162
10163 [BZ #13743]
10164 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10165 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10166 (sysdep_headers): Include sys/platform/ppc.h.
10167 * sysdeps/powerpc/test-gettimebase.c: Test for
10168 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10169 * manual/Makefile (appendices): Include platform.texi.
10170 * manual/contrib.texi (Contributors): Update @node pointers.
10171 * manual/maint.texi (Maintenance): Likewise.
10172 (Platform): New node.
10173 * manual/platform.texi: New file. Document the new features.
10174
4af3879c
SP
101752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10176 Jakub Jelinek <jakub@redhat.com>
10177
10178 [BZ #14188]
10179 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10180 where __builtin_expect is unavailable.
10181
2fd6ff13
DM
101822012-06-03 David S. Miller <davem@davemloft.net>
10183
10184 * stdlib/longlong.h: Updated from GCC.
10185
173f7220
AS
101862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10187
10188 [BZ #14042]
10189 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10190 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10191 __mcount_internal.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10193 (GLIBC_2.16): Likewise.
10194
f34a1c6f
L
101952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10196
10197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10198
88a4576f
JM
101992012-06-01 Joseph Myers <joseph@codesourcery.com>
10200
ea32bcdd
JM
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10202 (default-abi): New variable.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10204 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10205 variable.
10206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10207 Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10209 Likewise.
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10211 Likewise.
10212
88a4576f
JM
10213 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10214 definition. Document in comment.
10215
402fe938
DM
102162012-06-01 David S. Miller <davem@davemloft.net>
10217
10218 * stdlib/longlong.h: Updated from GCC.
10219
3553723f
L
102202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 [BZ #14117]
3bd872c4
L
10223 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10224 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10225 sys/debugreg.h sys/io.h here.
10226 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10227 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10228 sys/io.h.
10229 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10230 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10231 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10232 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10233 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10234 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10235
3553723f
L
10236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10237 Define only if __x86_64__ is defined.
10238
4842e4fe
JM
102392012-06-01 Joseph Myers <joseph@codesourcery.com>
10240
c5bfe3d5
JM
10241 [BZ #14048]
10242 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10243 Use int64_t for variable i.
10244 * math/libm-test.inc (fmod_test): Add more tests.
10245
4842e4fe
JM
10246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10247 z computation is not scheduled after fetestexcept.
10248 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10249 Use math_force_eval instead of asm to ensure calculation scheduled
10250 before exception test.
10251 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10252 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10253
efb73488
AJ
102542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10255
10256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10257 computation is not scheduled after fetestexcept.
10258
29bcce7c
L
102592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 [BZ #14117]
10262 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10263 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10264
73a68f94
AZ
102652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10266
10267 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10268 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10269
67b6df78
L
102702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10271
edf2933a 10272 [BZ #14117]
ebc64a18
L
10273 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10274 <bits/wordsize.h>.
10275 (__WCHAR_MIN): Support __WORDSIZE == 64.
10276 (__WCHAR_MAX): Likewise.
10277
edf2933a
L
10278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10280
57c6cf40
L
10281 [BZ #14183]
10282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10283 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10284
67b6df78 10285 [BZ #14117]
8eb6281e
L
10286 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10287 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10288
aac639f4
L
10289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10290 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10291
67b6df78
L
10292 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10293 Defined to 1 if __x86_64__ isn't defined.
10294 (_STAT_VER_LINUX_OLD): New.
10295 (st_atime): Remove duplicate.
10296 (st_mtime): Likewise.
10297 (st_ctime): Likewise.
10298
1c2cfe81
DM
102992012-05-31 David S. Miller <davem@davemloft.net>
10300
10301 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10302 entries.
10303
5be8418c
AS
103042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10305
e7725326
AS
10306 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10307 gen-libm-test.pl.
10308
5be8418c
AS
10309 [BZ #14132]
10310 * elf/dl-reloc.c: Include <_itoa.h>.
10311 (_dl_reloc_bad_type): Remove use of INTUSE.
10312 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10313 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10314 * stdio-common/psiginfo.c (psiginfo): Likewise.
10315 * stdio-common/psignal.c (psignal): Likewise.
10316 * string/strsignal.c (strsignal): Likewise.
10317 * include/signal.h (_sys_siglist): Declare hidden proto.
10318 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10319 INTVARDEF with libc_hidden_data_def.
10320 * stdio-common/itoa-udigits.c: Likewise.
10321 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10322 (_itoa_lower_digits_internal): Remove declaration.
10323 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10324 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10325 (_sys_sigabbrev_internal): Remove aliases.
10326 (_sys_siglist): Define hidden alias.
10327
507352f1
MT
103282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10329
10330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10331 bits/sysctl.h.
10332
42bbb1c3
L
103332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10334
10335 [BZ #14117]
6bd784b6
L
10336 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10337 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10338
8bca20f0
L
10339 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10340 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10341 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10342 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10344 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10345
f9e890a9
L
10346 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10347 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10348 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10349
471101a1
L
10350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10351 with __addr.
10352 (insw): Likewise.
10353 (insl): Likewise.
10354 (outsb): Likewise.
10355 (outsw): Likewise.
10356 (outsl): Likewise.
10357
6451c862
L
10358 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10359 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10360 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10361
a254b8c9
L
10362 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10363 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10365 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10367 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10368
b8dfdd92
L
10369 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10370 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10371
578cd270
L
10372 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10373 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10374
de662f5f
L
10375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10377 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10378
25653439
L
10379 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10380 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10381 to ...
10382 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10383
6bad24a0
L
10384 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10385 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10386 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10387
42bbb1c3
L
10388 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10389 for x86-64.
10390 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10391
2d10d547
JM
103922012-05-31 Joseph Myers <joseph@codesourcery.com>
10393
10394 * math/math.h (M_El): Use two more decimal places.
10395 (M_LOG2El): Likewise.
10396 (M_LOG10El): Likewise.
10397 (M_LN2l): Likewise.
10398 (M_LN10l): Likewise.
10399 (M_PIl): Likewise.
10400 (M_PI_2l): Likewise.
10401 (M_PI_4l): Likewise.
10402 (M_1_PIl): Likewise.
10403 (M_2_PIl): Likewise.
10404 (M_2_SQRTPIl): Likewise.
10405 (M_SQRT2l): Likewise.
10406 (M_SQRT1_2l): Likewise.
10407
f230c29b
DM
104082012-05-31 David S. Miller <davem@davemloft.net>
10409
10410 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10411 values between float registers.
10412 * sysdeps/sparc/sparc64/memset.S: Likewise.
10413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10414
fed806c3
MF
104152012-05-31 Mike Frysinger <vapier@gentoo.org>
10416
10417 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10418 -D_FORTIFY_SOURCE=1.
10419 (CPPFLAGS-tst-longjmp_chk.c): Define.
10420 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10421 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10422 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10423 CFLAGS-tst-wchar-h.c.
10424
30917259
MP
104252012-05-31 Marek Polacek <polacek@redhat.com>
10426
10427 [BZ #14132]
10428 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10429 __endmntent_internal): Remove declaration.
10430 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10431 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10432 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10433
1c58d5dc
DM
104342012-05-30 David S. Miller <davem@davemloft.net>
10435
10436 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10437 (___Q_simulate_exceptions): Use real FP ops rather than writing
10438 into the %fsr.
10439 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10440 Likewise.
10441
7dc00e0d
L
104422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10443
10444 [BZ #14117]
0bd53985
L
10445 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10446 * sysdeps/x86/bits/xtitypes.h: This.
10447
3a257e66
L
10448 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10449 * sysdeps/x86/bits/wordsize.h: This.
10450
62f62904
L
10451 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10452 * sysdeps/x86/bits/huge_vall.h: This.
10453
404fe9d9
L
10454 * sysdeps/i386/bits/select.h: Removed.
10455 * sysdeps/x86_64/bits/select.h: Renamed to ...
10456 * sysdeps/x86/bits/select.h: This.
10457
d48d0446
L
10458 * sysdeps/i386/bits/setjmp.h: Removed.
10459 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10460 * sysdeps/x86/bits/setjmp.h: This.
10461
7dc00e0d
L
10462 * sysdeps/i386/bits/mathdef.h: Removed.
10463 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10464 * sysdeps/x86/bits/mathdef.h: This.
10465
03277f8f
AS
104662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10467
10468 [BZ #14132]
10469 * include/sys/socket.h (__connect_internal)
10470 (__libc_sa_len_internal): Remove declaration.
10471 (__connect, __libc_sa_len): Declare hidden_proto.
10472 (SA_LEN): Remove use of INTUSE.
10473 * socket/connect.c: Add libc_hidden_def.
10474 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10475 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10476 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10477 alias.
10478 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10479 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10480 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10481 of adding _internal alias.
10482
13764867
L
104832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 [BZ #14117]
6bd97696
L
10486 * sysdeps/i386/bits/link.h: Removed.
10487 * sysdeps/i386/bits/linkmap.h: Likewise.
10488 * sysdeps/x86_64/bits/link.h: Renamed to ...
10489 * sysdeps/x86/bits/link.h: This.
10490 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10491 * sysdeps/x86/bits/linkmap.h: This.
10492
f726f0bb
L
10493 * sysdeps/i386/bits/endian.h: Removed.
10494 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10495 * sysdeps/x86/bits/endian.h: This.
10496
13764867
L
10497 * sysdeps/i386/bits/byteswap.h: Removed.
10498 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10499 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10500 * sysdeps/x86/bits/byteswap.h: This.
10501 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10502 * sysdeps/x86/bits/byteswap-16.h: This.
10503 * sysdeps/i386/Implies: Add x86.
10504 * sysdeps/x86_64/Implies: Likewise.
10505
ae251b0b
DM
105062012-05-30 David S. Miller <davem@davemloft.net>
10507
10508 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10509 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10511 (FP_TRAPPING_EXCEPTIONS): Define.
10512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10513 (FP_TRAPPING_EXCEPTIONS): Define.
10514 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10515 subnormals only when inexact has been signalled or underflow
10516 exceptions are enabled.
10517 (_FP_PACK_CANONICAL): Likewise.
10518
d5c90867
L
105192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 [BZ #14183]
10522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10523 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10524
63f1549e
RH
105252012-05-30 Richard Henderson <rth@twiddle.net>
10526
8d8f2279
RH
10527 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10528 with #ifndef NOT_IN_libc.
10529
63f1549e
RH
10530 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10531 marked to avoid plt entry.
10532
0ab0291b
L
105332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 [BZ #14112]
10536 * Makeconfig (default-abi): New macro.
10537 (abi-includes): Likewise.
10538 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10539 $(abi-$(default-abi)-lib-soname) for soname if defined.
10540 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10541 abi-variants.
10542 * Makefile (installed-stubs): Likewise.
10543 * include/stubs-biarch.h: Removed.
10544 * scripts/lib-names.awk: Only handle one library at a time.
10545 * scripts/soversions.awk: Remove WORDSIZE support.
10546 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10547 entries.
10548 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10549 Removed.
10550 (syscall-list-default-condition): Likewise.
10551 (syscall-list-default-condition): Likewise.
10552 (syscall-list-includes): Likewise.
10553 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10554 syscall-list-* with abi-*. Handle undefined abi-variants.
10555 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10556 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10557 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10558 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10559 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10560 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10561 Removed.
10562 (syscall-list-32-options): Likewise.
10563 (syscall-list-32-condition): Likewise.
10564 (syscall-list-64-options): Likewise.
10565 (syscall-list-64-condition): Likewise.
10566 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10567 macro.
10568 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10569 Renamed to ...
10570 (abi-*): This.
10571 (abi-64-ld-soname): New macro.
10572 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10573 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10574 Renamed to ...
10575 (abi-*): This.
10576 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10577 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10578
4da0431d
JM
105792012-05-30 Joseph Myers <joseph@codesourcery.com>
10580
3a85279c
JM
10581 * sysdeps/unix/sysv/linux/kernel-features.h
10582 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10583 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10584 include <kernel-features.h>.
10585 [!__NR_ftruncate64]: Remove conditional code.
10586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10587 [__NR_ftruncate64]: Make code unconditional.
10588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10589 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10590 include <kernel-features.h>.
10591 [!__NR_ftruncate64]: Remove conditional code.
10592 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10593 [__NR_ftruncate64]: Make code unconditional.
10594 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10596 include <kernel-features.h>.
10597 [!__NR_ftruncate64]: Remove conditional code.
10598 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10599 [__NR_ftruncate64]: Make code unconditional.
10600 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10602 include <kernel-features.h>.
10603 [!__NR_ftruncate64]: Remove conditional code.
10604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10605 [__NR_ftruncate64]: Make code unconditional.
10606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10607
4da0431d
JM
10608 * configure.in (libc_cv_fpie): Weaken to a compile test using
10609 LIBC_TRY_CC_OPTION.
10610 * configure: Regenerated.
10611
11ef492c
AK
106122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10613
10614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10618 Refreshed.
10619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10625 Refreshed.
10626
d66ef399
DM
106272012-05-27 David S. Miller <davem@davemloft.net>
10628
10629 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10630 (___Q_zero): New.
10631 (__Q_simulate_exceptions): Return void. Change to simulate
10632 exceptions by writing into the %fsr.
10633 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10634 (__Qp_handle_exceptions): Likewise.
10635 (numbers): Delete.
10636 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10637 __Qp_handle_exceptions.
10638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10639 __Qp_handle_exceptions.
10640 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10641 as unused and give dummy FP_RND_NEAREST initializer.
10642 (FP_INHIBIT_RESULTS): Define.
10643 (___Q_simulate_exceptions): Update declaration.
10644 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10645 formatting.
10646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10647 as unused and give dummy FP_RND_NEAREST initializer.
10648 (__Qp_handle_exceptions): Update declaration.
10649 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10650 formatting.
10651
04fb54b5
TS
106522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10653
10654 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10655 the temporary FPU control word.
10656 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10657 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10659 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10660 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10661 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10662 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10663 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10664 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10665 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10666 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10667
3f99608f
KK
106682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10669
10670 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10671 fields.
10672
65a4de4e
CLT
106732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10674
10675 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10676 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10677 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10678 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10679 Likewise.
10680 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10681 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10682 Likewise.
10683
15749d40
UD
106842012-05-27 Ulrich Drepper <drepper@gmail.com>
10685
10686 * po/h.po: Update from translation team.
10687
25dbcb27
AS
106882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10689
3d3f8e55
AS
10690 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10691
25dbcb27
AS
10692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10693 handling of denormals.
10694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10695 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10696 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10697 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10701 Likewise.
10702
7ad47a80 107032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10704
10705 [BZ #14152]
10706 * math/libm-test.inc (fma_test): Don't always expect underflow
10707 exception.
10708
9c6ea9fa
SP
107092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10710
10711 [BZ #12416]
10712 * elf/tst-execstack.c: Include stackinfo.h.
10713 (do_test): Adjust test case to ensure that pthread_getattr_np
10714 behaviour remains the same after marking stack executable.
10715
a8239222
JM
107162012-05-25 Joseph Myers <joseph@codesourcery.com>
10717
10718 * sysdeps/unix/sysv/linux/kernel-features.h
10719 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10720 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10721 kernel-features.h.
10722 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10723 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10724 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10725 kernel-features.h.
10726 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10727 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10728
918b5606
L
107292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10730
10731 * configure.in: Define the default includes to being none.
10732 * configure: Regenerated.
10733
3a097cc7
RM
107342012-05-25 Roland McGrath <roland@hack.frob.com>
10735
8422c9a5
RM
10736 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10737 * sysdeps/x86_64/setjmp.S: Likewise.
10738 * sysdeps/i386/bsd-setjmp.S: Likewise.
10739 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10740 * sysdeps/i386/setjmp.S: Likewise.
10741 * sysdeps/i386/__longjmp.S: Likewise.
10742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10744
3a097cc7
RM
10745 * include/stap-probe.h: New file.
10746 * configure.in: Handle --enable-systemtap.
10747 * configure: Regenerated.
10748 * config.h.in (USE_STAP_PROBE): New #undef.
10749 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10750 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10751 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10752
21708942
JM
107532012-05-25 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #13717]
10756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10757 to 2.4.0 where earlier.
10758 * sysdeps/unix/sysv/linux/configure: Regenerated.
10759 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10760 <kernel-features.h>.
10761 [__ASSUME_32BITUIDS]: Make code unconditional.
10762 [!__ASSUME_32BITUIDS]: Remove conditional code.
10763 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10764 <kernel-features.h>.
10765 [__ASSUME_32BITUIDS]: Make code unconditional.
10766 [!__ASSUME_32BITUIDS]: Remove conditional code.
10767 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10768 [__ASSUME_32BITUIDS]: Make code unconditional.
10769 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10770 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10771 <kernel-features.h>.
10772 [__ASSUME_32BITUIDS]: Make code unconditional.
10773 [!__ASSUME_32BITUIDS]: Remove conditional code.
10774 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10775 <kernel-features.h>.
10776 [__ASSUME_32BITUIDS]: Make code unconditional.
10777 [!__ASSUME_32BITUIDS]: Remove conditional code.
10778 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10779 <kernel-features.h>.
10780 [__ASSUME_32BITUIDS]: Make code unconditional.
10781 [!__ASSUME_32BITUIDS]: Remove conditional code.
10782 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10783 <kernel-features.h>.
10784 [__ASSUME_32BITUIDS]: Make code unconditional.
10785 [!__ASSUME_32BITUIDS]: Remove conditional code.
10786 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10787 <kernel-features.h>.
10788 [__ASSUME_32BITUIDS]: Make code unconditional.
10789 [!__ASSUME_32BITUIDS]: Remove conditional code.
10790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10791 <kernel-features.h>.
10792 [__ASSUME_32BITUIDS]: Make code unconditional.
10793 [!__ASSUME_32BITUIDS]: Remove conditional code.
10794 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10795 <kernel-features.h>.
10796 [__ASSUME_32BITUIDS]: Make code unconditional.
10797 [!__ASSUME_32BITUIDS]: Remove conditional code.
10798 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10799 <kernel-features.h>.
10800 [__ASSUME_32BITUIDS]: Make code unconditional.
10801 [!__ASSUME_32BITUIDS]: Remove conditional code.
10802 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10803 <kernel-features.h>.
10804 [__ASSUME_32BITUIDS]: Make code unconditional.
10805 [!__ASSUME_32BITUIDS]: Remove conditional code.
10806 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10807 <kernel-features.h>.
10808 [__ASSUME_32BITUIDS]: Make code unconditional.
10809 [!__ASSUME_32BITUIDS]: Remove conditional code.
10810 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10811 <kernel-features.h>.
10812 [__NR_setresgid] (__setresgid): Do not declare.
10813 [__ASSUME_32BITUIDS]: Make code unconditional.
10814 [!__ASSUME_32BITUIDS]: Remove conditional code.
10815 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10816 <kernel-features.h>.
10817 [__NR_setresuid] (__setresuid): Do not declare.
10818 [__ASSUME_32BITUIDS]: Make code unconditional.
10819 [!__ASSUME_32BITUIDS]: Remove conditional code.
10820 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10821 <kernel-features.h>.
10822 [__ASSUME_32BITUIDS]: Make code unconditional.
10823 [!__ASSUME_32BITUIDS]: Remove conditional code.
10824 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10825 <kernel-features.h>.
10826 [__ASSUME_32BITUIDS]: Make code unconditional.
10827 [!__ASSUME_32BITUIDS]: Remove conditional code.
10828 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10829 <kernel-features.h>.
10830 [__ASSUME_32BITUIDS]: Make code unconditional.
10831 [!__ASSUME_32BITUIDS]: Remove conditional code.
10832 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10833 <kernel-features.h>.
10834 [__ASSUME_32BITUIDS]: Make code unconditional.
10835 [!__ASSUME_32BITUIDS]: Remove conditional code.
10836 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10837 <kernel-features.h>.
10838 [__ASSUME_32BITUIDS]: Make code unconditional.
10839 [!__ASSUME_32BITUIDS]: Remove conditional code.
10840 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10841 <kernel-features.h>.
10842 [__ASSUME_32BITUIDS]: Make code unconditional.
10843 [!__ASSUME_32BITUIDS]: Remove conditional code.
10844 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10845 <kernel-features.h>.
10846 [__ASSUME_32BITUIDS]: Make code unconditional.
10847 [!__ASSUME_32BITUIDS]: Remove conditional code.
10848 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10849 <kernel-features.h>.
10850 [__ASSUME_32BITUIDS]: Make code unconditional.
10851 [!__ASSUME_32BITUIDS]: Remove conditional code.
10852 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10853 <kernel-features.h>.
10854 [__ASSUME_32BITUIDS]: Make code unconditional.
10855 [!__ASSUME_32BITUIDS]: Remove conditional code.
10856 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10857 <kernel-features.h>.
10858 [__ASSUME_32BITUIDS]: Make code unconditional.
10859 [!__ASSUME_32BITUIDS]: Remove conditional code.
10860 * sysdeps/unix/sysv/linux/kernel-features.h
10861 (__ASSUME_SETRESUID_SYSCALL): Remove.
10862 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10863 (__ASSUME_32BITUIDS): Likewise.
10864 (__ASSUME_LDT_WORKS): Likewise.
10865 (__ASSUME_O_DIRECTORY): Likewise.
10866 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10867 architecture but not kernel version.
10868 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10869 (__ASSUME_MMAP2_SYSCALL): Likewise.
10870 (__ASSUME_STAT64_SYSCALL): Likewise.
10871 (__ASSUME_IPC64): Likewise.
10872 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10873 <kernel-features.h>.
10874 [__ASSUME_32BITUIDS]: Make code unconditional.
10875 [!__ASSUME_32BITUIDS]: Remove conditional code.
10876 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10877 <kernel-features.h>.
10878 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10879 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10880 132096]: Remove conditional code.
10881 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10883 <kernel-features.h>.
10884 [__ASSUME_32BITUIDS]: Make code unconditional.
10885 [!__ASSUME_32BITUIDS]: Remove conditional code.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10887 <kernel-features.h>.
10888 [__ASSUME_32BITUIDS]: Make code unconditional.
10889 [!__ASSUME_32BITUIDS]: Remove conditional code.
10890 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10891 <kernel-features.h>.
10892 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10893 unconditional.
10894 (__setresgid): Do not declare.
10895 [__ASSUME_32BITUIDS]: Make code unconditional.
10896 [!__ASSUME_32BITUIDS]: Remove conditional code.
10897 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10898 <kernel-features.h>.
10899 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10900 unconditional.
10901 (__setresuid): Do not declare.
10902 [__ASSUME_32BITUIDS]: Make code unconditional.
10903 [!__ASSUME_32BITUIDS]: Remove conditional code.
10904 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10905 <kernel-features.h>.
10906 [__ASSUME_32BITUIDS]: Make code unconditional.
10907 [!__ASSUME_32BITUIDS]: Remove conditional code.
10908 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10909 <kernel-features.h>.
10910 [__ASSUME_32BITUIDS]: Make code unconditional.
10911 [!__ASSUME_32BITUIDS]: Remove conditional code.
10912
a386f1cc
RH
109132012-05-25 Richard Henderson <rth@twiddle.net>
10914
10915 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10916 dl_hwcap to ifunc resolver.
10917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10918 elf_ifunc_invoke.
10919 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10920 dl_hwcap to ifunc resolver.
10921 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10922
b6550497
JM
109232012-05-24 Joseph Myers <joseph@codesourcery.com>
10924
10925 [BZ #14153]
10926 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10927 for |x| <= 2**-26, not 2**-57.
10928 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10929 exception.
10930
b0bc23a1
JL
109312012-05-24 Jeff Law <law@redhat.com>
10932
10933 * stdio-common/Makefile (tests): Add bug25.
10934 * stdio-common/bug25.c: New test.
10935
347c92e9
L
109362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10937
10938 [BZ #13576]
10939 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10940 multiple of MALLOC_ALIGNMENT in size.
10941 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10942
6bcc8b3f
JM
109432012-05-24 Joseph Myers <joseph@codesourcery.com>
10944
10945 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10946 Require >= 256.
10947 (FILENAME_MAX): Use macro-int-constant.
10948 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10949 (_IOFBF): Use macro-int-constant.
10950 (_IOLBF): Likewise.
10951 (_IONBF): Likewise.
10952 (SEEK_CUR): Likewise.
10953 (SEEK_END): Likewise.
10954 (SEEK_SET): Likewise.
10955 (TMP_MAX): Likewise.
10956 (EOF): Use macro-int-constant. Require < 0.
10957 (NULL): Use macro-constant. Require == 0.
10958 (stdin): Require type to be FILE *.
10959 (stdout): Likewise.
10960 (stderr): Likewise.
10961 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10962 macro-int-constant.
10963 (EXIT_SUCCESS): Likewise.
10964 (NULL): Use macro-constant. Require == 0.
10965 (RAND_MAX): Use macro-int-constant.
10966 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10967 [C99-based standards] (strtof): Require function.
10968 [C99-based standards] (strtold): Likewise.
10969 [C99-based standards] (strtoll): Likewise.
10970 [C99-based standards] (strtoull): Likewise.
10971 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10972 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10973 [ISO || ISO99 || ISO11] (math.h): Likewise.
10974 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10975 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10977
d18ea0c5
AS
109782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 [BZ #14132]
56d25bb8
AS
10981 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10982 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10983 * intl/dgettext.c (DCGETTEXT): Likewise.
10984 * intl/gettext.c (DCGETTEXT): Likewise.
10985 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10986 * posix/regex_internal.h (gettext): Likewise.
10987 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10988 Remove declaration.
10989 * include/argz.h (__argz_count_internal)
10990 (__argz_stringify_internal): Remove declaration.
10991 (__argz_count, __argz_stringify): Declare hidden proto.
10992 * intl/dcgettext.c: Remove use of INTDEF.
10993 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10994 * string/argz-stringify.c: Likewise.
10995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10997 Declare hidden proto.
d18ea0c5
AS
10998 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10999 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11000 Declare hidden proto.
11001 * include/stdio.h (__asprintf_internal): Don't declare.
11002 (__asprintf): Don't define as macro. Declare hidden proto.
11003 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11004 (__fsetlocking): Declare hidden proto.
11005 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11006 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11007 hidden proto.
11008 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11009 (_IO_setlinebuf): Remove use of INTUSE.
11010 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11011 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11012 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11013 Remove declaration.
11014 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11015 (_IO_do_flush): Remove use of INTUSE.
11016 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11017 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11018 (_IO_adjust_column, _IO_least_wmarker)
11019 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11020 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11021 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11022 (_IO_default_doallocate, _IO_wdefault_doallocate)
11023 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11024 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11025 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11026 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11027 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11028 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11029 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11030 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11031 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11032 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11033 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11034 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11035 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11036 proto.
11037 (_IO_flush_all_internal, _IO_adjust_column_internal)
11038 (_IO_default_uflow_internal, _IO_default_finish_internal)
11039 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11040 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11041 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11042 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11043 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11044 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11045 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11046 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11047 (_IO_file_close_internal, _IO_file_close_it_internal)
11048 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11049 (_IO_file_init_internal, _IO_file_attach_internal)
11050 (_IO_file_fopen_internal, _IO_file_read_internal)
11051 (_IO_file_sync_internal, _IO_file_seek_internal)
11052 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11053 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11054 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11055 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11056 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11057 (_IO_list_all_internal, _IO_link_in_internal)
11058 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11059 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11060 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11061 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11062 (_IO_do_write_internal, _IO_padn_internal)
11063 (_IO_getline_info_internal, _IO_getline_internal)
11064 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11065 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11066 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11067 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11068 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11069 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11070 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11071 with libc_hidden_ver, remove use of INTUSE.
11072 * libio/genops.c: Likewise.
11073 * libio/freopen.c: Likewise.
11074 * libio/freopen64.c: Likewise.
11075 * libio/iofclose.c: Likewise.
11076 * libio/iofdopen.c: Likewise.
11077 * libio/iofflush.c: Likewise.
11078 * libio/iofflush_u.c: Likewise.
11079 * libio/iofgets.c: Likewise.
11080 * libio/iofgets_u.c: Likewise.
11081 * libio/iofopen.c: Likewise.
11082 * libio/iofopncook.c: Likewise.
11083 * libio/iofread.c: Likewise.
11084 * libio/iofread_u.c: Likewise.
11085 * libio/ioftell.c: Likewise.
11086 * libio/iofwrite.c: Likewise.
11087 * libio/iogetline.c: Likewise.
11088 * libio/iogets.c: Likewise.
11089 * libio/iogetwline.c: Likewise.
11090 * libio/iopadn.c: Likewise.
11091 * libio/iopopen.c: Likewise.
11092 * libio/ioseekoff.c: Likewise.
11093 * libio/ioseekpos.c: Likewise.
11094 * libio/iosetbuffer.c: Likewise.
11095 * libio/iosetvbuf.c: Likewise.
11096 * libio/ioungetc.c: Likewise.
11097 * libio/ioungetwc.c: Likewise.
11098 * libio/iovdprintf.c: Likewise.
11099 * libio/iovsprintf.c: Likewise.
11100 * libio/iovsscanf.c: Likewise.
11101 * libio/memstream.c: Likewise.
11102 * libio/obprintf.c: Likewise.
11103 * libio/oldfileops.c: Likewise.
11104 * libio/oldiofclose.c: Likewise.
11105 * libio/oldiofdopen.c: Likewise.
11106 * libio/oldiofopen.c: Likewise.
11107 * libio/oldiopopen.c: Likewise.
11108 * libio/oldstdfiles.c: Likewise.
11109 * libio/putc.c: Likewise.
11110 * libio/setbuf.c: Likewise.
11111 * libio/setlinebuf.c: Likewise.
11112 * libio/stdfiles.c: Likewise.
11113 * libio/strops.c: Likewise.
11114 * libio/vasprintf.c: Likewise.
11115 * libio/vscanf.c: Likewise.
11116 * libio/vsnprintf.c: Likewise.
11117 * libio/vswprintf.c: Likewise.
11118 * libio/wfiledoalloc.c: Likewise.
11119 * libio/wfileops.c: Likewise.
11120 * libio/wgenops.c: Likewise.
11121 * libio/wmemstream.c: Likewise.
11122 * libio/wstrops.c: Likewise.
11123 * libio/__fpurge.c: Likewise.
11124 * libio/__fsetlocking.c: Likewise.
11125 * assert/assert.c: Likewise.
11126 * debug/fgets_chk.c: Likewise.
11127 * debug/fgets_u_chk.c: Likewise.
11128 * debug/fread_chk.c: Likewise.
11129 * debug/fread_u_chk.c: Likewise.
11130 * debug/gets_chk.c: Likewise.
11131 * debug/obprintf_chk.c: Likewise.
11132 * debug/vasprintf_chk.c: Likewise.
11133 * debug/vdprintf_chk.c: Likewise.
11134 * debug/vsnprintf_chk.c: Likewise.
11135 * debug/vsprintf_chk.c: Likewise.
11136 * malloc/mtrace.c: Likewise.
11137 * misc/error.c: Likewise.
11138 * misc/syslog.c: Likewise.
11139 * stdio-common/asprintf.c: Likewise.
11140 * stdio-common/fxprintf.c: Likewise.
11141 * stdio-common/getw.c: Likewise.
11142 * stdio-common/isoc99_fscanf.c: Likewise.
11143 * stdio-common/isoc99_scanf.c: Likewise.
11144 * stdio-common/isoc99_vfscanf.c: Likewise.
11145 * stdio-common/isoc99_vscanf.c: Likewise.
11146 * stdio-common/isoc99_vsscanf.c: Likewise.
11147 * stdio-common/printf-prs.c: Likewise.
11148 * stdio-common/printf_fp.c: Likewise.
11149 * stdio-common/printf_fphex.c: Likewise.
11150 * stdio-common/printf_size.c: Likewise.
11151 * stdio-common/putw.c: Likewise.
11152 * stdio-common/scanf.c: Likewise.
11153 * stdio-common/sprintf.c: Likewise.
11154 * stdio-common/tmpfile.c: Likewise.
11155 * stdio-common/vfprintf.c: Likewise.
11156 * stdio-common/vfscanf.c: Likewise.
11157 * stdlib/strfmon_l.c: Likewise.
11158 * sunrpc/openchild.c: Likewise.
11159 * sunrpc/xdr_stdio.c: Likewise.
11160 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11161 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11162
d6c33fda
RM
111632012-05-24 Roland McGrath <roland@hack.frob.com>
11164
c1487492
RM
11165 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11166
11167 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11168 in the third column, to generate for the shared library an IFUNC
11169 that uses _dl_vdso_vsym.
11170 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11171 * Makeconfig (object-suffixes-noshared): New variable.
11172
11173 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11174 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11175 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11176 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11177
d6c33fda
RM
11178 [BZ #14132]
11179 * include/sys/time.h (__gettimeofday): Remove macro.
11180 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11181 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11182 Remove INTDEF.
11183 (__gettimeofday): Add libc_hidden_def.
11184 (gettimeofday): Add libc_hidden_weak.
11185 * sysdeps/mach/gettimeofday.c: Likewise.
11186 * sysdeps/posix/gettimeofday.c: Likewise.
11187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11188 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11190 (__gettimeofday_internal): Remove strong_alias.
11191 (__gettimeofday): Add libc_hidden_def.
11192 (gettimeofday): Add libc_hidden_weak.
11193 * sysdeps/unix/syscalls.list (gettimeofday):
11194 Remove __gettimeofday_internal alias.
11195
b5a2bbe6
L
111962012-05-24 Daniel Jacobowitz <drow@false.org>
11197 H.J. Lu <hongjiu.lu@intel.com>
11198
11199 [BZ #12495]
11200 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11201 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11202 (largebin_index_32_big): New.
11203 (largebin_index): Use it for 16-byte alignment.
11204 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11205 correction with front_misalign.
11206
cfba4fda
L
112072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11208
7f907421
L
11209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11211 Likewise.
11212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11213 Likewise.
11214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11217 Likewise.
11218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11221 Likewise.
11222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11223 Likewise.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11225 Likewise.
11226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11227 Likewise.
11228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11229 Likewise.
11230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11231 Likewise.
11232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11233 Likewise.
11234
cfba4fda
L
11235 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11236 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11237
80bad0cc
JM
112382012-05-24 Joseph Myers <joseph@codesourcery.com>
11239
7a25eb06
JM
11240 [BZ #10846]
11241 [BZ #14036]
11242 * math/libm-test.inc (exp_test): Add test from bug 14036.
11243 (pow_test): Add test from bug 10846.
11244
795405f9
JM
11245 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11246 and other flags.
11247 (special_function): Do not include flags in test name.
11248 (parse_args): Likewise.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11252 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254
80bad0cc
JM
11255 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11256 exceptions.
11257 * math/libm-test.inc ("Philosophy"): Update comment about
11258 exception testing.
11259 (UNDERFLOW_EXCEPTION): New macro.
11260 (UNDERFLOW_EXCEPTION_OK): Likewise.
11261 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11262 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11263 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11264 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11265 (INVALID_EXCEPTION_OK): Update value.
11266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11267 (OVERFLOW_EXCEPTION_OK): Likewise.
11268 (IGNORE_ZERO_INF_SIGN): Likewise.
11269 (test_exceptions): Handle underflow exceptions.
11270 (acos_test): Update for underflow exception expectations.
11271 (cexp_test): Likewise.
11272 (clog_test): Likewise.
11273 (clog10_test): Likewise.
11274 (csqrt_test): Likewise.
11275 (ctan_test): Likewise.
11276 (ctanh_test): Likewise.
11277 (exp_test): Likewise.
11278 (exp10_test): Likewise.
11279 (exp2_test): Likewise.
11280 (expm1_test): Likewise.
11281 (fma_test): Likewise.
11282 (j0_test): Likewise.
11283 (jn_test): Likewise.
11284 (nexttoward_test): Likewise.
11285 (pow_test): Likewise.
11286 (scalbn_test): Likewise.
11287 (scalbln_test): Likewise.
11288 (tan_test): Likewise.
11289 (y1_test): Likewise.
11290 * sysdeps/i386/fpu/libm-test-ulps: Update.
11291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292
9e0e3d0b
DM
112932012-05-23 David S. Miller <davem@davemloft.net>
11294
11295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11296 (__libc_sigaction): Remove unused local variables.
11297
ccd0a08f
L
112982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11301
62bdf9a6
PE
113022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11303
f8591f80
PE
11304 mktime: avoid signed integer overflow
11305 * time/mktime.c (__mktime_internal): Do not mishandle the case
11306 where diff == INT_MIN.
11307
94c7d826
PE
11308 mktime: simplify computation of average
11309 * time/mktime.c (ranged_convert): Use new time_t_avg function
11310 instead of rolling our own (probably-slower) code.
11311
ce73d683
PE
11312 mktime: do not assume signed right shift propagates sign bit
11313 * time/mktime.c (isdst_differ): New static function.
11314 (__mktime_internal): No need to normalize tm_isdst now.
11315 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11316 tm_isdst values.
11317
72a22e59
PE
11318 mktime: merge another wrapv change from gnulib
11319 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11320 from some compilers.
11321
68605433
PE
11322 mktime: remove incorrect attempt at unusual arithmetics
11323 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11324 The code didn't really work on such machines anyway.
11325 (TYPE_MINIMUM): Assume two's complement.
11326 (twos_complement_arithmetic): Verify that long_int and time_t
11327 are two's complement (or unsigned, in the latter case).
11328
03cf7fe3
PE
11329 mktime: check signed shifts on long_int and time_t, too
11330 * time/mktime.c (SHR): Check that shifts work as desired
11331 on the types long_int and time_t too, as SHR is used on
11332 such types.
11333
f04dfbc2
PE
11334 mktime: do not assume 'long' is wide enough
11335 * time/mktime.c (verify): Move decl up.
11336 (long_int): New type.
11337 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11338 to remove assumption in the code that 'long' is wide enough to
11339 store year values. This assumption is not true on x32 and on
11340 some non-glibc platforms.
11341
62bdf9a6
PE
11342 mktime: merge wrapv change from gnulib
11343 * time/mktime.c (WRAPV): New macro.
11344 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11345 (guess_time_tm, __mktime_internal): Do not assume that signed
11346 integer overflow wraps around; modern compilers generate code
11347 where this assumption is no longer valid.
11348
5e292e4f
L
113492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11350
11351 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11352 Replace "jmp L(pseudo_end)" with "ret".
11353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11354 Likewise.
11355
8caf8c87
AJ
113562012-05-23 Andreas Jaeger <aj@suse.de>
11357
11358 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11359 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11360
1a09dc56
AJ
113612012-05-23 Andreas Jaeger <aj@suse.de>
11362 Maximilian Attems <max@stro.at>
11363
11364 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11365 New macros.
11366
1c87aba0
L
113672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11368
11369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11370 code so that pseudo_end is just ret and the stack pointer is
11371 correct also for static library in error case.
11372
40e45bd5
JM
113732012-05-23 Joseph Myers <joseph@codesourcery.com>
11374
c2670533
JM
11375 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11376 move to syscalls.list.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11381
40e45bd5
JM
11382 * manual/install.texi (Running make install): Do not mention Linux
11383 kernel version for which pt_chown is not needed.
11384 (Linux): Do not mention problems with nscd with 2.0 kernels.
11385 * INSTALL: Regenerated.
11386
be08eda5
AJ
113872012-05-23 Andreas Jaeger <aj@suse.de>
11388
11389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11390 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11391 macro.
11392 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11394 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11395 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11396 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11402 * sysdeps/unix/sysv/linux/bits/in.h
11403 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11404
a6a056bb
RM
114052012-05-22 Roland McGrath <roland@hack.frob.com>
11406
11407 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11408 (PREPARE_VERSION): Just use assert instead, it will be elided
11409 under [NDEBUG] anyway.
11410
c9009328
L
114112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11412
11413 * sysdeps/unix/sysv/linux/Makefile: Include
11414 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11415 (sysdep_routines): Remove sysctl.
c9009328
L
11416 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11417 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11418 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11419 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11420 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11421
73338355
AJ
114222012-05-22 Andreas Jaeger <aj@suse.de>
11423
11424 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11425 that pseudo_end is just ret and the stack pointer is correct also
11426 for static library in error case.
11427
d44638b0
PP
114282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11429
11430 [BZ #14122]
11431 * nss/nsswitch.c (defconfig_entries): New variable.
11432 (__nss_database_lookup): Don't leak defconfig entries.
11433 (nss_parse_service_list): Don't leak on error paths.
11434 (free_database_entries): New function.
11435 (free_defconfig): New function.
11436 (free_mem): Move common code to free_database_entries.
11437
31a39bd8
L
114382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11439
da0331a8
L
11440 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11441 Add arch_prctl.
11442 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11443
31a39bd8
L
11444 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11445 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11447 New macro.
11448 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11449 (INTERNAL_SYSCALL_TYPES): Likewise.
11450 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11451 (LOAD_REGS_TYPES_[1-6]): Likewise.
11452 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11453 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11454
45470df3
AZ
114552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456
11457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11458 copysignl for GLIBC_2_0.
11459 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11460 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11462 logbl for GLIBC_2_0.
11463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11465
98a61bcb
L
114662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11467
a4f6e481
L
11468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11469 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11470
f63d5db6
L
11471 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11472 Use "neg %eax".
11473
98a61bcb
L
11474 * time/mktime.c: Update copyright years.
11475
95770f14
PE
114762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11477
6226efbd
PE
11478 mktime: merge comment-quoting-style change from gnulib
11479 * time/mktime.c: Quote 'like this' in comments.
11480 The GNU coding standards suggest that we no longer quote `like this',
11481 as "`" and "'" are typically rendered asymmetrically nowadays.
11482 The typical gnulib style is to quote 'like this' when quoting
11483 code, and "like this" when quoting English.
11484
b99e4f78
PE
11485 * time/mktime.c (compile-command): Add "-I.".
11486
643e01e6
PE
11487 mktime: merge mktime-internal.h change from gnulib
11488 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11489
2554247d
PE
11490 mktime: merge time_r change from gnulib
11491 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11492
826dd0ab
PE
11493 mktime: merge DEBUG change from gnulib
11494 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11495 case system <time.h> has a #define.
11496
bd83aabe
PE
11497 mktime: merge <sys/types.h> change from gnulib
11498 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11499 since <time.t> is now guaranteed to define time_t.
11500
95770f14
PE
11501 mktime: merge HAVE_CONFIG_H change from gnulib
11502 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11503
5e1a27a9
L
115042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11505
0e44a77e
L
11506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11507 Use "neg %eax".
11508
5e1a27a9
L
11509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11510 __rlim_t cast.
11511 (struct rusage): Use anonymous union to pad each field to
11512 __syscall_slong_t.
11513
46259bec
DM
115142012-05-21 David S. Miller <davem@davemloft.net>
11515
11516 * Makefules (o-iterator): Remove .s cases.
11517 (compile-command.s): Delete.
11518 (COMPILE.s): Delete.
11519 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11520
59f0c22e
JM
115212012-05-21 Joseph Myers <joseph@codesourcery.com>
11522
11523 * configure.in (libc_cv_predef_stack_protector): Only consider
11524 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11525 * configure: Regenerated.
11526
20c07380
L
115272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11528
bbb3154b
L
11529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11530 New macro. Use R*LP on int and pointer.
11531 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11532 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11533 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11534 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11535
20c07380
L
11536 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11537 [__WORDSIZE_TIME64_COMPAT32] instead of
11538 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11539 (struct utmp): Likewise.
11540 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11541 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11542 Renamed to ...
11543 (__WORDSIZE_TIME64_COMPAT32): This.
11544 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11545 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11546 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11548 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11549 (__WORDSIZE_TIME64_COMPAT32): New macro.
11550
d8d1017e
AJ
115512012-05-21 Andreas Jaeger <aj@suse.de>
11552
11553 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11554 only if [SHARED]. Add prototype for __wcschr_ia32.
11555
6c7fb145
RM
115562012-05-21 Roland McGrath <roland@hack.frob.com>
11557
11558 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11559 of %rbp unmolested in the jmp_buf while mangling the low bits.
11560 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11561 unmolested high bits of %rbp while demangling the low bits.
11562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11563
66274218
AJ
115642012-05-21 Andreas Jaeger <aj@suse.de>
11565
07c58f8f
AJ
11566 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11567 * sunrpc/svc_simple.c: Use it for registerrpc.
11568 * sunrpc/xcrypt.c: Use it for passwd2des.
11569
66274218
AJ
11570 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11571
61f65140
L
115722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11573
11574 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11575 Don't define if [__SYSCALL_WORDSIZE != 32].
11576 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11577 New macro.
11578
5fefb436
AJ
115792012-05-21 Bruno Haible <bruno@clisp.org>
11580 Andreas Jaeger <aj@suse.de>
11581
11582 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11583 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11584 inptr and inend for must_buffer_ch.
11585 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11586 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11587 * stdio-common/Makefile (tests): Remove bug15.
11588 (bug15-ENV): Remove macro.
11589 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11590 anymore.
11591
d8e272ab
AJ
115922012-05-19 Andreas Jaeger <aj@suse.de>
11593 Roland McGrath <roland@hack.frob.com>
11594
11595 * manual/contrib.texi: Completely rewritten. It contains now an
11596 alphabetical list of contributors and their contributions.
11597
4a56a162
RH
115982012-05-21 Richard Henderson <rth@twiddle.net>
11599
11600 * misc/getauxval.c (__getauxval): Use unsigned long int.
11601 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11602 (getauxval): Use unsigned long int.
11603
d024d23c
L
116042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11605
11606 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11607
cbc00a03
RM
116082012-05-21 Roland McGrath <roland@hack.frob.com>
11609
11610 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11611 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11612 __alignof__ (long double).
11613
478143fa
AZ
116142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11615
11616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11617
c7683a6d
RH
116182012-05-20 Richard Henderson <rth@twiddle.net>
11619
11620 * misc/getauxval.c: New file.
11621 * misc/sys/auxv.h: New file.
11622 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11623 (routines): Add getauxval.
11624 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11626 * elf/dl-sysdep.c (_dl_auxv): Remove.
11627 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11628 * elf/dl-support.c (_dl_auxv): New variable.
11629 (_dl_aux_init): Initialize it.
11630 * manual/startup.texi (Auxiliary Vector): New node.
11631 * sysdeps/generic/bits/hwcap.h: New file.
11632 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11633 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11634 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11635 * sysdeps/sparc/sysdep.h: ... here. Include it.
11636 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11639 Update.
c7683a6d
RH
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11648
a6f1845d
AZ
116492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11650
11651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11652
cbcbe830
DM
116532012-05-19 David S. Miller <davem@davemloft.net>
11654
11655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11656
e0b16cc2
JM
116572012-05-19 Joseph Myers <joseph@codesourcery.com>
11658
11659 [BZ #14123]
11660 * math/s_ccosh.c: Include <float.h>
11661 (__ccosh): Avoid internal overflow calculating sinh and cosh
11662 values before multiplying by sin and cos values.
11663 * math/s_ccoshf.c: Likewise.
11664 * math/s_ccoshl.c: Likewise.
11665 * math/s_csin.c: Likewise.
11666 * math/s_csinf.c: Likewise.
11667 * math/s_csinl.c: Likewise.
11668 * math/s_csinh.c: Likewise.
11669 * math/s_csinhf.c: Likewise.
11670 * math/s_csinhl.c: Likewise.
11671 * math/libm-test.inc (ccos_test): Add more tests.
11672 (ccosh_test): Likewise.
11673 (csin_test): Likewise.
11674 (csinh_test): Likewise.
11675 * sysdeps/i386/fpu/libm-test-ulps: Update.
11676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11677
6ad13e08
L
116782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11679
f66f0ce8
L
11680 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11681 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11682
6ad13e08
L
11683 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11684
b1d072a7
JM
116852012-05-19 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11688 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11689 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11690 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11691 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11692 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11693 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11694 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11695 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11696 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11697 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11698 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11699 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11700 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11701 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11702 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11703 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11704 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11705 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11706 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11707 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11708 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11709 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11710 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11711 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11712 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11713 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11714 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11715 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11716 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11717 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11718
9eae47cb
AJ
117192012-05-18 Andreas Jaeger <aj@suse.de>
11720
11721 * csu/.gitignore: Delete.
11722
bb07f69f
L
117232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11726 (timex): Use __syscall_slong_t.
11727
e6bdb741
AJ
117282012-05-18 Andreas Jaeger <aj@suse.de>
11729 Carlos O'Donell <carlos_odonell@mentor.com>
11730
11731 * manual/install.texi (Configuring and compiling): Update
11732 description about files modified in the source directory.
d6c33fda 11733 * INSTALL: Regenerated.
e6bdb741 11734
1b74487e
L
117352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11736
11737 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11738 value. Use "or" to set return value to -1.
11739 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11740 negate return value.
11741
a88b64b9
TMQMF
117422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11743
11744 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11745 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11746 failure if the compiler has Graphite support disabled.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11748 Likewise.
11749 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11750 CFLAGS-memmove.c): Likewise.
11751 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11752 Likewise.
11753
3707636e
L
117542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11755
610b8622
L
11756 * sysdeps/x86_64/x32/_itoa.h: New file.
11757
7cd195df
L
11758 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11759 getdents system call only if kernel and user dirents have the
11760 same d_ino and d_off.
11761
94b07d20
L
11762 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11763 LLONG_MAX != LONG_MAX.
11764 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11765 (_fitoa_word): Likewise.
11766
18298070
L
11767 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11768 years.
11769 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11770 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11772
553c7ea4
L
11773 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11774 include <bits/wordsize.h>. Check __x86_64__ instead of
11775 __WORDSIZE.
11776 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11777 if __x86_64__ is defined. Use anonymous union on fpstate.
11778
3707636e
L
11779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11780 anonymous union.
11781
b53ef01a
AS
117822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11783
37fb1dc0
AS
11784 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11785 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11786 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11787 Refer to _rtld_local_ro instead of _rtld_global_ro.
11788 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11789 Likewise.
11790 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11791 Likewise.
11792 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11793 Likewise.
11794 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11795 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11796 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11797
b53ef01a
AS
11798 * sysdeps/powerpc/powerpc32/dl-machine.c
11799 (__elf_machine_runtime_setup) [PROF]: Don't reference
11800 _dl_prof_resolve.
11801
7a185db2
AJ
118022012-05-18 Andreas Jaeger <aj@suse.de>
11803
11804 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11805 function only available for GCCs before 3.4 since GCC 3.4
11806 introduced a builtin.
11807 (lrint): Likewise.
11808 (llrintf): Likewise.
11809 (llrint): Likewise.
11810 (fmaxf): Likewise.
11811 (fmax): Likewise.
11812 (fminf): Likewise.
11813 (fmin): Likewise.
11814 (rint): Likewise.
11815 (rintf): Likewise.
11816 (nearbyint): Likewise.
11817 (nearbyintf): Likewise.
11818 (ceil): Likewise.
11819 (ceilf): Likewise.
11820 (floor): Likewise.
11821 (floorf): Likewise.
11822
3e5aef87
L
118232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11824
428bd707
L
11825 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11826 on both fields and cast pointer to __syscall_ulong_t.
11827
3e5aef87
L
11828 * bits/types.h (__fsword_t): New type.
11829 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11830 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11832 (__FSWORD_T_TYPE): Likewise.
11833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11834 (__FSWORD_T_TYPE): Likewise.
11835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11836 (__FSWORD_T_TYPE): Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11838 (__FSWORD_T_TYPE): Likewise.
11839 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11840 __SWORD_TYPE with __fsword_t.
11841 (statfs64): Likewise.
11842
1ba7c3dc
DM
118432012-05-17 David S. Miller <davem@davemloft.net>
11844
11845 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11846
59910343
AJ
118472012-05-17 Andreas Jaeger <aj@suse.de>
11848
11849 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11850 warning.
11851
2e4c1e9e
L
118522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11853
11854 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11855
de7f5ce7
AJ
118562012-05-17 Andreas Jaeger <aj@suse.de>
11857
11858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11859 when it is used.
11860
286abc3d
CM
118612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11862
11863 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11864
477cc68e
L
118652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11866
11867 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11868 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11869
1a0994f5
CD
118702012-05-17 Andreas Jaeger <aj@suse.de>
11871 Carlos O'Donell <carlos_odonell@mentor.com>
11872
11873 [BZ #14059]
11874 * sysdeps/x86_64/multiarch/init-arch.h
11875 (bit_YMM_Usable): Rename to...
11876 (bit_AVX_Usable): ... this.
11877 (bit_FMA4_Usable): New macro.
11878 (bit_XMM_state): New macro.
11879 (bit_YMM_state): New macro.
11880 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11881 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11882 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11883 (CPUID_OSXSAVE): New macro.
11884 (CPUID_AVX): New macro.
11885 (CPUID_FMA4): New macro.
11886 (index_YMM_Usable): Rename to...
11887 (index_AVX_Usable): ... this.
11888 (HAS_AVX): Use HAS_ARCH_FEATURE.
11889 (HAS_FMA4): Likewise.
11890 (HAS_YMM_USABLE): Remove.
11891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11892 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11893 are present.
11894 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11895 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11896 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11897 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11898 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11899
0af797de
CM
119002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11901
11902 * math/libm-test.c: Support platforms without multiple rounding modes.
11903 * math/bug-nextafter.c: Support platforms without FP exceptions.
11904 * math/bug-nexttoward.c: Likewise.
11905 * math/test-fenv.c: Likewise.
11906 * math/test-misc.c: Likewise.
11907 * stdlib/bug-getcontext.c: Likewise.
11908
e39745ff
AJ
119092012-05-17 Andreas Jaeger <aj@suse.de>
11910
11911 * manual/examples/search.c (critter_cmp): Change signature to
11912 avoid warnings.
11913 * manual/string.texi (Collation Functions): Likewise.
11914
48970aba
L
119152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11916
11917 * bits/types.h: Fold copyright years.
11918 * bits/typesizes.h: Likewise.
11919 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11923 * time/time.h: Likewise.
11924
bedee953
PP
119252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11926
11927 [BZ #208]
11928 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11929 in instead of returning them. Return void.
11930 (__libc_mallinfo): Accumulate over all arenas.
11931 (__malloc_stats): Adjust for change in int_mallinfo interface.
11932
61653dfb
RM
119332012-05-16 Roland McGrath <roland@hack.frob.com>
11934
30b99d79
RM
11935 [BZ #10375]
11936 * configure.in (NM): Add AC_CHECK_TOOL for it.
11937 (libc_extra_cflags): New substituted variable.
11938 Check for -fstack-protector being used implicitly.
11939 * configure: Regenerated.
11940 * config.make.in (config-extra-cflags): New variable,
11941 gets @libc_extra_cflags@.
11942 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11943
61653dfb
RM
11944 [BZ #10375]
11945 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11946 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11947 * configure: Regenerated.
11948 * config.make.in (CPPUNDEFS): New substituted variable.
11949 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11950 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11951 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11952
661768bb
L
119532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11956 (mq_attr): Use __syscall_slong_t.
11957
d4261567
L
119582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11961 Check __x86_64__ instead of __WORDSIZE.
11962 (_STAT_VER_LINUX): Likewise.
11963 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11964 __syscall_ulong_t and __syscall_slong_t.
11965 (stat64): Likewise.
11966
cf3ff365
L
119672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11970
76cf3e4d
L
119712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11972
11973 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11974
a637753a
L
119752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11978 __syscall_ulong_t.
11979
d5e05119
L
11980 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11981 include <bits/wordsize.h>. Check __x86_64__ instead of
11982 __WORDSIZE.
11983 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11984 defined.
11985 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11986
f62ee380
L
11987 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11988 include <bits/wordsize.h>. Check __x86_64__ instead of
11989 __WORDSIZE.
11990 (user_regs_struct): Use "__extension__ unsigned long long"
11991 instead of "unsigned long" if __x86_64__ is defined.
11992 (user): Likewise. Pad after pointer field if __ILP32__ is
11993 defined.
11994
4e124ced
JM
119952012-05-16 Joseph Myers <joseph@codesourcery.com>
11996
6a3951a0
JM
11997 * configure.in (makeinfo): Require version 4.5 or later. Allow
11998 versions 5 to 9.
11999 * configure: Regenerated.
12000 * manual/install.texi (texinfo): Increase version requirement to
12001 4.5 or later.
12002 * INSTALL: Regenerated.
12003
4e124ced
JM
12004 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12005
953ca31a
L
120062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12009
617aca05
L
12010 * sysdeps/x86_64/x32/ffs.c: New file.
12011
5762f7ae
L
12012 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12013 __syscall_ulong_t.
12014 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12015 defined. Use __syscall_ulong_t.
12016 (shminfo): Use __syscall_ulong_t.
12017 (shm_info): Likewise.
12018
a26b6856
L
12019 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12020 __syscall_ulong_t.
12021
cb2b9ef7
L
12022 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12023 <bits/wordsize.h>.
12024 (msgqnum_t): Use __syscall_ulong_t.
12025 (msglen_t): Likewise.
12026 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12027 __syscall_ulong_t.
12028
34683bb0
L
12029 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12030 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12031
84a68786
L
12032 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12033
48baa5f1
L
12034 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12035 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12036
180be88b
L
12037 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12038 __syscall_slong_t.
12039
5e90c8ad
L
12040 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12041 include <bits/wordsize.h>. Check __x86_64__ instead of
12042 __WORDSIZE.
12043
23dfb58b
L
12044 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12045 "unsigned long long int" if __x86_64__ is defined.
12046 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12047
ce5d54b0
L
12048 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12049 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12050 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12051
13dc9eac
L
12052 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12053 <stdint.h>.
12054 (GET_PC): Cast to uintptr_t first.
12055 (GET_FRAME): Likewise.
12056 (GET_STACK): Likewise.
12057
a7895d15
L
12058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12061 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12063 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12064 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12065 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12066 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12071 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12072 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12079 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12081 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12084 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12085 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12087
656416c9
AS
120882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12089
5bd66283
AS
12090 * Makerules (+depfiles): Also collect depfiles from .oS in
12091 $(extra-objs).
12092 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12093 .oS, $(libnldbl-routines)).
12094
656416c9
AS
12095 * Makerules (native-compile-mkdep-flags): Define.
12096 * sunrpc/Makefile (extra-objs): Add $(addprefix
12097 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12098 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12099 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12100 calling $(make-target-directory).
12101
a46f2169
L
121022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12103
12104 * bits/types.h (__snseconds_t): Removed.
12105 * time/time.h (struct timespec): Replace __snseconds_t with
12106 __syscall_slong_t.
12107 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12108 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12109 Likewise.
12110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12111 (__SNSECONDS_T_TYPE): Likewise.
12112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12113 (__SNSECONDS_T_TYPE): Likewise.
12114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12115 (__SNSECONDS_T_TYPE): Likewise.
12116
6af6528b
L
121172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12118
12119 * sysdeps/mach/hurd/bits/typesizes.h
12120 (__SYSCALL_SLONG_TYPE): New macro.
12121 (__SYSCALL_ULONG_TYPE): Likewise.
12122
de986b56
L
121232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12124
12125 * bits/types.h (__syscall_slong_t): New type.
12126 (__syscall_ulong_t): Likewise.
12127
12128 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12129 (__SYSCALL_ULONG_TYPE): Likewise.
12130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12131 (__SYSCALL_SLONG_TYPE): Likewise.
12132 (__SYSCALL_ULONG_TYPE): Likewise.
12133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12134 (__SYSCALL_SLONG_TYPE): Likewise.
12135 (__SYSCALL_ULONG_TYPE): Likewise.
12136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12137 (__SYSCALL_SLONG_TYPE): Likewise.
12138 (__SYSCALL_ULONG_TYPE): Likewise.
12139
85736dc7
L
121402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12141
12142 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12143 Add sigaltstack-offsets.sym.
12144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12145 <sigaltstack-offsets.h>.
12146 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12147 longjmp_msg pointer.
12148 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12149 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12150 signal stack.
12151 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12152
cc03b296
JM
121532012-05-15 Joseph Myers <joseph@codesourcery.com>
12154
a9538892
JM
12155 * elf/stackguard-macros.h: Remove file.
12156 * sysdeps/generic/stackguard-macros.h: New file.
12157 * sysdeps/i386/stackguard-macros.h: Likewise.
12158 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12159 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12160 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12161 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12162 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12163 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12164 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12165 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12166 <elf/stackguard-macros.h>.
12167
cc03b296
JM
12168 [BZ #14109]
12169 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12170 __aligned__ in attribute.
12171 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12172 (gregset_t): Likewise.
12173
93171016
L
121742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12177 * sysdeps/x86_64/64/Implies-after: Here. New file.
12178 * sysdeps/x86_64/x32/Implies-after: New file.
12179
d86813a0
L
121802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12183 and access return value for _dl_profile_fixup. Use R10_LP to
12184 load frame size.
12185
2953ec75
L
121862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12187
12188 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12189
3b550e9e
L
121902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12193 * sysdeps/x86_64/x32/sysdep.h: New file.
12194
eda41706
L
121952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12196
12197 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12198 * sysdeps/x86_64/setjmp.S: Likewise.
12199
9ea01d93
AZ
122002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12201
12202 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12204 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12206 remove unused global constant.
12207
02a91938
CM
122082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12209
12210 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12211 include of <not-cancel.h>.
12212
6540185f
RM
122132012-05-15 Roland McGrath <roland@hack.frob.com>
12214
12215 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12216
509072a0
AJ
122172012-05-15 Jeff Law <law@redhat.com>
12218 Andreas Jaeger <aj@suse.de>
12219
12220 [BZ #13594]
12221 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12222 out from...
12223 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12224 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12225 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12226 code changing __hst_map_handle.map.
12227
ba75122d
RM
122282012-05-15 Roland McGrath <roland@hack.frob.com>
12229
12230 * configure.in (sysnames): Look for Implies-before and Implies-after
12231 files.
12232 * configure: Regenerated.
12233
890d8bd8
L
122342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12237 8-byte data alignment with LP_SIZE alignment.
12238
f6ee6623
L
122392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12242 into R10_LP.
12243
ea2626f6
L
122442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12247
085f715e
L
122482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12249
12250 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12251 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12253 Likewise.
12254 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12255
be8498fc
L
122562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12259 (stackinfo_sub_sp): Likewise.
12260
70bc83b9
L
122612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12262
12263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12264 RAX_LP.
12265
9bc0b730
L
122662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12269 into R*_LP.
12270
6d2850e7
L
122712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12272
12273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12274 sizes into R*_LP.
12275
3cb84561
L
122762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12279
54e2ed81
L
122802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12281
12282 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12283 into R11_LP and load __x86_64_shared_cache_size_half into
12284 R8_LP.
12285
8a17f349
L
122862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12287
12288 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12289 R8_LP.
12290
777b1eea
AZ
122912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292
12293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12294 logb for POWER7.
12295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12296 logbf for POWER7.
12297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12298 logbl for POWER7.
12299 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12300 powerpc32/power7/fpu/s_logb.c via #include.
12301 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12302 powerpc32/power7/fpu/s_logbf.c via #include.
12303 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12304 powerpc32/power7/fpu/s_logbl.c via #include.
12305
d20d4ac2
JM
123062012-05-15 Joseph Myers <joseph@codesourcery.com>
12307
12308 * README.libm: Remove file.
12309
6cdef1ab
L
123102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12313 count for x32. Use R*_LP and omit operand-size suffix.
12314
0b254d8f
L
123152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12318 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12319 * sysdeps/x86_64/x32/shlib-versions: New file.
12320
ceb809dc
RM
123212012-05-14 Roland McGrath <roland@hack.frob.com>
12322
12323 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12324 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12325 Use _dl_fatal_printf instead.
12326
37f1abd4
JM
123272012-05-14 Joseph Myers <joseph@codesourcery.com>
12328
12329 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12330 set if not set by the user. Do not allow for being unset.
12331 * sysdeps/unix/sysv/linux/configure: Regenerated.
12332
11de3a33
L
123332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12334
12335 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12336 the `q' suffix from lea and replace .quad with ASM_ADDR.
12337
e02f153a
L
123382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12339
12340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12341 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12342 instead of $17.
12343 (PTR_DEMANGLE): Likewise.
12344
520ae0fd
L
123452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12348 (LP_OP): Likewise.
12349 (ASM_ADDR): Likewise.
12350 (RAX_LP): Likewise.
12351 (RBP_LP): Likewise.
12352 (RBX_LP): Likewise.
12353 (RCX_LP): Likewise.
12354 (RDI_LP): Likewise.
12355 (RSI_LP): Likewise.
12356 (RSP_LP): Likewise.
12357 (R8_LP): Likewise.
12358 (R9_LP): Likewise.
12359 (R10_LP): Likewise.
12360 (R10_LP): Likewise.
12361 (R11_LP): Likewise.
12362 (R12_LP): Likewise.
12363 (R13_LP): Likewise.
12364 (R14_LP): Likewise.
12365 (R15_LP): Likewise.
12366
b985be81
L
123672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * sysdeps/x86_64/x32/dl-machine.h: New file.
12370
6a4888ff
AJ
123712012-05-14 Andreas Jaeger <aj@suse.de>
12372
12373 * manual/Makefile (subdir): Remove export of subdir.
12374 (all): Remove target.
12375 (.PHONY): Remove all from list.
12376 (mkinstalldirs): Remove.
12377 (.PHONY): Remove installdirs from list.
12378 ($(inst_infodir)/libc.info): Use make-target-directory.
12379 (installdirs): Remove.
12380 (subdir_%): Remove.
12381 (glibc-targets): Remove.
12382 (lib): Remove.
12383 (stubs): Remove.
12384 ($(objpfx)stubs ../po/manual.pot): Remove.
12385 ($(objpfx)stamp%): Remove.
12386 (make-target-directory): Remove.
12387 (subdir_install): Remove.
12388 (routines): Remove.
12389 (aux): Remove.
12390 (sources): Remove.
12391 (objects): Remove.
12392 (headers): Remove.
12393
12394 [BZ #13750]
12395 * manual/.gitignore: Remove, it's not needed anymore.
12396 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12397 all files in it.
12398 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12399 directory.
12400 (texis): Renamed to $(objpfx)texis.
12401 (texis-path): New, contains path to generated files.
12402 (chapters.%): Use texis-path for complete path, add extra argument
12403 libc-texinfo.sh.
12404 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12405 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12406 (summary,texi, stamp-summary): Use complete path of
12407 files. Generate files in build dir.
12408 (dir-add.texi): Build in build dir.
12409 (libm-err.texi,stamp-libm-err): Likewise.
12410 (version.texi, stamp-version): Likewise.
12411 (.%c.texi): Likewise.
12412 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12413 (mostlyclean): Remove target.
12414 (realclean): Remove target.
12415 (generated): Add new variable with contents from mostlyclean and
12416 realclean, remove entries duplicated in common-mostlyclean, add
12417 stamp-libm-err and stamp-version.
12418 (generated-dirs): Add libc directory.
12419 ($(inst_infodir)/libc.info): Install files from build dir.
12420
12421 * manual/install.texi (Configuring and compiling): Adjust since
12422 the info files are not part of the tar ball anymore.
12423
7ac77294
AJ
124242012-05-14 Andreas Jaeger <aj@suse.de>
12425
12426 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12427 variable.
12428
ffb7875d
JM
124292012-05-14 Joseph Myers <joseph@codesourcery.com>
12430
12431 [BZ #13717]
12432 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12433 to 2.2.0 where earlier.
12434 * sysdeps/unix/sysv/linux/configure: Regenerated.
12435 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12436 Remove conditional code.
12437 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12438 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12439 Remove conditional code.
12440 [!__NR_lchown]: Likewise.
12441 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12442 [__NR_lchown]: Likewise.
12443 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12444 comment referencing __ASSUME_LCHOWN_SYSCALL.
12445 * sysdeps/unix/sysv/linux/i386/sigaction.c
12446 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12447 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12448 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12449 Remove conditional code.
12450 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12451 (__protocol_available): Remove #if 0 code.
12452 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12453 conditional code.
12454 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12455 * sysdeps/unix/sysv/linux/kernel-features.h
12456 (__ASSUME_GETCWD_SYSCALL): Don't define.
12457 (__ASSUME_REALTIME_SIGNALS): Likewise.
12458 (__ASSUME_PREAD_SYSCALL): Likewise.
12459 (__ASSUME_PWRITE_SYSCALL): Likewise.
12460 (__ASSUME_POLL_SYSCALL): Likewise.
12461 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12462 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12463 non-SPARC.
12464 (__ASSUME_SIOCGIFNAME): Don't define.
12465 (__ASSUME_MSG_NOSIGNAL): Likewise.
12466 (__ASSUME_SENDFILE): Define unconditionally.
12467 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12468 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12469 conditional code.
12470 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12471 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12472 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12473 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12474 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12475 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12476 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12478 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12481 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12493 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12499 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12501 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12502 Remove conditional code.
12503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12504 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12505 Remove conditional code.
12506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12507 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12508 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12509 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12510 Remove conditional code.
12511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12512 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12513 Remove conditional code.
12514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12515 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12516 Remove conditional code.
12517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12518 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12519 Remove conditional code.
12520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12521 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12522 Remove conditional code.
12523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12524 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12525 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12527 * sysdeps/unix/sysv/linux/sigaction.c
12528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12530 * sysdeps/unix/sysv/linux/sigpending.c
12531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12533 * sysdeps/unix/sysv/linux/sigprocmask.c
12534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12536 * sysdeps/unix/sysv/linux/sigsuspend.c
12537 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12538 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12540 (__libc_missing_rt_sigs): Remove.
12541 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12542 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12543 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12544 Remove conditional code.
12545 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12546 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12547 return 1.
12548 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12549 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12550 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12551 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12552
1bfb7291
AJ
125532012-05-14 Andreas Jaeger <aj@suse.de>
12554
caae5a81
AJ
12555 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12556 it's not used in glibc.
12557 (__coshm1): Likewise.
12558 (__acosh1p): Likewise.
12559 (__sgn): Likewise.
12560
1bfb7291
AJ
12561 * manual/string.texi (Copying and Concatenation): Add missing
12562 variable in concat example.
12563 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12564
c044d724
L
125652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12566
144c5467 12567 [BZ #14103]
c044d724
L
12568 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12569 __builtin_clzl with __builtin_clzll.
12570
2523c62b
L
125712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12572
12573 [BZ #14104]
12574 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12575 libc_freeres_ptr.
12576
d7bb4c42
LD
125772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12578
12579 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12580 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12581 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12582 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12583
9dc4e1fb
MF
125842012-05-14 Mike Frysinger <vapier@gentoo.org>
12585
12586 * NEWS: Update ia64 info.
12587
c7df0112
AS
125882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12589
12590 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12591 used as bcopy.
12592
dc70356c
TS
125932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12594
12595 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12596 * sysdeps/unix/syscalls.list (dup3): Likewise.
12597 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12598 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12599
9fb1a21f
L
126002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12603 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12604
4822a2a5
L
126052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12606
12607 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12608 thread pointer.
12609 (TLS_IE): Use mov/add instead of movq/addq to load thread
12610 pointer.
12611 (TLS_GD_PREFIX): New.
12612 (TLS_GD): Use it.
12613
842b81d6
DM
126142012-05-11 David S. Miller <davem@davemloft.net>
12615
12616 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12617 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12618 (_FPU_SETCW): Likewise.
12619
1cf463cd
L
126202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12621
12622 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12623 is 32-byte aligned.
12624
60cc4a18
AS
126252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12626
12627 [BZ #11837]
12628 * iconvdata/gb18030.c: Update tables.
12629 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12630 characters specially.
12631 (BODY for TO_LOOP): Add encoding of missing ranges.
12632
febb44a4
TS
126332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12634
12635 [BZ #13673]
12636 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12637 * sysdeps/mach/hurd/dup3.c: Likewise.
12638 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12639 * sysdeps/powerpc/memmove.c:: Likewise.
12640
0a10fb9e
L
126412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12644 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12645
df8a552f
L
126462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 * elf/elf.h (R_X86_64_RELATIVE64): New.
12649 (R_X86_64_NUM): Updated.
12650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12651 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12652 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12653 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12654 tst-quad1pie tst-quad2pie
12655 (modules-names): Add tst-quadmod1 tst-quadmod2.
12656 ($(objpfx)tst-quad1): New dependency.
12657 ($(objpfx)tst-quad2): Likewise.
12658 ($(objpfx)tst-quad1pie): Likewise.
12659 ($(objpfx)tst-quad2pie): Likewise.
12660 * sysdeps/x86_64/tst-quad1.c: New file.
12661 * sysdeps/x86_64/tst-quad1pie.c: New file.
12662 * sysdeps/x86_64/tst-quad2.c: Likewise.
12663 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12664 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12665 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12666 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12667 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12668
f34d6f84
ST
126692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12670
f42d41d1
ST
12671 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12672 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12673 * streams/stropts.h (t_scalar_t): Define type.
12674
3c3571fc
ST
12675 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12676 (_PATH_PRESERVE): Set to "/var/lib".
12677 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12678
61f06bd3
ST
12679 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12680 instead of int.
12681
918d4d71
ST
12682 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12683 if __dir_mkfile succeeded.
12684
f34d6f84
ST
12685 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12686 checking for _hurd_dtablesize. Unlock it right after having
12687 finished _hurd_dtable allocation.
12688
10589b4a
TS
126892012-05-10 Thomas Schwinge <thomas@schwinge.name>
12690
674cdbc7
TS
12691 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12692 * sysdeps/mach/hurd/configure: Regenerated.
12693 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12694 special-casing to...
12695 * sysdeps/gnu/configure.in: ... this new file.
12696 * sysdeps/unix/sysv/linux/configure: Regenerated.
12697 * sysdeps/gnu/configure: New generated file.
12698
8e41b99f
TS
12699 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12700 for Linux: use nsec instead of usec, as well as:
12701 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12702 members of type struct timespec.
12703 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12704 New macros.
12705 (struct stat64): Likewise.
12706 (_STATBUF_ST_NSEC): New macro.
12707 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12708
10589b4a
TS
12709 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12710 __strtoul_internal rather than strtoul.
12711
63643c85
PT
127122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12713
12714 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12715 and reject them.
12716
3faebe6a
ST
127172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12718
12719 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12720 which preserves existing values.
12721 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12722
c6474b07
PT
127232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12724
12725 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12726 TIMEOUT values. Return EINVAL for NFDS values either negative or
12727 greater than FD_SETSIZE.
12728
1043890b
ST
127292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12730
12731 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12732 allocated, call __vm_protect to finish enabling the existing space, and
12733 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12734 allocate the remainder.
12735
37ed8b9b
PT
127362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12737
12738 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12739 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12740
db653660
ST
127412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12742
37ed8b9b
PT
12743 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12744 sysdeps/mach/hurd/readlink.c.
b29d4053 12745
db653660
ST
12746 * posix/tst-sysconf.c (posix_options): Only use
12747 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12748 _POSIX_SYNCHRONIZED_IO when they are defined
12749 * sysdeps/mach/hurd/bits/posix_opt.h:
12750 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12751 (_XOPEN_REALTIME): Undefine macro.
12752 (_XOPEN_REALTIME_THREADS): Undefine macro.
12753 (_XOPEN_SHM): Undefine macro.
12754 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12755 macro to -1.
12756 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12757 macro to -1.
12758 (_POSIX_ASYNC_IO): Undefine macro.
12759 (_POSIX_PRIORITIZED_IO): Undefine macro.
12760 (_POSIX_SPIN_LOCKS): Define macro to -1.
12761
ee16e894
ST
12762 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12763 SA_NODEFER, SA_RESETHAND.
12764 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12765 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12766 F_DUPFD_CLOEXEC.
12767
6103ae3b
TS
127682012-05-10 Thomas Schwinge <thomas@schwinge.name>
12769
12770 * elf/Makefile (pldd-modules): Define unconditionally.
12771
80b4e5f3
TS
127722012-05-10 Thomas Schwinge <thomas@schwinge.name>
12773
12774 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12775
edadcbd6
ST
127762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12777
12778 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12779 Return ENOENT when name is empty.
12780 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12781
80694780
TS
127822012-05-10 Thomas Schwinge <thomas@schwinge.name>
12783
1792c087
TS
12784 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12785
80694780
TS
12786 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12787
6b645f0d
ST
127882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12789
80694780
TS
12790 Fix mlock in all cases except non-readable pages.
12791 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12792 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12793
6b645f0d
ST
12794 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12795 (__mkdir): When path is `/', just fail with EEXIST.
12796 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12797
e468f8a3
TS
127982012-05-10 Thomas Schwinge <thomas@schwinge.name>
12799
12800 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12801 <sys/uio.h> (for writev).
12802 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12803 and <sys/param.h> (for MIN).
12804
a4186cff
PT
128052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12806
12807 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12808 REQUESTED_TIME. Properly set the remaining time and return EINTR
12809 if interrupted.
12810
510bbf14
TS
128112012-05-10 Thomas Schwinge <thomas@schwinge.name>
12812
12813 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12814 Depend on against $(link-rpcuserlibs).
12815
5d5722e8
ST
128162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12817
a4186cff
PT
12818 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12819 (__libc_stack_end): Do not use attribute_relro.
12820 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12821 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12822 to libthread-provided value.
a4186cff
PT
12823 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12824 attribute_relro.
5d5722e8 12825
37233df9
TS
128262012-05-10 Thomas Schwinge <thomas@schwinge.name>
12827
be971a2b
TS
12828 [BZ #3748]
12829 * bits/libc-lock.h (__libc_once_get): New macro.
12830 * sysdeps/mach/bits/libc-lock.h: Likewise.
12831 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12833 instead of using implementation details.
12834
37233df9
TS
12835 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12836 * libio/freopen.c: Likewise.
12837 * libio/freopen64.c: Likewise.
12838 * misc/syslog.c: Likewise.
12839 * nscd/connections.c: Likewise.
12840 * nscd/netgroupcache.c: Likewise.
12841 * sysdeps/posix/getcwd.c: Likewise.
12842
38de94a5
RM
128432012-05-10 Roland McGrath <roland@hack.frob.com>
12844
12845 * math/w_ilogbf.c: Add #include <limits.h>.
12846
67530489
ST
128472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12848
a4186cff 12849 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12850 path instead of returning without unlocking.
12851
67530489
ST
12852 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12853 immediate-write ioctls.
12854 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12855
5aa3a74a
TS
128562012-05-10 Thomas Schwinge <thomas@schwinge.name>
12857
18bad2ae
TS
12858 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12859 __builtin_frame_address instead of making assumptions about the
12860 location of the return address relative to DATA. Force early load of
12861 the return address.
12862 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12863 __builtin_frame_address.
12864
5aa3a74a
TS
12865 dup3 for GNU Hurd.
12866 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12867 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12868 implement dup3 and do some further code clean-ups.
12869 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12870 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12871
ecd0de9a
ST
128722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12873
cd9fa985
ST
12874 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12875
a4186cff
PT
12876 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12877 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12878 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12879 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12880 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12881 d->port.lock.
802ca5a5 12882
a4186cff
PT
12883 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12884 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12885 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12886
bcf55240
TS
128872012-05-10 Thomas Schwinge <thomas@schwinge.name>
12888
6960eb42
TS
12889 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12890 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12891 definitions.
12892
eb43375f
TS
12893 accept4 for GNU Hurd.
12894 * include/sys/socket.h (__libc_accept4): New prototype.
12895 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12896 to implement __libc_accept4.
12897 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12898 __libc_accept4.
12899 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12900
bcf55240
TS
12901 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12902 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12903 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12904 signal-defines.sym.
12905
6178c55b
ST
129062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12907
a4186cff 12908 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12909
6f080c2f
TS
129102012-05-10 Thomas Schwinge <thomas@schwinge.name>
12911
12912 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12913 assertion on O_CLOEXEC flag.
12914 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12915 * hurd/intern-fd.c: Likewise.
12916 * hurd/port2fd.c: Likewise.
12917
bcfe3a54
ST
129182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12919
12920 [BZ #3906]
12921 * bits/in.h (IPV6_PKTINFO): Define new macro.
12922 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12923
89c9aa49
AZ
129242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12925
12926 [BZ #13954]
12927 [BZ #13955]
12928 [BZ #13956]
12929 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12931 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12932 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12934 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12935 * math/libm-test.inc (logb_test) : Additional logb tests.
12936
021db4be
AJ
129372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12938 Andreas Jaeger <aj@suse.de>
12939
12940 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12941 * configure: Regenerated.
12942 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12943 * config.make.in (link-obsolete-rpc): New substituted variable.
12944 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12945 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12946 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12947 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12948 so that libc.a contains the symbols.
12949 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12950 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12951 * sunrpc/auth_none.c: Likewise.
12952 * sunrpc/auth_unix.c: Likewise.
12953 * sunrpc/authdes_prot.c: Likewise.
12954 * sunrpc/authuxprot.c: Likewise.
12955 * sunrpc/clnt_gen.c: Likewise.
12956 * sunrpc/clnt_perr.c: Likewise.
12957 * sunrpc/clnt_raw.c: Likewise.
12958 * sunrpc/clnt_simp.c: Likewise.
12959 * sunrpc/clnt_tcp.c: Likewise.
12960 * sunrpc/clnt_udp.c: Likewise.
12961 * sunrpc/clnt_unix.c: Likewise.
12962 * sunrpc/des_crypt.c: Likewise.
12963 * sunrpc/des_soft.c: Likewise.
12964 * sunrpc/get_myaddr.c: Likewise.
12965 * sunrpc/key_call.c: Likewise.
12966 * sunrpc/key_prot.c: Likewise.
12967 * sunrpc/netname.c: Likewise.
12968 * sunrpc/pm_getmaps.c: Likewise.
12969 * sunrpc/pm_getport.c: Likewise.
12970 * sunrpc/pmap_clnt.c: Likewise.
12971 * sunrpc/pmap_prot.c: Likewise.
12972 * sunrpc/pmap_prot2.c: Likewise.
12973 * sunrpc/pmap_rmt.c: Likewise.
12974 * sunrpc/publickey.c: Likewise.
12975 * sunrpc/rpc_cmsg.c: Likewise.
12976 * sunrpc/rpc_common.c: Likewise.
12977 * sunrpc/rpc_dtable.c: Likewise.
12978 * sunrpc/rpc_prot.c: Likewise.
12979 * sunrpc/rpc_thread.c: Likewise.
12980 * sunrpc/rtime.c: Likewise.
12981 * sunrpc/svc.c: Likewise.
12982 * sunrpc/svc_auth.c: Likewise.
12983 * sunrpc/svc_raw.c: Likewise.
12984 * sunrpc/svc_run.c: Likewise.
12985 * sunrpc/svc_tcp.c: Likewise.
12986 * sunrpc/svc_udp.c: Likewise.
12987 * sunrpc/svc_unix.c: Likewise.
12988 * sunrpc/svcauth_des.c: Likewise.
12989 * sunrpc/xcrypt.c: Likewise.
12990 * sunrpc/xdr.c: Likewise.
12991 * sunrpc/xdr_array.c: Likewise.
12992 * sunrpc/xdr_float.c: Likewise.
12993 * sunrpc/xdr_intXX_t.c: Likewise.
12994 * sunrpc/xdr_mem.c: Likewise.
12995 * sunrpc/xdr_rec.c: Likewise.
12996 * sunrpc/xdr_ref.c: Likewise.
12997 * sunrpc/xdr_sizeof.c: Likewise.
12998 * sunrpc/xdr_stdio.c: Likewise.
12999
b5c086a2
RM
130002012-05-10 Roland McGrath <roland@hack.frob.com>
13001
13002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13003 change. Update copyright years.
13004
6d74dd09
JM
130052012-05-10 Joseph Myers <joseph@codesourcery.com>
13006
13007 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13008
28e72501
MK
130092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13010 Joseph Myers <joseph@codesourcery.com>
13011 Paul Pluzhnikov <ppluzhnikov@google.com>
13012
13013 [BZ #14012]
13014 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13015 requiring rpcgen.
13016 [cross-compiling] (extra-libs): Likewise.
13017 [cross-compiling] (extra-libs-others): Likewise.
13018 [cross-compiling] (librpcsvc-routines): Likewise.
13019 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13020 [cross-compiling] (omit-deps): Likewise.
13021 (sunrpc-CPPFLAGS): New variable.
13022 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13023 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13024 (cross-rpcgen-objs): New variable.
13025 (extra-objs): Append $(cross-rpcgen-objs).
13026 ($(cross-rpcgen-objs)): New rule.
13027 ($(objpfx)cross-rpcgen): Likewise.
13028 (rpcgen-cmd): Define to use $(built-program-file). Expand
13029 comment.
13030 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13031 ($(objpfx)x%.stmp): Likewise.
13032 * sunrpc/proto.h [IS_IN_build] (_): Define.
13033 [IS_IN_build] (_libc_intl_domainname): Likewise.
13034
c8c59454
L
130352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13038 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13039 and R_X86_64_TPOFF64.
13040
6f27cd16
JM
130412012-05-10 Joseph Myers <joseph@codesourcery.com>
13042
13043 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13044 sysdeps/unix/sysv/syscalls.list.
13045 (stime): Likewise.
13046 (utime): Likewise.
13047 * sysdeps/unix/sysv/syscalls.list: Remove file.
13048
02467e1c
PE
130492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13050
13051 [BZ #3440]
13052 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13053 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13054 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13055 (__LC_IDENTIFICATION): Make these macros useful in #if
13056 expressions, as required by C99.
13057
da392631
AS
130582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13059
13060 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13061 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13062 after this.
13063
8115f29b
L
130642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * stdlib/longlong.h: Updated from GCC.
13067
bdd74070
AJ
130682012-05-09 Andreas Jaeger <aj@suse.de>
13069
edfe0dbe
AJ
13070 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13071 default is first entry.
13072 (run_mode): Set type.
13073 (main): Remove informal message about syslog.
13074 (options): Fix typo.
13075
bcfe3a54
ST
13076 [BZ #14053]
13077 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13078 to asm.
bcfe3a54
ST
13079 (lrint): Likewise.
13080 (llrintf): Likewise.
13081 (llrint): Likewise.
13082 (rint): Likewise.
13083 (rintf): Likewise.
13084 (nearbyint): Likewise.
13085 (nearbyintf): Likewise.
bdd74070 13086
91d8d69e
AJ
130872012-05-09 Andreas Jaeger <aj@suse.de>
13088 Pedro Alves <palves@redhat.com>
13089
13090 * nscd/nscd.c (run_mode): Use enum.
13091 (main): Cleanup coding style issue.
13092
bb90b80b
AJ
130932012-05-09 Alexandre Oliva <aoliva@redhat.com>
13094 Andreas Jaeger <aj@suse.de>
13095
bcfe3a54
ST
13096 * nscd/nscd.c (go_background): Replaced with...
13097 (run_mode): ... this.
bb90b80b 13098 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13099 (options): Add -F --foreground.
13100 (main): Implement it.
13101 (parse_opt): Parse it.
bb90b80b 13102
1a4b75a1
AJ
131032012-05-09 Andreas Jaeger <aj@suse.de>
13104
13105 [BZ #14083]
13106 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13107 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13108 -Wconversion warning.
13109 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13110 Likewise.
13111
b1cc2472
JM
131122012-05-09 Joseph Myers <joseph@codesourcery.com>
13113
13114 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13115 == 0.
13116 (LC_ALL): Use macro-int-constant.
13117 (LC_COLLATE): Likewise.
13118 (LC_CTYPE): Likewise.
13119 (LC_MESSAGES): Likewise.
13120 (LC_MONETARY): Likewise.
13121 (LC_NUMERIC): Likewise.
13122 (LC_TIME): Likewise.
13123 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13124 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13126 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13127 Specify type.
13128 [C99-based standards] (float_t): Expect type.
13129 [C99-based standards] (double_t): Expect type.
13130 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13131 type.
13132 [C99-based standards] (HUGE_VALL): Likewise.
13133 [C99-based standards] (INFINITY): Likewise.
13134 [C99-based standards] (NAN): Likewise.
13135 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13136 [C99-based standards] (FP_NAN): Likewise.
13137 [C99-based standards] (FP_NORMAL): Likewise.
13138 [C99-based standards] (FP_SUBNORMAL): Likewise.
13139 [C99-based standards] (FP_ZERO): Likewise.
13140 [C99-based standards] (FP_FAST_FMA): Use
13141 optional-macro-int-constant. Specify type. Require == 1.
13142 [C99-based standards] (FP_FAST_FMAF): Likewise.
13143 [C99-based standards] (FP_FAST_FMAL): Likewise.
13144 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13145 [C99-based standards] (FP_ILOGBNAN): Likewise.
13146 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13147 Specify type.
13148 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13149 [C99-based standards] (math_errhandling): Specify type.
13150 [ISO99 || ISO11] (signgam): Do not allow.
13151 [non-C99-based standards] (copysignf): Do not allow.
13152 [non-C99-based standards] (exp2f): Likewise.
13153 [non-C99-based standards] (log2f): Likewise.
13154 [non-C99-based standards] (modff): Allow.
13155 [non-C99-based standards] (erff): Do not allow.
13156 [non-C99-based standards] (erfcf): Likewise.
13157 [non-C99-based standards] (gammaf): Likewise.
13158 [non-C99-based standards] (hypotf): Likewise.
13159 [non-C99-based standards] (j0f): Likewise.
13160 [non-C99-based standards] (j1f): Likewise.
13161 [non-C99-based standards] (jnf): Likewise.
13162 [non-C99-based standards] (lgammaf): Likewise.
13163 [non-C99-based standards] (tgammaf): Likewise.
13164 [non-C99-based standards] (y0f): Likewise.
13165 [non-C99-based standards] (y1f): Likewise.
13166 [non-C99-based standards] (ynf): Likewise.
13167 [non-C99-based standards] (isnanf): Likewise.
13168 [non-C99-based standards] (acoshf): Likewise.
13169 [non-C99-based standards] (asinhf): Likewise.
13170 [non-C99-based standards] (atanhf): Likewise.
13171 [non-C99-based standards] (cbrtf): Likewise.
13172 [non-C99-based standards] (expm1f): Likewise.
13173 [non-C99-based standards] (ilogbf): Likewise.
13174 [non-C99-based standards] (log1pf): Likewise.
13175 [non-C99-based standards] (logbf): Likewise.
13176 [non-C99-based standards] (nextafterf): Likewise.
13177 [non-C99-based standards] (remainderf): Likewise.
13178 [non-C99-based standards] (rintf): Likewise.
13179 [non-C99-based standards] (scalbf): Likewise.
13180 [non-C99-based standards] (copysignl): Likewise.
13181 [non-C99-based standards] (exp2l): Likewise.
13182 [non-C99-based standards] (log2l): Likewise.
13183 [non-C99-based standards] (modfl): Allow.
13184 [non-C99-based standards] (erfl): Do not allow.
13185 [non-C99-based standards] (erfcl): Likewise.
13186 [non-C99-based standards] (gammal): Likewise.
13187 [non-C99-based standards] (hypotl): Likewise.
13188 [non-C99-based standards] (j0l): Likewise.
13189 [non-C99-based standards] (j1l): Likewise.
13190 [non-C99-based standards] (jnl): Likewise.
13191 [non-C99-based standards] (lgammal): Likewise.
13192 [non-C99-based standards] (tgammal): Likewise.
13193 [non-C99-based standards] (y0l): Likewise.
13194 [non-C99-based standards] (y1l): Likewise.
13195 [non-C99-based standards] (ynl): Likewise.
13196 [non-C99-based standards] (isnanl): Likewise.
13197 [non-C99-based standards] (acoshl): Likewise.
13198 [non-C99-based standards] (asinhl): Likewise.
13199 [non-C99-based standards] (atanhl): Likewise.
13200 [non-C99-based standards] (cbrtl): Likewise.
13201 [non-C99-based standards] (expm1l): Likewise.
13202 [non-C99-based standards] (ilogbl): Likewise.
13203 [non-C99-based standards] (log1pl): Likewise.
13204 [non-C99-based standards] (logbl): Likewise.
13205 [non-C99-based standards] (nextafterl): Likewise.
13206 [non-C99-based standards] (remainderl): Likewise.
13207 [non-C99-based standards] (rintl): Likewise.
13208 [non-C99-based standards] (scalbl): Likewise.
13209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13210 [non-C99-based standards] (FP_*): Do not allow.
13211 [C99-based standards] (FP_*): Change to
13212 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13213 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13214 allow.
13215 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13216 (SIG_ERR): Likewise.
13217 [X/Open-based standards] (SIG_HOLD): Likewise.
13218 (SIG_IGN): Likewise.
13219 (SIGABRT): Use macro-int-constant. Specify type. Require
13220 positive value.
13221 (SIGFPE): Likewise.
13222 (SIGILL): Likewise.
13223 (SIGINT): Likewise.
13224 (SIGSEGV): Likewise.
13225 (SIGTER): Likewise.
13226 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13227 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13228 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13229 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13230 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13231 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13232 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13233 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13234 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13235 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13236 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13237 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13238 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13239 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13240 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13241 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13242 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13243 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13244 [X/Open-based standards] (SIGTRAP): Likewise.
13245 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13246 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13247 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13248 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13249 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13250 allow.
13251
b9f1922d
IW
132522012-05-08 Ian Wienand <ianw@vmware.com>
13253
13254 [BZ #14080]
13255 * time/tzset.c (__tzset_parse_tz): Update default rules for
13256 daylight time changes in the Energy Policy Act of 2005.
13257
1db86e88
AJ
132582012-05-09 Andreas Jaeger <aj@suse.de>
13259
13260 [BZ #13983]
13261 * elf/ldconfig.c (parse_conf): Change string to make clear that
13262 ldconfig only issued a warning if ld.so.conf does not exist.
13263
dee4a4e3
DM
132642012-05-08 David S. Miller <davem@davemloft.net>
13265
ee0db190
DM
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13267 movxtod instead of popping the value on the stack.
13268
dee4a4e3
DM
13269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13270
6a43ec98
CD
132712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13272
13273 * config.h.in: Add HAVE_ARM_PCS_VFP.
13274
05c2c961
RMG
132752012-05-08 Roland Mc Grath <roland@hack.frob.com>
13276
bcfe3a54
ST
13277 [BZ #13979]
13278 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13279 checking but the checks are disabled for any reason.
05c2c961 13280
4b30f61a
L
132812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13284 and ELF64_R_TYPE with ELFW(R_TYPE).
13285
eee2bc67
JM
132862012-05-08 Joseph Myers <joseph@codesourcery.com>
13287
7ea5391a
JM
13288 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13289 (ulimit): Likewise.
13290
eee2bc67
JM
13291 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13292 (settimeofday): Likewise.
13293
abb66a67
MF
132942012-05-08 Mike Frysinger <vapier@gentoo.org>
13295
13296 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13297 a struct th_u2 inside the union, and move tu_block/tu_code into
13298 a new th_u3 union of tu_block/tu_code inside of that. Move
13299 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13300 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13301 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13302 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13303 (th_stuff): Change to th_u1.tu_stuff.
13304 (th_data): Define.
13305 (th_msg): Change to th_u1.th_u2.tu_data.
13306
7f18b530
DM
133072012-05-07 David S. Miller <davem@davemloft.net>
13308
05760585
DM
13309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13310
7f18b530
DM
13311 [BZ #14074]
13312 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13313 (SETUP_PIC_REG): Use it.
13314 (SETUP_PIC_REG_LEAF): Use it.
13315
495fd99f
JM
133162012-05-07 Joseph Myers <joseph@codesourcery.com>
13317
13318 [BZ #13885]
13319 [BZ #13923]
13320 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13321 USE_AS_EXPM1L.
13322 (EXPL_FINITE): Likewise.
13323 (FLDLOG): Likewise.
13324 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13325 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13326 e_expl.S.
13327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13328 USE_AS_EXPM1L.
13329 (EXPL_FINITE): Likewise.
13330 (FLDLOG): Likewise.
13331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13332 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13333 e_expl.S.
13334 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13335 test of -max_value argument for long double.
13336 * sysdeps/i386/fpu/libm-test-ulps: Update.
13337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338
6693d694
DM
133392012-05-06 David S. Miller <davem@davemloft.net>
13340
13341 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13342 quad soft-float symbols whose references which are compiler
13343 generated.
13344 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13345
6c23e11c
JM
133462012-05-06 Joseph Myers <joseph@codesourcery.com>
13347
d8b82cad
JM
13348 [BZ #13884]
13349 [BZ #13914]
13350 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13351 USE_AS_EXP10L.
13352 (EXPL_FINITE): Likewise.
13353 (FLDLOG): Likewise.
13354 (c0): Likewise.
13355 (c1): Likewise.
13356 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13357 Adjust comments for base varying.
13358 (__expl_finite): Change alias to EXPL_FINITE.
13359 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13360 e_expl.S.
13361 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13362 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13364 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13365 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13366 USE_AS_EXP10L.
13367 (EXPL_FINITE): Likewise.
13368 (FLDLOG): Likewise.
13369 (c0): Likewise.
13370 (c1): Likewise.
13371 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13372 Adjust comments for base varying.
13373 (__expl_finite): Change alias to EXPL_FINITE.
13374 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13375 tests for bugs.
13376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13377
6c23e11c
JM
13378 [BZ #14064]
13379 * math/libm-test.inc (check_float_internal): Correct ulp
13380 calculation for subnormal expected results.
13381
29ba805c
AJ
133822012-05-06 Andreas Jaeger <aj@suse.de>
13383
13384 * Makeconfig (+math-flags): New, set to -frounding-math.
13385 (+cflags): Add +math-flags so that all of glibc gets compiled with
13386 it.
13387
13388 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13389
7b17aeda
JM
133902012-05-05 Joseph Myers <joseph@codesourcery.com>
13391
5779f134
JM
13392 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13393 Disable one test.
13394
41498f4d
JM
13395 [BZ #13787]
13396 [BZ #13922]
13397 [BZ #14036]
13398 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13399 (__ieee754_expl): Allow for and saturate large arguments.
13400 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13401 (u_threshold): Likewise.
13402 (__exp): Call __ieee754_exp before checking for overflow and
13403 underflow.
13404 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13405 (u_threshold): Likewise.
13406 (__expf): Call __ieee754_expf before checking for overflow and
13407 underflow.
13408 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13409 (u_threshold): Likewise.
13410 (__expl): Call __ieee754_expl before checking for overflow and
13411 underflow.
13412 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13413 (__ieee754_expl): Allow for and saturate large arguments.
13414 * math/libm-test.inc (exp_test): Add another test. Do not allow
13415 missing overflow exception on overflow.
13416 (expm1_test): Do not allow missing overflow exception on overflow.
13417
6698b8bf
JM
13418 * sysdeps/i386/fpu/e_expl.c: Move to ...
13419 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13420 rather than using inline asm.
13421 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13422 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13423 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13424
7b17aeda
JM
13425 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13426 (nice): Likewise.
13427 (poll): Likewise.
13428 (signal): Likewise.
13429 (time): Likewise.
13430 (times): Likewise.
13431
f7c85819
JM
134322012-05-04 Joseph Myers <joseph@codesourcery.com>
13433
13434 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13435 sysdeps/unix/common/syscalls.list.
13436 (fchmod): Likewise.
13437 (fchown): Likewise.
13438 (ftruncate): Likewise.
13439 (getrusage): Likewise.
13440 (gettimeofday): Likewise.
13441 (setpgid): Likewise.
13442 (setregid): Likewise.
13443 (setreuid): Likewise.
13444 (sigaction): Likewise.
13445 (truncate): Likewise.
13446 (vhangup): Likewise.
13447 * sysdeps/unix/common/syscalls.list: Remove file.
13448 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13449 * sysdeps/unix/sysv/linux/Implies: Likewise.
13450
336270d0
L
134512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13452
13453 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13455 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13456 Moved to ...
13457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13458 Here.
13459 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13460 to ...
13461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13462 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13463 to ...
13464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13465 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13466 to ...
13467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13468 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13469 to ...
13470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13471 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13472 to ...
13473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13474 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13475 to ...
13476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13477 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13478 to ...
13479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13480 Here.
13481 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13482 to ...
13483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13484 Here.
13485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13486 to ...
13487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13488 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13489 Moved to ...
13490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13491 Here.
13492 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13493 to ...
13494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13495
d128e450
JM
134962012-05-04 Joseph Myers <joseph@codesourcery.com>
13497
fa8ee516
JM
13498 * sysdeps/unix/common/bits/dirent.h: Remove file.
13499 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13500
d128e450
JM
13501 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13502 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13503 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13504 * sysdeps/unix/bsd/isatty.c: Likewise.
13505 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13506 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13507 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13508
ff8faaf0 135092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13510
62881be4 13511 [BZ #13563]
31dc8730
AZ
13512 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13513 long double comparison inaccuracies.
13514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13516
6fef930c
AS
135172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13518
13519 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13521
8f203e6c
JM
135222012-05-04 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #14049]
13525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13526 nonzero digits before rounding a hex value.
13527 * stdlib/tst-strtod.c (tests): Add another test.
13528
5197d9c2
AK
135292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13530
13531 * sysdeps/s390/fpu/libm-test-ulps: Update.
13532
f0c1dedf
AJ
135332012-05-03 Andreas Jaeger <aj@suse.de>
13534
13535 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13536 does not get optimized out.
13537 (malloc_opt_barrier): New.
13538
a65ef2ae 135392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13540 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13541
2b942cb7 13542 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13543 intermediate file deletion.
2b942cb7 13544 (generated): Add .symlist files.
a65ef2ae 13545
54b71e02
JM
135462012-05-03 Joseph Myers <joseph@codesourcery.com>
13547
13548 [BZ #13775]
13549 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13550 Redirect under this condition.
13551 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13552 [__USE_GNU] (__dprintf_chk): Not under this condition.
13553 [__USE_GNU] (__vdprintf_chk): Likewise.
13554 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13555 under this condition.
13556 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13557 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13558 [__USE_XOPEN2K8] (vdprintf): Likewise.
13559 [__USE_GNU] (__dprintf_chk): Not under this condition.
13560 [__USE_GNU] (__vdprintf_chk): Likewise.
13561 [__USE_GNU] (dprintf): Likewise.
13562 [__USE_GNU] (vdprintf): Likewise.
13563
d3dfcc41
RM
135642012-05-03 Roland McGrath <roland@hack.frob.com>
13565
13566 * elf/Makefile (common-generated): Set this instead of generated for
13567 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13568 $(all-built-dso)-derived lists.
13569
7ac30cc5
AJ
135702012-05-03 Andreas Jaeger <aj@suse.de>
13571
0c51e550
AJ
13572 * sysdeps/i386/fpu/libm-test-ulps: Update.
13573
7ac30cc5
AJ
13574 * FAQ: Removed.
13575 * FAQ.in: Likewise.
13576 * scripts/gen-FAQ.pl: Likewise.
13577 * manual/install.texi (Installation): Point to online location of
13578 FAQ.
13579 * Makefile (files-for-dist): Remove FAQ.
13580 (FAQ): Remove.
13581
d4c2917f
AM
135822012-05-02 Allan McRae <allan@archlinux.org>
13583
13584 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13585 (LDFLAGS-reldepmod5.so): Likewise.
13586 (LDFLAGS-reldep6mod1.so): Likewise.
13587 (LDFLAGS-reldep6mod4.so): Likewise.
13588 (LDFLAGS-reldep8mod3.so): Likewise.
13589 (LDFLAGS-unload4mod1.so): Likewise.
13590 (LDFLAGS-unload4mod2.so): Likewise.
13591 (LDFLAGS-tst-initorder): Likewise.
13592 (LDFLAGS-tst-initordera2.so): Likewise.
13593 (LDFLAGS-tst-initordera3.so): Likewise.
13594 (LDFLAGS-tst-initordera4.so): Likewise.
13595 (LDFLAGS-tst-initorderb2.so): Likewise.
13596 (LDFLAGS-noload): Likewise.
13597 (LDFLAGS-next): Likewise.
13598 (LDFLAGS-order2mod1.so): Likewise.
13599 (LDFLAGS-order2mod2.so): Likewise.
13600 (LDFLAGS-tst-initorder2): Likewise.
13601 (LDFLAGS-tst-initorder2a.so): Likewise.
13602 (LDFLAGS-tst-initorder2b.so): Likewise.
13603 (LDFLAGS-tst-initorder2c.so): Likewise.
13604 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13605
d77f993f
DM
136062012-05-02 David S. Miller <davem@davemloft.net>
13607
13608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13609
171a70b4
PP
136102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13611
13612 [BZ #14055]
13613 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13614
0be196ad
AJ
136152012-05-02 Andreas Jaeger <aj@suse.de>
13616
13617 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13618 since we manipulate rounding mode.
13619 (CPPFLAGS-test-idouble.c): Likewise.
13620 (CPPFLAGS-test-ifloat.c): Likewise.
13621 (CFLAGS-test-ldouble.c): Likewise.
13622 (CFLAGS-test-double.c): Likewise.
13623 (CFLAGS-test-float.c): Likewise.
13624 (CFLAGS-test-misc.c): Likewise.
13625 (CFLAGS-test-test-fenv.c): Likewise.
13626
4f9d04aa
AZ
136272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13628
2b942cb7
RM
13629 [BZ #2550]
13630 [BZ #2570]
13631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13632 comparisons to determine direction to adjust input.
4f9d04aa 13633
82a79e7d
RM
136342012-05-01 Roland McGrath <roland@hack.frob.com>
13635
f5a01ca9
RM
13636 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13637 output to the target.
13638
90fe4186
RM
13639 * scripts/localplt.awk: New file.
13640 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13641 (check-localplt-CFLAGS): Variable removed.
13642 ($(all-built-dso:=.jmprel)): New static pattern rule.
13643 (generated): Add those targets.
13644 (localplt-built-dso): New variable.
13645 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13646
13647 * elf/check-localplt.c: File removed.
13648
82397ed6
RM
13649 * scripts/check-execstack.awk: New file.
13650 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13651 (check-execstack-CFLAGS): Variable removed.
13652 ($(objpfx)check-execstack.h): Target removed.
13653 ($(objpfx)execstack-default): New target.
13654 (generated): Add that instead of check-execstack.h.
13655 ($(all-built-dso:=.phdr)): New static pattern rule.
13656 (generated): Add those targets.
13657 * elf/check-execstack.c: File removed.
13658
82a79e7d
RM
13659 * scripts/check-textrel.awk: New file.
13660 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13661 (check-textrel-CFLAGS): Variable removed.
13662 (all-built-dso): Use := to define.o
13663 ($(all-built-dso:=.dyn)): New static pattern rule.
13664 (generated): Add those targets.
13665 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13666 * config.make.in (READELF): New substituted variable.
13667 * elf/check-textrel.c: File removed.
13668
62fde54f 136692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13670
615605c9
JM
13671 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13672 allow.
13673 * conform/data/ctype.h-data [C99-based standards] (isblank):
13674 Expect function.
13675 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13676 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13678 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13679 Specify type. Require positive value.
13680 (EILSEQ): Likewise.
13681 (ERANGE): Likewise.
13682 [ISO || POSIX] (EILSEQ): Do not expect.
13683 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13684 Specify type. Require positive value.
13685 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13686 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13691 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13692 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13693 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13694 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13695 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13696 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13697 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13698 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13699 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13700 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13701 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13702 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13703 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13704 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13705 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13706 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13707 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13708 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13709 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13710 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13711 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13712 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13713 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13714 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13715 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13716 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13717 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13718 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13719 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13720 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13721 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13722 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13723 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13724 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13725 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13726 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13727 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13728 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13729 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13730 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13731 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13732 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13733 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13734 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13735 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13736 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13737 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13738 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13739 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13740 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13741 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13742 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13743 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13744 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13746 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13747 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13748 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13749 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13750 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13751 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13752 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13753 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13755 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13756 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13757 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13758 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13759 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13760 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13761 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13762 Require >= 2.
13763 (FLT_ROUNDS): Expect as macro, not constant.
13764 (FLT_MANT_DIG): Use macro-int-constant.
13765 (DBL_MANT_DIG): Likewise.
13766 (LDBL_MANT_DIG): Likewise.
13767 (FLT_DIG): Likewise.
13768 (DBL_DIG): Likewise.
13769 (LDBL_DIG): Likewise.
13770 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13771 (DBL_MIN_EXP): Likewise.
13772 (LDBL_MIN_EXP): Likewise.
13773 (FLT_MAX_EXP): Use macro-int-constant.
13774 (DBL_MAX_EXP): Likewise.
13775 (LDBL_MAX_EXP): Likewise.
13776 (FLT_MAX_10_EXP): Likewise.
13777 (DBL_MAX_10_EXP): Likewise.
13778 (LDBL_MAX_10_EXP): Likewise.
13779 (FLT_MAX): Use macro-constant.
13780 (DBL_MAX): Likewise.
13781 (LDBL_MAX): Likewise.
13782 (FLT_EPSILON): Use macro-constant. Give upper bound.
13783 (DBL_EPSILON): Likewise.
13784 (LDBL_EPSILON): Likewise.
13785 (FLT_MIN): Likewise.
13786 (DBL_MIN): Likewise.
13787 (LDBL_MIN): Likewise.
13788 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13789 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13790 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13791 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13792 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13793 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13794 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13795 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13796 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13797 [ISO11] (FLT_TRUE_MIN): Likewise.
13798 [ISO11] (LDBL_TRUE_MIN): Likewise.
13799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13800 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13801 (SCHAR_MIN): Use macro-int-constant. Specify type.
13802 (SCHAR_MAX): Likewise.
13803 (UCHAR_MAX): Likewise.
13804 (CHAR_MIN): Likewise.
13805 (CHAR_MAX): Likewise.
13806 (MB_LEN_MAX): Use macro-int-constant.
13807 (SHRT_MIN): Use macro-int-constant. Specify type.
13808 (SHRT_MAX): Likewise.
13809 (USHRT_MAX): Likewise.
13810 (INT_MAX): Likewise.
13811 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13812 bound negative.
13813 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13814 bound with "U".
13815 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13816 bound with "L".
13817 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13818 bound negative. Suffix upper bound with "L".
13819 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13820 bound with "UL".
13821 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13822 Specify type.
13823 [C99-based standards] (LLONG_MAX): Likewise.
13824 [C99-based standards] (ULLONG_MAX): Likewise.
13825 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13826 == 0.
13827 [ISO11] (max_align_t): Require type.
13828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13829
c9140a62
JM
13830 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13831 from $CFLAGS, without defining away __attribute__ calls.
13832 (checknamespace): Use $CFLAGS_namespace.
13833
9af0bf29
JM
13834 * conform/conformtest.pl (@keywords): Only include C99 keywords
13835 for standards based on C99 or C11.
13836
343222a2
JM
13837 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13838 Disable tests.
13839 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13840 UNIX98]: Likewise.
13841
661f8cf0
JM
13842 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13843 usability of symbols in #if.
13844
ee74b9cb
JM
13845 * conform/conformtest.pl: If macro or constant types start
13846 "promoted:", expect the symbol to be of the following type
13847 promoted by the integer promotions.
62fde54f 13848
aafc49b3
JM
13849 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13850 in one place. Also handle "macro-constant".
13851
fefdf574
JM
13852 * conform/conformtest.pl: Only accept expected macro values with
13853 "==". Parse all "macro" lines in one place.
13854 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13855
f2d922fe
JM
13856 * conform/conformtest.pl: Handle braced types on "constant" lines
13857 instead of handling "typed-constant".
13858 * conform/data/signal.h-data: Use "constant" instead of
13859 "typed-constant".
13860
d22956c9
JM
13861 * conform/conformtest.pl: Handle "optional-" at start of lines in
13862 one place rather than duplicating several cases. Handle each
13863 format of "macro" line with initial "optional-".
13864
028e2e38
JM
13865 * conform/conformtest.pl: Only accept expected constant or
13866 optional-constant values with "==". Parse all "constant" lines in
13867 one place. Parse all "optional-constant" lines in one place.
13868 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13869 * conform/data/fmtmsg.h-data: Likewise.
13870 * conform/data/netinet/in.h-data: Likewise.
13871 * conform/data/tar.h-data: Likewise.
13872 * conform/data/limits.h-data: Use "==" form on "constant" and
13873 "optional-constant" lines.
13874
1b8f2850
JM
13875 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13876 Use -std=c99 for XOPEN2K.
13877 (@knownproblems): Remove.
13878 (newtoken): Don't check %isknown.
13879
a05a144b
JM
13880 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13881 Do not expect macro.
13882 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13883 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13884 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13885 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13886 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13887 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13888 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13889 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13890 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13891 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13892 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13893 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13894 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13895 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13896 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13897 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13898 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13899 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13900 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13901 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13902 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13903 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13904 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13906 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13907 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13908 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13909 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13910 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13911 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13912 [XPG3] (acosh): Likewise.
13913 [XPG3] (asinh): Likewise.
13914 [XPG3] (atanh): Likewise.
13915 [XPG3] (cbrt): Likewise.
13916 [XPG3] (expm1): Likewise.
13917 [XPG3] (ilogb): Likewise.
13918 [XPG3] (log1p): Likewise.
13919 [XPG3] (logb): Likewise.
13920 [XPG3] (nextafter): Likewise.
13921 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13922 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13923 [XPG3] (remainder): Likewise.
13924 [XPG3] (rint): Likewise.
13925 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13926 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13927 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13928 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13929 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13930 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13931 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13932 [UNIX98 || XOPEN2K] (scalb): Expect.
13933 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13934 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13935 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13936 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13937 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13938 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13939 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13940 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13941 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13942 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13943 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13944 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13945 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13946 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13947 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13948 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13949 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13950 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13951 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13952 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13953 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13954 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13955 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13956 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13957 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13958 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13959 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13960 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13961 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13962 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13963 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13964 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13965 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13966 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13967 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13968 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13969 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13970 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13971 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13972 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13973 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13974 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13975 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13976 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13977 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13978 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13979 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13980 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13981 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13982 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13983 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13984 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13985 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13986 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13987 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13988 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13989 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13990 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13991 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13992 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13993 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13994 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13995 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13996 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13997 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13998 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13999 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14000 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14001 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14002 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14003 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14004 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14005 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14006 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14007 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14008 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14009 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14010 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14011 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14012 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14013 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14014 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14015 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14016 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14017 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14018 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14019 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14020 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14021 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14022 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14023 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14024 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14025 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14026 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14027 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14028 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14029 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14030 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14031 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14032 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14033 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14034 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14035 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14036 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14037 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14039 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14040 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14041 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14042 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14043 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14044 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14045 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14046 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14047 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14048 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14049 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14050 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14051 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14052 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14053 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14054 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14055 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14056 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14057 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14058 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14059 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14060 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14061 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14062 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14063 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14064 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14065 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14066 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14067 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14068 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14069 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14070
73c5ebe3
JM
14071 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14072 _XOPEN_SOURCE_EXTENDED for XPG4.
14073
39c33b6c
JM
14074 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14075
62fde54f
JM
14076 * Makeconfig (localtime): Remove variable.
14077 (inst_localtime-file): Likewise.
14078
0741d64c
AS
140792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14080
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14082 Update.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14084 Update.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14086 Update.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14088 Update.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14090 Update.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14092 Update.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14094 Update.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14096 Update.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14098 Update.
14099
7cb029ee
JM
141002012-05-01 Joseph Myers <joseph@codesourcery.com>
14101
14102 [BZ #2550]
14103 [BZ #2570]
14104 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14105 comparisons to determine direction to adjust input.
14106 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14107 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14108 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14109 Likewise.
14110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14111 Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14113 Likewise.
14114 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14115 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14116 Likewise.
14117 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14118 Likewise.
14119 * math/libm-test.inc (nexttoward_test): Add more tests.
14120
412bd966
AS
141212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14122
14123 [BZ #14040]
14124 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14125 in version GLIBC_2.1, not GLIBC_2.0.
14126 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14127 Likewise.
14128
9568c0c2
JM
141292012-04-30 Joseph Myers <joseph@codesourcery.com>
14130
adfbc8ac
JM
14131 [BZ #13942]
14132 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14133 (1 - x) * (1 + x).
14134 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14135 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14136 * math/libm-test.inc (acos_test): Add more tests.
14137 (asin_test): Likewise.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14140
5ba3cc69
JM
14141 [BZ #14034]
14142 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14143 of square root.
14144 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14145 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14146 * math/libm-test.inc (acos_test_tonearest): New function.
14147 (acos_test_towardzero): Likewise.
14148 (acos_test_downward): Likewise.
14149 (acos_test_upward): Likewise.
14150 (asin_test_tonearest): Likewise.
14151 (asin_test_towardzero): Likewise.
14152 (asin_test_downward): Likewise.
14153 (asin_test_upward): Likewise.
14154 (main): Call the new functions.
14155 * sysdeps/i386/fpu/libm-test-ulps: Update.
14156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14157
9568c0c2
JM
14158 [BZ #13884]
14159 [BZ #13924]
14160 * math/e_exp10.c: Include <float.h>.
14161 (__ieee754_exp10): Handle underflow here rather than multiplying
14162 large negative argument by M_LN10.
14163 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14164 of __ieee754_expf.
14165 * math/e_exp10l.c: Include <float.h>.
14166 (__ieee754_exp10l): Handle underflow here rather than multiplying
14167 large negative argument by M_LN10l.
14168 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14169 spurious overflow exception on underflow.
14170
5ac3ea17
MP
141712012-04-29 Marek Polacek <polacek@redhat.com>
14172
14173 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14174 (__fortify_function): New macro.
14175 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14176 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14177 __extern_always_inline.
14178 * libio/bits/stdio2.h: Likewise.
14179 * libio/bits/stdio.h: Likewise.
14180 * string/string.h: Likewise.
14181 * string/bits/string3.h: Likewise.
14182 * include/stdio.h: Likewise.
14183 * stdlib/bits/stdlib.h: Likewise.
14184 * stdlib/stdlib.h: Likewise.
14185 * rt/bits/mqueue2.h: Likewise.
14186 * rt/mqueue.h: Likewise.
14187 * posix/bits/unistd.h: Likewise.
14188 * posix/unistd.h: Likewise.
14189 * io/bits/poll2.h: Likewise.
14190 * io/bits/fcntl2.h: Likewise.
14191 * io/fcntl.h: Likewise.
14192 * io/sys/poll.h: Likewise.
14193 * misc/bits/syslog.h: Likewise.
14194 * misc/bits/syslog-ldbl.h: Likewise.
14195 * misc/sys/syslog.h: Likewise.
14196 * socket/bits/socket2.h: Likewise.
14197 * socket/sys/socket.h: Likewise.
14198 * debug/tst-chk1.c: Likewise.
14199 * wcsmbs/bits/wchar2.h: Likewise.
14200 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14201 * wcsmbs/wchar.h: Likewise.
14202
ecf0ebfb
AJ
142032012-04-29 Andreas Jaeger <aj@suse.de>
14204
14205 * Makerules (tests): Remove enable-check-abi protection.
14206 (check-abi-warn): Remove.
14207 (check-abi-%): Remove check-abi-warn usage.
14208
14209 * configure.in: Remove check-abi configure option.
14210 * configure: Regenerated.
14211 * config.make.in (enable-check-abi): Remove.
14212
6d5c57fa
AS
142132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14214
24c5d07e 14215 [BZ #14033]
ded5180a
AS
14216 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14217 double functions to double *_finite functions.
14218
7e0d315d
AS
14219 [BZ #13941]
14220 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14221 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14222 LDBL_MIN_EXP.
14223 * stdio-common/Makefile (tests): Add tst-sprintf3.
14224 * stdio-common/tst-sprintf3.c: New file.
14225
6d5c57fa
AS
14226 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14227 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14228
0749ff8b
JM
142292012-04-28 Joseph Myers <joseph@codesourcery.com>
14230
14231 * conform/conformtest.pl: Remove duplicate typed-constant
14232 handling.
14233
8dbd5d7b
DM
142342012-04-28 David S. Miller <davem@davemloft.net>
14235
14236 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14237 (check-abi-%): Remove AWK script prerequisite and explicit
14238 abilist directory.
14239 (check-abi): Rewrite to just diff the symlist with the abilist.
14240 (config-tls, config-abi-config): Delete, no longer used.
14241 (update-abi-%): Remove AWK script and explicit abilist directory.
14242 (update-abi): Rewrite to simply compare and conditionally copy the
14243 symlist and the sysdep abilist file. Remove update-abi-config
14244 checks.
14245 * abilist/ld.abilist: Remove.
14246 * abilist/libBrokenLocale.abilist: Remove.
14247 * abilist/libanl.abilist: Remove.
14248 * abilist/libcrypt.abilist: Remove.
14249 * abilist/libdl.abilist: Remove.
14250 * abilist/librt.abilist: Remove.
14251 * abilist/libthread_db.abilist: Remove.
14252 * abilist/libutil.abilist: Remove.
14253 * scripts/extract-abilist.awk: Remove.
14254 * scripts/merge-abilist.awk: Remove.
14255 * sysdeps/generic/libcidn.abilist: New file.
14256 * sysdeps/generic/libnss_compat.abilist: New file.
14257 * sysdeps/generic/libnss_db.abilist: New file.
14258 * sysdeps/generic/libnss_dns.abilist: New file.
14259 * sysdeps/generic/libnss_files.abilist: New file.
14260 * sysdeps/generic/libnss_hesiod.abilist: New file.
14261 * sysdeps/generic/libnss_nis.abilist: New file.
14262 * sysdeps/generic/libnss_nisplus.abilist: New file.
14263 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14264 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14265 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14266 file.
14267 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14268 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14269 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14270 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14271 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14272 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14273 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14274 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14275 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14276 file.
14277 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14278 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14279 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14280 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14281 file.
14282 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14283 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14284 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14285 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14286 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14287 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14288 file.
14289 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14290 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14291 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14292 file.
14293 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14295 New file.
14296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14297 New file.
14298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14299 New file.
14300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14301 New file.
14302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14303 New file.
14304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14305 New file.
14306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14307 New file.
14308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14309 New file.
14310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14311 New file.
14312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14313 New file.
14314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14315 New file.
14316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14317 New file.
14318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14319 New file.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14321 file.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14323 New file.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14325 New file.
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14327 file.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14329 New file.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14331 New file.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14333 file.
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14335 New file.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14337 New file.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14339 New file.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14341 New file.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14343 New file.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14345 New file.
14346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14348 file.
14349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14350 New file.
14351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14352 file.
14353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14354 file.
14355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14356 file.
14357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14358 file.
14359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14360 file.
14361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14362 New file.
14363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14364 file.
14365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14366 file.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14368 New file.
14369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14370 file.
14371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14373 file.
14374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14375 New file.
14376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14377 file.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14379 file.
14380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14381 file.
14382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14383 file.
14384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14385 file.
14386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14387 New file.
14388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14389 file.
14390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14391 file.
14392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14393 New file.
14394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14395 file.
14396 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14397 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14398 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14399 file.
14400 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14401 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14402 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14403 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14404 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14405 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14406 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14407 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14408 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14409 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14412 file.
14413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14414 New file.
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14416 file.
14417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14418 file.
14419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14420 file.
14421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14422 file.
14423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14424 file.
14425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14426 New file.
14427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14428 New file.
14429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14430 file.
14431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14432 New file.
14433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14434 file.
14435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14437 file.
14438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14439 New file.
14440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14441 file.
14442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14443 file.
14444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14445 file.
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14447 file.
14448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14449 file.
14450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14451 New file.
14452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14453 New file.
14454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14455 file.
14456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14457 New file.
14458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14459 file.
14460
41d73a1b
JM
144612012-04-28 Joseph Myers <joseph@codesourcery.com>
14462
14463 * conform/conformtest.pl: Fix typo in handling typed-constant from
14464 allow-header.
14465
28aeeda4
JM
144662012-04-27 Joseph Myers <joseph@codesourcery.com>
14467
adae8f5e
JM
14468 * README: Cut down references to pre-2.6 Linux kernels and
14469 Linuxthreads. Update lists of configurations in libc and ports
14470 and sort alphabetically. Say "or newer" with Linux kernel version
14471 requirements.
14472
28aeeda4
JM
14473 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14474
a462cb63
RA
144752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14476
14477 [BZ #887]
14478 * math/libm-test.inc (logb_test_downward): New test to expose
14479 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14480 rounding mode.
14481
6ad3493e
JM
144822012-04-27 Joseph Myers <joseph@codesourcery.com>
14483
14484 [BZ #14027]
14485 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14486 to be done.
14487 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14488 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14489
2ce4f015
JM
144902012-04-26 Joseph Myers <joseph@codesourcery.com>
14491
5aeb141a
JM
14492 * sysdeps/unix/i386/brk.S: Remove file.
14493 * sysdeps/unix/i386/dl-brk.S: Likewise.
14494 * sysdeps/unix/i386/pipe.S: Likewise.
14495 * sysdeps/unix/i386/sigreturn.S: Likewise.
14496 * sysdeps/unix/i386/syscall.S: Likewise.
14497 * sysdeps/unix/i386/vfork.S: Likewise.
14498 * sysdeps/unix/i386/wait.S: Likewise.
14499
7143acae
JM
14500 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14501 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14502
2ce4f015
JM
14503 * configure.in (arm*-none*): Do not allow without
14504 --enable-hacker-mode.
14505 (netbsd*): Remove case setting base_os.
14506 (386bsd*): Likewise.
14507 (freebsd*): Likewise.
14508 (bsdi*): Likewise.
14509 (osf*): Likewise.
14510 (sunos*): Likewise.
14511 (ultrix*): Likewise.
14512 (newsos*): Likewise.
14513 (dynix*): Likewise.
14514 (*bsd*): Likewise.
14515 (sysv*): Likewise.
14516 (isc*): Likewise.
14517 (esix*): Likewise.
14518 (sco*): Likewise.
14519 (minix*): Likewise.
14520 (irix4*): Likewise.
14521 (irix6*): Likewise.
14522 (solaris[2-9]*): Likewise.
14523 (none): Likewise.
14524 * configure: Regenerated.
14525
0ac229c8
AZ
145262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14527
14528 [BZ #11521]
14529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14530 overflow or cancellation in calculating denominator.
14531 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14533 down expression to avoid unexpected rounding in newer GCCs.
14534 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14535
33f244f4
DM
145362012-04-26 David S. Miller <davem@davemloft.net>
14537
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14539 long-double compat symbols.
14540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14553
cfa1f3e8
DM
145542012-04-25 David S. Miller <davem@davemloft.net>
14555
14556 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14557 HWCAP_* values only after the memory barriers have been defined.
14558 (atomic_full_barrier): Define.
14559 (atomic_read_barrier): Define.
14560 (atomic_write_barrier): Define.
14561
6e236b92
SP
145622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14563
14564 * shlib-versions: Add libgcc_s version information.
14565 * sysdeps/generic/libgcc_s.h: Remove.
14566 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14567 libgcc_s.h.
14568 * sysdeps/gnu/unwind-resume.c: Likewise.
14569 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14570
aab39a09
DM
145712012-04-25 David S. Miller <davem@davemloft.net>
14572
14573 * sysdeps/unix/sparc/brk.S: Delete.
14574 * sysdeps/unix/sparc/dl-brk.S: Delete.
14575 * sysdeps/unix/sparc/pipe.S: Delete.
14576 * sysdeps/unix/sparc/sysdep.S: Delete.
14577 * sysdeps/unix/sparc/sysdep.h: Delete.
14578 * sysdeps/unix/sparc/vfork.S: Delete.
14579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14580 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14582 ret_ERRVAL, r0, r1, MOVE): Define.
14583 (JUMPTARGET): Remove.
14584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14585 sysdeps/unix/sparc/sysdep.h
14586 (ENTRY, END): Remove.
14587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14588
a3cc4f48
JM
145892012-04-25 Joseph Myers <joseph@codesourcery.com>
14590
2ed8cda2
JM
14591 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14592 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14593 -DIS_IN_build.
14594
35d76d59
JM
14595 * timezone/README: Update upstream location and email address for
14596 tzcode and tzdata.
14597 * timezone/zdump.c: Update from tzcode 2012b.
14598 * timezone/zic.c: Likewise.
14599
a3cc4f48
JM
14600 * configure.in (libc_cv_as_needed): Remove test.
14601 * configure: Regenerated.
14602 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14603 conditional definition.
14604 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14605 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14606 * config.make.in (have-as-needed): Remove variable.
14607
ceab42c3
SP
146082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14609 Paul Pluzhnikov <ppluzhnikov@google.com>
14610
14611 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14612 strings correctly.
14613
3ce2865f
CLT
146142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14615
14616 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14617 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14618 * sysdeps/sh/strlen.S: Likewise.
14619
f37e0d68
JM
146202012-04-24 Joseph Myers <joseph@codesourcery.com>
14621
ae186e9a
JM
14622 * sysdeps/unix/fork.S: Remove file.
14623 * sysdeps/unix/i386/fork.S: Likewise.
14624 * sysdeps/unix/sparc/fork.S: Likewise.
14625
b96914af
JM
14626 * sysdeps/unix/system.c: Remove file.
14627 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14628
f37e0d68
JM
14629 * sysdeps/unix/getegid.S: Remove file.
14630 * sysdeps/unix/geteuid.S: Likewise.
14631
87ef29ca
RM
146322012-04-24 Roland McGrath <roland@hack.frob.com>
14633
83bcd236
RM
14634 * scripts/check-localplt.awk: New file.
14635 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14636 of diff.
14637 * scripts/data/localplt-generic.data: Add a comment.
14638
87ef29ca
RM
14639 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14640 NODE when __dir_mkfile failed.
14641 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14642 Reported by Ludovic Courtès <ludo@gnu.org>.
14643
e5a6e567
AJ
146442012-04-24 Andreas Jaeger <aj@suse.de>
14645
14646 * Makerules (common-clean): Also remove gen-as-const-headers
14647 files.
14648
c1820385
JM
146492012-04-24 Joseph Myers <joseph@codesourcery.com>
14650
14651 * Makerules (native-compile): Do not change working directory for
14652 build. Use $(OUTPUT_OPTION) in command.
14653 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14654
94e02fc4
AZ
146552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14656
14657 [BZ #13886]
14658 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14659 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14660 * math/libm-test.inc (floor_test): Add more tests.
14661 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14662
3a533ca3
JM
146632012-04-24 Joseph Myers <joseph@codesourcery.com>
14664
940ab4b3
JM
14665 * sysdeps/unix/getdents.c: Remove file.
14666 * sysdeps/unix/sysv/getdents.c: Likewise.
14667 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14668
90e037bd
JM
14669 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14670 sysdeps/unix/mman/syscalls.list.
14671 (mmap): Likewise.
14672 (mprotect): Likewise.
14673 (msync): Likewise.
14674 (munmap): Likewise.
14675 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14676 * sysdeps/unix/mman/syscalls.list: Remove.
14677 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14678
3a533ca3
JM
14679 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14680 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14681 * configure: Regenerated.
14682 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14683 $(libgcc_s_suffix).
14684 * config.make.in (libgcc_s_suffix): Remove variable.
14685
1ad743de
JM
146862012-04-23 Joseph Myers <joseph@codesourcery.com>
14687
4ad451e2
JM
14688 * sysdeps/unix/sysv/gethostname.c: Move to ...
14689 * sysdeps/posix/gethostname.c: ... here.
14690
5e37ce39
JM
14691 * sysdeps/unix/execve.S: Remove file.
14692
1ad743de
JM
14693 * sysdeps/unix/_exit.S: Remove file.
14694
4e681b5b
AJ
146952012-04-23 Andreas Jaeger <aj@suse.de>
14696
14697 [BZ #13739]
14698 * manual/Makefile: Remove make dist support, there's no
14699 need for a stand-alone documentation tar ball.
14700 (TEXI2DVI): Define always, it's not in Makeconfig.
14701 (dist): Removed.
14702 (tar-it): Removed.
14703 (edition): Removed.
14704 (glibc-doc-$(edition).tar): Removed
14705 (%.Z): Removed.
14706 (%.gz): Removed.
14707 (%.uu): Removed.
14708 (ETAGS): Remove, it's in Makeconfig.
14709 (move-if-change): Remove, it's in Makeconfig.
14710
38686a03 147112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14712
14713 [BZ #13970]
14714 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14715 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14716 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14717 (strtod_l, strtof_l, strtold_l): Remove __wur.
14718 It is not necessarily an error to ignore strtol's return value.
14719 One can reliably look at the stored endptr to decide whether
14720 the number had valid syntax.
14721
7c0616fa
AJ
147222012-04-21 Andreas Jaeger <aj@suse.de>
14723
803cb6b7 14724 [BZ #13739]
7c0616fa
AJ
14725 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14726
b0fe253f
JM
147272012-04-21 Joseph Myers <joseph@codesourcery.com>
14728
14729 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14730 * sysdeps/unix/sysv/Versions: Remove file.
14731
8280f22d
MT
147322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14733
14734 [BZ #13927]
14735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14736
75ce411f 147372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14738
14739 [BZ #7064]
14740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14741 version from __vm86.
14742
097d59fa
JM
147432012-04-20 Joseph Myers <joseph@codesourcery.com>
14744
a90f3bcb
JM
14745 * sysdeps/unix/common/lxstat.c: Remove file.
14746 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14747
edc7ea78
JM
14748 * sysdeps/unix/sysv/Makefile: Remove file.
14749
cb78c221
JM
14750 * sysdeps/unix/sysv/direct.h: Remove file.
14751
efa6a45f
JM
14752 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14753 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14754 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14755 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14756 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14757 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14758 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14759
9c9f2d0c
JM
14760 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14761
4541c83b
JM
14762 * sysdeps/unix/xmknod.c: Remove file.
14763 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14764
f5d153a0
JM
14765 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14766
aa746595
JM
14767 * sysdeps/unix/sysv/i386/time.S: Remove file.
14768
cce5905e
JM
14769 * sysdeps/unix/fxstat.c: Remove file.
14770 * sysdeps/unix/xstat.c: Likewise.
14771 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14772
37fa3841
JM
14773 * sysdeps/unix/sysv/sigaction.c: Remove file.
14774
ff1962a3
JM
14775 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14776 (sysdep_headers): Remove variable.
14777 [termio.h not in sysdep_headers] (generated): Likewise.
14778 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14779 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14780 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14781 * sysdeps/unix/sysv/tcflow.c: Likewise.
14782 * sysdeps/unix/sysv/tcflush.c: Likewise.
14783 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14784 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14785 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14786 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14787 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14788
e7740d31
JM
14789 * sysdeps/unix/siglist.c: Remove file.
14790
ee06f18b
JM
14791 * sysdeps/unix/getppid.S: Remove file.
14792
097d59fa
JM
14793 * sysdeps/unix/mkdir.c: Remove file.
14794 * sysdeps/unix/rmdir.c: Likewise.
14795
ff3d51ec
AS
147962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14797
14798 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14799 ERR_MAX value.
14800 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14801 errlist-compat value.
14802
50f81fd7
DM
148032012-04-18 David S. Miller <davem@davemloft.net>
14804
14805 * sysdeps/generic/memcopy.h (reg_char): Delete.
14806 * debug/strcat_chk.c: Use char, not reg_char.
14807 * debug/strcpy_chk.c: Likewise.
14808 * debug/strncat_chk.c: Likewise.
14809 * debug/strncpy_chk.c: Likewise.
14810 * string/memchr.c: Likewise.
14811 * string/memrchr.c: Likewise.
14812 * string/rawmemchr.c: Likewise.
14813 * string/strcat.c: Likewise.
14814 * string/strchr.c: Likewise.
14815 * string/strchrnul.c: Likewise.
14816 * string/strcmp.c: Likewise.
14817 * string/strcpy.c: Likewise.
14818 * string/strncat.c: Likewise.
14819 * string/strncmp.c: Likewise.
14820 * string/strncpy.c: Likewise.
14821
8ff41c46
WS
148222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14823
14824 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14825 __builtin_memcopy is called when src and dest ranges are known to not
14826 overlap.
14827
6b652f46
WS
148282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14829
14830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14831 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14832 fwd_align_merge macro call.
14833 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14834 bwd_align_merge macro call.
14835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14836
b282631e
WS
148372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14838
14839 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14840 bwd_align_merge macros.
14841 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14842 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14843 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14844
95aa737c
DM
148452012-04-18 David S. Miller <davem@davemloft.net>
14846
14847 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14848
7a99a614
AJ
148492012-04-18 Andreas Jaeger <aj@suse.de>
14850
14851 [BZ# 6794]
14852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14853 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14854 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14855
14856 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14857 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14859
14860 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14861 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14862 Adjust for changed ldbl-128 files.
14863
14864 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14865 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14866 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14867
e5270c23
DM
148682012-04-17 David S. Miller <davem@davemloft.net>
14869
14870 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14871
fb5e92c9
AS
148722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14873
14874 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14875 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14876 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14877 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14878 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14879 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14880
76da7265
AZ
148812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14882
14883 [BZ #6794]
14884 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14885 * math/libm-test.inc: Add ilogb errno and exception tests.
14886 * math/w_ilogb.c: New file: ilogb wrapper.
14887 * math/w_ilogbf.c: New file: ilogbf wrapper.
14888 * math/w_ilogbl.c: New file: ilogbl wrapper.
14889 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14890 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14891 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14892 exception being thrown with 0.0 as argument.
14893 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14894 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14895 exception being thrown with 0.0 as argument.
14896 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14897 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14898 exception being thrown with 0.0 as argument.
14899 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14900 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14901 exception being thrown with 0.0 as argument.
14902 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14903 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14904 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14905 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14906 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14907 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14908 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14909 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14910 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14911
0396e69d
PB
149122012-04-17 Petr Baudis <pasky@ucw.cz>
14913
14914 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14915 with altivec.
14916
750b5926
MP
149172012-04-16 Marek Polacek <polacek@redhat.com>
14918
14919 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14920
751728a1
MP
149212012-04-16 Marek Polacek <polacek@redhat.com>
14922
14923 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14924 operands of fdivp instruction.
14925
34a27407
L
149262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14927
14928 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14929 * elf/tst-auditmod3b.c: Likewise.
14930 * elf/tst-auditmod4b.c: Likewise.
14931 * elf/tst-auditmod5b.c: Likewise.
14932 * elf/tst-auditmod6b.c: Likewise.
14933 * elf/tst-auditmod6c.c: Likewise.
14934 * elf/tst-auditmod7b.c: Likewise.
14935 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14936 * sysdeps/x86_64/preconfigure.in: Likewise.
14937 * sysdeps/x86_64/preconfigure: Regenerated.
14938
7e73e17d
L
149392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14942 __ILP32__.
14943
c7a6ab72
AB
149442012-04-13 Antoine Balestrat <merkil33@gmail.com>
14945
14946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14947 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14948
a9e8e0e0
CL
149492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14950
14951 [BZ #13973]
14952 * locale/iso-639.def: Fix gl language name. Spotted by
14953 Yaron Shahrabani.
14954
ec98af7d
RM
149552012-04-12 Roland McGrath <roland@hack.frob.com>
14956
14957 [BZ #2074]
14958 * libio/libio.h (__io_write_fn): Update comment.
14959
247c3ede
PB
149602012-04-12 Petr Baudis <pasky@ucw.cz>
14961
14962 [BZ #2074]
14963 * stdio.texi (Hook Functions): The user provided writer function
14964 is not allowed to return -1.
14965
55939d6d
DM
149662012-04-11 David S. Miller <davem@davemloft.net>
14967
14968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14969
90020f5a
MF
149702012-04-11 Mike Frysinger <vapier@gentoo.org>
14971
14972 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14973 Add a leading slash to rtkaio.
14974
288f9098
JM
149752012-04-11 Jim Meyering <meyering@redhat.com>
14976
90020f5a
MF
14977 [BZ #11959]
14978 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14979 It is not necessarily an error to ignore fwrite's return
14980 value. One can reliably use ferror to test for errors after
14981 the fact.
288f9098 14982
4be2b570
L
149832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 * bits/types.h (__snseconds_t): New type.
14986 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14987
14988 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14990 (__SNSECONDS_T_TYPE): Likewise.
14991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14992 (__SNSECONDS_T_TYPE): Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14994 (__SNSECONDS_T_TYPE): Likewise.
14995
288f9098 149962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14997
14998 [BZ #2636]
14999 * manual/time.texi (Processor Time): Return type of times is
15000 elapsed real time since an arbitrary point in the past.
15001 (CPU Time): Move CLK_TCK from here...
15002 (Processor Time): ...to here. Correct description.
15003 * manual/conf.texi (Constants for Sysconf): Correct description of
15004 _SC_CLK_TCK.
15005
d7dd4413
DM
150062012-04-10 David S. Miller <davem@davemloft.net>
15007
15008 [BZ #13967]
15009 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15010 where the is a gap between DT_REL(A) and DT_JMPREL.
15011
b46068fc
L
150122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15013
15014 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15015 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15016 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15017
73d65cc3
SP
150182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15019
15020 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15021 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15022 (dl_main): Handle --inhibit-cache.
15023 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15024 _dl_inhibit_cache.
15025 * elf/dl-load.c (_dl_map_object): Use it.
15026 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15027
bcc8d661
JM
150282012-04-09 Joseph Myers <joseph@codesourcery.com>
15029
8f9a2fae
JM
15030 [BZ #13872]
15031 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15032 (__ieee754_powl): Saturate large exponents rather than testing for
15033 overflow of y*log2(x).
15034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15035 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15036 exceptions.
15037
bcc8d661
JM
15038 [BZ #11521]
15039 * math/s_ctan.c: Include <float.h>.
15040 (__ctan): Avoid internal overflow or cancellation in calculating
15041 denominator.
15042 * math/s_ctanf.c: Likewise.
15043 * math/s_ctanl.c: Likewise.
15044 * math/s_ctanh.c: Likewise.
15045 * math/s_ctanhf.c: Likewise.
15046 * math/s_ctanhl.c: Likewise.
15047 * math/libm-test.inc (ctan_test): Add more tests.
15048 (ctanh_test): Likewise.
15049 * sysdeps/i386/fpu/libm-test-ulps: Update.
15050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15051
823fbbb4
AJ
150522012-04-09 Andreas Jaeger <aj@suse.de>
15053
03879793
AJ
15054 [BZ #6894]
15055 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15056 is an optional BSD extension.
15057
823fbbb4
AJ
15058 [BZ #10254]
15059 * manual/stdio.texi (Opening Streams): Document additional fopen
15060 parameters.
15061
8de131cb
RM
150622012-04-09 Roland McGrath <roland@hack.frob.com>
15063
15064 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15065 %eax without telling the compiler.
15066
c0ed9d7d
CD
150672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15068
15069 [BZ # 13963]
15070 * manual/install.texi: Use sourceware.org.
15071
c483f6b4
JM
150722012-04-09 Joseph Myers <joseph@codesourcery.com>
15073
d7dd9453
JM
15074 [BZ #13873]
15075 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15076 (__ieee754_pow): Generate overflow and underflow using huge*huge
15077 and tiny*tiny rather than just returning constant infinity or zero
15078 for large exponents.
15079 * math/libm-test.inc (pow_test): Require overflow exceptions for
15080 applicable cases of large exponents.
15081
c483f6b4
JM
15082 [BZ #706]
15083 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15084 (__ieee754_pow): Use iterative multiplication algorithm only for
15085 integer exponents with absolute value below 1024. Check for odd
15086 integer exponents when using algorithm for real exponents.
15087 * math/libm-test.inc (pow_test): Add more tests.
15088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15089
d2de7579
JM
150902012-04-08 Joseph Myers <joseph@codesourcery.com>
15091
15092 [BZ #13705]
15093 * math/libm-test.inc (exp_test): Do not allow overflow exception
15094 on underflow test.
15095
f77f1232
AJ
150962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15097
15098 [BZ #13705]
15099 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15100 instead of __kernel_standard_f.
15101
3884932b
MF
151022012-04-08 Mike Frysinger <vapier@gentoo.org>
15103
15104 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15105 * sysdeps/x86_64/memset_chk.S: Likewise.
15106
54472e9c
AJ
151072012-04-08 Andreas Jaeger <aj@suse.de>
15108
6ab0fbfc
AJ
15109 [BZ #10153]
15110 * manual/startup.texi (Environment Access): Describe return value
15111 for putenv and setenv.
15112
61efba8c
AJ
15113 [BZ #6895]
15114 * manual/filesys.texi (Directory Entries): Add description for
15115 DT_LNK.
15116
95c3f29a
AJ
15117 [BZ #6890]
15118 * manual/filesys.texi (Directory Entries): Clarify that it's file
15119 system not operating system in the description of DT_UNKNOWN.
15120
54472e9c
AJ
15121 [BZ #6578]
15122 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15123
624254b1
SC
151242012-04-08 Stephen Compall <s11@member.fsf.org>
15125
15126 [BZ #6649]
15127 * manual/llio.texi (Opening and Closing Files): Add cross
15128 reference to explain mode argument.
15129
1e4920e0
MF
151302012-04-07 Mike Frysinger <vapier@gentoo.org>
15131
15132 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15133 * sysdeps/x86_64/memset_chk.S: Likewise.
15134
5ed848f3
DM
151352012-04-07 David S. Miller <davem@davemloft.net>
15136
15137 * elf/elf.h (R_SPARC_WDISP10): Define.
15138 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15139 R_SPARC_SIZE32.
15140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15141 R_SPARC_SIZE64 and R_SPARC_H34.
15142
96154cd8
CD
151432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15144
15145 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15146 conditions and remove no longer applicable assertion.
15147
9904dc47
L
151482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15149
15150 * bits/byteswap.h: Include <features.h>.
15151 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15152 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15153
f8887d0a
L
151542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15155
15156 * bits/byteswap.h (__bswap_16): Removed.
15157 Include <bits/byteswap-16.h> to get __bswap_16.
15158 * sysdeps/i386/bits/byteswap.h: Likewise.
15159 * sysdeps/s390/bits/byteswap.h: Likewise.
15160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15161 * bits/byteswap-16.h: New file.
15162 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15163 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15164 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15165 * string/Makefile (headers): Add bits/byteswap-16.h.
15166
62470f60
PP
151672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15168
15169 [BZ #13895]
15170 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15171 extra indirection.
15172 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15173 * nss/tst-nss-static.c: New.
15174
4dad7bab
RM
151752012-04-06 Robert Millan <rmh@gnu.org>
15176
15177 [BZ #6486]
15178 * manual/llio.texi (File Position Primitive): lseek
15179 refers to WHENCE when it really means OFFSET.
15180
e9142a17
AJ
151812012-04-06 Andreas Jaeger <aj@suse.de>
15182
2c040eff
AJ
15183 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15184 strncmp declarations.
15185
e9142a17
AJ
15186 * abilist/libc.abilist: Add __poll and __ppoll.
15187
ff9f1c5f
DM
151882012-04-05 David S. Miller <davem@davemloft.net>
15189
dcd2ae90
DM
15190 * scripts/check-local-headers.sh: Accept a host triplet in the
15191 path matched by the exclude regexp.
15192
993eb054
DM
15193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15194 definition.
15195 * sysdeps/powerpc/powerpc32/dl-machine.h
15196 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15197 * sysdeps/s390/s390-32/dl-machine.h
15198 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15199 * sysdeps/sparc/sparc32/dl-machine.h
15200 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15201 * sysdeps/sparc/sparc64/dl-machine.h
15202 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15203
ff9f1c5f
DM
15204 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15205 lazy binding.
48e2e132 15206 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15207 undefined symbol errors.
15208
48e2e132 15209 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15210 DT_NEEDED entries.
15211
e80d6f94
MM
152122012-04-05 Michael Matz <matz@suse.de>
15213
15214 [BZ #13592]
15215 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15216
349fa79f
AJ
152172012-04-05 Andreas Jaeger <aj@suse.de>
15218
15219 [BZ #13908]
15220 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15221 comment.
15222
f402708f
KK
152232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15224
15225 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15226 which ROUND is no valid rounding mode.
15227
2ecccfc9
KK
152282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15229
15230 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15231 read again.
15232 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15233
8a53f50f
KK
152342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15235
15236 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15237 an exception using FPU order intentionally.
15238
152392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15240
15241 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15242 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15243 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15244 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15245
d653abb7
SJ
152462012-04-05 Simon Josefsson <simon@josefsson.org>
15247
15248 [BZ #12340]
15249 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15250 EINVAL when BUFLEN is too smal.
15251
c3b1bf7d
TS
152522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15253
15254 [BZ #13553]
15255 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15256 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15257
b1aa60f3
AJ
152582012-04-03 Andreas Jaeger <aj@suse.de>
15259
c3b1bf7d 15260 [BZ #13938]
67f60a26
AJ
15261 * manual/setjmp.texi (System V contexts): Fix sentence.
15262
b1aa60f3
AJ
15263 [BZ #13926]
15264 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15265 New macro for this case.
15266 [!__GNUC__] (__bswap_64): New inline function for this case.
15267 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15268 * bits/byteswap.h: Likewise.
15269 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15270 ull, guard with __GLIBC_HAVE_LONG_LONG.
15271
15272 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15273 __GLIBC_HAVE_LONG_LONG.
15274
15275 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15276 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15277
39c59c35
TMQMF
152782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15279
15280 [BZ #13691]
15281 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15282 inptr and inend, rather than using last_ch.
15283
135ffda8
DM
152842012-04-02 David S. Miller <davem@davemloft.net>
15285
15286 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15287 * stdio-common/printf-parse.h (read_int): Change return type to
15288 'int', return -1 on INT_MAX overflow.
15289 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15290 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15291 overflows INT_MAX. Check for overflow of in-format-string precision
15292 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15293 SIZE_MAX not INT_MAX for integer overflow test.
15294 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15295 skip the construct in the format string but do not record anything.
15296 * stdio-common/bug22.c: Adjust to test both width/prevision
15297 INT_MAX overflow as well as total length INT_MAX overflow. Check
15298 explicitly for proper errno values.
15299
228c019e
TS
153002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15301
302cadd3
TS
15302 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15303 CHAR_MAX.
15304 * string/test-strcmp.c [! WIDE]: Likewise.
15305 * time/tst-mktime2.c: Likewise for INT_MAX.
15306 * string/test-string.h: #include <sys/param.h> for MIN.
15307
228c019e
TS
15308 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15309 * sysdeps/i386/init-first.c (init): Likewise.
15310 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15311 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15312 * sysdeps/sh/init-first.c (init): Likewise.
15313
cfa633f5
UD
153142012-04-01 Ulrich Drepper <drepper@gmail.com>
15315
15316 * po/ru.po: Update from translation team.
d1635ef8 15317 * po/vi.po: Likewise.
cfa633f5 15318
6cd0a5ea
SP
153192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15320
15321 * resolv/nss_dns/dns-host.c: Merge copyright years.
15322
4b43400f
LD
153232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15324
15325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15326 Optimize memcpy with prefetch if
15327 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15328 src, dst pointers have unequal 16 byte alignments.
15329
48c41d04
SP
153302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15331
15332 [BZ #13928]
15333 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15334 from a CNAME entry and return the minimum ttl for the query.
15335 (gaih_getanswer_slice): Likewise.
15336
b8dc394d
JL
153372012-03-30 Jeff Law <law@redhat.com>
15338
15339 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15340 due to long keys.
15341 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15342 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15343
2f5a5ed0
JL
15344 * resolv/nss_dns/dns-host.c: Update copyright year.
15345
1d39e359
UD
153462012-03-30 Ulrich Drepper <drepper@gmail.com>
15347
c030f70c 15348 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15349 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15350
1d39e359
UD
15351 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15352 comments for sendmmsg.
15353
153542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15355
15356 [BZ #13691]
15357 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15358 with only 1 character between 0x0041 and 0x01b0.
15359 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15360 * wcsmbs/tst-mbsnrtowcs.c: New file.
15361
20fde227
DM
153622012-03-29 David S. Miller <davem@davemloft.net>
15363
15364 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15365 small copies by hand.
15366
984a4237
JL
153672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15368
15369 [BZ #13761]
15370 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15371 _nss_compat_initgroups_dyn): Fall back to malloc/free
15372 for large group memberships.
15373
18c9d62b
DM
153742012-03-28 David S. Miller <davem@davemloft.net>
15375
88d85d4f
DM
15376 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15377 that branches into memcpy.
15378 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15381 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15383 bits.
15384 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15385 implementation too.
15386 * sysdeps/sparc/mempcpy.S: New file.
15387
e5aa83e1
DM
15388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15389 the IFUNC routine in the libc case.
15390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15391
88570753
DM
15392 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15393 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15394 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15395 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15396 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15397 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15398 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15399 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15400
249d7567
DM
15401 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15402 loop to 256 bytes instead of 64 bytes and fix test signedness.
15403
18c9d62b
DM
15404 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15405 * sysdeps/sparc/sparc32/Makefile: rather than here...
15406 * sysdeps/sparc/sparc64/Makefile: and here.
15407
05f3d1f6
UD
154082012-03-28 Ulrich Drepper <drepper@gmail.com>
15409
15410 * malloc/mallocbug.c: Avoid warnings about unused variables.
15411
86ae07a8
JL
154122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15413
15414 [BZ #13760]
15415 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15416 in the right place. Discard and retry query if response is
15417 larger than input buffer size.
15418
41bf21a1
JM
154192012-03-28 Joseph Myers <joseph@codesourcery.com>
15420
d6270972
JM
15421 [BZ #369]
15422 [BZ #2678]
15423 [BZ #3866]
15424 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15425 x for large integer exponent.
15426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15427 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15428 sign of result as needed afterwards.
15429 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15430 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15431 result for underflowing pow the same as for overflow.
15432 (__kernel_standard_l): Handle powl overflow and underflow here
15433 rather than calling __kernel_standard.
15434 * math/libm-test.inc (pow_test): Add more tests.
15435
414fca03 15436 [BZ #3868]
41bf21a1
JM
15437 [BZ #13879]
15438 [BZ #13910]
15439 [BZ #13911]
15440 [BZ #13912]
15441 [BZ #13913]
15442 [BZ #13915]
15443 [BZ #13916]
15444 [BZ #13917]
15445 [BZ #13918]
15446 [BZ #13919]
15447 [BZ #13920]
15448 [BZ #13921]
15449 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15450 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15451 (__kernel_standard_l): New function.
15452 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15453 __kernel_standard.
15454 * math/w_acosl.c (__acosl): Likewise.
15455 * math/w_asinl.c (__asinl): Likewise.
15456 * math/w_atan2l.c (__atan2l): Likewise.
15457 * math/w_atanhl.c (__atanhl): Likewise.
15458 * math/w_coshl.c (__coshl): Likewise.
15459 * math/w_exp10l.c (__exp10l): Likewise.
15460 * math/w_exp2l.c (__exp2l): Likewise.
15461 * math/w_fmodl.c (__fmodl): Likewise.
15462 * math/w_hypotl.c (__hypotl): Likewise.
15463 * math/w_j0l.c (__j0l, __y0l): Likewise.
15464 * math/w_j1l.c (__j1l, __y1l): Likewise.
15465 * math/w_jnl.c (__jnl, __ynl): Likewise.
15466 * math/w_lgammal.c (__lgammal): Likewise.
15467 * math/w_log10l.c (__log10l): Likewise.
15468 * math/w_log2l.c (__log2l): Likewise.
15469 * math/w_logl.c (__logl): Likewise.
15470 * math/w_powl.c (__powl): Likewise.
15471 * math/w_remainderl.c (__remainderl): Likewise.
15472 * math/w_scalbl.c (sysv_scalbl): Likewise.
15473 * math/w_sinhl.c (__sinhl): Likewise.
15474 * math/w_sqrtl.c (__sqrtl): Likewise.
15475 * math/w_tgammal.c (__tgammal): Likewise.
15476 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15477 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15478 * math/libm-test.inc (acos_test): Add more tests.
15479 (acosh_test): Likewise.
15480 (asin_test): Likewise.
15481 (atanh_test): Likewise.
15482 (exp_test): Likewise.
15483 (exp10_test): Likewise.
15484 (exp2_test): Likewise.
15485 (expm1_test): Likewise.
15486 (lgamma_test): Likewise.
15487 (log_test): Likewise.
15488 (log10_test): Likewise.
15489 (log1p_test): Likewise.
15490 (log2_test): Likewise.
15491 (pow_test): Do not allow some spurious overflow exceptions.
15492 (sqrt_test): Add more tests.
15493 (tgamma_test): Likewise.
15494 (y0_test): Likewise.
15495 (y1_test): Likewise.
15496 (yn_test): Likewise.
15497
dd62fda6
AB
154982012-03-27 Anton Blanchard <anton@samba.org>
15499
15500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15501 MAP_HUGETLB.
15502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15503 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15505
1e3cdfda
AJ
155062012-03-27 David S. Miller <davem@davemloft.net>
15507
b855ab85
DM
15508 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15509
1e3cdfda
AJ
15510 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15511 have-as-vis3 check.
15512
155132012-03-27 Andreas Jaeger <aj@suse.de>
15514
15515 * sysdeps/x86_64/elf/configure.in: Moved to ...
15516 * sysdeps/x86_64/configure.in: ... here.
15517 * sysdeps/x86_64/elf/start.S: Moved to ...
15518 * sysdeps/x86_64/start.S: ... here.
15519 * sysdeps/x86_64/elf/configure: Delete.
15520
15521 * sysdeps/x86_64/configure.in: Merge contents from
15522 sysdeps/i386/configure.in (without i686 check).
15523
15524 * sysdeps/i386/elf/Versions: Merge into ...
15525 * sysdeps/i386/Versions: ... this.
15526 * sysdeps/i386/elf/Versions: Delete file.
15527 * sysdeps/i386/elf/start.S: Moved to ...
15528 * sysdeps/i386/start.S: ...here.
15529 * sysdeps/i386/elf/configure.in: Merge into...
15530 * sysdeps/i386/configure.in: ...here.
15531 * sysdeps/i386/elf/configure.in: Delete file.
15532 * sysdeps/i386/elf/configure: Delete file.
15533
15534 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15535 * debug/backtracesyms.c: ... here.
15536 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15537 * debug/backtracesymsfd.c: ... here.
15538 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15539 * sysdeps/generic/ifunc-sel.h: ... here.
15540
15541 * sysdeps/unix/i386/start.c: Delete file.
15542 * sysdeps/unix/sparc/start.c: Delete file.
15543 * sysdeps/unix/start.c: Delete file.
15544
15545 * sysdeps/sh/elf/configure.in: Moved to ...
15546 * sysdeps/sh/configure.in: ... here.
15547 * sysdeps/sh/elf/start.S: Moved to ...
15548 * sysdeps/sh/start.S: ... here.
15549 * sysdeps/sh/elf/configure: Delete file.
15550
15551 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15552 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15553 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15554 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15555 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15556 * sysdeps/powerpc/powerpc64/start.S: here.
15557 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15558 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15559 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15560 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15561 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15562
15563 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15564 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15565 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15566 * sysdeps/powerpc/powerpc32/start.S: ... here.
15567 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15568 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15569 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15570
15571 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15572 * sysdeps/powerpc/ifunc-sel.h: ... here.
15573 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15574 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15575
15576 * sysdeps/sparc/elf/configure.in: Moved to ...
15577 * sysdeps/sparc/configure.in: ... here.
15578 * sysdeps/sparc/elf/configure: Delete file.
15579 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15580 * sysdeps/sparc/sparc32/start.S: ... here.
15581 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15582 * sysdeps/sparc/sparc64/start.S: ... here.
15583 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15584 * sysdeps/sparc/sparc32/Makefile: ... this.
15585 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15586 * sysdeps/sparc/sparc64/Makefile: ... this.
15587
15588 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15589 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15590 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15591 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15592 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15593 * sysdeps/s390/s390-32/setjmp.S: ... here.
15594 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15595 * sysdeps/s390/s390-32/configure.in: ... here.
15596 * sysdeps/s390/s390-32/elf/configure: Delete file.
15597 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15598 * sysdeps/s390/s390-32/start.S: ... here.
15599
15600 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15601 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15602 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15603 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15604 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15605 * sysdeps/s390/s390-64/setjmp.S: ... here.
15606 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15607 * sysdeps/s390/s390-64/configure.in: ... here
15608 * sysdeps/s390/s390-64/elf/configure: Delete file.
15609 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15610 * sysdeps/s390/s390-64/start.S: ... here.
15611 * sysdeps/s390/s390-64/elf/configure: Delete.
15612
15613 * configure.in: Remove support for elf directories in sysdeps.
15614
15615 * configure: Regenerated.
15616 * sysdeps/i386/configure: Regenerated.
15617 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15618 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15619 * sysdeps/s390/s390-32/configure: Regenerated.
15620 * sysdeps/s390/s390-64/configure: Regenerated.
15621 * sysdeps/sh/configure: Regenerated.
15622 * sysdeps/sparc/configure: Regenerated.
15623 * sysdeps/x86_64/configure: Regenerated.
15624
a3f61311
AS
156252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15626
c876e002
AS
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15628
a3f61311
AS
15629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15630 denormal result into account.
15631
ac4c54f0
RM
156322012-03-25 Roland McGrath <roland@hack.frob.com>
15633
15634 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15635 Reported by Allan McRae <allan@archlinux.org>.
15636
6a9b9c02
JL
156372012-03-23 Jeff Law <law@redhat.com>
15638
15639 * nss/getnssent.c (__nss_getent): Fix typo.
15640
4c42a0c1
DM
156412012-03-23 David S. Miller <davem@davemloft.net>
15642
15643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15644
1532c7ac
L
156452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15648 to pad to uint64_t for each field.
15649 (dl_tls_index): Replace unsigned long with uint64_t.
15650
3ff42526
PP
156512012-03-23 Daniel Jacobowitz <dmj@google.com>
15652 Paul Pluzhnikov <ppluzhnikov@google.com>
15653
15654 [BZ #6528]
15655 * grp/Makefile (otherlibs): Don't set it.
15656 * inet/Makefile (otherlibs): Likewise.
15657 * login/Makefile (otherlibs): Likewise.
15658 * nscd/Makefile (otherlibs): Likewise.
15659 * posix/Makefile (otherlibs): Likewise.
15660 * pwd/Makefile (otherlibs): Likewise.
15661 * rt/Makefile (otherlibs): Likewise.
15662 * sunrpc/Makefile (otherlibs): Likewise.
15663 * nss/Makefile (otherlibs): Likewise.
15664 Add libnss_files to routines and static-only-routines.
15665 ($(objpfx)getent): Remove rule.
15666 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15667 static-only-routines.
15668
7c69cd14
JM
156692012-03-22 Joseph Myers <joseph@codesourcery.com>
15670
15671 [BZ #13892]
15672 * math/s_cexp.c: Include <float.h>.
15673 (__cexp): Handle exp result overflowing not necessarily
15674 overflowing both real and imaginary parts of result.
15675 * math/s_cexpf.c: Likewise.
15676 * math/s_cexpl.c: Likewise.
15677 * math/libm-test.inc (cexp_test): Add more tests.
15678 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15680
81b035fe
L
156812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 * include/link.h (ELFW): New macro.
15684 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15685 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15686
1da7940c
L
156872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15690 with uint64_t.
15691
b749dbb9
L
156922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15695 declaration.
15696 (struct La_x32_retval): Likewise.
15697
2ff87f3f
L
156982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * sysdeps/x86_64/preconfigure.in: New file.
15701 * sysdeps/x86_64/preconfigure: New generated file.
15702
c0df8e69
JM
157032012-03-22 Joseph Myers <joseph@codesourcery.com>
15704
48e44791
JM
15705 [BZ #13824]
15706 * math/e_exp2l.c: Include <float.h>.
15707 (__ieee754_exp2l): Handle overflow and underflow cases
15708 separately. Only pass fractional part of argument to
15709 __ieee754_expl.
15710 * math/libm-test.inc (exp2_test): Add more tests.
15711
c0df8e69
JM
15712 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15713 negating x to take absolute value.
15714 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15715 Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15718 Likewise.
15719 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15720 computing low part if x was negated.
15721 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15722
c8e43ba7
L
157232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15724
15725 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15726 la_x32_gnu_pltexit.
15727 (pltexit): Cast int_retval to ptrdiff_t.
15728 * elf/tst-auditmod3b.c: Likewise.
15729 * elf/tst-auditmod4b.c: Likewise.
15730 * elf/tst-auditmod5b.c: Likewise.
15731 * elf/tst-auditmod6b.c: Likewise.
15732 * elf/tst-auditmod6c.c: Likewise.
15733 * elf/tst-auditmod7b.c: Likewise.
15734
15735 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15736 and x32_gnu_pltexit.
15737
15738 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15739 __ELF_NATIVE_CLASS.
15740 (La_x32_regs): New macro.
15741 (La_x32_retval): Likewise.
15742 (la_x32_gnu_pltenter): New function prototype.
15743 (la_x32_gnu_pltexit): Likewise.
15744
7998fa78
AS
157452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15746
dcb33988
AS
15747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15748 exponent.
15749
233fc563
AS
15750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15751
7998fa78
AS
15752 * configure.in (libc_cv_cc_nofma): Check for option to disable
15753 generation of FMA instructions.
15754 * configure: Regenerate.
15755 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15756 * sysdeps/ieee754/dbl-64/Makefile: New file.
15757 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15758 Remove brandred-fma4.
15759 (CFLAGS-brandred-fma4.c): Remove.
15760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15762 define.
15763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15764 define.
15765
8e95c99a
L
157662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15767
15768 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15769 LLONG_MAX != LONG_MAX.
15770 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15771 (_fitoa_word): Likewise.
15772 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15773 LLONG_MAX != LONG_MAX.
15774 * stdio-common/_itowa.h: Include <_itoa.h>.
15775 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15776 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15777 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15778 only if not defined.
15779 (_ITOA_WORD_TYPE): Likewise.
15780 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15781 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15782
6f4db457
DM
157832012-03-21 David S. Miller <davem@davemloft.net>
15784
15785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15786
7785fe5a
L
157872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15788
15789 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15790 of x86_64 when setting libc_cv_slibdir, libdir and
15791 libc_cv_localedir.
15792 * sysdeps/unix/sysv/linux/configure: Regenerated.
15793
4535cd55
JM
157942012-03-21 Joseph Myers <joseph@codesourcery.com>
15795
15796 * manual/lang.texi (Old Varargs): Remove section.
15797 (How Variadic): Update menu.
15798 (va_start): Do not mention varargs.h.
15799
17228132
TS
158002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15801 Joseph Myers <joseph@codesourcery.com>
15802
15803 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15804 link test.
15805 * configure: Regenerated.
15806
8149f976
TS
158072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15808
05f3d1f6
UD
15809 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15810 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15811 conformtest.pl
8149f976 15812
1a4ac776
JM
158132012-03-21 Joseph Myers <joseph@codesourcery.com>
15814
be22ce65
JM
15815 * NOTES: Remove.
15816 * Makefile (files-for-dist): Remove NOTES.
15817 (NOTES): Remove rule.
15818 * README: Don't refer to NOTES.
15819 * manual/creature.texi: Don't include macros.texi.
15820 * manual/intro.texi (creature.texi): Remove comment referring to
15821 NOTES.
15822
40b601fb
JM
15823 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15824 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15825 * configure: Regenerated.
15826 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15827 LIBC_TRY_CC_OPTION.
15828 (libc_cv_as_i686): Likewise.
15829 (libc_cv_cc_avx): Likewise.
15830 (libc_cv_cc_sse2avx): Likewise.
15831 (libc_cv_cc_fma4): Likewise.
15832 (libc_cv_cc_novzeroupper): Likewise.
15833 * sysdeps/i386/configure: Regenerated.
15834
1a4ac776
JM
15835 [BZ #13883]
15836 * sysdeps/i386/fpu/s_cexp.S: Remove.
15837 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15838 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15839 * math/libm-test.inc (cexp_test): Add more tests.
15840 * sysdeps/i386/fpu/libm-test-ulps: Update.
15841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15842
a458e7fe
AM
158432012-03-21 Allan McRae <allan@archlinux.org>
15844
15845 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15846
0cb7efc5
JM
158472012-03-21 Joseph Myers <joseph@codesourcery.com>
15848
15849 [BZ #13871]
15850 * math/w_exp2.c: Do not include <float.h>.
15851 (o_threshold, u_threshold): Remove.
15852 (__exp2): Calculate result before checking finiteness and calling
15853 __kernel_standard.
15854 * math/w_exp2f.c: Likewise.
15855 * math/w_exp2l.c: Likewise.
15856 * math/libm-test.inc (exp2_test): Require overflow exception for
15857 1e6 input.
2460d3aa
JM
15858
15859 [BZ #3866]
15860 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15861 range of signed 64-bit integers before using fistpll. Remove
15862 checks for whether integers fit in mantissa bits.
15863 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15864 the range of signed 32-bit integers before using fistpl. Remove
15865 checks for whether integers fit in mantissa bits.
15866 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15867 (__ieee754_powl): Test for y outside the range of signed 64-bit
15868 integers before using fistpll. Reduce 64-bit values to 63-bit
15869 ones as needed.
15870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15871 divide-by-zero is raised for zero to large negative powers.
15872 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15873 (__ieee754_powl): Test for y outside the range of signed 64-bit
15874 integers before using fistpll. Reduce 64-bit values to 63-bit
15875 ones as needed.
15876 * math/libm-test.inc (pow_test): Add more tests.
15877
eb96ffb0
L
158782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15879
15880 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15881 <stdio-common/_itoa.h>.
15882 * debug/segfault.c: Likewise.
15883 * elf/dl-cache.c: Likewise.
15884 * elf/dl-minimal.c: Likewise.
15885 * elf/dl-misc.c: Likewise.
15886 * elf/dl-sysdep.c: Likewise.
15887 * elf/dl-version.c: Likewise.
15888 * elf/rtld.c: Likewise.
15889 * hurd/hurdsock.c: Likewise.
15890 * hurd/lookup-retry.c: Likewise.
15891 * malloc/malloc.c: Likewise.
15892 * malloc/mtrace.c: Likewise.
15893 * nscd/nscd_getgr_r.c: Likewise.
15894 * nscd/nscd_getpw_r.c: Likewise.
15895 * nscd/nscd_getserv_r.c: Likewise.
15896 * posix/getopt_init.c: Likewise.
15897 * posix/wordexp.c: Likewise.
15898 * stdio-common/_itoa.c: Likewise.
15899 * stdio-common/printf_fphex.c: Likewise.
15900 * stdio-common/vfprintf.c: Likewise.
15901 * string/_strerror.c: Likewise.
15902 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15903 * sysdeps/i386/i686/hp-timing.h: Likewise.
15904 * sysdeps/mach/_strerror.c: Likewise.
15905 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15906 * sysdeps/mach/hurd/sethostid.c: Likewise.
15907 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15908 * sysdeps/mach/xpg-strerror.c: Likewise.
15909 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15910 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15911 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15912 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15913 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15914 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15915 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15916 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15917 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15918 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15919 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15920 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15921 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15922 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15923 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15924 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15925 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15926 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15927 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15928 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15929 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15930
15931 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15932
15933 * stdio-common/_itoa.h: Moved to ...
15934 * sysdeps/generic/_itoa.h: Here.
15935
15936 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15937
15938 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15939 instead of "_itoa.h" and "_itowa.h".
15940 * stdio-common/vfprintf.: Likewise.
15941
d1af992d
L
159422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15943
15944 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15945 <bits/wordsize.h>.
15946 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15947 (__signbit): Likwise.
15948 (llrintf): Likwise.
15949 (llrint): Likwise.
15950
114883e0
L
159512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15952
15953 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15954 __WORDSIZE != 64.
15955
c135cc1b
JM
159562012-03-20 Joseph Myers <joseph@codesourcery.com>
15957
15958 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15959 OVERFLOW_EXCEPTION_OK.
15960 * math/libm-test.inc ("Philosophy"): Update comment about
15961 exception testing.
15962 (OVERFLOW_EXCEPTION): Define.
15963 (OVERFLOW_EXCEPTION_OK): Likewise.
15964 (INVALID_EXCEPTION_OK): Renumber.
15965 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15966 (IGNORE_ZERO_INF_SIGN): Likewise.
15967 (test_exceptions): Handle FE_OVERFLOW.
15968 (exp10_test): Expect overflow exceptions.
15969 (exp2_test): Likewise.
15970 (expm1_test): Likewise.
15971 (nextafter_test): Likewise.
15972 (pow_test): Likewise.
15973 (scalbn_test): Likewise.
15974 (scalbln_test): Likewise.
15975
95443d88
L
159762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15977
15978 * sysdeps/x86_64/bits/atomic.h
15979 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15980 64bit integer.
15981 (atomic_exchange_acq): Likewise.
15982 (__arch_exchange_and_add_body): Likewise.
15983 (__arch_add_body): Likewise.
15984 (atomic_add_negative): Likewise.
15985 (atomic_add_zero): Likewise.
15986
490df6c4
L
159872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15988
c2722551 15989 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15990 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15991
5e52b189
L
159922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15993
15994 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15995 Check __x86_64__ instead of __WORDSIZE.
15996
a9879d4c
L
159972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15998
15999 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16000
5df98260
DM
160012012-03-19 David S. Miller <davem@davemloft.net>
16002
e1497744
DM
16003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16004
5df98260
DM
16005 * sysdeps/sparc/fpu/fenv_private.h: New file.
16006 * sysdeps/sparc/fpu/math_private.h: Use it.
16007 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16008 Remove.
16009 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16010 (libc_feholdexcept_setroundl): Remove.
16011 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16012 Remove.
16013 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16014 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16015
b4c35121
L
160162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16017
16018 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16019 int64_t instead of long int.
16020 (INSERT_WORDS64): Likwise.
16021
56965fd7
L
160222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16023
16024 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16025 _Unwind_GetCFA return to _Unwind_Ptr first.
16026
83d1aec8
JM
160272012-03-19 Joseph Myers <joseph@codesourcery.com>
16028
1897ad44
JM
16029 [BZ #13629]
16030 * math/s_clog.c: Include <float.h>.
16031 (__clog): Scale large or subnormal inputs.
16032 * math/s_clogf.c: Likewise.
16033 * math/s_clogl.c: Likewise.
16034 * math/s_clog10.c: Include <float.h>.
16035 (M_LOG10_2): Define.
16036 (__clog10): Scale large or subnormal inputs.
16037 * math/s_clog10f.c: Likewise.
16038 * math/s_clog10l.c: Likewise.
16039 * math/libm-test.inc (clog_test): Add more tests.
16040 (clog10_test): Likewise.
16041 * sysdeps/i386/fpu/libm-test-ulps: Update.
16042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043
7726d6a9
JM
16044 [BZ #11451]
16045 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16046 x and y.
16047 * math/libm-test.inc (atan2_test): Add another test.
16048
83d1aec8
JM
16049 * Makerules (common-objdir-compile): Remove.
16050 * sysdeps/unix/Makefile (config-generated): Do not add
16051 $(unix-generated) to variable.
16052 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16053 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16054 Remove rule.
16055 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16056 Likewise.
16057 [generic bits/local_lim.h] (before-compile): Do not append to
16058 variable.
16059 [generic bits/local_lim.h] (common-generated): Likewise.
16060 [generic sys/param.h] (before-compile): Do not append to variable.
16061 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16062 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16063 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16064 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16065 include.
16066 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16067 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16068 [generic sys/param.h] ($(addprefix
16069 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16070 [generic sys/param.h] (common-generated): Do not append to
16071 variable.
16072 [generic sys/param.h] (sysdep_headers): Likewise.
16073 [generic bits/errno.h] (before-compile): Do not append to
16074 variable.
16075 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16076 rule.
16077 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16078 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16079 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16080 [generic bits/errno.h] (common-generated): Do not append to
16081 variable.
16082 [generic bits/ioctls.h] (before-compile): Do not append to
16083 variable.
16084 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16085 rule.
16086 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16087 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16088 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16089 rule.
16090 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16091 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16092 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16093 [generic bits/ioctls.h] (common-generated): Do not append to
16094 variable.
16095 [generic sys/syscall.h] (syscall.h): Remove variable.
16096 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16097 rule.
16098 [generic sys/syscall.h] (before-compile): Do not append to
16099 variable.
16100 [generic sys/syscall.h] (common-generated): Likewise.
16101 * sysdeps/unix/errnos-tmpl.c: Remove file.
16102 * sysdeps/unix/errnos.awk: Likewise.
16103 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16104 * sysdeps/unix/ioctls.awk: Likewise.
16105 * sysdeps/unix/mk-local_lim.c: Likewise.
16106 * sysdeps/unix/snarf-ioctls: Likewise.
16107
4851a949
RH
161082012-03-19 Richard Henderson <rth@twiddle.net>
16109
bd37f2ee
RH
16110 * sysdeps/i386/fpu/fenv_private.h: New file.
16111 * sysdeps/i386/fpu/math_private.h: Use it.
16112 (math_opt_barrier, math_force_eval): Remove.
16113 (libc_feholdexcept_setround_53bit): Remove.
16114 (libc_feupdateenv_53bit): Remove.
16115 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16116 (math_opt_barrier, math_force_eval): Remove.
16117 (libc_feholdexcept): Remove.
16118 (libc_feholdexcept_setround): Remove.
16119 (libc_fetestexcept, libc_fesetenv): Remove.
16120 (libc_feupdateenv_test): Remove.
16121 (libc_feupdateenv, libc_feholdsetround): Remove.
16122 (libc_feresetround): Remove.
16123
d0adc922
RH
16124 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16125 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16126
0fe0f1f8
RH
16127 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16128 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16129 (libc_feupdateenv_testl): New.
16130 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16131 (libc_feupdateenv_testf): New.
16132 (libc_feupdateenv): Use libc_feupdateenv_test.
16133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16135
eb92c487
RH
16136 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16137 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16138 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16139 (libc_feresetround_noex): New.
16140 (libc_feresetround_noexf): New.
16141 (libc_feresetround_noexl): New.
16142 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16143 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16144 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16145 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16146 SET_RESTORE_ROUND.
16147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16149 (__cos): Likewise.
16150 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16151 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16152 SET_RESTORE_ROUND_NOEX.
16153 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16154 SET_RESTORE_ROUND_NOEXF.
16155 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16156 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16157 (libc_feholdsetroundf): New.
16158 (libc_feresetround, libc_feresetroundf): New.
16159
7d2e8012
RH
16160 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16161 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16162 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16163
b4dabbb4
RH
16164 * sysdeps/generic/math_private.h: Include <fenv.h>.
16165 (default_libc_feholdexcept): New.
16166 (default_libc_feholdexcept_setround): New.
16167 (default_libc_fesetenv, default_libc_feupdateenv): New.
16168 (libc_feholdexcept): Only define if undefined.
16169 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16170 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16171 (libc_feholdexcept_setroundl): Likewise.
16172 (libc_feholdexcept_setround_53bit): Likewise.
16173 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16174 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16175 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16176 (libc_feupdateenv_53bit): Likewise.
16177 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16178 (libc_feholdexcept): Convert from macro to inline function.
16179 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16180 (libc_fesetenv, libc_feupdateenv): Likewise.
16181
4851a949
RH
16182 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16183 not previously defined.
16184 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16185 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16186 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16187 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16188 * sysdeps/ieee754/flt-32/math_private.h: New file.
16189 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16190 math_private.h below SET_FLOAT_WORD.
16191 (__isnan, __isinf_ns, __finite): Remove.
16192 (__isnanf, __isinf_nsf, __finitef): Remove.
16193
e79d442e
AS
161942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16195
16196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16197
90b80344
DM
161982012-03-17 David S. Miller <davem@davemloft.net>
16199
16200 [BZ #6471]
16201 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16202 for 2.16.
16203
edc21804
DM
162042012-03-16 David S. Miller <davem@davemloft.net>
16205
77e927af
DM
16206 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16207 warnings.
16208
374976dd
DM
16209 [BZ #6471]
16210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16211 properly.
16212 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16213 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16214 sysdep_routines when subdir is sysvipc.
16215 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16216 __getshmlba helper.
16217
edc21804
DM
16218 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16219
473c3ef3
L
162202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16223 [__LP64__].
16224
eb0f39b6
L
162252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16228 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16229 (__lround): Renamed to ...
16230 (__llround): This. Replace long int with long long int.
16231 Define lround functions as aliases of llround functions.
16232 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16233
6b6cd74b
L
162342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16235
16236 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16237 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16238 adresses to uintptr_t. Replace "long int" and "unsigned long
16239 int" with "greg_t" on va_arg.
16240
f1a77b01
L
162412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16244 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16245
16246 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16247 Move e_machine check before EI_CLASS check. Handle x32
16248 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16249 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16250 SKIP_EM_IA_64 and include
16251 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16252
16253 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16254 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16255 (add_system_dir): New macro.
16256
16257 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16258 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16259
11b90b9f
JM
162602012-03-16 Joseph Myers <joseph@codesourcery.com>
16261
c36e1d23
JM
16262 [BZ #2551]
16263 [BZ #2552]
16264 [BZ #2553]
16265 [BZ #2554]
16266 [BZ #2562]
16267 [BZ #2563]
16268 [BZ #2565]
16269 [BZ #2566]
16270 [BZ #2576]
16271 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16272 (y0): Likewise.
16273 * math/w_j0f.c (j0f): Likewise.
16274 (y0f): Likewise.
16275 * math/w_j0l.c (__j0l): Likewise.
16276 (__y0l): Likewise.
16277 * math/w_j1.c (j1): Likewise.
16278 (y1): Likewise.
16279 * math/w_j1f.c (j1f): Likewise.
16280 (y1f): Likewise.
16281 * math/w_j1l.c (__j1l): Likewise.
16282 (__y1l): Likewise.
16283 * math/w_jn.c (jn): Likewise.
16284 (yn): Likewise.
16285 * math/w_jnf.c (jnf): Likewise.
16286 (ynf): Likewise.
16287 * math/w_jnl.c (__jnl): Likewise.
16288 (__ynl): Likewise.
16289 * math/libm-test.inc (j0_test): Add more tests.
16290 (j1_test): Likewise.
16291 (jn_test): Likewise. Add trailing semicolon to existing test.
16292 (y0_test): Likewise.
16293 (y1_test): Likewise.
16294 * sysdeps/i386/fpu/libm-test-ulps: Update.
16295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16296
11b90b9f
JM
16297 [BZ #13851]
16298 [BZ #13854]
16299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16300 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16301 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16303 (__tanl): Set errno for infinite argument.
16304 * sysdeps/i386/fpu/mptan.c: Remove.
16305 * sysdeps/i386/fpu/s_tan.S: Likewise.
16306 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16307 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16308 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16309 * math/libm-test.inc (tan_test): Add more tests and enable more
16310 tests for double and long double.
16311 * sysdeps/i386/fpu/libm-test-ulps: Update.
16312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16313
6a1bd2a1
JK
163142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16315
16316 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16317 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16318
10a803e0
RM
163192012-03-16 Roland McGrath <roland@hack.frob.com>
16320
16321 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16322 * configure.in: Use it for both main tree and add-ons.
16323 * configure: Regenerated.
16324
f196c7f7
L
163252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16326
16327 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16328
8848d99d
JM
163292012-03-16 Joseph Myers <joseph@codesourcery.com>
16330
96cbe7f4
JM
16331 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16332 in comment.
16333
8848d99d
JM
16334 [BZ #13851]
16335 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16336 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16340 infinite argument.
16341 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16343 != 0 for prec == 2.
16344 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16345 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16346 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16347 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16348 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16349 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16350 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16351 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16352 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16353 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16354 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16355 * math/libm-test.inc (cos_test): Add more tests and enable more
16356 tests for long double.
16357 (sin_test): Likewise.
16358 (sincos_test): Likewise.
16359 * sysdeps/i386/fpu/libm-test-ulps: Update.
16360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361
dd7f4703
DM
163622012-03-16 David S. Miller <davem@davemloft.net>
16363
16364 * sysdeps/sparc/fpu/math_private.h: New file.
16365
006f1daa
DM
163662012-03-15 David S. Miller <davem@davemloft.net>
16367
c0c83bc8
DM
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16369 file.
e6a62e18 16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16372 file.
e6a62e18
DM
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16379 sysdep routines.
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16381
88cb87d9
DM
16382 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16383 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16384
006f1daa 16385 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16387 sparc-ifunc.h
006f1daa 16388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16390 Likewise.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16392 Likewise.
006f1daa
DM
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16397 Likewise.
006f1daa
DM
16398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16403 Likewise.
16404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16405 Likewise.
006f1daa
DM
16406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16430
11e0098e
AS
164312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16432
16433 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16434 scaling.
16435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16436
e85b09d0
AJ
164372012-03-15 Andreas Jaeger <aj@suse.de>
16438
16439 [BZ #13852]
16440 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16441 ieee754/flt-32 implementation for sin, cos and sincos.
16442 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16443 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16444 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16445 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16446 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16447 ieee754/flt-32 implementation for tan.
16448
16449 * math/libm-test.inc (cos_test): Enable some large input tests for
16450 float as well
16451 (sin_test): Likewise.
16452 (sincos_test): Likewise.
16453 (tan_test): Add tests for large input.
16454
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16456
81c64153
AJ
164572012-03-15 Andreas Jaeger <aj@suse.de>
16458
16459 [BZ #13658]
16460 * math/libm-test.inc (cos_test): Add more test cases.
16461 (sin_test): Likewise.
16462 (sincos_test): Likewise.
16463
7bbfa5c6
AJ
164642012-03-15 Andreas Jaeger <aj@suse.de>
16465
16466 [BZ #13837]
16467 * math/libm-test.inc (cos_test): Add a test case for large input
16468 value.
16469 (sin_test): Likewise.
16470 (sincos_test): Likewise.
16471
164722012-03-15 Andreas Jaeger <aj@suse.de>,
16473 Joseph Myers <joseph@codesourcery.com>
16474
16475 [BZ #13658]
0671f479 16476 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16477 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16478 * sysdeps/i386/fpu/branred.c: Likewise.
16479 * sysdeps/i386/fpu/dosincos.c: Likewise.
16480 * sysdeps/i386/fpu/mpa.c: Likewise.
16481 * sysdeps/i386/fpu/s_cos.S: Likewise.
16482 * sysdeps/i386/fpu/s_sin.S: Likewise.
16483 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16484 * sysdeps/i386/fpu/sincos32.c: Likewise.
16485
16486 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16487 Define.
16488 (libc_feupdateenv_53bit): Define.
16489 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16490 Define.
16491 (libc_feupdateenv_53bit): Define.
16492
16493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16494 53 bit (without extend i386 double precision).
16495
16496 * math/libm-test.inc (sincos_test): Add tests for large input.
16497 (sin): Likewise.
16498 (cos): Likewise.
16499
16500 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16501
9cad04ea
AS
165022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16503
16504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16505
f7062b9a
DM
165062012-03-15 David S. Miller <davem@davemloft.net>
16507
16508 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16509 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16510 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16511 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16524 file.
f7062b9a 16525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16527 file.
f7062b9a 16528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16530 file.
f7062b9a 16531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16533 file.
f7062b9a
DM
16534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16536 fmin/fmax sysdep routines.
16537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16538
7bd951ff
DM
165392012-03-14 David S. Miller <davem@davemloft.net>
16540
559398ab
DM
16541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16570 routines.
16571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16572 file.
559398ab 16573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16575 file.
559398ab 16576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16578 file.
559398ab 16579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16581 file.
559398ab 16582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16584 file.
559398ab 16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16587 file.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16589 file.
16590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16591 file.
16592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16593 file.
16594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16595 New file.
16596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16597 file.
16598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16599 file.
559398ab 16600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16602 file.
559398ab 16603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16605 file.
559398ab 16606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16608 file.
559398ab 16609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16611 VIS3 routines.
559398ab
DM
16612
16613 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16614 New file.
16615
5a1c1e32
DM
16616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16617
eae47a36
DM
16618 * sysdeps/sparc/configure.in: New file.
16619 * sysdeps/sparc/configure: Generate.
16620 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16621 * configure: Regenerate.
16622 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16623 * config.make.in (have-as-vis3): New.
16624 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16625 available use -Av9d instead of -Av9a.
16626 * sysdeps/sparc/sparc64/Makefile: Likewise.
16627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16629 New file.
16630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16631 file.
16632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16633 New file.
16634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16635 file.
eae47a36
DM
16636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16641
c0c83bc8
DM
16642 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16643 fzeros/fnegs to load 0x80000000 into a float register instead of
16644 using the stack.
7bd951ff
DM
16645 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16646
bd951ccb
JM
166472012-03-14 Joseph Myers <joseph@codesourcery.com>
16648
16649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16650 bits/syscall.h.
16651 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16652 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16653 ($(inst_includedir)/bits/syscall.h): Remove rule.
16654 ($(objpfx)bits/syscall.d): Include instead of
16655 $(objpfx)syscall-list.d.
16656 (generated): Change syscall-list.h and syscall-list.d to
16657 bits/syscall.h and bits/syscall.d.
16658
bb4e6db2
RM
166592012-03-14 Roland McGrath <roland@hack.frob.com>
16660
16661 [BZ #13846]
16662 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16663
aa4a2ae1
JM
166642012-03-14 Joseph Myers <joseph@codesourcery.com>
16665
e456826d
JM
16666 [BZ #13841]
16667 * math/s_csqrt.c: Include <float.h>.
16668 (__csqrt): Scale large or subnormal inputs.
16669 * math/s_csqrtf.c: Likewise.
16670 * math/s_csqrtl.c: Likewise.
16671 * math/libm-test.inc (csqrt_test): Add more tests.
16672 * sysdeps/i386/fpu/libm-test-ulps: Update.
16673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16674
aa4a2ae1
JM
16675 [BZ #13840]
16676 * math/libm-test.inc (hypot_test): Add more tests.
16677
7c10fd35
DM
166782012-03-13 David S. Miller <davem@davemloft.net>
16679
16680 [BZ #13840]
16681 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16682 double-precision for the calculation instead of scaling.
16683
f453b98b
JM
166842012-03-13 Joseph Myers <joseph@codesourcery.com>
16685
16686 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16687 manipulate bits before adding and subtracting TWO52[sx].
16688 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16690 Likewise.
16691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16692
09a3453f
DM
166932012-03-13 David S. Miller <davem@davemloft.net>
16694
8e59da90
DM
16695 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16696 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16698 rtld-global-offsets.h
16699 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16700
2a8ab7f2
DM
16701 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16702 large parameters.
16703
10f62770
DM
16704 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16705
5f0bdb18
DM
16706 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16707 'err' in the ifdef scope in which it is actually used.
16708
09a3453f
DM
16709 * nss/nss_db/db-init.c: Include string.h
16710
b4b2eb5e
DM
167112012-03-12 David S. Miller <davem@davemloft.net>
16712
98bb2f1c
DM
16713 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16714 masking out of the most significant byte of random value used.
16715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16716 Fix coding style in previous change.
16717
b4b2eb5e
DM
16718 * sysdeps/unix/sysv/linux/kernel-features.h
16719 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16720 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16721 expression.
16722 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16723 later.
16724
6e226b09
DM
167252012-03-11 David S. Miller <davem@davemloft.net>
16726
a1bcbd40
DM
16727 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16728 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16730 for 'resultvar' otherwise things get truncated on 64-bit.
16731
cb9d6174
DM
16732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16733 Fix masking out of the most significant byte of random value used.
16734
6e226b09
DM
16735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16736
058c132d
AS
167372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16738
16739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16740
2d2cd515
DM
167412012-03-09 David S. Miller <davem@davemloft.net>
16742
16743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16744 variables with appropriate CPP guards.
16745 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16746 frame pointer, not the stack pointer. Correct layout comments. Fix test
16747 on resulting framesize and the management of the outregs buffer for pltexit.
16748 Preserve floating point return values across _dl_call_pltexit call.
16749 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16750 framesize and the management of the outregs buffer for pltexit.
16751 Preserve floating point return values across _dl_call_pltexit
16752 call.
16753 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16754 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16755 (print_exit): Fix format string for return register value.
16756
9a07f9d0
JM
167572012-03-10 Joseph Myers <joseph@codesourcery.com>
16758
16759 * sunrpc/Makefile (others): Add rpcgen.
16760 ($(objpfx)rpcgen): Remove special build rule and dependency on
16761 libc.
16762 * sunrpc/rpcgen.c: New file.
16763
547b5e30
PE
167642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16765
c524201a
PE
16766 [BZ #13673]
16767 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16768 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16769 * sysdeps/i386/crti.S: Likewise.
16770 * sysdeps/i386/crtn.S: Likewise.
16771 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16772 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16773 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16774 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16775 * sysdeps/sh/crti.S: Likewise.
16776 * sysdeps/sh/crtn.S: Likewise.
16777 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16778
7b6235f2
PE
16779 [BZ #13673]
16780 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16781 with URL.
16782 * locale/programs/locfile-kw.gperf: Likewise.
16783 * locale/programs/charmap-kw.h: Regenerated.
16784 * locale/programs/locfile-kw.h: Likewise.
16785
547b5e30
PE
16786 [BZ #13673]
16787 * intl/plural.y: Replace FSF snail mail address with URL.
16788 * intl/plural.c: Regenerated.
16789
5f0a5dae
RH
167902012-03-09 Richard Henderson <rth@twiddle.net>
16791
16792 * include/math_private.h: Remove file.
16793 * math/math_private.h: Move file ...
16794 * sysdeps/generic/math_private.h: ... here.
16795
b8c03620
RH
16796 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16797 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16798 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16799
4e234f5d 16800 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16801 and <math_private.h>.
16802 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16803 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16804 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16805 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16806 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16807 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16828 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16829 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16832 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16834 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16847 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16848 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16849 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16852 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16853 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16854 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16856 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16857 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16859 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16882 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16889 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16890 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16891 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16892 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16893 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16894 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16896 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16897 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16899 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16901 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16902 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16903 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16904 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16905 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16906 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16907 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16908 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16909 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16910 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16912 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16913 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16914 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16915 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16916 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16917 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16918 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16919 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16920 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16921 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16922 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16923 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16924 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16925 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16926 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16928 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16929 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16930 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16931 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16932 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16933 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16934 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16935 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16936 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16937 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16939 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16940 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16941 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16942 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16943 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16944 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16945 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16946 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16947 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16948 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16949 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16950 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16951 * sysdeps/ieee754/k_standard.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17112 * sysdeps/ieee754/s_lib_version.c: Likewise.
17113 * sysdeps/ieee754/s_matherr.c: Likewise.
17114 * sysdeps/ieee754/s_signgam.c: Likewise.
17115 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17116 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17117 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17118 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17119 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17120 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17121 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17122 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17123 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17124 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17125 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17126 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17127 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17128 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17129 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17130 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17132 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17133 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17135 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17136
1991fa03
JM
171372012-03-09 Joseph Myers <joseph@codesourcery.com>
17138
17139 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17140 * sunrpc/rpc_main.c: Likewise.
17141 * sunrpc/rpc_svcout.c: Likewise.
17142
60d6f5a6
DM
171432012-03-09 David S. Miller <davem@davemloft.net>
17144
17145 * include/math_private.h: New file.
17146
4962050e
JM
171472012-03-09 Joseph Myers <joseph@codesourcery.com>
17148
02a6f887
JM
17149 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17150 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17151 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17152 from <bits/socket_type.h>.
17153 (enum __socket_type): Don't define here.
17154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17156 bits/socket_type.h.
17157
c6e013c1
JM
17158 [BZ #13566]
17159 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17160 checking __USE_GNU.
17161
4962050e
JM
17162 * Makerules ($(inst_includedir)/%.h): New rule.
17163 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17164 (install-others): Remove variable setting.
17165 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17166
38842f45
RH
171672012-03-08 Richard Henderson <rth@twiddle.net>
17168
67bb6da6
RH
17169 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17170 from macro to inline function; merge with the
17171 !__LIBC_INTERNAL_MATH_INLINES version.
17172 (__ieee754_sqrtf): Likewise.
17173
15194b4b
RH
17174 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17175 to inline function.
17176 (__rintf, __floor, __floorf): Likewise.
17177
64e21ede
RH
17178 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17179 macro to inline function.
17180 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17181
38842f45
RH
17182 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17183 not <math/math_private.h>.
17184
c64bf5fe
DM
171852012-03-08 David S. Miller <davem@davemloft.net>
17186
17187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17188 copyright year.
17189 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17190
82d86f28
TS
171912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17192
17193 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17194 normalization.
17195 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17196 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17197
aea5d727
UD
171982012-03-08 Ulrich Drepper <drepper@gmail.com>
17199
17200 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17201 be defined individually, they must be defined as a block. Define
17202 S for printing a string instead of hidint the different by using a
17203 macro for adding the 'l'.
17204 * stdio-common/tst-fphex-wide.c: Adjust.
17205
70bca0a3
MP
172062012-03-07 Marek Polacek <polacek@redhat.com>
17207
17208 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17209
65b81130
MP
172102012-03-08 Marek Polacek <polacek@redhat.com>
17211
17212 [BZ #13806]
17213 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17214 * stdio-common/tst-fphex.c: Define a few macros to make the
17215 test reusable. Use them.
17216 * stdio-common/tst-fphex-wide.c: New file.
17217
07037eeb
JM
172182012-03-08 Joseph Myers <joseph@codesourcery.com>
17219
a7a93d50
JM
17220 [BZ #6911]
17221 * manual/macros.texi (gnusystems): New macro.
17222 (nongnusystems): Likewise.
17223 (gnulinuxhurdsystems): Likewise.
17224 (gnuhurdsystems): Likewise..
17225 (gnulinuxsystems): Likewise.
17226 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17227 variants of the GNU system, not "GNU system".
17228 * manual/conf.texi: Likewise.
17229 * manual/errno.texi: Likewise. Update example of errno macro
17230 expansion.
17231 * manual/filesys.texi: Likewise.
17232 (getumask): Document as specific to GNU/Hurd.
17233 * manual/install.texi: Likewise. Reword some references to
17234 GNU/Linux.
17235 * manual/intro.texi: Likewise.
17236 * manual/io.texi: Likewise.
17237 (File Name Portability): Detail which constraints are inapplicable
17238 to all GNU systems and which are only inapplicable to GNU/Hurd.
17239 * manual/job.texi: Likewise.
17240 * manual/llio.texi: Likewise.
17241 (O_NOCTTY): Document as present on GNU/Linux.
17242 * manual/maint.texi: Likewise.
17243 * manual/memory.texi: Likewise.
17244 * manual/pattern.texi: Likewise.
17245 * manual/pipe.texi: Likewise.
17246 * manual/process.texi: Likewise.
17247 * manual/resource.texi: Likewise.
17248 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17249 child on GNU/Hurd.
17250 * manual/setjmp.texi: Likewise.
17251 * manual/signal.texi: Likewise.
17252 * manual/startup.texi: Likewise.
17253 * manual/stdio.texi: Likewise.
17254 * manual/terminal.texi: Likewise.
17255 (ONLCR): Document as POSIX.
17256 (OXTABS): Document availability on GNU/Linux as XTABS.
17257 (ONOEOT): Document availability separately from other bits.
17258 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17259 * manual/time.texi: Likewise.
17260 * manual/users.texi: Likewise.
17261 * INSTALL: Regenerated.
17262 * sysdeps/gnu/errlist.c: Regenerated.
17263
07037eeb
JM
17264 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17265 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17266 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17267 puts.
17268 * configure: Regenerated.
17269
d1d3431a
JM
172702012-03-07 Joseph Myers <joseph@codesourcery.com>
17271
af6a1e37
JM
17272 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17273 default includes instead of AC_HEADER_CHECK.
17274 * sysdeps/i386/configure: Regenerated.
17275
d1d3431a
JM
17276 [BZ #10716]
17277 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17278 * math/s_cacoshf.c (__cacoshf): Likewise.
17279 * math/s_cacoshl.c (__cacoshl): Likewise.
17280 * math/s_casinh.c (__casinh): Set signs of result from argument.
17281 * math/s_casinhf.c (__casinhf): Likewise.
17282 * math/s_casinhl.c (__casinhl): Likewise.
17283 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17284 (casinh_test): Add more tests.
17285 * sysdeps/i386/fpu/libm-test-ulps: Update.
17286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17287
482ff4da
UD
172882012-03-07 Ulrich Drepper <drepper@gmail.com>
17289
872fda05
UD
17290 * po/zh_TW.po: Update from translation team.
17291
a4300c7a
UD
17292 * login/Makefile (distribute): Remove variable.
17293 * catgets/Makefile: Likewise.
17294 * mach/Makefile: Likewise.
17295 * malloc/Makefile: Likewise.
17296 * misc/Makefile: Likewise.
17297 * iconv/Makefile: Likewise.
17298 * nscd/Makefile: Likewise.
17299 * hurd/Makefile: Likewise.
17300 * manual/Makefile: Likewise.
17301 * locale/Makefile: Likewise.
17302 * intl/Makefile: Likewise.
17303 * conform/Makefile: Likewise.
17304 * nss/Makefile: Likewise.
17305 * time/Makefile: Likewise.
17306 * soft-fp/Makefile: Likewise.
17307 * dirent/Makefile: Likewise.
17308 * gmon/Makefile: Likewise.
17309 * po/Makefile: Likewise.
17310 * rt/Makefile: Likewise.
17311 * socket/Makefile: Likewise.
17312 * math/Makefile: Likewise.
17313 * signal/Makefile: Likewise.
17314 * debug/Makefile: Likewise.
17315 * elf/Makefile: Likewise.
17316 * timezone/Makefile: Likewise.
17317 * stdlib/Makefile: Likewise.
17318 * iconvdata/Makefile: Likewise.
17319 * sunrpc/Makefile: Likewise.
17320 * io/Makefile: Likewise.
17321 * argp/Makefile: Likewise.
17322 * inet/Makefile: Likewise.
17323 * hesiod/Makefile: Likewise.
17324 * grp/Makefile: Likewise.
17325 * csu/Makefile: Likewise.
17326 * wctype/Makefile: Likewise.
17327 * crypt/Makefile: Likewise.
17328 * libio/Makefile: Likewise.
17329 * string/Makefile: Likewise.
17330 * nis/Makefile: Likewise.
17331 * resolv/Makefile: Likewise.
17332 * stdio-common/Makefile: Likewise.
17333 * wcsmbs/Makefile: Likewise.
17334 * dlfcn/Makefile: Likewise.
17335 * posix/Makefile: Likewise.
17336
3b7c4e74 17337 [BZ #6959]
482ff4da
UD
17338 * timezone/Makefile: Don't install timezone files, just the programs
17339 and scripts.
17340
f72ed77d
UD
173412012-03-06 Ulrich Drepper <drepper@gmail.com>
17342
a000466f
UD
17343 * nss/databases.def: Add missing gshadow entry.
17344
f72ed77d
UD
17345 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17346
a53b7a4e
MP
173472012-03-06 Marek Polacek <polacek@redhat.com>
17348
17349 [BZ #13726]
17350 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17351 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17352 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17353 * stdio-common/tst-long-dbl-fphex.c: New file.
17354
e9258400
DM
173552012-03-06 David S. Miller <davem@davemloft.net>
17356
17357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17358 (set_obp_int): New function.
17359 (get_obp_int): New function.
17360 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17362 Avoid unused variable warnings on 'val' and use builtin_expect.
17363 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17364 __builtin_expect.
e9258400
DM
17365 (INLINE_CLONE_SYSCALL): Likewise.
17366
3bd2c723
DM
173672012-03-05 David S. Miller <davem@davemloft.net>
17368
17369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17370
bbb78d03
AS
173712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17372
884c5db4
AS
17373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17374
bbb78d03
AS
17375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17376 only for |x| >= 40.
17377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17378
1c9f702a 173792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17380
17381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17382 Replace gettimeofday with __vdso_gettimeofday.
17383
7be16f82
RM
17384 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17385 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17386 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17387
17388 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17389 time with __vdso_time.
17390
ed58a00f
JM
173912012-03-05 Joseph Myers <joseph@codesourcery.com>
17392
17393 * manual/lang.texi (size_t): Note types to which size_t may be
17394 equivalent with the GNU C Library, but do not describe when
17395 differences between them are significant.
17396
30ee4ced
AJ
173972012-03-05 Andreas Jaeger <aj@suse.de>
17398
17399 * sysdeps/i386/fpu/libm-test-ulps: Update.
17400
b7cd39e8
JM
174012012-03-05 Joseph Myers <joseph@codesourcery.com>
17402
17403 [BZ #3976]
17404 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17405 (__ieee754_pow): Save and restore rounding mode and use
17406 round-to-nearest for main computations.
17407 * math/libm-test.inc (pow_test_tonearest): New function.
17408 (pow_test_towardzero): Likewise.
17409 (pow_test_downward): Likewise.
17410 (pow_test_upward): Likewise.
17411 (main): Call the new functions.
17412 * sysdeps/i386/fpu/libm-test-ulps: Update.
17413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17414
17415 [BZ #3976]
17416 * math/libm-test.inc (cosh_test_tonearest): New function.
17417 (cosh_test_towardzero): Likewise.
17418 (cosh_test_downward): Likewise.
17419 (cosh_test_upward): Likewise.
17420 (sinh_test_tonearest): Likewise.
17421 (sinh_test_towardzero): Likewise.
17422 (sinh_test_downward): Likewise.
17423 (sinh_test_upward): Likewise.
17424 (main): Call the new functions.
17425 * sysdeps/i386/fpu/libm-test-ulps: Update.
17426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427
6c6a98c9
TV
174282012-03-05 Tom de Vries <tom@codesourcery.com>
17429
17430 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17431 default stack guard is set in last bytes.
17432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17433
21bb2d2e 174342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17435
21bb2d2e 17436 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17437
21bb2d2e
AJ
17438 [BZ #13656]
17439 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17440 possibly allocate from heap instead of stack.
17441 * stdio-common/bug-vfprintf-nargs.c: New file.
17442 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17443
c6922934
AS
174442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17445
17446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17447
bc957d53
MP
174482012-03-03 Marek Polacek <polacek@redhat.com>
17449
17450 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17451 * math/math_private.h: Likewise.
17452 * stdlib/tst-strtod.c: Likewise.
17453 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17454 * sysdeps/x86_64/bits/atomic.h: Likewise.
17455
6358490d
DM
174562012-03-02 David S. Miller <davem@davemloft.net>
17457
17458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17462 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17463 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17464 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17465 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17466
01ae168d
RM
174672012-03-02 Roland McGrath <roland@hack.frob.com>
17468
d9a17c07
RM
17469 [BZ #13792]
17470 * manual/examples/README: New file, says the example source files
17471 can be used under GPL>=2.
17472 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17473 line containing just "*/".
17474 * manual/examples/add.c: Add copyright header (GPL>=2).
17475 * manual/examples/argp-ex1.c: Likewise.
17476 * manual/examples/argp-ex2.c: Likewise.
17477 * manual/examples/argp-ex3.c: Likewise.
17478 * manual/examples/argp-ex4.c: Likewise.
17479 * manual/examples/atexit.c: Likewise.
17480 * manual/examples/db.c: Likewise.
17481 * manual/examples/dir.c: Likewise.
17482 * manual/examples/dir2.c: Likewise.
17483 * manual/examples/execinfo.c: Likewise.
17484 * manual/examples/filecli.c: Likewise.
17485 * manual/examples/filesrv.c: Likewise.
17486 * manual/examples/fmtmsgexpl.c: Likewise.
17487 * manual/examples/genpass.c: Likewise.
17488 * manual/examples/inetcli.c: Likewise.
17489 * manual/examples/inetsrv.c: Likewise.
17490 * manual/examples/isockad.c: Likewise.
17491 * manual/examples/longopt.c: Likewise.
17492 * manual/examples/memopen.c: Likewise.
17493 * manual/examples/memstrm.c: Likewise.
17494 * manual/examples/mkfsock.c: Likewise.
17495 * manual/examples/mkisock.c: Likewise.
17496 * manual/examples/mygetpass.c: Likewise.
17497 * manual/examples/pipe.c: Likewise.
17498 * manual/examples/popen.c: Likewise.
17499 * manual/examples/rprintf.c: Likewise.
17500 * manual/examples/search.c: Likewise.
17501 * manual/examples/select.c: Likewise.
17502 * manual/examples/setjmp.c: Likewise.
17503 * manual/examples/sigh1.c: Likewise.
17504 * manual/examples/sigusr.c: Likewise.
17505 * manual/examples/stpcpy.c: Likewise.
17506 * manual/examples/strdupa.c: Likewise.
17507 * manual/examples/strftim.c: Likewise.
17508 * manual/examples/strncat.c: Likewise.
17509 * manual/examples/subopt.c: Likewise.
17510 * manual/examples/swapcontext.c: Likewise.
17511 * manual/examples/termios.c: Likewise.
17512 * manual/examples/testopt.c: Likewise.
17513 * manual/examples/testpass.c: Likewise.
17514 * manual/examples/timeval_subtract.c: Likewise.
17515
01ae168d
RM
17516 [BZ #13792]
17517 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17518 function to ...
17519 * manual/timeval_subtract.c.texi: ... here, new file.
17520
49efa33d
DM
175212012-03-02 David S. Miller <davem@davemloft.net>
17522
17523 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17524
28afd92d
JM
175252012-03-02 Joseph Myers <joseph@codesourcery.com>
17526
804360ed
JM
17527 [BZ #3976]
17528 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17529 (__sin): Save and restore rounding mode and use round-to-nearest
17530 for all computations.
17531 (__cos): Save and restore rounding mode and use round-to-nearest
17532 for all computations.
17533 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17534 <fenv.h>.
17535 (tan): Save and restore rounding mode and use round-to-nearest for
17536 all computations.
17537 * math/libm-test.inc (cos_test_tonearest): New function.
17538 (cos_test_towardzero): Likewise.
17539 (cos_test_downward): Likewise.
17540 (cos_test_upward): Likewise.
17541 (sin_test_tonearest): Likewise.
17542 (sin_test_towardzero): Likewise.
17543 (sin_test_downward): Likewise.
17544 (sin_test_upward): Likewise.
17545 (tan_test_tonearest): Likewise.
17546 (tan_test_towardzero): Likewise.
17547 (tan_test_downward): Likewise.
17548 (tan_test_upward): Likewise.
17549 (main): Call the new functions.
17550 * sysdeps/i386/fpu/libm-test-ulps: Update.
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17552
a6d06d7b
JM
17553 [BZ #10135]
17554 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17555 small n, then large n, before computing and testing k+n.
17556 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17557 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17558 Likewise.
17559 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17560 Likewise.
17561 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17562 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17566 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17567 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17568 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17569 * math/libm-test.inc (scalbn_test): Add more tests.
17570 (scalbln_test): Likewise.
17571
07e12bb3
JM
17572 * manual/filesys.texi (mode_t): Describe constraints on size and
17573 signedness, not exact equivalence to a particular type.
17574 (ino_t): Likewise.
17575 (ino64_t): Likewise.
17576 (dev_t): Likewise.
17577 (nlink_t): Likewise.
17578 (blkcnt_t): Likewise.
17579 (blkcnt64_t): Likewise.
17580 * manual/llio.texi (off_t): Likewise.
17581
28afd92d
JM
17582 [BZ #3976]
17583 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17584 (__ieee754_exp): Save and restore rounding mode and use
17585 round-to-nearest for all computations.
17586 * math/libm-test.inc (exp_test_tonearest): New function.
17587 (exp_test_towardzero): Likewise.
17588 (exp_test_downward): Likewise.
17589 (exp_test_upward): Likewise.
17590 (main): Call the new functions.
17591 * sysdeps/i386/fpu/libm-test-ulps: Update.
17592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17593
b1eeb65d
CD
175942012-03-01 Chris Demetriou <cgd@google.com>
17595
17596 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17597 have predictable order.
17598
53362a4b
DM
175992012-03-01 David S. Miller <davem@davemloft.net>
17600
3c969083
DM
17601 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17602
759707de
DM
17603 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17604 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17605 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17606 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17607
dfdb8ff2
DM
17608 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17609 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17610 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17612 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17613 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17614 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17615 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17616 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17617
ead89f96
DM
17618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17619
7f66bd07
DM
17620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17621 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17622 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17623
53362a4b
DM
17624 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17625 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17626 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17627 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17628 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17631 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17632 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17633 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17634 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17635 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17637 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17638 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17640 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17641 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17642 * sysdeps/sparc/elf/configure: Regenerated.
17643
7b1902cb
JM
176442012-03-01 Joseph Myers <joseph@codesourcery.com>
17645
bec039bc
JM
17646 * configure.in (AS, LD): Require binutils 2.20 or later.
17647 * configure: Regenerated.
17648 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17649 as required minimum version.
17650 * INSTALL: Regenerated.
17651
7b1902cb
JM
17652 [BZ #2541]
17653 [BZ #4108]
17654 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17655 before squaring exponent.
17656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17657 bottom long double and 27 bits of top long double before squaring
17658 exponent.
17659 * math/libm-test.inc (erfc_test): Add more tests.
17660 * sysdeps/i386/fpu/libm-test-ulps: Update.
17661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663
f775c276
KT
176642012-03-01 Kai Tietz <ktietz@redhat.com>
17665
17666 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17667 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17668 containing bit-fields.
17669 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17670 * soft-fp/single.h (_FP_UNION_S): Likewise.
17671 * soft-fp/double.h (_FP_UNION_D): Likewise.
17672
5b8a4d4a
JM
176732012-02-29 Joseph Myers <joseph@codesourcery.com>
17674
0bab47b6
JM
17675 [BZ #13786]
17676 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17677 not include ../strcmp.S.
17678 [USE_AS_STRNCASECMP_L]: Likewise.
17679 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17680 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17681 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17682 (__strncasecmp_l_ia32): Define as alias to
17683 __strncasecmp_l_nonascii.
17684
0fcad3e2
JM
17685 [BZ #5794]
17686 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17687 * sysdeps/i386/fpu/libm-test-ulps: Update.
17688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17689
5b8a4d4a
JM
17690 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17692
8fdceb2e
JL
176932012-02-29 Jeff Law <law@redhat.com>
17694
17695 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17696 out of bounds read.
17697
1f393a11
MP
176982012-02-29 Marek Polacek <polacek@redhat.com>
17699
17700 [BZ #13706]
17701 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17702 * elf/Makefile: Add rules to run tst-unused-dep.out.
17703
8847f037
DM
177042012-02-28 David S. Miller <davem@davemloft.net>
17705
17706 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17707 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17712
169d7f11
JM
177132012-02-29 Joseph Myers <joseph@codesourcery.com>
17714
17715 * math/libm-test.inc (llround_test): Move one test from
17716 lround_test. Use TEST_f_L in moved test.
17717 (lround_test): Move misplaced test to llround_test. Add testcase
17718 from bug 2561.
17719
39adf059
UD
177202012-02-28 Ulrich Drepper <drepper@gmail.com>
17721
17722 * sysdeps/x86_64/fpu/e_expf.S: New file.
17723 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17724
71b5d1c5
SB
177252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17726
17727 [BZ #13637]
17728 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17729 of remain_len that may cause incomplete multi-byte character and
17730 false match.
17731 * posix/bug-regex33.c: New file.
17732 * posix/Makefile (tests): Add bug-regex33.
17733
1f77f049
JM
177342012-02-28 Joseph Myers <joseph@codesourcery.com>
17735
17736 * manual/macros.texi: New file.
17737 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17738 * manual/libc.texinfo: Include macros.texi.
17739 * manual/creatute.texi: Likewise.
17740 * manual/install.texi: Likewise.
17741 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17742 @glibcadj{} in references to the GNU C Library.
17743 * manual/charset.texi: Likewise.
17744 * manual/conf.texi: Likewise.
17745 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17746 when not using those macros.
17747 * manual/creature.texi: Likewise.
17748 * manual/crypt.texi: Likewise.
17749 * manual/errno.texi: Likewise.
17750 * manual/filesys.texi: Likewise.
17751 * manual/header.texi: Likewise.
17752 * manual/install.texi: Likewise.
17753 * manual/intro.texi: Likewise.
17754 * manual/io.texi: Likewise.
17755 * manual/job.texi: Likewise.
17756 * manual/lang.texi: Likewise.
17757 * manual/libc.texiinfo: Likewise.
17758 * manual/llio.texi: Likewise.
17759 * manual/locale.texi: Likewise.
17760 * manual/maint.texi: Likewise.
17761 * manual/math.texi: Likewise.
17762 * manual/memory.texi: Likewise.
17763 * manual/message.texi: Likewise.
17764 * manual/nss.texi: Likewise.
17765 * manual/pattern.texi: Likewise.
17766 * manual/process.texi: Likewise.
17767 * manual/resource.texi: Likewise.
17768 * manual/search.texi: Likewise.
17769 * manual/setjmp.texi: Likewise.
17770 * manual/signal.texi: Likewise.
17771 * manual/socket.texi: Likewise.
17772 * manual/startup.texi: Likewise.
17773 * manual/stdio.texi: Likewise.
17774 * manual/string.texi: Likewise.
17775 * manual/sysinfo.texi: Likewise.
17776 * manual/syslog.texi: Likewise.
17777 * manual/terminal.texi: Likewise.
17778 * manual/time.texi: Likewise.
17779 * manual/users.texi: Likewise.
17780 * INSTALL: Regenerated.
17781 * NOTES: Regenerated.
d40c5d54 17782 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17783
450bf206
AS
177842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17785
17786 * include/dirent.h: Include <dirstream.h> before
17787 <dirent/dirent.h>.
17788
741a235b
DM
177892012-02-28 David S. Miller <davem@davemloft.net>
17790
17791 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17792 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17795
d6b5aa58
DM
177962012-02-27 David S. Miller <davem@davemloft.net>
17797
1aff59a3
DM
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17800 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17801 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17802
d6b5aa58
DM
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17804 frame pointer instead of stack pointer relative arg slot.
17805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17808
433f48bf
CD
178092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17810
17811 [BZ #3992]
17812 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17813
d674b76d
DM
178142012-02-27 David S. Miller <davem@davemloft.net>
17815
17816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17820 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17821 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17822 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17823 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17824
0e7727f7
JM
178252012-02-27 Joseph Myers <joseph@codesourcery.com>
17826
17827 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17828 later. Allow versions 5-9.
43be4ca2 17829 * configure: Regenerated.
0e7727f7
JM
17830 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17831 required minimum version and 4.6 as recommended version. Do not
17832 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17833 * INSTALL: Regenerated.
0e7727f7 17834
a78bc654
DM
178352012-02-27 David S. Miller <davem@davemloft.net>
17836
428d5830
DM
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17841 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17842 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17843 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17844 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17845
a78bc654
DM
17846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17847 manipulate bits before adding and subtracting TWO112[sx].
17848 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17849
4579f81c
RM
178502012-02-27 Roland McGrath <roland@hack.frob.com>
17851
36c8acb4
RM
17852 [BZ #13775]
17853 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17854 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17855 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17856 being in POSIX, because they are in 1003.1-2008.
17857
84ad622b
RM
17858 * rt/tst-aio.c: Include <fcntl.h>.
17859 * rt/tst-aio7.c: Likewise.
17860 * rt/tst-aio64.c: Likewise.
17861
4579f81c
RM
17862 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17863
abd923db
JM
178642012-02-27 Joseph Myers <joseph@codesourcery.com>
17865
17866 * manual/install.texi (--with-headers): Describe headers as
17867 interface headers, not private headers.
17868 (Specific advice for GNU/Linux systems): Describe use of headers
17869 from "make headers_install", not private headers from older
17870 kernels.
43be4ca2 17871 * INSTALL: Regenerated.
abd923db
JM
17872 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17873 Change to 2.6.19.
17874 * sysdeps/unix/sysv/linux/configure: Regenerated.
17875
6664049b
JM
17876 * manual/llio.texi (fclean): Remove documentation.
17877
bb8b6697
JM
17878 * manual/Makefile (libc-texi-generated): New variable. Include
17879 version.texi.
17880 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17881 $(libc-texi-generated), not duplicated list of files.
17882 (version.texi, stamp-version): New rules.
17883 (realclean): Remove $(libc-texi-generated), not individual files
17884 from that list. Do not remove dir-add.texinfo.
17885 * manual/libc.texinfo: Comment out uses of edition numbers and
17886 references to printed manual. Remove last-updated dates.
17887 (EDITION): Comment out.
17888 (ISBN): Likewise.
17889 (VERSION, UPDATED): Remove.
17890 (version.texi): Include.
17891
12e5c3b9
AS
178922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17893
17894 * sysdeps/posix/spawni.c: Include <signal.h>.
17895 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17896 * sysdeps/pthread/aio_fsync.c: Likewise.
17897
4efeffc1 178982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17899
ba63ba08
UD
17900 * conform/Makefile (tests): Run only when not cross-compiling and
17901 when fast-check is not defined.
17902
d94a4670
UD
17903 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17904 * conform/data/limits.h-data: Fixes for POSIX2008.
17905 * conform/run-conformtest.sh: Run all tests.
17906 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17907 headers.
17908 * include/bits/dlfcn.h: Likewise.
17909 * include/langinfo.h: Likewise.
17910 * include/monetary.h: Likewise.
17911 * include/sys/poll.h: Likewise.
17912
17913 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17914 for __USE_GNU.
17915 * posix/spawn.h: Define __need_sigset_t.
17916 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17917 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17918 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17919 to get sigevent_t only.
17920 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17921 only for __USE_GNU.
17922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17923 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17924 process_vm_writev only for __USE_GNU.
17925 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17926
17927 * conform/Makefile: For now ignore errors from run-conformtest.
17928 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17929 POSIX to avoid namespace pollution. Don't prepend headers.
17930 * conform/data/aio.h-data: Fixes for POSIX testing.
17931 * conform/data/fcntl.h-data: Likewise.
17932 * conform/data/glob.h-data: Likewise.
17933 * conform/data/grp.h-data: Likewise.
17934 * conform/data/pthread.h-data: Likewise.
17935 * conform/data/pwd.h-data: Likewise.
17936 * conform/data/signal.h-data: Likewise.
17937 * conform/data/spawn.h-data: Likewise.
17938 * conform/data/stdio.h-data: Likewise.
17939 * conform/data/stdlib.h-data: Likewise.
17940 * conform/data/stropts.h-data: Likewise.
17941 * conform/data/sys/mman.h-data: Likewise.
17942 * conform/data/sys/stat.h-data: Likewise.
17943 * conform/data/sys/types.h-data: Likewise.
17944 * conform/data/sys/wait.h-data: Likewise.
17945 * conform/data/time.h-data: Likewise.
17946 * conform/data/unistd.h-data: Likewise.
17947 * conform/data/utime.h-data: Likewise.
17948
17949 * io/sys/stat.h: fchmod was always in POSIX.
17950 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17951 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17952 * rt/aio.h: Define __need_timespec before including <time.h>.
17953 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17954 struct. Add forward declaration of pthread_attr_t and use it in
17955 sigevent.
17956 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17958 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17959 always remove CLK_TCK definition.
17960
c20105c3
AS
179612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17962
17963 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17964
7a270350
UD
179652012-02-25 Ulrich Drepper <drepper@gmail.com>
17966
31341567
UD
17967 * conform/run-conformtest.sh: New file.
17968 * conform/Makefile: Run run-conformtest for tests.
17969 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17970 support.
17971
17972 * conform/data/uchar.h-data: New file.
17973 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17974 * conform/data/arpa/inet.h-data: Likewise.
17975 * conform/data/assert.h-data: Likewise.
17976 * conform/data/complex.h-data: Likewise.
17977 * conform/data/cpio.h-data: Likewise.
17978 * conform/data/ctype.h-data: Likewise.
17979 * conform/data/dirent.h-data: Likewise.
17980 * conform/data/dlfcn.h-data: Likewise.
17981 * conform/data/errno.h-data: Likewise.
17982 * conform/data/fcntl.h-data: Likewise.
17983 * conform/data/float.h-data: Likewise.
17984 * conform/data/fmtmsg.h-data: Likewise.
17985 * conform/data/fnmatch.h-data: Likewise.
17986 * conform/data/ftw.h-data: Likewise.
17987 * conform/data/glob.h-data: Likewise.
17988 * conform/data/grp.h-data: Likewise.
17989 * conform/data/iconv.h-data: Likewise.
17990 * conform/data/inttypes.h-data: Likewise.
17991 * conform/data/langinfo.h-data: Likewise.
17992 * conform/data/libgen.h-data: Likewise.
17993 * conform/data/limits.h-data: Likewise.
17994 * conform/data/locale.h-data: Likewise.
17995 * conform/data/math.h-data: Likewise.
17996 * conform/data/monetary.h-data: Likewise.
17997 * conform/data/mqueue.h-data: Likewise.
17998 * conform/data/ndbm.h-data: Likewise.
17999 * conform/data/net/if.h-data: Likewise.
18000 * conform/data/netdb.h-data: Likewise.
18001 * conform/data/netinet/in.h-data: Likewise.
18002 * conform/data/nl_types.h-data: Likewise.
18003 * conform/data/poll.h-data: Likewise.
18004 * conform/data/pthread.h-data: Likewise.
18005 * conform/data/pwd.h-data: Likewise.
18006 * conform/data/regex.h-data: Likewise.
18007 * conform/data/sched.h-data: Likewise.
18008 * conform/data/search.h-data: Likewise.
18009 * conform/data/semaphore.h-data: Likewise.
18010 * conform/data/setjmp.h-data: Likewise.
18011 * conform/data/signal.h-data: Likewise.
18012 * conform/data/spawn.h-data: Likewise.
18013 * conform/data/stdarg.h-data: Likewise.
18014 * conform/data/stdio.h-data: Likewise.
18015 * conform/data/stdlib.h-data: Likewise.
18016 * conform/data/string.h-data: Likewise.
18017 * conform/data/strings.h-data: Likewise.
18018 * conform/data/stropts.h-data: Likewise.
18019 * conform/data/sys/ipc.h-data: Likewise.
18020 * conform/data/sys/mman.h-data: Likewise.
18021 * conform/data/sys/msg.h-data: Likewise.
18022 * conform/data/sys/resource.h-data: Likewise.
18023 * conform/data/sys/select.h-data: Likewise.
18024 * conform/data/sys/sem.h-data: Likewise.
18025 * conform/data/sys/shm.h-data: Likewise.
18026 * conform/data/sys/socket.h-data: Likewise.
18027 * conform/data/sys/stat.h-data: Likewise.
18028 * conform/data/sys/statvfs.h-data: Likewise.
18029 * conform/data/sys/time.h-data: Likewise.
18030 * conform/data/sys/timeb.h-data: Likewise.
18031 * conform/data/sys/times.h-data: Likewise.
18032 * conform/data/sys/types.h-data: Likewise.
18033 * conform/data/sys/uio.h-data: Likewise.
18034 * conform/data/sys/un.h-data: Likewise.
18035 * conform/data/sys/utsname.h-data: Likewise.
18036 * conform/data/sys/wait.h-data: Likewise.
18037 * conform/data/syslog.h-data: Likewise.
18038 * conform/data/tar.h-data: Likewise.
18039 * conform/data/termios.h-data: Likewise.
18040 * conform/data/utime.h-data: Likewise.
18041 * conform/data/utmpx.h-data: Likewise.
18042 * conform/data/varargs.h-data: Likewise.
18043 * conform/data/wchar.h-data: Likewise.
18044 * conform/data/wctype.h-data: Likewise.
18045 * conform/data/wordexp.h-data: Likewise.
18046
18047 * include/stropts.h: New file.
18048 * include/uchar.h: New file.
18049 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18050 * include/assert.h: Likewise.
18051 * include/ctype.h: Likewise.
18052 * include/dirent.h: Likewise.
18053 * include/dlfcn.h: Likewise.
18054 * include/fcntl.h: Likewise.
18055 * include/fnmatch.h: Likewise.
18056 * include/glob.h: Likewise.
18057 * include/grp.h: Likewise.
18058 * include/libio.h: Likewise.
18059 * include/locale.h: Likewise.
18060 * include/math.h: Likewise.
18061 * include/net/if.h: Likewise.
18062 * include/netdb.h: Likewise.
18063 * include/netinet/in.h: Likewise.
18064 * include/pthread.h: Likewise.
18065 * include/pwd.h: Likewise.
18066 * include/regex.h: Likewise.
18067 * include/sched.h: Likewise.
18068 * include/search.h: Likewise.
18069 * include/setjmp.h: Likewise.
18070 * include/signal.h: Likewise.
18071 * include/stdio.h: Likewise.
18072 * include/stdlib.h: Likewise.
18073 * include/string.h: Likewise.
18074 * include/sys/cdefs.h: Likewise.
18075 * include/sys/mman.h: Likewise.
18076 * include/sys/msg.h: Likewise.
18077 * include/sys/resource.h: Likewise.
18078 * include/sys/select.h: Likewise.
18079 * include/sys/socket.h: Likewise.
18080 * include/sys/stat.h: Likewise.
18081 * include/sys/statvfs.h: Likewise.
18082 * include/sys/time.h: Likewise.
18083 * include/sys/times.h: Likewise.
18084 * include/sys/uio.h: Likewise.
18085 * include/sys/utsname.h: Likewise.
18086 * include/sys/wait.h: Likewise.
18087 * include/termios.h: Likewise.
18088 * include/time.h: Likewise.
18089 * include/ulimit.h: Likewise.
18090 * include/unistd.h: Likewise.
18091 * include/utime.h: Likewise.
18092 * include/wchar.h: Likewise.
18093 * include/wctype.h: Likewise.
18094 * include/wordexp.h: Likewise.
18095
18096 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18097
7a270350
UD
18098 * time/time.h: TIME_UTC must be a macro.
18099 Make timespec_get available for ISO C11 only as well.
18100
7724defc
UD
181012012-02-24 Ulrich Drepper <drepper@gmail.com>
18102
18103 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18104 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18105
6b1d1d46
JM
181062012-02-24 Joseph Myers <joseph@codesourcery.com>
18107
18108 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18109
0f8bbd69
JM
181102012-02-24 Joseph Myers <joseph@codesourcery.com>
18111
18112 * manual/texinfo.tex: Update to version 2012-01-19.16.
18113
66ab80bc
JM
181142012-02-24 Joseph Myers <joseph@codesourcery.com>
18115
18116 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18117
74981cc5
RM
181182012-02-24 Roland McGrath <roland@hack.frob.com>
18119
ee968201
RM
18120 [BZ #13738]
18121 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18122 * manual/fdl-1.3.texi: New file.
18123 * manual/fdl-1.1.texi: File removed.
18124
74981cc5
RM
18125 [BZ #13738]
18126 * manual/libc.texinfo (FDL_VERSION): New @set.
18127 Use it for mention of FDL in cover text.
18128 (Documentation License): Use it in @include file name.
18129
7bb764bc
JM
181302012-02-22 Joseph Myers <joseph@codesourcery.com>
18131 Roland McGrath <roland@hack.frob.com>
18132
18133 [BZ #5461]
18134 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18135 not LONG_LONG_MAX and LONG_LONG_MIN.
18136 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18137 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18138 name.
18139 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18140
6cbeae47
JM
181412012-02-22 Joseph Myers <joseph@codesourcery.com>
18142
18143 [BZ #2547]
18144 [BZ #11365]
18145 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18146 manipulate bits before adding and subtracting TWO23[sx].
18147 * math/libm-test.inc (nearbyint_test): Add more tests.
18148
fe45ce09
JM
181492012-02-22 Joseph Myers <joseph@codesourcery.com>
18150
18151 [BZ #2548]
18152 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18153 bits before adding and subtracting TWO23[sx].
18154 * math/libm-test.inc (rint_test): Add more tests.
18155 (rint_test_tonearest): Likewise.
18156 (rint_test_towardzero): Likewise.
18157 (rint_test_downward): Likewise.
18158 (rint_test_upward: Likewise.
18159
ff3b3d82
JM
181602012-02-22 Joseph Myers <joseph@codesourcery.com>
18161
18162 [BZ #10110]
18163 * include/stdc-predef.h: New file. Extracted from features.h.
18164 * include/features.h: Include stdc-predef.h.
18165 * Makefile (headers): Add stdc-predef.h.
18166 * CONFORMANCE (Compiler limitations): Update.
18167
ef0aab35
JM
181682012-02-22 Joseph Myers <joseph@codesourcery.com>
18169
18170 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18171
58639409
DM
181722012-02-21 David S. Miller <davem@davemloft.net>
18173
18174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18175 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18176
c0e70b25
DM
181772012-02-20 David S. Miller <davem@davemloft.net>
18178
18179 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18180 using a normal save/restore sequence, rather than allocating a
18181 dummy stack frame just to store a frame pointer and restore.
18182 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18183
fb06851d
JM
181842012-02-21 Joseph Myers <joseph@codesourcery.com>
18185
18186 * manual/install.texi: Fix stray word in line-wrapped comment.
18187
7a8b71c3
DM
181882012-02-20 David S. Miller <davem@davemloft.net>
18189
d510c123
DM
18190 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18191 both binutils and gcc support GOTDATA.
18192
0722d7c2
DM
18193 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18194 "rd %pc" in the PIC register setup sequences.
18195
3d2b3019
DM
18196 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18197 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18198 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18199 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18200 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18203 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18205 (SYSCALL_ERROR_HANDLER): Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18207 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18209 (SYSCALL_ERROR_HANDLER): Likewise.
18210
c80098a9
DM
18211 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18212 (HAVE_GCC_GOTDATA): New.
18213 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18214 relocation support in both binutils and gcc.
18215 * sysdeps/sparc/elf/configure: Regenerate.
18216
3a2545a0
DM
18217 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18218 * sysdeps/sparc/sparc32/elf/configure: Delete.
18219 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18220 * sysdeps/sparc/sparc64/elf/configure: Delete.
18221 * sysdeps/sparc/elf/configure.in: New file.
18222 * sysdeps/sparc/elf/configure: Generate.
18223
7a8b71c3
DM
18224 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18225 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18226 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18227 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18228 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18229
f1e86fca
JM
182302012-02-21 Joseph Myers <joseph@codesourcery.com>
18231
18232 * manual/install.texi: Do not mention specific glibc version
18233 numbers.
18234 * manual/libc.texinfo (VERSION, UPDATED): Update.
18235 (@copying): Use @copyright{} and range of years.
18236
0e7dfaef
JM
182372012-02-21 Joseph Myers <joseph@codesourcery.com>
18238
18239 [BZ #13695]
18240 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18241 [crti.S not in sysdirs] (generated): Do not append.
18242 [crti.S not in sysdirs] (omit-deps): Likewise.
18243 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18244 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18245 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18246 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18247 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18248 Likewise.
18249 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18250 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18251 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18252 * csu/defs.awk: Remove file.
18253 * sysdeps/generic/initfini.c: Likewise.
18254 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18255 variable.
18256 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18257 Likewise.
18258
599af3ca
JM
182592012-02-20 Joseph Myers <joseph@codesourcery.com>
18260
18261 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18262 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18266 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18267 <bits/epoll.h>.
18268 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18269 (__EPOLL_PACKED): Define to empty if not defined by
18270 <bits/epoll.h>.
18271 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18273 bits/epoll.h.
18274
0e499750
JM
182752012-02-20 Joseph Myers <joseph@codesourcery.com>
18276
18277 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18278 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18279 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18280 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18281 <bits/timerfd.h>.
18282 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18284 bits/timerfd.h.
18285
5ad91f6e
JM
182862012-02-20 Joseph Myers <joseph@codesourcery.com>
18287
18288 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18289 in C locale.
18290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18292 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18294
06b99b02
AJ
182952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18296
18297 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18298 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18299
7638c0fd
AS
183002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18301
18302 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18303 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18304 defined.
18305 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18306 Likewise.
18307 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18308 entry for 2.16.
18309
92221550
AJ
183102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18311
18312 * math/w_acos.c: Use non-signaling floating-point comparisons.
18313 * math/w_acosf.c: Likewise.
18314 * math/w_acosh.c: Likewise.
18315 * math/w_acoshf.c: Likewise.
18316 * math/w_acoshl.c: Likewise.
18317 * math/w_acosl.c: Likewise.
18318 * math/w_asin.c: Likewise.
18319 * math/w_asinf.c: Likewise.
18320 * math/w_asinl.c: Likewise.
18321 * math/w_atanh.c: Likewise.
18322 * math/w_atanhf.c: Likewise.
18323 * math/w_atanhl.c: Likewise.
18324 * math/w_exp2.c: Likewise.
18325 * math/w_exp2f.c: Likewise.
18326 * math/w_exp2l.c: Likewise.
18327 * math/w_j0.c: Likewise.
18328 * math/w_j0f.c: Likewise.
18329 * math/w_j0l.c: Likewise.
18330 * math/w_j1.c: Likewise.
18331 * math/w_j1f.c: Likewise.
18332 * math/w_j1l.c: Likewise.
18333 * math/w_jn.c: Likewise.
18334 * math/w_jnf.c: Likewise.
18335 * math/w_log.c: Likewise.
18336 * math/w_log10.c: Likewise.
18337 * math/w_log10f.c: Likewise.
18338 * math/w_log10l.c: Likewise.
18339 * math/w_log2.c: Likewise.
18340 * math/w_log2f.c: Likewise.
18341 * math/w_log2l.c: Likewise.
18342 * math/w_logf.c: Likewise.
18343 * math/w_logl.c: Likewise.
18344 * math/w_sqrt.c: Likewise.
18345 * math/w_sqrtf.c: Likewise.
18346 * math/w_sqrtl.c: Likewise.
18347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18350 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18351 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18352
ebaf36eb
JM
183532012-02-19 Joseph Myers <joseph@codesourcery.com>
18354
18355 [BZ #9739]
18356 * manual/string.texi (strnlen): Use correct parameter name in
18357 equivalent expression.
18358
71c254a6
JM
183592012-02-19 Joseph Myers <joseph@codesourcery.com>
18360
18361 [BZ #11174]
18362 * manual/users.texi (seteuid): Consistently use neweuid for
18363 argument name.
18364
16d2c631
JM
183652012-02-19 Joseph Myers <joseph@codesourcery.com>
18366
18367 [BZ #13704]
18368 * manual/nss.texi (Services in the NSS configuration): Correct
18369 list of services in example configuration file.
18370
cd837b09
NB
183712012-02-19 Nick Bowler <nbowler@draconx.ca>
18372
18373 [BZ #11322]
18374 * manual/arith.texi: Remove statements about negative zero
18375 behaving identically to zero.
18376
02c4bbad
JM
183772012-02-18 Joseph Myers <joseph@codesourcery.com>
18378
18379 [BZ #5993]
18380 * manual/install.texi: Do not document upgrading from libc5.
18381
366842e7
JM
183822012-02-18 Joseph Myers <joseph@codesourcery.com>
18383
18384 [BZ #4596]
18385 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18386
dd54084d
DM
183872012-02-18 David S. Miller <davem@davemloft.net>
18388
18389 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18390 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18391 %o7 across the call.
18392 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18393 instead.
18394 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18395 SETUP_PIC_REG_LEAF.
18396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18397 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18398 * sysdeps/sparc/crtn.S: Likewise.
18399
2bcc53a3
UD
184002012-02-17 Ulrich Drepper <drepper@gmail.com>
18401
18402 * aout/Makefile: Remove.
18403
09c093b5
RK
184042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18405
18406 [BZ #13058]
18407 * manual/examples/argp-ex1.c (main): Format definition in GNU
18408 style.
18409 * manual/examples/argp-ex2.c (main): Likewise.
18410 * manual/examples/argp-ex3.c (main): Likewise.
18411 * manual/examples/argp-ex4.c (main): Likewise.
18412 * manual/examples/longopt.c (main): Use new-style prototype
18413 definition.
18414 * manual/examples/strncat.c (main): Specify return type and use
18415 (void) for arguments.
18416 * manual/examples/subopt.c (main): Use char **argv argument.
18417
2ee633a2
JM
184182012-02-17 Joseph Myers <joseph@codesourcery.com>
18419
18420 [BZ #5077]
18421 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18422 rounding modes.
18423
0520adde
FB
184242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18425
18426 [BZ #6907]
18427 * manual/string.texi (strchr): Change when strchrnul is
18428 recommended.
18429
3f4081cd
DGM
184302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18431
18432 [BZ #174]
18433 * manual/locale.texi (setlocale): Document LOCPATH.
18434
d1b10e78
JM
184352012-02-17 Joseph Myers <joseph@codesourcery.com>
18436
18437 [BZ #10210]
18438 * manual/process.texi (execle): Move @dots{} before last argument.
18439
79c6869c
PB
184402012-02-17 Paul Bolle <pebolle@tiscali.nl>
18441
18442 [BZ #12047]
18443 * manual/charset.texi (Generic Charset Conversion): Fix typo
18444 (LC_TYPE -> LC_CTYPE).
18445
cc6e48bc
NB
184462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18447
18448 [BZ #5805]
18449 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18450 (scalbnf): Likewise.
18451 (scalbnl): Likewise.
18452 (scalbln): Likewise.
18453 (scalblnf): Likewise.
18454 (scalblnl): Likewise.
18455 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18456 (vwarnx): Likewise.
18457 (verr): Likewise.
18458 (verrx): Likewise.
18459 * manual/filesys.texi (telldir): Use braces around return type.
18460 * manual/llio.texi (mmap): Add space after comma.
18461 (mmap64): Likewise.
18462 * manual/math.texi (jn): Use @var{} on parameter names.
18463 (jnf): Likewise.
18464 (jnl): Likewise.
18465 (yn): Likewise.
18466 (ynf): Likewise.
18467 (ynl): Likewise.
18468 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18469 line.
18470 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18471 "...".
18472 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18473 (sched_get_priority_max): Likewise.
18474 * manual/signal.texi (sigvec): Add space after comma.
18475 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18476 names.
18477 (if_indextoname): Likewise.
18478 (if_freenameindex): Likewise.
18479 (sendto): Use ',' instead of '.' in prototype.
18480 * manual/startup.texi (syscall): Use @dots{} instead of literal
18481 "...".
18482 * manual/stdio.texi (__fpending): Separate initial words of
18483 paragraph from @deftypefun line.
18484 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18485 "...".
18486 (vsyslog): Use @var{} on parameter names.
18487 * manual/terminal.texi (stty): Use @var{} on parameter names.
18488 * manual/users.texi (getutmp): Use @var{} on parameter names.
18489 (getutmpx): Likewise.
18490
5b23062f
JM
184912012-02-17 Joseph Myers <joseph@codesourcery.com>
18492
18493 [BZ #6884]
18494 * manual/stdio.texi (fopen): Fix typos in description of
18495 ",ccs=STRING".
18496
8dee4833
AJ
184972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18498
18499 [BZ #4026]
18500 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18501 get clock_id definition.
18502
9078ce93
TS
185032012-02-17 Thomas Schwinge <thomas@schwinge.name>
18504
18505 [BZ #4822]
18506 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18507 (madvise): Cast every argument to void on its own.
18508
3835c55f
JM
185092012-02-17 Joseph Myers <joseph@codesourcery.com>
18510
18511 [BZ #9902]
18512 * manual/startup.texi (Exit Status): Fix typo.
18513
35c47e37
JM
185142012-02-17 Joseph Myers <joseph@codesourcery.com>
18515
18516 [BZ #10140]
18517 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18518 * manual/examples/argp-ex2.c: Likewise.
18519 * manual/examples/argp-ex3.c: Likewise.
18520
e3b69ca7
RH
185212012-02-16 Richard Henderson <rth@redhat.com>
18522
18523 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18524 * sysdeps/s390/s390-32/initfini.c: Remove.
18525 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18526 * sysdeps/s390/s390-64/initfini.c: Remove.
18527
df83af67
KK
185282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18529
18530 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18531 compiler output for sysdeps/generic/initfini.c.
18532 * sysdeps/sh/elf/initfini.c: Remove file.
18533
f63f3380
DM
185342012-02-16 David S. Miller <davem@davemloft.net>
18535
fb59b3a4
DM
18536 [BZ #11494]
18537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18538
f63f3380
DM
18539 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18540 * sysdeps/sparc/crti.S: New file.
18541 * sysdeps/sparc/crtn.S: New file.
18542 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18543 * sysdeps/sparc/sparc64/Makefile: Likewise.
18544
df6a4a4a
MF
185452012-02-15 Mike Frysinger <vapier@gentoo.org>
18546
6dd8f3dc 18547 [BZ #3335]
df6a4a4a
MF
18548 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18549
1cac7236
RM
185502012-02-15 Roland McGrath <roland@hack.frob.com>
18551
d2c736f8
RM
18552 [BZ #4822]
18553 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18554
1cac7236
RM
18555 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18556 (write, read, close): Likewise.
18557 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18558
8e475601
JM
185592012-02-15 Joseph Myers <joseph@codesourcery.com>
18560
18561 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18562 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18564 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18565 <bits/signalfd.h>.
18566 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18568 bits/signalfd.h.
18569
ed656b40
MP
185702012-02-14 Marek Polacek <polacek@redhat.com>
18571
18572 * sysdeps/x86_64/crti.S: New file.
18573 * sysdeps/x86_64/crtn.S: New file.
18574 * sysdeps/x86_64/elf/initfini.c: Remove file.
18575
2a979d3a
JM
185762012-02-13 Joseph Myers <joseph@codesourcery.com>
18577
18578 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18579 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18580 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18581 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18582 <bits/inotify.h>.
18583 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18585 bits/inotify.h.
18586
2a418ac3
JM
185872012-02-13 Joseph Myers <joseph@codesourcery.com>
18588
18589 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18590 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18592 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18593 <bits/eventfd.h>.
18594 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18596 bits/eventfd.h.
18597
fb779be7
TS
185982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18599
e19e83c5
RM
18600 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18601 __feraiseexcept instead of feraiseexcept.
7c35ffed 18602
fb779be7
TS
18603 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18604 nanosleep invocations.
18605 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18606 strings, and add error checking for a nanosleep invocations.
18607
59ba27a6
PE
186082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18609
18610 Replace FSF snail mail address with URLs, as per GNU coding standards.
18611 Most of the snail mail addresses were wrong anyway, and omitting
18612 them makes the source code easier to maintain. Almost all of the
18613 changes are to license notices and to locale LC_IDENTIFICATION
18614 addresses, except for this one:
18615 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18616 not its snail mail address.
18617
57b957eb
RH
186182012-02-09 Richard Henderson <rth@twiddle.net>
18619
af850b1c
RH
18620 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18621 of kernel-features.h.
18622
57b957eb
RH
18623 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18624
6b73181a
MP
186252012-02-08 Marek Polacek <polacek@redhat.com>
18626
18627 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18628 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18629 * sysdeps/gnu/_G_config.h: Likewise.
18630 * sysdeps/generic/_G_config.h: Likewise.
18631
26ecc33a
AS
186322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18633
6c6dbc63
AS
18634 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18635 tests.
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18637
e216c012
AS
18638 * sysdeps/powerpc/powerpc32/crti.S: New file.
18639 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18640 * sysdeps/powerpc/powerpc64/crti.S: New file.
18641 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18642
26ecc33a
AS
18643 * Makeconfig (have-initfini): Don't set.
18644 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18645 * configure.in (nopic_initfini): Don't substitute.
18646 * config.h.in (HAVE_INITFINI): Don't #undef.
18647 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18648 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18649
3add8e13
JM
186502012-02-08 Joseph Myers <joseph@codesourcery.com>
18651
18652 Support crti.S and crtn.S provided directly by architectures.
18653 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18654 [crti.S in sysdirs] (omit-deps): Likewise.
18655 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18656 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18657 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18658 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18659 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18660 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18661 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18662 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18663 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18664 compiler output for sysdeps/generic/initfini.c.
18665 * sysdeps/i386/elf/Makefile: Remove file.
18666 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18667
a22f12b4
MP
186682012-02-07 Marek Polacek <polacek@redhat.com>
18669
18670 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18671 * sysdeps/gnu/_G_config.h: Likewise.
18672 * sysdeps/mach/hurd/_G_config.h: Likewise.
18673
148cf100
MP
186742012-02-07 Marek Polacek <polacek@redhat.com>
18675
18676 * math/Makefile (tests): Add tst-CMPLX2.
18677 * math/tst-CMPLX2.c: New file.
18678
cfdc0dd7
AS
186792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18680
84ba42c4
AS
18681 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18682
cfdc0dd7
AS
18683 * math/libm-test.inc (jn_test): Add missing L suffix.
18684
622c86f4
MP
186852012-02-06 Marek Polacek <polacek@redhat.com>
18686
18687 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18688 * sysdeps/i386/fpu/e_powf.S: Likewise.
18689 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18690 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18691 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18692 * sysdeps/i386/fpu/e_pow.S: Likewise.
18693 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18694 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18695 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18696 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18697 * sysdeps/i386/fpu/e_log2.S: Likewise.
18698 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18699 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18700 * sysdeps/i386/fpu/e_powl.S: Likewise.
18701 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18702 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18703 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18704 * sysdeps/i386/fpu/e_logl.S: Likewise.
18705 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18706 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18707 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18708 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18709 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18711 * sysdeps/i386/fpu/e_log.S: Likewise.
18712 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18713 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18714 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18715 * sysdeps/i386/fpu/e_logf.S: Likewise.
18716 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18718 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18719 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18720 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18721 * sysdeps/i386/fpu/e_log10.S: Likewise.
18722 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18723 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18724 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18725 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18726 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18727 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18728 * sysdeps/i386/asm-syntax.h: Likewise.
18729 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18731 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18732 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18733 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18735 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18736 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18738 * sysdeps/powerpc/sysdep.h: Likewise.
18739 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18740 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18741
d4a54ac6
JM
187422012-02-06 Joseph Myers <joseph@codesourcery.com>
18743
18744 [BZ #411]
18745 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18746
314054ea
JM
187472012-02-06 Joseph Myers <joseph@codesourcery.com>
18748
18749 * sysdeps/i386/sysdep.h: Include <features.h>.
18750 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18751 version.
18752
d8e0ca50
JM
187532012-02-05 Joseph Myers <joseph@codesourcery.com>
18754
18755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18756 Define.
18757 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18758 LOAD_PIC_REG_STR.
18759
b1da7dd9
JM
187602012-02-03 Joseph Myers <joseph@codesourcery.com>
18761
18762 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18763 (SETUP_PIC_REG): Use GET_PC_THUNK.
18764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18765 macro.
18766
9a1d9254
JM
187672012-02-03 Joseph Myers <joseph@codesourcery.com>
18768
18769 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18770 for non-PIC compilation.
18771 (SETUP_PIC_REG): Add .p2align directive.
18772 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18773 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18774 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18775 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18778 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18779 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18787 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18788 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18789 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18790 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18791 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18793 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18794 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18795 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18798 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18800 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18801 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18802 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18803 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18804 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18805 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18806 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18807 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18808 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18809 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18810 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18811 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18812 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18813
65dc3b75
JM
188142012-02-03 Joseph Myers <joseph@codesourcery.com>
18815
18816 * math/tst-CMPLX.c: Include <stdio.h>.
18817
d55bf177
JM
188182012-01-31 Joseph Myers <joseph@codesourcery.com>
18819
18820 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18821 float.
18822 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18823 * sysdeps/sparc/bits/mathdef.h: Likewise.
18824
69db4f8f
MP
188252012-01-31 Marek Polacek <polacek@redhat.com>
18826
18827 * libio/libio.h: Don't define _PARAMS.
18828 * locale/programs/config.h: Don't define PARAMS.
18829 * stdlib/strtol_l.c: Likewise.
18830 (__strtol_l): Remove PARAMS from the prototype.
18831
41b81892
UD
188322012-01-31 Ulrich Drepper <drepper@gmail.com>
18833
3b49edc0
UD
18834 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18835 names. Just use the correct names. Remove unnecessary wrapper
18836 functions.
18837 * malloc/arena.c: Likewise.
18838 * malloc/hooks.c: Likewise.
18839
41b81892
UD
18840 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18841 ARENA_TEST says not to. Simplify test for creation of a new arena.
18842 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18843
27a25b6e
UD
188442012-01-30 Ulrich Drepper <drepper@gmail.com>
18845
18846 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18847 into tail calls.
18848 (update_get_addr): New function.
18849 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18850 GET_ADDR_MODULE parameter.
18851
c8a89e7d
JM
188522012-01-30 Joseph Myers <joseph@codesourcery.com>
18853
18854 * crypt/cert.c: Remove __STDC__ conditionals.
18855 * crypt/crypt-entry.c: Likewise.
18856 * crypt/crypt_util.c: Likewise.
18857 * libio/filedoalloc.c: Likewise.
18858 * libio/fileops.c: Likewise.
18859 * libio/genops.c: Likewise.
18860 * libio/iofclose.c: Likewise.
18861 * libio/iofdopen.c: Likewise.
18862 * libio/iofopen.c: Likewise.
18863 * libio/iofopen64.c: Likewise.
18864 * libio/iogetdelim.c: Likewise.
18865 * libio/iopopen.c: Likewise.
18866 * libio/obprintf.c: Likewise.
18867 * libio/oldfileops.c: Likewise.
18868 * libio/oldiofclose.c: Likewise.
18869 * libio/oldiofdopen.c: Likewise.
18870 * libio/oldiofopen.c: Likewise.
18871 * libio/oldiopopen.c: Likewise.
18872 * libio/wfiledoalloc.c: Likewise.
18873 * libio/wgenops.c: Likewise.
18874 * locale/programs/xmalloc.c: Likewise.
18875 * misc/syslog.c: Likewise.
18876 * stdio-common/xbug.c: Likewise.
18877 * string/memchr.c: Likewise.
18878 * string/memcmp.c: Likewise.
18879 * string/memrchr.c: Likewise.
18880 * string/rawmemchr.c: Likewise.
18881 * sysdeps/posix/getcwd.c: Likewise.
18882 * time/strftime_l.c: Likewise.
18883
3b100462
JM
188842012-01-30 Joseph Myers <joseph@codesourcery.com>
18885
18886 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18887 * config.make.in (config-cflags-sse2avx): Define.
18888 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18889 Fix typo.
18890
607998af
CM
188912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18892
18893 * scripts/config.guess: Update from upstream config git repository.
18894 * scripts/config.sub: Likewise.
18895
3601428f
CM
188962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18897
3ac8b282
CM
18898 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18899 (EM_NUM): Update.
18900 (R_TILEPRO_*, R_TILEGX_*): New macros.
18901
e034841e
CM
18902 * scripts/firstversions.awk: Fix bug in version range handling.
18903
540d7568
CM
18904 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18905
3601428f
CM
18906 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18907
463de862
CM
18908 * include/sys/epoll.h: New file.
18909 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18910 libc_hidden_def.
18911
73139a76
UD
189122012-01-28 Ulrich Drepper <drepper@gmail.com>
18913
96bc5b45
UD
18914 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18915 Avoid unnecessary __WORDSIZE == 64 test.
18916 (fmaxf): Use VEX format if possible.
18917 (fmax): Likewise.
18918 (fminf): Likewise.
18919 (fmin): Likewise.
18920
56f6f6a2
UD
18921 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18922 * math/math_private.h: Remove libc_fegetround* and
18923 libc_fesetround*.
18924 * sysdeps/i386/configure.in: Check for -msse2avx.
18925 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18926 also if SSE2AVX is defined.
18927 Remove libc_fegetround* and libc_fesetround*.
18928 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18929 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18931 of HAS_YMM_USABLE.
18932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18933 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18937
73139a76
UD
18938 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18939
d73f93a4
AZ
189402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941
18942 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18943 size is not set.
18944 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18945
6ee65ed6
UD
189462012-01-27 Ulrich Drepper <drepper@gmail.com>
18947
18948 [BZ #13618]
18949 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18950 relocation.
18951 * Makeconfig (libm): Define.
18952 * elf/Makefile: Add rules to build and run tst-relsort1.
18953 * elf/tst-relsort1.c: New file.
18954 * elf/tst-relsort1mod1.c: New file.
18955 * elf/tst-relsort1mod2.c: New file.
18956
8db21882
JM
189572012-01-27 Joseph Myers <joseph@codesourcery.com>
18958
18959 * math/s_ldexp.c: Remove __STDC__ conditionals.
18960 * math/s_ldexpf.c: Likewise.
18961 * math/s_ldexpl.c: Likewise.
18962 * math/s_nextafter.c: Likewise.
18963 * math/s_nexttowardf.c: Likewise.
18964 * math/s_significand.c: Likewise.
18965 * math/s_significandf.c: Likewise.
18966 * math/s_significandl.c: Likewise.
18967 * math/w_jnl.c: Likewise.
18968 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18969 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18970 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18971 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18972 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18987 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18990 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18991 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18996 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18997 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18998 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18999 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19000 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19002 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19003 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19004 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19005 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19008 * sysdeps/ieee754/k_standard.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19088 * sysdeps/ieee754/s_matherr.c: Likewise.
19089 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19090 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19092 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19093
965a54a4
JM
190942012-01-26 Joseph Myers <joseph@codesourcery.com>
19095
19096 * crypt/md5.h: Remove __STDC__ conditionals.
19097 * libio/libioP.h: Likewise.
19098 * locale/programs/config.h: Likewise.
19099 * sysdeps/generic/sysdep.h: Likewise.
19100 * sysdeps/i386/asm-syntax.h: Likewise.
19101 * sysdeps/s390/asm-syntax.h: Likewise.
19102 * sysdeps/unix/sysdep.h: Likewise.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19105
7071ad79
JM
191062012-01-26 Joseph Myers <joseph@codesourcery.com>
19107
19108 * libio/libio.h: Remove __STDC__ conditionals.
19109 * malloc/obstack.h: Likewise.
19110 * math/complex.h: Likewise.
19111 * math/math.h: Likewise.
19112 * sysdeps/generic/_G_config.h: Likewise.
19113 * sysdeps/gnu/_G_config.h: Likewise.
19114 * sysdeps/mach/hurd/_G_config.h: Likewise.
19115 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19117 * sysdeps/sparc/bits/mathdef.h: Likewise.
19118
afc5ed09
UD
191192012-01-26 Ulrich Drepper <drepper@gmail.com>
19120
19121 [BZ #13583]
19122 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19123 Clean up HAS_* macros.
afc5ed09 19124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19125 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19126 possible.
19127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19128 HAS_AVX.
19129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19134
bdb6de1d
JM
191352012-01-25 Joseph Myers <joseph@codesourcery.com>
19136
19137 * elf/tst-unique3.cc (gets): Remove declaration.
19138 * elf/tst-unique3lib.cc (gets): Likewise.
19139 * elf/tst-unique3lib2.cc (gets): Likewise.
19140 * elf/tst-unique4.cc (gets): Likewise.
19141
b15549e6
UD
191422012-01-24 Ulrich Drepper <drepper@gmail.com>
19143
19144 * include/stdio.h: Add C++ protection. Add gets declarations and
19145 definitions.
19146 * debug/tst-chk1.c: Don't declare gets here.
19147 * stdio-common/tst-gets.c: Likewise.
19148
a037381f
JM
191492012-01-24 Joseph Myers <joseph@codesourcery.com>
19150
19151 * posix/glob: Remove directory.
19152
f1d4aa75
JM
191532012-01-24 Joseph Myers <joseph@codesourcery.com>
19154
19155 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19156
81c0c964
PT
191572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19158
19159 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19160 of the non-standard EPFNOSUPPORT.
19161
0ea698ae
ST
191622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19163
19164 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19165 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19166 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19167
d220b117
UD
191682012-01-21 Ulrich Drepper <drepper@gmail.com>
19169
19170 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19171
3e1aa84e
UD
191722012-01-20 Ulrich Drepper <drepper@gmail.com>
19173
19174 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19175 transient errors.
19176 * nscd/grpcache.c (cache_addgr): Likewise.
19177 * nscd/hstcache.c (cache_addhst): Likewise.
19178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19179 * nscd/pwdcache.c (cache_addpw): Likewise.
19180 * nscd/servicescache.c (cache_addserv): Likewise.
19181
400aa020
UD
191822012-01-16 Ulrich Drepper <drepper@gmail.com>
19183
d77e7869
UD
19184 * malloc/malloc.c: Various cleanups.
19185 * malloc/hooks.c: Likewise.
19186
400aa020
UD
19187 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19188 * stdlib/bug-fmtmsg1.c: New file.
19189
19190 * stdlib/fmtmsg.c (init): Add missing unlock.
19191 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19192
e0a309cf
MP
191932012-01-12 Marek Polacek <polacek@redhat.com>
19194
19195 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19196 and _GNU_SOURCE.
19197
929d11c7
WS
191982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19199
19200 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19201 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19202 macro to ensure uniqueness of label name.
19203 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19204 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19205
41d0e869
UD
192062012-01-11 Ulrich Drepper <drepper@gmail.com>
19207
0cc5ed3b
UD
19208 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19209
41d0e869
UD
19210 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19211 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19212 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19214
a47a831a
UD
192152012-01-10 Ulrich Drepper <drepper@gmail.com>
19216
daa891c0
UD
19217 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19218
19219 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19220 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19221 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19222
e58ef0f2
UD
19223 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19224
a47a831a 19225 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19226 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19227 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19228 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19229
19230 * math/bits/math-finite.h: Add ldexp support.
19231
a0bfc9c7
MP
192322012-01-10 Marek Polacek <polacek@redhat.com>
19233
19234 * locale/programs/localedef.h (show_archive_content): Add noreturn
19235 attribute.
19236
d6e97a1d
UD
192372012-01-09 Ulrich Drepper <drepper@gmail.com>
19238
19239 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19240
d5835c26
UD
192412012-01-08 Ulrich Drepper <drepper@gmail.com>
19242
e5f484c6
UD
19243 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19244
d5835c26
UD
19245 * io/Makefile (headers): Add bits/poll2.h.
19246
d1f741e9
WS
192472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19248
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19250 typo #include statement.
19251
ec09c1c4
UD
192522012-01-08 Ulrich Drepper <drepper@gmail.com>
19253
19254 * include/sys/cdefs.h: Define __attribute_alloc_size.
19255 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19256 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19257 * elf/pldd.c: Likewise.
19258 * iconv/iconv_charmap.c: Likewise.
19259 * iconv/iconvconfig.c: Likewise.
19260 * iconv/strtab.c: Likewise.
19261 * locale/programs/locale.c: Likewise.
19262 * locale/programs/localedef.h: Likewise.
19263 * locale/programs/simple-hash.c: Likewise.
19264 * nscd/nscd.h: Likewise.
19265 * nss/makedb.c: Likewise.
19266 * sysdeps/generic/ldconfig.h: Likewise.
19267 * locale/programs/localedef.c: Remove xmalloc prototype.
19268 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19269
20b38e03
PP
192702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19271
19272 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19273 appropriate.
19274
a0da5fe1
UD
192752012-01-08 Ulrich Drepper <drepper@gmail.com>
19276
1d5a644a 19277 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19278 * math/tst-CMPLX.c: New file.
1d5a644a 19279
8784a6db
UD
19280 * math/complex.h (CMPLXL): Fix typo.
19281
d9a216c0
UD
19282 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19283 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19284 GLIBC_2.16.
19285 * debug/tst-chk1.c: Add poll and ppoll tests.
19286 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19287 * include/sys/poll.h: Add hidden proto for ppoll.
19288 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19289 * sysdeps/mach/hurd/ppoll.c: Likewise.
19290 * io/ppoll.c: Likewise.
19291 * debug/poll_chk.c: New file.
19292 * debug/ppoll_chk.c: New file.
19293 * include/bits/poll2.h: New file.
19294 * io/bits/poll2.h: New file.
19295
ac097f5c
UD
19296 [BZ #1350]
19297 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19298
2119dcfa
UD
19299 * configure.in: static is always set to yes. Remove.
19300 * config.make.in: Don't set build-static.
19301 * Makeconfig: Remove use of build-static.
19302 * dlfcn/Makefile: Likewise.
19303 * elf/Makefile: Likewise.
19304 * math/Makefile: Likewise.
19305 * misc/Makefile: Likewise.
19306 * nptl/Makefile: Likewise.
19307 * sysdeps/mach/hurd/Makefile: Likewise.
19308
121766a9
UD
19309 * configure.in: PWD_P is not used anymore.
19310 * config.make.in: Remove PWD_P entry.
19311
51a1d39c 19312 * configure.in: Remove last remnants of RANLIB.
8720d066 19313 No need to check for signed size_t anymore.
215f4bdc
UD
19314 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19315 and IA-64.
3857022a 19316 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19317 * aclocal.m4: Likewise.
19318
d3ed7225
UD
19319 * wcsmbs/mbrtoc16.c: Implement using towc function.
19320 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19321 * wcsmbs/wcsmbsload.c: Likewise.
19322 * iconv/gconv_simple.c: Likewise.
19323 * iconv/gconv_int.h: Likewise.
19324 * iconv/gconv_builtin.h: Likewise.
19325 * iconv/iconv_prog.c: Remove CHAR16 handling.
19326
19327 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19328
19329 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19330
a0da5fe1
UD
19331 * configure.in: Remove --with-elf and --enable-bounded options.
19332 Dont set base_machine for ia64. More non-ELF conditions removed.
19333 Remove testing and setting of leading underscore information.
19334 * config.make.in (build-bounded): Set to no.
19335 * config.h.in: Remove NO_UNDERSCORES entry.
19336 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19337 them.
19338 * csu/start.c: Remove !NO_UNDERSCORE code.
19339 * locale/localeinfo.h: Likewise.
19340 * sysdeps/generic/machine-gmon.h: Likewise.
19341 * sysdeps/generic/sysdep.h: Likewise.
19342 * sysdeps/i386/sysdep.h: Likewise.
19343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19344 * sysdeps/mach/sysdep.h: Likewise.
19345 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19347 * sysdeps/sh/sysdep.h: Likewise.
19348 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19349 * sysdeps/unix/i386/sysdep.S: Likewise.
19350 * sysdeps/unix/sparc/start.c: Likewise.
19351 * sysdeps/unix/sparc/sysdep.S: Likewise.
19352 * sysdeps/unix/sparc/sysdep.h: Likewise.
19353 * sysdeps/unix/start.c: Likewise.
19354 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19355 * sysdeps/x86_64/sysdep.h: Likewise.
19356
df78418a
UD
193572012-01-07 Ulrich Drepper <drepper@gmail.com>
19358
a784e502
UD
19359 [BZ #13553]
19360 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19361 for non-gcc.
19362 * argp/argp-fmtstream.h: Use const instead __const.
19363 * argp/argp.h: Likewise.
19364 * assert/assert.h: Likewise.
19365 * bits/fenv.h: Likewise.
19366 * bits/sched.h: Likewise.
19367 * bits/sigset.h: Likewise.
19368 * bits/sigthread.h: Likewise.
19369 * catgets/nl_types.h: Likewise.
19370 * conform/data/pthread.h-data: Likewise.
19371 * crypt/crypt-private.h: Likewise.
19372 * crypt/crypt.h: Likewise.
19373 * crypt/crypt_util.c: Likewise.
19374 * ctype/ctype.h: Likewise.
19375 * debug/execinfo.h: Likewise.
19376 * debug/mbsnrtowcs_chk.c: Likewise.
19377 * debug/mbsrtowcs_chk.c: Likewise.
19378 * debug/wcsnrtombs_chk.c: Likewise.
19379 * debug/wcsrtombs_chk.c: Likewise.
19380 * debug/wcstombs_chk.c: Likewise.
19381 * dirent/dirent.h: Likewise.
19382 * dlfcn/dlfcn.h: Likewise.
19383 * elf/neededtest4.c: Likewise.
19384 * grp/grp.h: Likewise.
19385 * gshadow/gshadow.h: Likewise.
19386 * iconv/gconv.h: Likewise.
19387 * iconv/gconv_int.h: Likewise.
19388 * iconv/gconv_simple.c: Likewise.
19389 * iconv/iconv.h: Likewise.
19390 * iconv/loop.c: Likewise.
19391 * iconv/skeleton.c: Likewise.
19392 * include/aio.h: Likewise.
19393 * include/aliases.h: Likewise.
19394 * include/argz.h: Likewise.
19395 * include/arpa/inet.h: Likewise.
19396 * include/assert.h: Likewise.
19397 * include/dirent.h: Likewise.
19398 * include/dlfcn.h: Likewise.
19399 * include/execinfo.h: Likewise.
19400 * include/fcntl.h: Likewise.
19401 * include/fenv.h: Likewise.
19402 * include/glob.h: Likewise.
19403 * include/grp.h: Likewise.
19404 * include/libintl.h: Likewise.
19405 * include/mntent.h: Likewise.
19406 * include/netdb.h: Likewise.
19407 * include/pwd.h: Likewise.
19408 * include/rpc/netdb.h: Likewise.
19409 * include/sched.h: Likewise.
19410 * include/search.h: Likewise.
19411 * include/shadow.h: Likewise.
19412 * include/signal.h: Likewise.
19413 * include/stdio.h: Likewise.
19414 * include/stdlib.h: Likewise.
19415 * include/string.h: Likewise.
19416 * include/sys/socket.h: Likewise.
19417 * include/sys/stat.h: Likewise.
19418 * include/sys/statfs.h: Likewise.
19419 * include/sys/statvfs.h: Likewise.
19420 * include/sys/syslog.h: Likewise.
19421 * include/sys/time.h: Likewise.
19422 * include/sys/uio.h: Likewise.
19423 * include/time.h: Likewise.
19424 * include/unistd.h: Likewise.
19425 * include/utmp.h: Likewise.
19426 * include/wchar.h: Likewise.
19427 * include/wctype.h: Likewise.
19428 * inet/aliases.h: Likewise.
19429 * inet/arpa/inet.h: Likewise.
19430 * inet/netinet/ether.h: Likewise.
19431 * inet/netinet/in.h: Likewise.
19432 * intl/libintl.h: Likewise.
19433 * io/bits/fcntl2.h: Likewise.
19434 * io/fcntl.h: Likewise.
19435 * io/ftw.h: Likewise.
19436 * io/sys/poll.h: Likewise.
19437 * io/sys/stat.h: Likewise.
19438 * io/sys/statfs.h: Likewise.
19439 * io/sys/statvfs.h: Likewise.
19440 * io/utime.h: Likewise.
19441 * libio/bits/stdio.h: Likewise.
19442 * libio/bits/stdio2.h: Likewise.
19443 * libio/libio.h: Likewise.
19444 * libio/libioP.h: Likewise.
19445 * libio/stdio.h: Likewise.
19446 * locale/lc-ctype.c: Likewise.
19447 * locale/locale.h: Likewise.
19448 * login/utmp.h: Likewise.
19449 * malloc/arena.c: Likewise.
19450 * malloc/malloc.c: Likewise.
19451 * malloc/malloc.h: Likewise.
19452 * malloc/mcheck.c: Likewise.
19453 * malloc/mtrace.c: Likewise.
19454 * math/bits/mathcalls.h: Likewise.
19455 * math/fenv.h: Likewise.
19456 * math/math_private.h: Likewise.
19457 * misc/bits/error.h: Likewise.
19458 * misc/bits/syslog.h: Likewise.
19459 * misc/err.h: Likewise.
19460 * misc/error.h: Likewise.
19461 * misc/fstab.h: Likewise.
19462 * misc/mntent.h: Likewise.
19463 * misc/regexp.h: Likewise.
19464 * misc/search.h: Likewise.
19465 * misc/sgtty.h: Likewise.
19466 * misc/sys/mman.h: Likewise.
19467 * misc/sys/syslog.h: Likewise.
19468 * misc/sys/uio.h: Likewise.
19469 * misc/sys/xattr.h: Likewise.
19470 * misc/ttyent.h: Likewise.
19471 * nis/rpcsvc/ypclnt.h: Likewise.
19472 * nss/nss.h: Likewise.
19473 * posix/bits/unistd.h: Likewise.
19474 * posix/fnmatch.h: Likewise.
19475 * posix/glob.h: Likewise.
19476 * posix/sched.h: Likewise.
19477 * posix/spawn.h: Likewise.
19478 * posix/sys/wait.h: Likewise.
19479 * posix/unistd.h: Likewise.
19480 * posix/wordexp.h: Likewise.
19481 * pwd/pwd.h: Likewise.
19482 * resolv/netdb.h: Likewise.
19483 * resource/sys/resource.h: Likewise.
19484 * rt/aio.h: Likewise.
19485 * rt/bits/mqueue2.h: Likewise.
19486 * rt/mqueue.h: Likewise.
19487 * shadow/shadow.h: Likewise.
19488 * signal/signal.h: Likewise.
19489 * socket/send.c: Likewise.
19490 * socket/sendto.c: Likewise.
19491 * socket/sys/socket.h: Likewise.
19492 * stdio-common/printf.h: Likewise.
19493 * stdlib/bits/stdlib.h: Likewise.
19494 * stdlib/fmtmsg.h: Likewise.
19495 * stdlib/monetary.h: Likewise.
19496 * stdlib/stdlib.h: Likewise.
19497 * stdlib/ucontext.h: Likewise.
19498 * streams/stropts.h: Likewise.
19499 * string/argz.h: Likewise.
19500 * string/bits/string2.h: Likewise.
19501 * string/string.h: Likewise.
19502 * string/strings.h: Likewise.
19503 * sunrpc/rpc/auth.h: Likewise.
19504 * sunrpc/rpc/auth_des.h: Likewise.
19505 * sunrpc/rpc/clnt.h: Likewise.
19506 * sunrpc/rpc/netdb.h: Likewise.
19507 * sunrpc/rpc/pmap_clnt.h: Likewise.
19508 * sunrpc/rpc/xdr.h: Likewise.
19509 * sysdeps/generic/inttypes.h: Likewise.
19510 * sysdeps/generic/net/if.h: Likewise.
19511 * sysdeps/generic/sys/swap.h: Likewise.
19512 * sysdeps/gnu/net/if.h: Likewise.
19513 * sysdeps/gnu/utmpx.h: Likewise.
19514 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19515 * sysdeps/i386/i486/bits/string.h: Likewise.
19516 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19517 * sysdeps/s390/bits/string.h: Likewise.
19518 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19519 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19520 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19521 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19522 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19523 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19524 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19525 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19526 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19527 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19528 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19529 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19530 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19531 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19532 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19533 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19534 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19536 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19539 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19540 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19541 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19542 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19543 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19544 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19546 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19547 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19548 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19549 * sysvipc/sys/ipc.h: Likewise.
19550 * sysvipc/sys/msg.h: Likewise.
19551 * sysvipc/sys/sem.h: Likewise.
19552 * sysvipc/sys/shm.h: Likewise.
19553 * termios/termios.h: Likewise.
19554 * time/sys/time.h: Likewise.
19555 * time/time.h: Likewise.
19556 * wcsmbs/bits/wchar2.h: Likewise.
19557 * wcsmbs/uchar.h: Likewise.
19558 * wcsmbs/wchar.h: Likewise.
19559 * wctype/wctype.h: Likewise.
19560
0269750c
UD
19561 [BZ #13551]
19562 * Makeconfig: Remove all but ELF support including AIX support.
19563 * Makerules: Likewise.
19564 * config.h.in: Likewise.
19565 * config.make.in: Likewise.
19566 * configure: Likewise.
19567 * configure.in: Likewise.
19568 * csu/Makefile: Likewise.
19569 * csu/version.c: Likewise.
19570 * debug/Makefile: Likewise.
19571 * dlfcn/Makefile: Likewise.
19572 * elf/Makefile: Likewise.
19573 * extra-lib.mk: Likewise.
19574 * iconv/Makefile: Likewise.
19575 * include/libc-symbols.h: Likewise.
19576 * include/shlib-compat.h: Likewise.
19577 * resolv/Makefile: Likewise.
19578 * resolv/res_libc.c: Likewise.
19579 * rt/Makefile: Likewise.
19580 * sysdeps/i386/asm-syntax.h: Likewise.
19581 * sysdeps/i386/sysdep.h: Likewise.
19582 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19583 * sysdeps/mach/sysdep.h: Likewise.
19584 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19585 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19586 * sysdeps/s390/asm-syntax.h: Likewise.
19587 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19588 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19589 * sysdeps/sh/sysdep.h: Likewise.
19590 * sysdeps/unix/sparc/sysdep.h: Likewise.
19591 * sysdeps/wordsize-32/divdi3.c: Likewise.
19592 * sysdeps/x86_64/sysdep.h: Likewise.
19593
00bbd29b
UD
19594 * argp/Versions: Remove _argp_unlock_xxx.
19595
19596 [BZ #13559]
19597 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19598 * abilist/libBrokenLocale.abilist: Likewise.
19599 * abilist/libanl.abilist: Likewise.
19600 * abilist/libc.abilist: Likewise.
19601 * abilist/libcrypt.abilist: Likewise.
19602 * abilist/libdl.abilist: Likewise.
19603 * abilist/libm.abilist: Likewise.
19604 * abilist/libnsl.abilist: Likewise.
19605 * abilist/libpthread.abilist: Likewise.
19606 * abilist/libresolv.abilist: Likewise.
19607 * abilist/librt.abilist: Likewise.
19608 * abilist/libthread_db.abilist: Likewise.
19609 * abilist/libutil.abilist: Likewise.
19610 * abilist/libnss_db.abilist: New file.
19611
19612 * scripts/abilist.awk: Add support for indirect functions.
19613
a2693a0e
UD
19614 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19615
3f05895f
UD
19616 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19617
ecb6fb48
UD
19618 * shlib-versions: Remove entries for ports architectures.
19619
664f8cb9
UD
19620 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19621 files in ports.
19622 * elf/stackguard-macros.h: Remove support for IA-64.
19623 * elf/tst-auditmod1.c: Likewise.
19624 * sysdeps/generic/ldsodefs.h: Likewise.
19625
7ae81d88
UD
19626 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19627 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19628 configure files.
19629
bdeba135
UD
19630 [BZ #13552]
19631 * configure.in: Remove --enable-omitfp support.
19632 * FAQ.in: Adjust.
19633 * config.make.in: Likewise.
19634 * Makeconfig: Likewise.
19635 * manual/install.texi: Likewise.
19636
d75a0a62
UD
19637 In case anyone cares, the IA-64 architecture could move to ports.
19638 * sysdeps/ia64/*: Removed.
19639 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19640 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19641
dcc9756b
UD
19642 [BZ #13555]
19643 * configure.in: Remove entries for unsupported architectures.
19644
d3761ebc 19645 [BZ #13533]
9954432e
UD
19646 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19647 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19648 routines.
19649 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19650 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19651 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19652 fall back to using wcrtomb.
19653 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19654 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19655 renaming.
19656 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19657 * wcsmbs/tst-c16c32-1.c: New file.
19658
19659 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19660 local variable.
19661
c3a87236
UD
19662 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19663
28926a1b
UD
19664 * elf/tst-unique3.cc: Add explicit declaration of gets.
19665 * elf/tst-unique3lib.cc: Likewise.
19666 * elf/tst-unique3lib2.cc: Likewise.
19667 * elf/tst-unique4.cc: Likewise.
19668
df78418a
UD
19669 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19670
8ecd6b2a
JM
196712012-01-06 Joseph Myers <joseph@codesourcery.com>
19672
19673 [BZ #13566]
19674 * assert/assert.h (static_assert): Don't define for C++.
19675 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19676 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19677
9f115170
UD
196782012-01-03 Ulrich Drepper <drepper@gmail.com>
19679
5e0d0300
UD
19680 * iconv/loop.c (single loop): Fix assertion in storing of
19681 remaining bytes.
19682
9f115170
UD
19683 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19684
81fb02b0
UD
196852012-01-01 Ulrich Drepper <drepper@gmail.com>
19686
19687 * posix/getconf.c: Update copyright year.
19688 * nss/getent.c: Likewise.
a316c1f6 19689 * nss/makedb.c: Likewise.
81fb02b0
UD
19690 * iconv/iconvconfig.c: Likewise.
19691 * iconv/iconv_prog.c: Likewise.
19692 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19693 * elf/pldd.c: Likewise.
19694 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19695 * catgets/gencat.c: Likewise.
19696 * csu/version.c: Likewise.
19697 * elf/ldd.bash.in: Likewise.
19698 * elf/sprof.c (print_version): Likewise.
19699 * locale/programs/locale.c: Likewise.
19700 * locale/programs/localedef.c: Likewise.
a316c1f6 19701 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19702 * nscd/nscd.c (print_version): Likewise.
19703 * debug/xtrace.sh: Likewise.
19704 * malloc/memusage.sh: Likewise.
19705 * malloc/mtrace.pl: Likewise.
19706 * debug/catchsegv.sh: Likewise.
19707
2ba92745
JJ
197082011-12-30 Jakub Jelinek <jakub@redhat.com>
19709
19710 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19711 pure attribute.
19712
dadebdae
UD
197132011-12-24 Ulrich Drepper <drepper@gmail.com>
19714
d3761ebc 19715 [BZ #13533]
db6af3eb
UD
19716 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19717 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19718 transformations.
19719 * iconv/gconv_int.h: Likewise.
19720 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19721 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19722 from libc for GLIBC_2.16.
19723 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19724 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19725 * wcsmbs/uchar.h: Really define mbstate_t.
19726 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19727 * wcsmbs/c16rtomb.c: New file.
19728 * wcsmbs/mbrtoc16.c: New file.
19729 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19730 for C/POSIX locale.
19731 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19732 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19733
dadebdae
UD
19734 * wcsmbs/wchar.h: Add missing __restrict.
19735
67371b56
UD
197362011-12-23 Ulrich Drepper <drepper@gmail.com>
19737
74033a25
UD
19738 [BZ #13532]
19739 * time/Makefile (routines): Add timespec_get.
19740 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19741 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19742 timespec for ISO C11.
19743 * time/timespec_get.c: New file.
19744 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19745 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19746
380d7e87
UD
19747 [BZ #13531]
19748 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19749 * stdlib/stdlib.h: Declare aligned_alloc.
19750 * Versions.def: Add GLIBC_2.16 for libc.
19751 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19752
4e9e7a35
UD
19753 [BZ 13527]
19754 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19755 ISO C11.
19756
380d7e87 19757 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19758 code.
19759
03a71829
UD
19760 [BZ #13528]
19761 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19762
839e283e
UD
19763 [BZ #13529]
19764 * assert/assert.h (static_assert): Define.
19765
ce5294e2 19766 * version.h: Update for 2.16 development version.
90fa7312 19767
8d44e150 19768 [BZ #13526]
d7809905
UD
19769 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19770 _ISOC11_SOURCE.
19771
c0da14cd
UD
19772 * version.h (RELEASE): Bump for 2.15 release.
19773 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19774
530a3249
MP
19775 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19776 Patch by Marek Polacek <mpolacek@redhat.com>.
19777
67371b56
UD
19778 * bits/byteswap.h: Protect long long constants with __extension__.
19779 * sysdeps/i386/bits/byteswap.h: Likewise.
19780 * sysdeps/ia64/bits/byteswap.h: Likewise.
19781 * sysdeps/s390/bits/byteswap.h: Likewise.
19782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19783
15db4de1
LD
197842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19785
19786 [BZ #13540]
bbe315ea
LD
19787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19788 destination buffer.
15db4de1
LD
19789 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19790
2b2596b1
MP
197912011-12-23 Marek Polacek <polacek@redhat.com>
19792
19793 * elf/dl-addr.c (determine_info): Add inline keyword.
19794 * elf/tst-auditmod4b.c (check_avx): Likewise.
19795 * elf/tst-auditmod6b.c (check_avx): Likewise.
19796 * elf/tst-auditmod6c.c (check_avx): Likewise.
19797 * elf/tst-auditmod7b.c (check_avx): Likewise.
19798
70c6c246
UD
197992011-12-23 Ulrich Drepper <drepper@gmail.com>
19800
19801 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19802 !__SSE_MATH__.
19803
c044cf14
LD
198042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19805
15db4de1 19806 [BZ #13540]
c044cf14
LD
19807 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19808 processing for last bytes.
19809
6b13d9d9
BH
198102011-08-06 Bruno Haible <bruno@clisp.org>
19811
d455f537
BH
19812 [BZ #13061]
19813 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19814 U+0385, not to U+1FEE.
19815
6b13d9d9
BH
19816 [BZ #13062]
19817 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19818 entry for U+00A5 U+0301.
19819
db910efd
UD
198202011-12-22 Ulrich Drepper <drepper@gmail.com>
19821
27deeafc
UD
19822 [BZ #13166]
19823 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19824 buffer for the output is too small.
19825
aed9d171
UD
19826 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19827 optimization.
19828
db910efd
UD
19829 [BZ #13185]
19830 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19831 SSE flags if possible.
19832
2bd779ae
LD
198332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19834
e7f9dac3 19835 [BZ #13540]
2bd779ae
LD
19836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19837 processing for last bytes.
19838
154bfc16
JM
198392011-12-22 Joseph Myers <joseph@codesourcery.com>
19840
19841 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19842 (syscall-list-default-options, syscall-list-default-condition)
19843 (syscall-list-includes): Define.
19844 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19845 list of ABIs and options and #if conditions for each ABI. Do not
19846 handle common syscalls between ABIs specially.
19847 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19848 Remove.
19849 (syscall-list-variants, syscall-list-32bit-options)
19850 (syscall-list-32bit-condition, syscall-list-64bit-options)
19851 (syscall-list-64bit-condition): Define.
19852 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19853 (syscall-list-variants, syscall-list-32bit-options)
19854 (syscall-list-32bit-condition, syscall-list-64bit-options)
19855 (syscall-list-64bit-condition): Define.
19856 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19857 Remove.
19858 (syscall-list-variants, syscall-list-32bit-options)
19859 (syscall-list-32bit-condition, syscall-list-64bit-options)
19860 (syscall-list-64bit-condition): Define.
19861 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19862 Remove.
19863 (syscall-list-variants, syscall-list-32bit-options)
19864 (syscall-list-32bit-condition, syscall-list-64bit-options)
19865 (syscall-list-64bit-condition): Define.
19866
21eaf3a5
UD
198672011-12-22 Ulrich Drepper <drepper@gmail.com>
19868
16c6f992
UD
19869 * locale/iso-639.def: Add brx entry.
19870
41043168
UD
19871 [BZ #13328]
19872 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19873 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19874
21eaf3a5
UD
19875 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19876 __feraiseexcept_renamed.
19877
e3a851a2
UD
198782011-12-21 Ulrich Drepper <drepper@gmail.com>
19879
4920765e
UD
19880 [BZ #13538]
19881 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19882 EPOLLET with unsigned values.
19883 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19884 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19885
e3a851a2
UD
19886 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19887 to large cancellation.
19888 * math/s_cacoshf.c: Likewise.
19889 * math/s_cacoshl.c: Likewise.
19890
b27e24b8
RK
198912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19892
19893 [BZ #13305]
aebefeee 19894 [BZ #12786]
b27e24b8
RK
19895 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19896 * math/s_cacoshf.c: Likewise.
19897 * math/s_cacoshl.c: Likewise.
19898
ee190f67
UD
198992011-12-21 Ulrich Drepper <drepper@gmail.com>
19900
19901 [BZ #13439]
19902 * iconv/gconv.h: Define __GCONV_SWAP.
19903 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19904 * iconvdata/utf-16.c: Likewise.
19905 * iconvdata/utf-32.c: Likewise.
19906
707f25df
AS
199072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19908
19909 [BZ #13524]
19910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19911 numerator after shifting it by one limb.
19912
d2daaa1e
RÁE
199132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19914
19915 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19916 under [__USE_EXTERN_INLINES].
19917
a4647e72
UD
199182011-12-17 Ulrich Drepper <drepper@gmail.com>
19919
19920 [BZ #13446]
19921 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19922
f0b264f1
AZ
199232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19924
19925 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19926 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19927 optimized code.
19928 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19929 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19930 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19931 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19932 for strncasecmp/strncasecmp_l compilation.
19933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19934 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19935
8ef4f244
MP
199362011-12-08 Marek Polacek <mpolacek@redhat.com>
19937
19938 [BZ #13484]
19939 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19940 of __asm__.
19941
97ac2654
UD
199422011-12-17 Ulrich Drepper <drepper@gmail.com>
19943
19944 [BZ #13506]
19945 * time/tzfile.c (__tzfile_read): Check values from file header.
19946
91d2a845
WS
199472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19948
19949 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19950 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19951 * powerpc/powerpc32/dl-start.S: Likewise.
19952 * powerpc/powerpc32/elf/start.S: Likewise.
19953 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19954 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19955 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19956 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19957 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19958 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19959 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19960 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19961 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19962 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19963 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19964 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19965 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19966 * powerpc/powerpc32/memset.S: Likewise.
19967 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19968 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19969 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19970 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19971 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19972 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19973 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19974 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19975 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19976 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19977 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19978 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19979 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19980
a1267ba1
AZ
199812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982
19983 * math/libm-test.inc: Added more nearbyint tests.
19984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19986 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19988
ad8ac1bd
RL
199892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19990
19991 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19992 FD_CLOEXEC.
19993
1d3e4b61
UD
199942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19995
19996 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19997 Add wcscpy-ssse3 wcscpy-c.
19998 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19999 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20000 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20001 * sysdeps/x86_64/wcschr.S: New file.
20002 * sysdeps/x86_64/wcsrchr.S: New file.
20003 * string/test-strcmp.c: Remove checking of wcscmp function for
20004 wrong alignments.
20005 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20006 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20007 wcsrchr-sse2 wcsrchr-c.
20008 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20009 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20010 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20011 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20012 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20013 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20014 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20015 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20016 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20017 * wcsmbc/wcschr.c (WCSCHR): New macro.
20018
5b330a2d
UD
200192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20020
20021 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20022 * wcsmbs/test-wcsrchr.c: New file.
20023 * string/test-strrchr.c: Add wcsrchr support.
20024 (WIDE): New macro.
20025 * wcsmbs/test-wcscpy.c: New file.
20026 * string/test-strcpy.c: Add wcscpy support.
20027 (WIDE): New macro.
26428b7c 20028
f039c043
UD
200292011-12-10 Ulrich Drepper <drepper@gmail.com>
20030
20031 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20032 the inner loop.
20033
850fb039
AS
200342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20035
20036 [BZ #13472]
20037 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20038
4efbd5cb
UD
200392011-12-04 Ulrich Drepper <drepper@gmail.com>
20040
52ff5dd0 20041 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20042 Minor optimizations.
52ff5dd0 20043
4efbd5cb
UD
20044 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20045 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20046 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20047
8a426e12
UD
200482011-12-03 Ulrich Drepper <drepper@gmail.com>
20049
aff2453d
UD
20050 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20051 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20052 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20053 for gcc to avoid warnings.
20054 * inet/Makefile (tests): Add tst-checks.
20055 * inet/tst-checks.c: New file.
20056
20057 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20058 warning.
20059
20060 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20061 __wmemcmp_sse2.
20062
20063 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20064 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20065
8a426e12
UD
20066 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20067
9bea3473
UD
200682011-12-02 Ulrich Drepper <drepper@gmail.com>
20069
3a965496
UD
20070 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20071 problem.
20072
9bea3473
UD
20073 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20074
f101631b
UD
200752011-11-29 Joseph Myers <joseph@codesourcery.com>
20076
20077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20078 conditional on GCC version.
20079 (__arch_compare_and_exchange_val_8_acq)
20080 (__arch_compare_and_exchange_val_16_acq)
20081 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20082 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20083 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20084
a98275aa
UD
200852011-12-02 Joseph Myers <joseph@codesourcery.com>
20086
20087 * sysdeps/sh/backtrace.c: New file.
20088
d4cc29a2
AS
200892011-12-02 Andreas Schwab <schwab@redhat.com>
20090
20091 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20092 parenthesis.
20093
6257af2d
AS
200942011-12-01 Andreas Schwab <schwab@redhat.com>
20095
20096 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20097 falling back to utime.
20098
b5f44c1a
AS
200992011-11-30 Andreas Schwab <schwab@redhat.com>
20100
20101 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20102 expectations for float.
20103
f3a6cc0a
AS
201042011-11-29 Andreas Schwab <schwab@redhat.com>
20105
20106 * locale/weight.h (findidx): Add parameter len.
20107 * locale/weightwc.h (findidx): Likewise.
20108 * posix/fnmatch_loop.c (FCT): Adjust caller.
20109 * posix/regcomp.c (build_equiv_class): Likewise.
20110 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20111 * posix/regexec.c (check_node_accept_bytes): Likewise.
20112 * string/strcoll_l.c (STRCOLL): Likewise.
20113 * string/strxfrm_l.c (STRXFRM): Likewise.
20114
9d65ea3a
UD
201152011-11-17 Ulrich Drepper <drepper@gmail.com>
20116
20117 * Makefile.in: Remove CVSOPT handling.
20118 * configure.in: Remove use of AC_REVISION.
20119 * iconvdata/Makefile (distribute): No need to filter out CVS.
20120 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20121 handling.
20122
5583a086
AS
201232011-11-16 Andreas Schwab <schwab@redhat.com>
20124
20125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20126 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20127 [USE_AS_STRNCASECMP_L]: Likewise.
20128 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20129 NO_TLS_DIRECT_SEG_REFS.
20130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20131 Fix argument offsets for non-PIC.
20132 [USE_AS_STRNCASECMP_L]: Likewise.
20133 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20134 NO_TLS_DIRECT_SEG_REFS.
20135
d62a8200
UD
201362011-11-15 Ulrich Drepper <drepper@gmail.com>
20137
9d65ea3a 20138 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20139 O_CLOEXEC.
20140 * locale/loadlocale.c (_nl_load_locale): Likewise.
20141
09f93bd3
AS
201422011-11-15 Andreas Schwab <schwab@redhat.com>
20143
446514f9
AS
20144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20145 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20147 (SYSCALL_GETTIME): Set errno on error.
20148
09f93bd3
AS
20149 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20150 count references to noai6ai_cached.
20151
312be3f9
UD
201522011-11-15 Ulrich Drepper <drepper@gmail.com>
20153
20154 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20155
20156 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20157 FD_CLOEXEC for /proc/self/maps.
20158
20159 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20160 FD_CLOEXEC for /proc/meminfo.
20161
20162 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20163 gai.conf.
20164
20165 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20166 FD_CLOEXEC for given file.
20167
20168 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20169
20170 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20171 FD_CLOEXEC for /etc/hosts.
20172 (_gethtent): Likewise.
20173
20174 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20175
20176 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20177 cancellation and set FD_CLOEXEC for /etc/netgroup.
20178
20179 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20180 reading /etc/publickey.
20181
20182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20183 allow cancellation when reading /etc/group.
20184
20185 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20186 cancellation.
20187 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20188
20189 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20190 when using data file.
20191
20192 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20193
20194 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20195 (write_nis_obj): Use "c" and "e" in fopen.
20196
20197 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20198
20199 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20200
20201 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20202
20203 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20204
20205 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20206 locale.alias.
20207
20208 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20209
20210 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20211
20212 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20213
20214 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20215 file parsing and set FD_CLOEXEC.
20216
82af0fa8
UD
202172011-11-14 Ulrich Drepper <drepper@gmail.com>
20218
20219 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20220
a5fb313c
AS
202212011-11-14 Andreas Schwab <schwab@redhat.com>
20222
20223 * malloc/arena.c (arena_get2): Don't call reused_arena when
20224 _int_new_arena failed.
20225
6abf3465
UD
202262011-11-14 Ulrich Drepper <drepper@gmail.com>
20227
20228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20229 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20230 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20231 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20234 to compile strcasecmp and strncasecmp.
20235 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20236 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20237
20238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20239
76e3966e
UD
202402011-11-13 Ulrich Drepper <drepper@gmail.com>
20241
20242 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20243 locale-defines.sym to gen-as-const-headers.
20244 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20245 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20247 to compile strcasecmp and strncasecmp.
20248 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20249 strcasecmp_l and strncasecmp_l.
20250 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20251 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20252 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20253 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20254 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20255 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20256 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20257 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20258 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20259 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20260 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20261
ab26144e
UD
202622011-11-12 Ulrich Drepper <drepper@gmail.com>
20263
7edb22ef
UD
20264 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20265 result of SYSDEP_GETTIME_CPU to retval.
20266 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20267 parameter list to macro. Remove trailing semicolon. Adjust users.
20268
9694fc44
UD
20269 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20270 variable.
20271
8ad89ef8
UD
20272 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20273 mantissa words.
20274 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20275
0c822ef9
UD
20276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20277 from unused variable.
20278
874e0564
UD
20279 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20280 DWARF definitions.
20281 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20282 for assembling.
20283
3a2edc79
UD
20284 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20285 over namespaces.
20286
f3c2577f
UD
20287 * sunrpc/rpc_prot.c (rejected): Fix case value.
20288
294ce126
UD
20289 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20290 unsigned long long int to avoid warnings in shift.
20291
5e2b63c6
UD
20292 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20293 of use of trans.
20294 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20295 variable tmp.
20296
e7f4b08e
UD
20297 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20298 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20299 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20300
ab26144e
UD
20301 * nis/nis_table.c (nis_list): Use variable of correct type for
20302 result of __follow_path call.
20303
8a6d5255
AZ
203042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20305
20306 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20307 of math functions ceil, trunc, floor, round, and sqrt, when
20308 avaliable on the platform.
20309 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20310 name clash.
20311 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20312 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20313 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20314
aaddc98c
MP
203152011-10-30 Marek Polacek <mpolacek@redhat.com>
20316
20317 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20318 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20319
95b7042b
RM
203202011-11-11 Roland McGrath <roland@hack.frob.com>
20321
20322 * include/unistd.h: Fix __readlink return type.
20323 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20324
57769839
UD
203252011-11-11 Ulrich Drepper <drepper@gmail.com>
20326
20327 * stdlib/ucontext.h: Undo last change for makecontext.
20328
edc5984d
AS
203292011-11-11 Andreas Schwab <schwab@redhat.com>
20330
98591e58
AS
20331 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20332
edc5984d
AS
20333 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20334 * setjmp/setjmp.h: Mark functions as non-leaf.
20335 * setjmp/bits/setjmp2.h: Likewise.
20336 * stdlib/ucontext.h: Likewise.
20337
77cdc054
AS
203382011-11-10 Andreas Schwab <schwab@redhat.com>
20339
20340 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20341 (reused_arena): Don't check arena limit.
20342 (arena_get2): Atomically check arena limit.
20343
fe72eebd
UD
203442011-11-08 Ulrich Drepper <drepper@gmail.com>
20345
5f078c32
UD
20346 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20347 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20348
fe72eebd
UD
20349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20350 instructions.
20351
ae1bc2fa
AS
203522011-11-07 Andreas Schwab <schwab@redhat.com>
20353
7583a88d
AS
20354 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20355 handler when locking.
20356
ae1bc2fa
AS
20357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20358 Fix size of allocated buffer.
20359
10fb0bfa
AS
203602011-11-04 Andreas Schwab <schwab@redhat.com>
20361
998832a4
AS
20362 [BZ #10103]
20363 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20364 declarations for long double functions.
20365 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20366
10fb0bfa
AS
20367 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20368
3d7ba52b
AS
203692011-11-03 Andreas Schwab <schwab@redhat.com>
20370
a9ae54a1
AS
20371 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20372 installed.
20373
3d7ba52b
AS
20374 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20375 is disabled.
20376
bc8db248
ST
203772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20378
20379 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20380
45b96dd6
AS
203812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20382
647776f6
AS
20383 * include/alloca.h (stackinfo_alloca_round): Define.
20384 (extend_alloca): Use it.
20385 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20386 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20387 here.
20388
d91a8b93
AS
20389 * scripts/check-local-headers.sh: Ignore libaudit.h.
20390
45b96dd6
AS
20391 * nscd/Makefile (extra-objs): Make recursively expanded.
20392
432d41ce
UD
203932011-11-01 Ulrich Drepper <drepper@gmail.com>
20394
34372fc6
UD
20395 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20397
fadb59f8
UD
20398 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20399 * posix/tst-rfc3484-2.c: Likewise.
20400 * posix/tst-rfc3484-3.c: Likewise.
20401
78239589
UD
20402 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20403 process_vm_writev.
20404 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20405 process_vm_writev.
20406 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20407 process_vm_writev from libc using GLIBC_2.15 version.
20408
432d41ce
UD
20409 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20410
02f9c6cf
PP
204112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20412
20413 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20414 stack usage.
20415
3a2c0242
UD
204162011-10-31 Ulrich Drepper <drepper@gmail.com>
20417
f4ec4833
UD
20418 [BZ #13367]
20419 * nss/getent.c (initgroups_keys): Show error message in case no group
20420 names are given.
20421
3a2c0242
UD
20422 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20423 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20424 __bump_nl_timestamp.
20425 * nscd/connections (nscd_init): When host database is served open
20426 netlink socket and request notification about configuration changes.
20427 (main_loop_poll): Track netlink file descriptor and bump timestamp
20428 in case data becomes available.
20429 (main_loop_epoll): Likewise.
20430 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20431 (database_pers_head): Add extra_data fileds.
20432 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20433 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20434 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20435 Adjust caller.
20436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20437 in6ai data, call __free_in6ai.
20438 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20439 Add -DHAVE_NETLINK.
20440 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20441 interface information. Reuse previous data if netlink timestamp
20442 is not changed.
20443 (__bump_nl_timestamp): New function.
20444 (__free_in6ai): New function.
20445
636064eb
UD
204462011-10-30 Ulrich Drepper <drepper@gmail.com>
20447
20448 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20449 close_not_cancel_no_status here.
20450 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20451
9beb2334
UD
204522011-10-29 Ulrich Drepper <drepper@gmail.com>
20453
6ef76f3b
UD
20454 [BZ #13276]
20455 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20456 return value.
20457
0ffc4f3e 20458 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20459 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20460 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20461
cb95113e
UD
204622011-07-03 Andreas Jaeger <aj@suse.de>
20463
20464 [BZ #10709]
20465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20466 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20467 * math/libm-test.inc (sin_test): Add test case.
20468
a1b560ff
UD
204692011-10-29 Ulrich Drepper <drepper@gmail.com>
20470
c9aaface
UD
20471 [BZ #13337]
20472 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20473 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20474
d272e7f1
UD
20475 * elf/chroot_canon.c (chroot_canon): Cleanups.
20476
1bc33071
UD
20477 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20478
1760874d
TJ
20479 [BZ #13335]
20480 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20481 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20482
51d91b18
UD
20483 * string/test-strchr.c: Make usable for strchrnul testing.
20484 * string/test-strchrnul.c: New file.
20485 * string/Makefile (strop-tests): Add strchrnul.
20486
a1b560ff 20487 * po/it.po: Update from translation team.
b611fb81 20488 * po/es.po: Likewise.
a1b560ff 20489
a5b81e1f
UD
204902011-10-28 Ulrich Drepper <drepper@gmail.com>
20491
fd52bc6d
UD
20492 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20493 the three constants needed as parameters. Drop the others.
20494 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20495 __m128i_strloadu_tolower.
52e4b9eb
UD
20496 Create and initialize variable zero and use it in all the places
20497 where _mm_setzero_si128 was used.
fd52bc6d 20498
a5b81e1f
UD
20499 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20500 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20501 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20502 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20503 anymore.
20504 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20505 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20506 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20507 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20508 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20509 __mpranred, __mptan.
20510 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20511 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20512 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20513 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20514 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20515 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20516 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20517 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20518 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20519
b4343346
AS
205202011-10-28 Andreas Schwab <schwab@redhat.com>
20521
0c92d8a8
AS
20522 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20523 redefine if SHARED.
20524 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20525
b4343346
AS
20526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20527 wide char related routines to wcsmbs subdir.
20528
3871f58f
AS
205292011-10-27 Andreas Schwab <schwab@redhat.com>
20530
20531 [BZ #13344]
20532 * misc/sys/cdefs.h (__THROWNL): Define.
20533 * posix/unistd.h: Use __THREADNL instead of __THREAD
20534 for memory synchronization functions.
20535
94d44d9f
RM
205362011-10-26 Roland McGrath <roland@hack.frob.com>
20537
21b64b15 20538 [BZ #13349]
94d44d9f
RM
20539 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20540 doesn't exist.
20541 * manual/stdio.texi (Obstack Streams): Node removed.
20542
f6ce9294
AS
205432011-10-26 Andreas Schwab <schwab@redhat.com>
20544
80479147
AS
20545 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20546 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20548
f6ce9294
AS
20549 * math/math_private.h (math_force_eval): Allow non-addressable
20550 arguments.
20551 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20552
618280a1
UD
205532011-10-25 Ulrich Drepper <drepper@gmail.com>
20554
e0016b11
UD
20555 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20556 file is not needed.
20557
20558 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20560 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20561 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20563 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20565 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20566 Add AVX variants.
20567 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20568 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20569 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20570 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20571 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20572 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20573 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20574 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20575 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20576 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20577 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20578 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20579 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20580 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20581 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20582 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20583 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20584 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20585 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20586
20587 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20588 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20589
618280a1
UD
20590 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20591 place. Use VEX encoding when compiling for AVX.
20592
37822576
AS
205932011-10-25 Andreas Schwab <schwab@redhat.com>
20594
1f1e1947
AS
20595 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20596 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20597
37822576
AS
20598 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20599
31ea014d
UD
206002011-10-25 Ulrich Drepper <drepper@gmail.com>
20601
d7826aa1 20602 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20603 useless if() expression.
d7826aa1
UD
20604 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20605 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20606 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20614 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20615 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20617 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20618 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20619 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20620 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20622 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20623
31ea014d
UD
20624 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20625
16437fec
AS
206262011-10-25 Andreas Schwab <schwab@redhat.com>
20627
20628 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20629 condition.
20630 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20631
31d3cc00
UD
206322011-10-25 Ulrich Drepper <drepper@gmail.com>
20633
20634 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20635 .text section. Avoid duplicate constants.
20636 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20646 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20647 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20648 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20649 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20650 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20651 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20652 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20653 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20656 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20657 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20658 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20659 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20660 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20661 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20662 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20663 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20664 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20665 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20666 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20667 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20668 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20669 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20670 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20671 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20672 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20674 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20675 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20676 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20677 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20678 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20679 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20680 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20681
58985aa9
UD
206822011-10-24 Ulrich Drepper <drepper@gmail.com>
20683
202c9deb
UD
20684 * sysdeps/x86_64/dla.h: Move to ...
20685 * sysdeps/x86_64/fpu/dla.h: ...here.
20686 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20687 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20688
af968f62
UD
20689 * config.make.in: Add have-mfma4 entry.
20690 * configure.in: Substitute libc_cv_cc_fma4.
20691 * math/Makefile (dbl-only-routines): Add sincostab.
20692 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20693 Use __sincostab not sincos.
20694 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20695 name is a macro.
20696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20700 using __copysign.
20701 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20702 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20703 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20704 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20705 and __inv.
20706 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20707 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20708 __copysign.
20709 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20710 define aliases when function name is a macro.
20711 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20712 sysdeps/ieee754/dbl-64/sincos.tbl.
20713 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20714 fma4-enabled routines.
20715 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20716 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20717 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20718 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20719 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20720 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20721 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20724 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20725 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20726 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20727 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20728 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20729 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20730 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20731 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20732 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20733 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20735 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20736 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20737 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20738 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20740 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20741 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20742 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20743 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20744 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20745
58985aa9
UD
20746 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20747 rename.
20748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20755 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20756
a201fbcf
AS
207572011-10-24 Andreas Schwab <schwab@redhat.com>
20758
20759 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20760
fc2ee42a
LD
207612011-10-23 Ulrich Drepper <drepper@gmail.com>
20762
bb3129bd
UD
20763 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20764
0275fff8
UD
20765 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20766 prediction.
20767 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20768
2fa2ae85
UD
20769 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20770 Remove unused variable magic_bits.
20771 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20772
fc2ee42a
LD
20773 * string/strnlen.c: Define and use STRNLEN macro.
20774 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20775 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20776 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20777 * wcsmbs/wcslen.c: Define and use WCSLEN.
20778 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20779 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20780 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20781 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20782 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20783 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20784 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20785
ce7dd29f
LD
207862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20787
20788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20789 strnlen-sse2-no-bsf.
20790 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20792 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20793 Add strnlen support.
20794 (USE_AS_STRNLEN): New macro.
20795 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20796 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20797 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20798 * sysdeps/x86_64/wcslen.S: New file.
20799
979c70a3
MZ
208002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20801
20802 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20803 XMM-moves are used for copying on small sizes.
20804
2d09f82f
LD
208052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20806
20807 * wcsmbs/Makefile (strop-tests): Add wcschr.
20808 * wcsmbs/test-wcschr.c: New file.
20809 * string/test-strchr.c: Update.
20810 Add wcschr support.
20811 (WIDE): New macro.
20812
619fccca
LD
208132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20814
2d09f82f 20815 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20816 * wcsmbs/test-wcslen.c: New file.
20817 * string/test-strlen.c: Update.
20818 Add wcslen support.
20819 (WIDE): New macro.
20820
09f699ea
UD
208212011-10-23 Ulrich Drepper <drepper@gmail.com>
20822
20823 * po/it.po: Update from translation team.
20824
95584d3b
LD
208252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20826
20827 * sysdeps/x86_64/wcscmp.S: Update.
20828 Fix wrong comparison semantics.
20829 wcscmp shall use signed comparison not unsigned.
20830 Don't use substraction to avoid overflow bug.
20831 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20832 * wcsmbc/wcscmp.c: Likewise.
20833 * string/test-strcmp.c: Likewise.
20834 Add new tests to check cases with negative values.
20835
c8b3296b
UD
208362011-10-23 Ulrich Drepper <drepper@gmail.com>
20837
20838 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20839 * sysdeps/x86_64/dla.h: ...here. New file.
20840 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20849
246ad57a
AS
208502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20851
20852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20853 __ynl_finite aliases.
20854
a1a87169
UD
208552011-10-22 Ulrich Drepper <drepper@gmail.com>
20856
0d355eb7
UD
20857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20858
a1a87169
UD
20859 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20860 define DLA_FMA.
20861 [DLA_FMA] (EMULV): Use DLA_FMA.
20862 [DLA_FMA] (MUL12): Use EMULV.
20863 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20864 that are not needed.
20865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20872
ee2aafe0
AS
208732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20874
20875 * math/s_nan.c: Undef __nan.
20876 * math/s_nanf.c: Undef __nanf.
20877 * math/s_nanl.c: Undef __nanl.
20878 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20879 "math_private.h".
20880
bc62c2fb
UD
208812011-10-22 Ulrich Drepper <drepper@gmail.com>
20882
77425c63
UD
20883 * math/s_catan.c: Add branch predictions.
20884 * math/s_catanf.c: Likewise.
20885 * math/s_catanh.c: Likewise.
20886 * math/s_catanhf.c: Likewise.
20887 * math/s_catanhl.c: Likewise.
20888 * math/s_catanl.c: Likewise.
20889 * math/s_cexp.c: Likewise.
20890 * math/s_cexpf.c: Likewise.
20891 * math/s_cexpl.c: Likewise.
20892 * math/s_clog.c: Likewise.
20893 * math/s_clog10.c: Likewise.
20894 * math/s_clog10f.c: Likewise.
20895 * math/s_clog10l.c: Likewise.
20896 * math/s_clogf.c: Likewise.
20897 * math/s_clogl.c: Likewise.
20898 * math/s_csqrt.c: Likewise.
20899 * math/s_csqrtf.c: Likewise.
20900 * math/s_csqrtl.c: Likewise.
20901 * math/s_ctanf.c: Likewise.
20902 * math/s_ctanh.c: Likewise.
20903 * math/s_ctanhf.c: Likewise.
20904 * math/s_ctanhl.c: Likewise.
20905 * math/s_ctanl.c: Likewise.
20906
bc62c2fb
UD
20907 * math/math_private.h: Define __nan, __nanf, __nanl.
20908 * math/s_cacosh.c: Include <math_private.h>.
20909 * math/s_cacoshl.c: Likewise.
20910 * math/s_casinh.c: Likewise.
20911 * math/s_casinhf.c: Likewise.
20912 * math/s_casinhl.c: Likewise.
20913 * math/s_ccos.c: Rely entire on ccosh.
20914 * math/s_ccosf.c: Rely entire on ccoshf.
20915 * math/s_ccosl.c: Rely entirely on ccoshl.
20916 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20917 Remove tests for FE_INVALID.
20918 * math/s_ccoshf.c: Likewise.
20919 * math/s_ccoshl.c: Likewise.
20920 * math/s_csin.c: Likewise.
20921 * math/s_csinf.c: Likewise.
20922 * math/s_csinh.c Likewise.
20923 * math/s_csinhf.c: Likewise.
20924 * math/s_csinhl.c: Likewise.
20925 * math/s_csinl.c: Likewise.
20926 * math/s_ctan.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20928 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20929 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20930
8ec250a4
UD
209312011-10-21 Ulrich Drepper <drepper@gmail.com>
20932
c196fed8
UD
20933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20934 compilation problems.
20935
8ec250a4
UD
20936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20937 __builtin_expect.
20938
8d4f46c6
UD
209392011-10-20 Ulrich Drepper <drepper@gmail.com>
20940
ed72b654
UD
20941 * sysdeps/i386/configure.in: Test for -mfma4 option.
20942 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20943 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20944 COMMON_CPUID_INDEX_80000001.
20945 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20946 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20947 use it if FMA3 is not supported.
20948 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20949
8d4f46c6
UD
20950 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20951 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20952
d45c60c2
AS
209532011-10-20 Andreas Schwab <schwab@redhat.com>
20954
20955 [BZ #12892]
20956 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20957 it would create a cycle with a link time dependency.
20958
d9a4d2ab
UD
209592011-10-19 Ulrich Drepper <drepper@gmail.com>
20960
855d1560
UD
20961 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20962 instruction.
20963 * string/Makefile (strop-tests): Add rawmemchr.
20964 * string/test-rawmemchr.c: New file.
20965
d9a4d2ab
UD
20966 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20967 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20968 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20969 when compiling str{,n}casecmp and when AVX is available. Hook up
20970 new optimized code in initializers.
20971
8f3b1ffe
AS
209722011-10-19 Andreas Schwab <schwab@redhat.com>
20973
20974 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20975 __feraiseexcept instead of feraiseexcept.
20976
d38f1dba
UD
209772011-10-18 Ulrich Drepper <drepper@gmail.com>
20978
d9a8d0ab
UD
20979 * math/math_private.h: Define defaults for libc_fetestexcept and
20980 libc_feupdateenv.
20981 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20982 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20983 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20984 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20985 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20986 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20987 libc_fetestexcept and libc_feupdateenv.
20988
4855e3dd
UD
20989 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20990 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20991 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20992 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20993 libc_feholdexcept_setround.
20994
581d30e3
UD
20995 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20996 Add s_nearbyint-c and s_nearbyintf-c.
20997 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20998 nearbyintf inlines.
20999 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21000 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21001 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21002 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21003
d38f1dba
UD
21004 * math/math_private.h: Define defaults for libc_fegetround,
21005 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21006 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21007 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21008 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21009 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21010 standard functions.
21011 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21012 Remove comments and hacks for old compiler versions.
21013 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21014 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21015 libc_feholdexceptl.
21016
caa6c9d8
AS
210172011-10-18 Andreas Schwab <schwab@redhat.com>
21018
21019 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21020 (__feraiseexcept_renamed): Add __NTH.
21021 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21022 namespace violations.
21023
97c066e6
UD
210242011-10-17 Ulrich Drepper <drepper@gmail.com>
21025
99ce7b04
UD
21026 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21027
1004d182
UD
21028 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21029
228a984d
UD
21030 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21031 recently added interfaces.
21032 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21033
c8553a6a
UD
21034 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21035 about macro parameter expansion.
21036
ed22dcf6
UD
21037 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21038 __NO_MATH_INLINES is defined. Cleanups.
21039
21040 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21041 and __floorf is target has SSE4.1.
21042 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21043 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21044 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21045 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21046
b171c137
UD
21047 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21048 name.
21049 (floorf): Likewise.
21050
97c066e6
UD
21051 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21052
629f62ef
AS
210532011-10-17 Andreas Schwab <schwab@redhat.com>
21054
49a43d80
AS
21055 * misc/sys/cdefs.h: Fix last change.
21056
629f62ef
AS
21057 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21058 database lookup.
21059
e453f6cd
UD
210602011-10-16 Ulrich Drepper <drepper@gmail.com>
21061
aa78043a
UD
21062 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21063
ad0f5cad
UD
21064 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21065 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21070 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21071 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21072 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21073 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21074 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21075 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21076 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21077 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21078 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21079 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21080 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21081 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21082 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21083 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21084 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21085 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21086
21087 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21088 ceil, ceilf, floor, floorf.
21089
21090 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21091 Perform IRELATIVE relocations last.
21092
e453f6cd
UD
21093 * elf/do-rel.h: Add another parameter nrelative, replacing the
21094 local variable with the same name. Change name of the function
21095 to end in Rel or Rela (uppercase).
21096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21097 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21098 elf_dynamic_do_##reloc function.
21099
fd5bdc09
UD
211002011-10-15 Ulrich Drepper <drepper@gmail.com>
21101
79b195b5
UD
21102 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21103 is sufficient, at least on modern CPUs.
21104
d4a28569
UD
21105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21106
b61099b5
UD
21107 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21109
bcf01e6d
UD
21110 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21111 __expl_finite.
21112 * math/bits/math-finite.h: Add entries for exp.
21113 * math/e_expl.c: Add __*_finite alias.
21114 * sysdeps/i386/fpu/e_exp.S: Likewise.
21115 * sysdeps/i386/fpu/e_expf.S: Likewise.
21116 * sysdeps/i386/fpu/e_expl.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21118 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21122 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21124
ba1a0d59
UD
21125 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21126 is sufficient, at least on modern CPUs.
21127
fd5bdc09
UD
21128 * ctype/ctype-info.c (__ctype_init): Define.
21129 * include/ctype.h (__ctype_init): Declare.
21130 (__ctype_b_loc): The variable is always initialized.
21131 (__ctype_toupper_loc): Likewise.
21132 (__ctype_tolower_loc): Likewise.
21133 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21134 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21135
7872cfb0
AS
211362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21137
b468825a
AS
21138 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21139
7872cfb0
AS
21140 * configure.in: Also look in $cxxmachine/include for C++ system
21141 headers.
21142
be13f7bf
LD
211432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21144
21145 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21146 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21147 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21148 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21150 (USE_AS_WMEMCMP): New macro.
21151 Fixing indents.
21152 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21153 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21154 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21155 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21157 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21158 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21159 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21160 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21161 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21162 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21163 (USE_AS_WMEMCMP): New macro.
21164 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21165 * sysdeps/string/test-memcmp.c: Update.
21166 Fix simple_wmemcmp.
21167 Add new tests.
21168 * wcsmbs/wmemcmp.c: Update.
21169 (WMEMCMP): New macro.
21170 Fix overflow bug.
21171
556a2007
AJ
211722011-10-12 Andreas Jaeger <aj@suse.de>
21173
21174 [BZ #13268]
21175 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21176
538faaa7
UD
211772011-10-15 Ulrich Drepper <drepper@gmail.com>
21178
ab6737ff
UD
21179 * libio/iofwide.c (do_length): Avoid warning.
21180
538faaa7
UD
21181 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21182
396a21b1
UD
211832011-10-14 Ulrich Drepper <drepper@gmail.com>
21184
cdf2901f
UD
21185 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21186
38ad40ce
UD
21187 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21188 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21189 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21190 * sysdeps/i386/i686/fpu/e_log.S: New file.
21191 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21192 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21193
396a21b1
UD
21194 * ctype/ctype.h: Add support for inlined isXXX functions when
21195 compiling C++ code.
21196
6b1f68c9
AS
211972011-10-14 Andreas Schwab <schwab@redhat.com>
21198
349290c0
AS
21199 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21200
6b1f68c9
AS
21201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21202
f2282d42
RM
212032011-10-13 Roland McGrath <roland@hack.frob.com>
21204
21205 [BZ #13291]
21206 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21207
5298ffa8
AS
212082011-10-13 Andreas Schwab <schwab@redhat.com>
21209
714fad23
AS
21210 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21211 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21212 feraiseexcept.
21213
81dcc7fb
AS
21214 * sysdeps/x86_64/memrchr.S: Check for zero size.
21215
5298ffa8
AS
21216 * string/stratcliff.c: Add memrchr tests.
21217
951fbcec
LD
212182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21219
21220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21221 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21222 rawmemchr-sse2 rawmemchr-sse2-bsf.
21223 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21224 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21225 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21226 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21227 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21228 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21229 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21230 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21231 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21232 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21233 * string/memrchr.c (MEMRCHR): New macro.
21234
0ac5ae23
UD
212352011-10-12 Ulrich Drepper <drepper@gmail.com>
21236
21237 Add integration with gcc's -ffinite-math-only and optimize wrapper
21238 functions in libm.
21239 * Versions.def: Define GLIBC_2.15 version for libm.
21240 * math/Makefile (headers): Add bits/math-finite.h.
21241 * math/bits/math-finite.h: New file.
21242 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21243 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21244 * math/e_acoshl.c: Add __*_finite alias.
21245 * math/e_acosl.c: Likewise.
21246 * math/e_asinl.c: Likewise.
21247 * math/e_atan2l.c: Likewise.
21248 * math/e_atanhl.c: Likewise.
21249 * math/e_coshl.c: Likewise.
21250 * math/e_exp10.c: Likewise.
21251 * math/e_exp10f.c: Likewise.
21252 * math/e_exp10l.c: Likewise.
21253 * math/e_exp2l.c: Likewise.
21254 * math/e_fmodl.c: Likewise.
21255 * math/e_gammal_r.c: Likewise.
21256 * math/e_hypotl.c: Likewise.
21257 * math/e_j0l.c: Likewise.
21258 * math/e_j1l.c: Likewise.
21259 * math/e_jnl.c: Likewise.
21260 * math/e_lgammal_r.c: Likewise.
21261 * math/e_log10l.c: Likewise.
21262 * math/e_log2l.c: Likewise.
21263 * math/e_logl.c: Likewise.
21264 * math/e_powl.c: Likewise.
21265 * math/e_sinhl.c: Likewise.
21266 * math/e_sqrtl.c: Likewise.
21267 * math/e_scalb.c: Completely rewritten and optimized.
21268 * math/e_scalbf.c: Likewise.
21269 * math/e_scalbl.c: Likewise.
21270 * math/w_acos.c: Likewise.
21271 * math/w_acosf.c: Likewise.
21272 * math/w_acosl.c: Likewise.
21273 * math/w_acosh.c: Likewise.
21274 * math/w_acoshf.c: Likewise.
21275 * math/w_acoshl.c: Likewise.
21276 * math/w_asin.c: Likewise.
21277 * math/w_asinf.c: Likewise.
21278 * math/w_asinl.c: Likewise.
21279 * math/w_atan2.c: Likewise.
21280 * math/w_atan2f.c: Likewise.
21281 * math/w_atan2l.c: Likewise.
21282 * math/w_atanh.c: Likewise.
21283 * math/w_atanhf.c: Likewise.
21284 * math/w_atanhl.c: Likewise.
21285 * math/w_exp10.c: Likewise.
21286 * math/w_exp10f.c: Likewise.
21287 * math/w_exp10l.c: Likewise.
21288 * math/w_fmod.c: Likewise.
21289 * math/w_fmodf.c: Likewise.
21290 * math/w_fmodl.c: Likewise.
21291 * math/w_j0.c: Likewise.
21292 * math/w_j0f.c: Likewise.
21293 * math/w_j0l.c: Likewise.
21294 * math/w_j1.c: Likewise.
21295 * math/w_j1f.c: Likewise.
21296 * math/w_j1l.c: Likewise.
21297 * math/w_jn.c: Likewise.
21298 * math/w_jnf.c: Likewise.
21299 * math/w_log.c: Likewise.
21300 * math/w_logf.c: Likewise.
21301 * math/w_logl.c: Likewise.
21302 * math/w_log10.c: Likewise.
21303 * math/w_log10f.c: Likewise.
21304 * math/w_log10l.c: Likewise.
21305 * math/w_log2.c: Likewise.
21306 * math/w_log2f.c: Likewise.
21307 * math/w_log2l.c: Likewise.
21308 * math/w_pow.c: Likewise.
21309 * math/w_powf.c: Likewise.
21310 * math/w_powl.c: Likewise.
21311 * math/w_remainder.c: Likewise.
21312 * math/w_remainderf.c: Likewise.
21313 * math/w_remainderl.c: Likewise.
21314 * math/w_scalb.c: Likewise.
21315 * math/w_scalbf.c: Likewise.
21316 * math/w_scalbl.c: Likewise.
21317 * math/w_sqrt.c: Likewise.
21318 * math/w_sqrtf.c: Likewise.
21319 * math/w_sqrtl.c: Likewise.
21320 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21321 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21322 used.
21323 * math/math_private.h: Declare __kernel_standard_f.
21324 * math/w_cosh.c: Remove cruft and optimize a bit.
21325 * math/w_coshf.c: Likewise.
21326 * math/w_coshl.c: Likewise.
21327 * math/w_exp2.c: Likewise.
21328 * math/w_exp2f.c: Likewise.
21329 * math/w_exp2l.c: Likewise.
21330 * math/w_hypot.c: Likewise.
21331 * math/w_hypotf.c: Likewise.
21332 * math/w_hypotl.c: Likewise.
21333 * math/w_lgamma.c: Likewise.
21334 * math/w_lgamma_r.c: Likewise.
21335 * math/w_lgammaf.c: Likewise.
21336 * math/w_lgammaf_r.c: Likewise.
21337 * math/w_lgammal.c: Likewise.
21338 * math/w_lgammal_r.c: Likewise.
21339 * math/w_sinh.c: Likewise.
21340 * math/w_sinhf.c: Likewise.
21341 * math/w_sinhl.c: Likewise.
21342 * math/w_tgamma.c: Likewise.
21343 * math/w_tgammaf.c: Likewise.
21344 * math/w_tgammal.c: Likewise.
21345 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21347 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21348 Minor optimizations. Pretty printing. Remove cruft.
21349 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21350 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21351 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21352 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21353 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21354 * sysdeps/i386/fpu/e_asin.S: Likewise.
21355 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21356 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21357 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21358 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21359 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21360 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21361 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21362 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21363 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21364 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21365 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21366 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21367 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21368 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21369 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21370 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21371 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21372 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21373 * sysdeps/i386/fpu/e_log.S: Likewise.
21374 * sysdeps/i386/fpu/e_log10.S: Likewise.
21375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21376 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21377 * sysdeps/i386/fpu/e_log2.S: Likewise.
21378 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21380 * sysdeps/i386/fpu/e_logf.S: Likewise.
21381 * sysdeps/i386/fpu/e_logl.S: Likewise.
21382 * sysdeps/i386/fpu/e_pow.S: Likewise.
21383 * sysdeps/i386/fpu/e_powf.S: Likewise.
21384 * sysdeps/i386/fpu/e_powl.S: Likewise.
21385 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21386 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21387 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21388 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21390 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21391 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21392 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21393 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21414 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21415 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21418 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21419 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21420 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21421 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21422 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21423 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21424 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21425 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21426 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21427 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21428 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21429 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21430 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21431 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21432 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21433 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21434 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21435 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21436 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21440 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21441 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21444 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21445 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21447 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21448 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21452 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21453 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21454 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21462 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21468 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21469 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21470 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21471 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21472 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21473 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21474 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21475 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21476 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21477 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21478 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21479 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21481 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21482 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21483 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21484 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21485 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21486 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21487 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21488 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21489 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21490 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21491 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21492 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21493 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21494 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21495 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21496 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21497 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21498 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21499 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21500 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21502 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21503 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21504 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21505 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21506 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21507 (__isnanf): Likewise.
21508 (__isinf_ns): Likewise.
21509 (__isinf_nsf): Likewise.
21510 (__finite): Likewise.
21511 (__finitef): Likewise.
21512 (__ieee754_sqrt): Define as macro.
21513 (__ieee754_sqrtf): Define as macro.
21514 (__ieee754_sqrtl): Define as macro.
21515 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21516 inlined copy.
21517 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21518 __FINITE_MATH_ONLY__ consistent.
21519 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21520
12cc2fcd
AS
215212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21522
a843a204
AS
21523 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21524 of rawmemchr.
21525
12cc2fcd
AS
21526 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21527
c853acd5
UD
215282011-10-09 Ulrich Drepper <drepper@gmail.com>
21529
21530 * po/ja.po: Update from translation team.
21531
c658d255
RM
215322011-10-08 Roland McGrath <roland@hack.frob.com>
21533
110946e4
RM
21534 * locale/programs/locarchive.c (prepare_address_space): New function.
21535 (create_archive, enlarge_archive, open_archive): Use it.
21536
50604220
RM
21537 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21538 inside [SHARED], where it is used.
21539
c658d255
RM
21540 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21541
21542 * nss/getent.c (netgroup_keys): Remove unused variable.
21543 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21544
6a621eb7
UD
215452011-10-08 Ulrich Drepper <drepper@gmail.com>
21546
7edb55ce
UD
21547 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21551 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21552 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21553 * math/Makefile (libm-calls): Add s_isinf_ns.
21554 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21555 * math/multc3.c: Likewise.
21556 * math/s_casin.c: Likewise.
21557 * math/s_casinf.c: Likewise.
21558 * math/s_casinl.c: Likewise.
21559 * math/s_ccos.c: Likewise.
21560 * math/s_ccosf.c: Likewise.
21561 * math/s_ccosl.c: Likewise.
21562 * math/s_ctan.c: Likewise.
21563 * math/s_ctanf.c: Likewise.
21564 * math/s_ctanh.c: Likewise.
21565 * math/s_ctanhf.c: Likewise.
21566 * math/s_ctanhl.c: Likewise.
21567 * math/s_ctanl.c: Likewise.
21568 * math/w_fmod.c: Likewise.
21569 * math/w_fmodf.c: Likewise.
21570 * math/w_fmodl.c: Likewise.
21571 * math/w_remainder.c: Likewise.
21572 * math/w_remainderf.c: Likewise.
21573 * math/w_remainderl.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21575 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21578 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21579 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21580 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21581 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21582
187da0ae
UD
21583 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21584 of the number.
21585 * stdio-common/printf_fphex.c: Likewise.
21586 * stdio-common/printf_size.c: Likewise.
21587
9277c064
UD
21588 * math/e_exp10.c: Include math_private.h using <...> not "...".
21589 * math/e_exp10f.c: Likewise.
21590 * math/e_exp10l.c: Likewise.
21591 * math/e_exp2l.c: Likewise.
21592 * math/e_j0l.c: Likewise.
21593 * math/e_j1l.c: Likewise.
21594 * math/e_jnl.c: Likewise.
21595 * math/e_lgammal_r.c: Likewise.
21596 * math/e_rem_pio2l.c: Likewise.
21597 * math/e_scalb.c: Likewise.
21598 * math/e_scalbf.c: Likewise.
21599 * math/e_scalbl.c: Likewise.
21600 * math/k_cosl.c: Likewise.
21601 * math/k_sinl.c: Likewise.
21602 * math/k_tanl.c: Likewise.
21603 * math/s_cacoshf.c: Likewise.
21604 * math/s_catan.c: Likewise.
21605 * math/s_catanf.c: Likewise.
21606 * math/s_catanh.c: Likewise.
21607 * math/s_catanhf.c: Likewise.
21608 * math/s_catanhl.c: Likewise.
21609 * math/s_catanl.c: Likewise.
21610 * math/s_ccosh.c: Likewise.
21611 * math/s_ccoshf.c: Likewise.
21612 * math/s_ccoshl.c: Likewise.
21613 * math/s_cexp.c: Likewise.
21614 * math/s_cexpf.c: Likewise.
21615 * math/s_cexpl.c: Likewise.
21616 * math/s_clog.c: Likewise.
21617 * math/s_clog10.c: Likewise.
21618 * math/s_clog10f.c: Likewise.
21619 * math/s_clog10l.c: Likewise.
21620 * math/s_clogf.c: Likewise.
21621 * math/s_clogl.c: Likewise.
21622 * math/s_csin.c: Likewise.
21623 * math/s_csinf.c: Likewise.
21624 * math/s_csinh.c: Likewise.
21625 * math/s_csinhf.c: Likewise.
21626 * math/s_csinhl.c: Likewise.
21627 * math/s_csinl.c: Likewise.
21628 * math/s_csqrt.c: Likewise.
21629 * math/s_csqrtf.c: Likewise.
21630 * math/s_csqrtl.c: Likewise.
21631 * math/s_ctan.c: Likewise.
21632 * math/s_ctanf.c: Likewise.
21633 * math/s_ctanh.c: Likewise.
21634 * math/s_ctanhf.c: Likewise.
21635 * math/s_ctanhl.c: Likewise.
21636 * math/s_ctanl.c: Likewise.
21637 * math/s_ldexp.c: Likewise.
21638 * math/s_ldexpf.c: Likewise.
21639 * math/s_ldexpl.c: Likewise.
21640 * math/s_significand.c: Likewise.
21641 * math/s_significandf.c: Likewise.
21642 * math/s_significandl.c: Likewise.
21643 * math/w_acos.c: Likewise.
21644 * math/w_acosf.c: Likewise.
21645 * math/w_acosh.c: Likewise.
21646 * math/w_acoshf.c: Likewise.
21647 * math/w_acoshl.c: Likewise.
21648 * math/w_acosl.c: Likewise.
21649 * math/w_asin.c: Likewise.
21650 * math/w_asinf.c: Likewise.
21651 * math/w_asinl.c: Likewise.
21652 * math/w_atan2.c: Likewise.
21653 * math/w_atan2f.c: Likewise.
21654 * math/w_atan2l.c: Likewise.
21655 * math/w_atanh.c: Likewise.
21656 * math/w_atanhf.c: Likewise.
21657 * math/w_atanhl.c: Likewise.
21658 * math/w_cosh.c: Likewise.
21659 * math/w_coshf.c: Likewise.
21660 * math/w_coshl.c: Likewise.
21661 * math/w_dremf.c: Likewise.
21662 * math/w_exp10.c: Likewise.
21663 * math/w_exp10f.c: Likewise.
21664 * math/w_exp10l.c: Likewise.
21665 * math/w_exp2.c: Likewise.
21666 * math/w_exp2f.c: Likewise.
21667 * math/w_fmod.c: Likewise.
21668 * math/w_fmodf.c: Likewise.
21669 * math/w_fmodl.c: Likewise.
21670 * math/w_hypot.c: Likewise.
21671 * math/w_hypotf.c: Likewise.
21672 * math/w_hypotl.c: Likewise.
21673 * math/w_j0.c: Likewise.
21674 * math/w_j0f.c: Likewise.
21675 * math/w_j0l.c: Likewise.
21676 * math/w_j1.c: Likewise.
21677 * math/w_j1f.c: Likewise.
21678 * math/w_j1l.c: Likewise.
21679 * math/w_jn.c: Likewise.
21680 * math/w_jnf.c: Likewise.
21681 * math/w_jnl.c: Likewise.
21682 * math/w_lgamma.c: Likewise.
21683 * math/w_lgamma_r.c: Likewise.
21684 * math/w_lgammaf.c: Likewise.
21685 * math/w_lgammaf_r.c: Likewise.
21686 * math/w_lgammal.c: Likewise.
21687 * math/w_lgammal_r.c: Likewise.
21688 * math/w_log.c: Likewise.
21689 * math/w_log10.c: Likewise.
21690 * math/w_log10f.c: Likewise.
21691 * math/w_log10l.c: Likewise.
21692 * math/w_log2.c: Likewise.
21693 * math/w_log2f.c: Likewise.
21694 * math/w_log2l.c: Likewise.
21695 * math/w_logf.c: Likewise.
21696 * math/w_logl.c: Likewise.
21697 * math/w_pow.c: Likewise.
21698 * math/w_powf.c: Likewise.
21699 * math/w_powl.c: Likewise.
21700 * math/w_remainder.c: Likewise.
21701 * math/w_remainderf.c: Likewise.
21702 * math/w_remainderl.c: Likewise.
21703 * math/w_scalb.c: Likewise.
21704 * math/w_scalbf.c: Likewise.
21705 * math/w_scalbl.c: Likewise.
21706 * math/w_sinh.c: Likewise.
21707 * math/w_sinhf.c: Likewise.
21708 * math/w_sinhl.c: Likewise.
21709 * math/w_sqrt.c: Likewise.
21710 * math/w_sqrtf.c: Likewise.
21711 * math/w_sqrtl.c: Likewise.
21712 * math/w_tgamma.c: Likewise.
21713 * math/w_tgammaf.c: Likewise.
21714 * math/w_tgammal.c: Likewise.
21715
6a621eb7
UD
21716 * po/ja.po: Update from translation team.
21717
bf582445
AJ
217182011-09-29 Andreas Jaeger <aj@suse.de>
21719
f9efbf3a
AJ
21720 [BZ #13179]
21721 * sunrpc/netname.c (netname2host): Fix logic.
21722
bf582445
AJ
21723 [BZ #6779]
21724 [BZ #6783]
21725 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21726 correctly.
21727 * math/w_remainder.c (__remainder): Likewise.
21728 * math/w_remainderf.c (__remainderf): Likewise.
21729 * math/libm-test.inc (remainder_test): Add test cases.
21730
48693bea
AK
217312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21732
21733 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21734 sdiv_qrnnd.
21735
42622229
LD
217362011-10-07 Ulrich Drepper <drepper@gmail.com>
21737
21738 * string/test-memcmp.c: Avoid unncessary #defines.
21739 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21740
093ecf92
LD
217412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21742
21743 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21744 Use new sse2 version for core i3 - i7 as it's faster
21745 than sse42 version.
21746 (bit_Prefer_PMINUB_for_stringop): New.
21747 * sysdeps/x86_64/rawmemchr.S: Update.
21748 Replace with faster SSE2 version.
21749 * sysdeps/x86_64/memrchr.S: New file.
21750 * sysdeps/x86_64/memchr.S: Update.
21751 Replace with faster SSE2 version.
21752
fde56e5c
MP
217532011-09-12 Marek Polacek <mpolacek@redhat.com>
21754
21755 * elf/dl-load.c (lose): Add cast to avoid warning.
21756
21fd49a9
UD
217572011-10-07 Ulrich Drepper <drepper@gmail.com>
21758
5a06e643
UD
21759 * po/ca.po: Update from translation team.
21760
684ae515
UD
21761 * inet/getnetgrent_r.c: Hook up nscd.
21762 * nscd/Makefile (routines): Add nscd_netgroup.
21763 (nscd-modules): Add netgroupcache.
21764 (CFLAGS-netgroupcache.c): Define.
21765 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21766 (cache_search): Add const to second parameter.
21767 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21768 INNETGR.
21769 (dbs): Add netgrdb entry.
21770 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21771 (verify_persistent_db): Handle netgrdb.
21772 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21773 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21774 GETFDNETGR.
21775 (netgroup_response_header): Define.
21776 (innetgroup_response_header): Define.
21777 (datahead): Add netgroup_response_header and innetgroup_response_header
21778 elements.
21779 * nscd/nscd.conf: Add entries for netgroup cache.
21780 * nscd/nscd.h (dbtype): Add netgrdb.
21781 (_PATH_NSCD_NETGROUP_DB): Define.
21782 (netgroup_iov_disabled): Declare.
21783 (xmalloc, xcalloc, xrealloc): Move declarations here.
21784 (cache_search): Adjust prototype.
21785 Add netgroup-related prototypes.
21786 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21787 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21788 (__nscd_innetgr): Declare.
21789 * nscd/selinux.c (perms): Use access_vector_t as element type and
21790 add netgroup-related initializers.
21791 * nscd/netgroupcache.c: New file.
21792 * nscd/nscd_netgroup.c: New file.
21793 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21794 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21795 For four parameters use innetgr.
21796 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21797 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21798 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21799 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21800
21fd49a9
UD
21801 * nscd/connections.c (register_traced_file): Don't register file
21802 for disabled databases.
21803
054c0457
UD
218042011-10-06 Ulrich Drepper <drepper@gmail.com>
21805
32b63198
UD
21806 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21807
054c0457
UD
21808 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21809 from tree and freeing node.
21810
64031225
JO
218112011-09-25 Jiri Olsa <jolsa@redhat.com>
21812
21813 * nss/nsswitch.c (__nss_database_lookup): Handle
21814 nss_parse_service_list out of memory case.
21815
0490345c
JO
218162011-09-15 Jiri Olsa <jolsa@redhat.com>
21817
21818 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21819 out of memory case.
21820
3a62d00d
AS
218212011-10-04 Andreas Schwab <schwab@redhat.com>
21822
21823 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21824 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21825 pass it down.
21826 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21827 elf_machine_rela, elf_machine_lazy_rel.
21828 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21829 (ELF_DYNAMIC_DO_REL): Likewise.
21830 (ELF_DYNAMIC_DO_RELA): Likewise.
21831 (ELF_DYNAMIC_RELOCATE): Likewise.
21832 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21833 to ELF_DYNAMIC_DO_REL.
21834 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21835 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21836 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21837 elf_machine_rela.
21838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21839 skip_ifunc, don't call ifunc function if non-zero.
21840 (elf_machine_rela): Likewise.
21841 (elf_machine_lazy_rel): Likewise.
21842 (elf_machine_lazy_rela): Likewise.
21843 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21844 (elf_machine_lazy_rel): Likewise.
21845 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21846 Likewise.
21847 (elf_machine_lazy_rel): Likewise.
21848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21849 Likewise.
21850 (elf_machine_lazy_rel): Likewise.
21851 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21852 (elf_machine_lazy_rel): Likewise.
21853 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21854 (elf_machine_lazy_rel): Likewise.
21855 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21856 (elf_machine_lazy_rel): Likewise.
21857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21858 (elf_machine_lazy_rel): Likewise.
21859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21860 (elf_machine_lazy_rel): Likewise.
21861 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21862 (elf_machine_lazy_rel): Likewise.
21863
68577918
UD
218642011-09-28 Ulrich Drepper <drepper@gmail.com>
21865
21866 * nss/nss_files/files-init.c (_nss_files_init): Use static
21867 initialization for all the *_traced_file variables.
21868
68822d74
AS
218692011-09-28 Andreas Schwab <schwab@redhat.com>
21870
21871 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21872
2056100b
RM
218732011-09-27 Roland McGrath <roland@hack.frob.com>
21874
21875 [BZ #13226]
21876 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21877
32c76b63
AS
218782011-09-27 Andreas Schwab <schwab@redhat.com>
21879
21880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21881 Reread the line before reparsing it.
21882
bf972c9d
AS
218832011-09-26 Andreas Schwab <schwab@redhat.com>
21884
21885 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21886
e057a1b5
JM
218872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21888 Maxim Kuvyrkov <maxim@codesourcery.com>
21889 Joseph Myers <joseph@codesourcery.com>
21890
21891 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21892 if needed for __stack_chk_guard.
21893
bc7e1c36
RM
218942011-09-19 Roland McGrath <roland@hack.frob.com>
21895
ecb1482f
RM
21896 * sysdeps/posix/spawni.c (script_execute): Always define it.
21897 It will be optimized away if unused.
21898 (maybe_script_execute): New function.
21899 (__spawni): Call it.
21900
bc7e1c36
RM
21901 * Makerules: Don't include tls.make.
21902 (config-tls): Always set to thread.
21903 * tls.make.c: File removed.
21904
1c3b002b
MF
219052011-09-19 Mike Frysinger <vapier@gentoo.org>
21906
21907 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21908 * config.make.in (CPPFLAGS-config): New substituted variable.
21909
2840865d
UD
219102011-09-15 Ulrich Drepper <drepper@gmail.com>
21911
88738eb6
UD
21912 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21913
cbf645a6 21914 [BZ #13192]
2840865d
UD
21915 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21916 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21917
b402e91a
RM
219182011-09-15 Roland McGrath <roland@hack.frob.com>
21919
21920 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21921 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21923 (CALL_FAIL): Likewise.
21924 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21925 (CALL_FAIL): Macro removed.
21926 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21927
4c1a1f71
UD
219282011-09-15 Ulrich Drepper <drepper@gmail.com>
21929
21930 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21931 for __FINITE_MATH_ONLY__ == 1.
21932
edc121be
AS
219332011-09-15 Andreas Schwab <schwab@redhat.com>
21934
21935 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21936 __ieee754_sqrt instead of sqrt.
21937 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21938 __ieee754_sqrtf instead of sqrtf.
21939 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21940 __floorf instead of floorf.
21941 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21942 __floorf, __truncf instead of floorf, truncf.
21943
cd205654
UD
219442011-09-14 Ulrich Drepper <drepper@gmail.com>
21945
ee4d0315
UD
21946 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21947
cd205654
UD
21948 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21949 __extern_always_inline.
21950 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21951 32-bit.
21952
48b67d71
AS
219532011-09-14 Andreas Schwab <schwab@redhat.com>
21954
21955 * elf/rtld.c (dl_main): Also relocate in dependency order when
21956 doing symbol dependency testing.
21957
1ae12c75
AS
219582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21959
21960 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21961 Always define `refsym'.
21962
995a80df
AS
219632011-09-13 Andreas Schwab <schwab@redhat.com>
21964
e529793b
AS
21965 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21966 (__FD_ELT): Renamed from __FDELT.
21967 * misc/bits/select2.h (__FD_ELT): Likewise.
21968 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21969 __FD_MASK instead of __FDELT, __FDMASK.
21970 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21971 Likewise.
21972 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21973 Likewise.
21974
52d4fef8
AS
21975 * elf/Makefile (gen-ldd): Fix pattern.
21976
995a80df
AS
21977 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21978 (init_tls): Likewise.
21979
8682f8b0
UD
219802011-09-12 Ulrich Drepper <drepper@gmail.com>
21981
21982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21983
de82006d
AS
219842011-09-12 Andreas Schwab <schwab@redhat.com>
21985
a7c8e6a1
AS
21986 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21987 `struct cmsghdr *' instead of `void *'.
21988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21989 Likewise.
21990
0f31fe77
AS
219912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21992
21993 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21994 if non-absolute.
21995 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21996 ldd_rewrite_script.
0f31fe77 21997
32b4c839
UD
219982011-09-11 Ulrich Drepper <drepper@gmail.com>
21999
83cd1420
UD
22000 * configure.in: Remove --with-tls option.
22001 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22002 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22003 out in case it is missing.
22004 * sysdeps/ia64/elf/configure.in: Likewise.
22005 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22006 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22007 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22008 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22009 * sysdeps/sh/elf/configure.in: Likewise.
22010 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22011 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22012 * sysdeps/x86_64/elf/configure.in: Likewise.
22013 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22014 * sysdeps/mach/hurd/tls.h: Likewise.
22015
633f745d
UD
22016 [BZ #13067]
22017 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22018
f318beb8
UD
22019 [BZ #13090]
22020 * configure.in: Fix use of AC_INIT.
22021
32b4c839
UD
22022 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22023
3ce1f295
UD
220242011-09-10 Ulrich Drepper <drepper@gmail.com>
22025
bb016596
UD
22026 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22027 __set_errno.
8e58439c
UD
22028 * malloc/hooks.c: Likewise.
22029
aebae053 22030 [BZ #11929]
02d46fc4
UD
22031 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22032 variables statically.
22033 (narenas): Initialize.
22034 (list_lock): Initialize.
bb016596
UD
22035 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22036 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22037 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22038 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22039 Add initializers to main_arena and mp_.
22040 (malloc_state): Remove pagesize member. Change all users to use
22041 GLRO(dl_pagesize).
22042
22043 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22044 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22045 is always initialized.
22046
22a89187
UD
22047 * malloc/malloc.c: Removed unused configurations and dead code.
22048 * malloc/arena.c: Likewise.
22049 * malloc/hooks.c: Likewise.
02d46fc4 22050 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22051
d063d164
UD
22052 * include/tls.h: Removed. USE___THREAD must always be defined.
22053 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22054 * elf/dl-libc.c: Likewise.
22055 * elf/dl-tsd.c: Likewise.
22056 * include/errno.h: Likewise.
22057 * include/netdb.h: Likewise.
22058 * include/resolv.h: Likewise.
22059 * inet/herrno-loc.c: Likewise.
22060 * inet/herrno.c: Likewise.
22061 * malloc/arena.c: Likewise.
22062 * malloc/hooks.c: Likewise.
22063 * malloc/malloc.c: Likewise.
22064 * resolv/res-state.c: Likewise.
22065 * resolv/res_libc.c: Likewise.
22066 * sysdeps/i386/dl-machine.h: Likewise.
22067 * sysdeps/ia64/dl-machine.h: Likewise.
22068 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22069 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22070 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22071 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22072 * sysdeps/sh/dl-machine.h: Likewise.
22073 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22074 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22075 * sysdeps/unix/i386/sysdep.S: Likewise.
22076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22077 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22082 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22086 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22087 * sysdeps/x86_64/dl-machine.h: Likewise.
22088 * tls.make.c: Likewise.
22089
3ce1f295
UD
22090 * configure.in: Remove --with-__thread option. Make tests for
22091 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22092 tls_model attribute fail if no support is available. Remove
22093 USE_IN_LIBIO.
22094 * Makeconfig: Adjust for dropped configure option. All features are
22095 now mandatory.
22096 * Makerules: Likewise.
22097 * Versions.def: Likewise.
22098 * argp/argp-fmtstream.c: Likewise.
22099 * argp/argp-fmtstream.h: Likewise.
22100 * argp/argp-help.c: Likewise.
22101 * assert/assert.c: Likewise.
22102 * config.h.in: Likewise.
22103 * config.make.in: Likewise.
22104 * configure: Likewise.
22105 * configure.in: Likewise.
22106 * csu/Versions: Likewise.
22107 * csu/init.c: Likewise.
22108 * elf/tst-audit2.c: Likewise.
22109 * elf/tst-tls10.c: Likewise.
22110 * elf/tst-tls10.h: Likewise.
22111 * elf/tst-tls11.c: Likewise.
22112 * elf/tst-tls12.c: Likewise.
22113 * elf/tst-tls14.c: Likewise.
22114 * elf/tst-tlsmod11.c: Likewise.
22115 * elf/tst-tlsmod12.c: Likewise.
22116 * elf/tst-tlsmod13.c: Likewise.
22117 * elf/tst-tlsmod13a.c: Likewise.
22118 * elf/tst-tlsmod14a.c: Likewise.
22119 * elf/tst-tlsmod15b.c: Likewise.
22120 * elf/tst-tlsmod16a.c: Likewise.
22121 * elf/tst-tlsmod16b.c: Likewise.
22122 * elf/tst-tlsmod7.c: Likewise.
22123 * elf/tst-tlsmod8.c: Likewise.
22124 * elf/tst-tlsmod9.c: Likewise.
22125 * gmon/gmon.c: Likewise.
22126 * grp/fgetgrent_r.c: Likewise.
22127 * grp/putgrent.c: Likewise.
22128 * hurd/fopenport.c: Likewise.
22129 * include/libc-symbols.h: Likewise.
22130 * include/tls.h: Likewise.
22131 * intl/gettextP.h: Likewise.
22132 * intl/loadinfo.h: Likewise.
22133 * locale/global-locale.c: Likewise.
22134 * locale/localeinfo.h: Likewise.
22135 * mach/devstream.c: Likewise.
22136 * malloc/arena.c: Likewise.
22137 * malloc/set-freeres.c: Likewise.
22138 * misc/err.c: Likewise.
22139 * misc/getttyent.c: Likewise.
22140 * misc/mntent_r.c: Likewise.
22141 * posix/getopt.c: Likewise.
22142 * posix/wordexp.c: Likewise.
22143 * pwd/fgetpwent_r.c: Likewise.
22144 * resolv/Versions: Likewise.
22145 * resolv/res_hconf.c: Likewise.
22146 * shadow/fgetspent_r.c: Likewise.
22147 * shadow/putspent.c: Likewise.
22148 * stdio-common/printf_fphex.c: Likewise.
22149 * stdio-common/tmpfile.c: Likewise.
22150 * stdlib/abort.c: Likewise.
22151 * stdlib/fmtmsg.c: Likewise.
22152 * sunrpc/auth_unix.c: Likewise.
22153 * sunrpc/clnt_perr.c: Likewise.
22154 * sunrpc/clnt_tcp.c: Likewise.
22155 * sunrpc/clnt_udp.c: Likewise.
22156 * sunrpc/clnt_unix.c: Likewise.
22157 * sunrpc/openchild.c: Likewise.
22158 * sunrpc/svc_simple.c: Likewise.
22159 * sunrpc/svc_tcp.c: Likewise.
22160 * sunrpc/svc_udp.c: Likewise.
22161 * sunrpc/svc_unix.c: Likewise.
22162 * sunrpc/xdr.c: Likewise.
22163 * sunrpc/xdr_array.c: Likewise.
22164 * sunrpc/xdr_rec.c: Likewise.
22165 * sunrpc/xdr_ref.c: Likewise.
22166 * sunrpc/xdr_stdio.c: Likewise.
22167
1248c1c4
PB
221682011-09-09 Ulrich Drepper <drepper@gmail.com>
22169
22170 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22171
221722011-07-03 Andreas Jaeger <aj@suse.de>
22173
22174 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22175 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22176 regenerate with gen-libm-tests.pl.
22177
221782010-05-12 Petr Baudis <pasky@suse.cz>
22179
22180 [BZ #11589]
22181 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22182 around j0() zero points by switching to j1().
22183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22187
f22e1074
UD
221882011-09-09 Ulrich Drepper <drepper@gmail.com>
22189
f19009c1
UD
22190 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22191 instead of 0.
22192 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22193 instead of 0.
f19009c1
UD
22194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22195 Patch in part by Pavel Roskin <proski@gnu.org>.
22196
3f8cc204
UD
22197 [BZ #13138]
22198 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22199 realloc.
22200 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22201 Free memory block if necessary.
22202
f22e1074
UD
22203 [BZ #12847]
22204 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22205 be NULL. Don't lock in this case.
22206
0a2349f9
RM
222072011-09-09 Roland McGrath <roland@hack.frob.com>
22208
22209 * elf/elf.h (ELFOSABI_GNU): New macro.
22210 (ELFOSABI_LINUX): Define to that.
22211
f3cdd467
DZ
222122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22213
22214 * string/strncat.c (strncat): Undef the symbol in case it has been
22215 defined in bits/string.h.
22216
74718d13
UD
222172011-09-09 Ulrich Drepper <drepper@gmail.com>
22218
633e9e0f
UD
22219 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22220
0a2349f9 22221 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22222 link map.
22223
f9924780
AJ
222242011-08-17 Andreas Jaeger <aj@suse.de>
22225
22226 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22227
7f5517aa
PP
222282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22229 Ian Lance Taylor <iant@google.com>
22230
22231 * math/libm-test.inc (lround_test): New testcase.
22232 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22233
762011fe
UD
222342011-09-08 Ulrich Drepper <drepper@gmail.com>
22235
92963737
UD
22236 * Makefile: Remove support for automatic cvs check-ins.
22237 * Makerules: Likewise.
22238 * config.make.in: Likewise.
22239 * configure.in: Likewise.
22240 * intl/Makefile: Likewise.
22241 * locale/Makefile: Likewise.
22242 * po/Makefile: Likewise.
22243 * posix/Makefile: Likewise.
22244 * sysdeps/gnu/Makefile: Likewise.
22245 * sysdeps/mach/hurd/Makefile: Likewise.
22246 * sysdeps/sparc/sparc32/Makefile: Likewise.
22247
b0727fd8
JS
22248 [BZ #13118]
22249 * posix/Makefile (bug-regex32-ENV): Define.
22250 Patch by John Stanley <jpsinthemix@verizon.net>.
22251
a0f33f99
UD
22252 * misc/Makefile (headers): Add bits/select2.h.
22253 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22254 * misc/bits/select2.h: New file.
22255 * include/bits/select2.h: New file.
22256 * debug/Makefile (routines): Add fdelt_chk.
22257 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22258 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22259 FD_ISSET.
22260 * debug/fdelt_chk.c: New file.
22261
762011fe
UD
22262 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22263 * wcsmbs/test-wmemcmp.c: Likewise.
22264 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22265 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22266
222672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22268
22269 * string/Makefile (strop-tests): Add memcmp.
22270 * string/test-wmemcmp.c: New file.
22271 * string/test-memcmp.c: Add wmemcmp support.
22272
7f513ec8
RM
222732011-09-08 Roland McGrath <roland@hack.frob.com>
22274
0442afb4
RM
22275 [BZ #13153]
22276 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22277 2011-07-19 change.
22278
7f513ec8
RM
22279 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22280 garbage value in a __mach_port_mod_refs call in the cases of the
22281 task-self and thread-self ports.
22282
a12b2239
ST
222832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22284
22285 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22286
610f9ab4
AS
222872011-09-08 Andreas Schwab <schwab@redhat.com>
22288
7f513ec8 22289 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22290
48882a1a
LD
222912011-09-07 Ulrich Drepper <drepper@gmail.com>
22292
b49865be
UD
22293 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22294
fdc86bc9
UD
22295 * elf/dl-libc.c (dlerror_run): Pass back error code from
22296 dl_catch_error.
22297
c966526a
UD
22298 [BZ #13123]
22299 * elf/dl-load.c (lose): Free l_origin if it is valid.
22300
48882a1a
LD
22301 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22302 names.
22303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22307 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22308 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22309
77a2a8b4
AZ
223102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22311
22312 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22313 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22315 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22316 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22317 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22318 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22319 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22320 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22321 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22322
24f579d8
AM
223232011-08-15 Alan Modra <amodra@gmail.com>
22324
22325 [BZ #13092]
22326 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22327 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22328 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22329 ppc_mcount to static-only-routines.
22330 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22331 __mcount_internal.
22332 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22333 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22334
3d4837df
UD
223352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22336
22337 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22338 for finite and infinity parameters.
22339
22700377
WS
223402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22341
22342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22343 and add nop instructions for throughput optimization.
22344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22345
5025581e
WS
223462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22347
22348 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22349 aligned copy for power7 with vector-scalar instructions.
22350 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22351
08a300c9
L
223522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22355 AVX check.
22356
59178ef9
AS
223572011-09-07 Andreas Schwab <schwab@redhat.com>
22358
22359 [BZ #13144]
22360 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22361 last change.
22362
e38ba7ab
UD
223632011-09-07 Ulrich Drepper <drepper@gmail.com>
22364
22365 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22366 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22367 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22368 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22369 clock_gettime.
22370
d53a73ac
UD
223712011-09-06 Ulrich Drepper <drepper@gmail.com>
22372
fc8bffcc
UD
22373 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22374 Forgot to demangle the pointer.
22375
ceaa0c5d
UD
22376 * sysdeps/i386/sysdep.h: Define atom_text_section.
22377 * sysdeps/x86_64/sysdep.h: Likewise.
22378 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22379 section with atom_text_section.
22380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22381 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22382 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22384 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22385
a77d3c17
UD
22386 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22387 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22388 already be defined. Change to take two parameters and don't assign
22389 result to variable. Adjust all users.
22390 Define INTERNAL_GETTIME if not already defined.
22391 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22392 call.
22393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22394 HAVE_CLOCK_GETTIME_VSYSCALL.
22395 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22396
d53a73ac
UD
22397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22398 gettimeofday vsyscall, just use time.
22399
a8f84144
AS
224002011-09-06 Andreas Schwab <schwab@redhat.com>
22401
22402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22403 <errno.h>.
22404
ef606249
UD
224052011-09-06 Ulrich Drepper <drepper@gmail.com>
22406
22407 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22408 syscall on x86-64.
22409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22410 syscall.
22411 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22412 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22413 syscall if possible.
22414
6585cb60
UD
224152011-09-05 Ulrich Drepper <drepper@gmail.com>
22416
22417 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22418 e_ident. Don't pass to find_mapsXX.
22419 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22420
a5f524e4
LD
224212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22422
22423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22424 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22425 * sysdeps/x86_64/multiarch/strchr.S: Update.
22426 Check bit_slow_BSF bit.
22427 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22428 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22430
554881ef
UD
224312011-09-05 Ulrich Drepper <drepper@gmail.com>
22432
d96de963
UD
22433 [BZ #13134]
22434 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22435 before glibc 2.15.
22436 (tryshell): Define.
22437 (__spawni): Change last parameter to be flag. Test
22438 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22439 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22440 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22441 * posix/spawni.c: Likewise.
22442 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22443 * posix/spawnp.c: Likewise. Change normal version to use
22444 SPAWN_XFLAGS_USE_PATH.
22445 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22446 SPAWN_XFLAGS_TRY_SHELL.
22447
d48e5868
UD
22448 [BZ #13150]
22449 * posix/glob.h: Remove gcc 1.x support.
22450
554881ef
UD
22451 [BZ #13068]
22452 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22453
693fb948
LD
224542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22455
22456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22457 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22458 strrchr-sse2-bsf
22459 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22460 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22461 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22462 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22463 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22465
1b48c537
UD
224662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22467
49d42c37
UD
22468 * sysdeps/x86_64/wcscmp.S: New file.
22469
1b48c537
UD
22470 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22471 wcscmp-c wcscmp-sse2
22472 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22473 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22474 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22475 * wcsmbs/wcscmp.c: Allow renaming.
22476
15c95c5d
DM
224772011-09-05 David S. Miller <davem@davemloft.net>
22478
22479 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22480 stack slot, rather than the struct return pointer slot.
22481 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22482 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22484 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22485
2f0ad8f3
UD
224862011-09-05 Ulrich Drepper <drepper@gmail.com>
22487
d88ae418
UD
22488 * po/ja.po: Update from translation team.
22489
2f0ad8f3
UD
22490 [BZ #13144]
22491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22492 kernel in 64-bit binaries.
22493
5f4318d1
DM
224942011-09-01 David S. Miller <davem@davemloft.net>
22495
22496 * elf/elf.h (HWCAP_SPARC_*): Move to..
22497 * sysdeps/sparc/sysdep.h: this new file and add new values.
22498 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22499 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22500 _DL_HWCAP_COUNT to 24.
22501 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22502 entries.
22503 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22504 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22505 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22507 instead of magic constants.
22508 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22509
3ba57516
DM
225102011-08-31 David S. Miller <davem@davemloft.net>
22511
22512 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22514 Reimplement to do errno handling inline.
22515 (SYSCALL_ERROR_HANDLER): New macro.
22516 (__SYSCALL_STRING): Do not do errno handling in asm.
22517 (__CLONE_SYSCALL_STRING): Delete.
22518 (__INTERNAL_SYSCALL_STRING): Delete.
22519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22520 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22521 (PSEUDO): Reimplement to do errno handling inline.
22522 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22523 (SYSCALL_ERROR_HANDLER): New macro.
22524 (__SYSCALL_STRING): Do not do errno handling in asm.
22525 (__CLONE_SYSCALL_STRING): Delete.
22526 (__INTERNAL_SYSCALL_STRING): Delete.
22527 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22528 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22529 i386.
22530 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22531 (inline_syscall*): Add 'err' argument.
22532 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22533 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22534 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22535 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22536
22537 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22538 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22539
2bc17433
AS
225402011-08-30 Andreas Schwab <schwab@redhat.com>
22541
22542 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22543
fbeb5f4d
JO
225442011-08-29 Jiri Olsa <jolsa@redhat.com>
22545
22546 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22547 directive.
22548
ad69cc26
DM
225492011-08-24 David S. Miller <davem@davemloft.net>
22550
22551 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22552
39dd69df
AS
225532011-08-24 Andreas Schwab <schwab@redhat.com>
22554
22555 * elf/Makefile: Add rules to build and run unload8 test.
22556 * elf/unload8.c: New file.
22557 * elf/unload8mod1.c: New file.
22558 * elf/unload8mod1x.c: New file.
22559 * elf/unload8mod2.c: New file.
22560 * elf/unload8mod3.c: New file.
22561
22562 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22563 it wasn't used.
22564
2c0b250a
DM
225652011-08-23 David S. Miller <davem@davemloft.net>
22566
22567 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22568 subtract stack bias.
22569 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22570 %sp not %fp in calculations.
22571 (_JMPBUF_UNWINDS_ADJ): Likewise.
22572
22044b48
DM
22573 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22574 (aio_suspend): Call it to force an exception region around the
22575 AIO_MISC_WAIT() invocation.
22576
2cae4995
AS
225772011-08-23 Andreas Schwab <schwab@redhat.com>
22578
22579 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22580 backslash.
22581
873a772e
AJ
225822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22583
22584 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22585 protection macro.
22586 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22587 and <dl-machine.h>.
22588 (Elf64_FuncDesc): Remove.
22589
25ad0df1
DM
225902011-08-22 David S. Miller <davem@davemloft.net>
22591
22592 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22593 sigaltstack check, add missing cfi directives.
22594 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22595 missing cfi directives, and sigaltstack handling.
22596
e888bcbe
AS
225972011-08-16 Andreas Schwab <schwab@redhat.com>
22598
22599 [BZ #11724]
22600 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22601 object is seen twice.
22602 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22603
22604 * elf/Makefile (distribute): Add tst-initorder2.c.
22605 (tests): Add tst-initorder2.
22606 (modules-names): Add tst-initorder2a tst-initorder2b
22607 tst-initorder2c tst-initorder2d. Add rules to build them.
22608 ($(objpfx)tst-initorder2.out): New rule.
22609 * elf/tst-initorder2.c: New file.
22610 * elf/tst-initorder2.exp: New file.
22611
87162f46
AS
226122011-08-22 Andreas Schwab <schwab@redhat.com>
22613
70538b7f
AS
22614 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22615
f55ffe58
AS
22616 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22617 dependencies back to end of function.
22618
87162f46
AS
22619 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22620 $(elfobjdir)/ld.so.
22621
91b392a4
UD
226222011-08-21 Ulrich Drepper <drepper@gmail.com>
22623
22624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22625 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22627 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22628 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22629 of __vdso_gettimeofday.
22630 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22631 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22632 attribute_hidden.
22633 (_libc_vdso_platform_setup): Remove initialization of
22634 __vdso_gettimeofday and __vdso_time.
22635
5c43483f
UD
226362011-08-20 Ulrich Drepper <drepper@gmail.com>
22637
775a77e7
UD
22638 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22639 and fgetc_unlocked.
22640 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22641 getc_unlocked.
89f447ed 22642
49c74ba9
UD
22643 * elf/dl-open.c (add_to_global): Report additions to the global scope
22644 for LD_DEBUG=scopes.
22645 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22646 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22647
5c43483f
UD
22648 [BZ #13114]
22649 * stdio-common/Makefile (tests): Add bug24.
22650 * stdio-common/bug24.c: New file.
22651
a101b025
AJ
226522011-08-19 Andreas Jaeger <aj@suse.de>
22653
22654 [BZ #13114]
22655 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22656 non-existant file when using close-on-exec mode.
22657
c88f1766
UD
226582011-08-20 Ulrich Drepper <drepper@gmail.com>
22659
0276a718
UD
22660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22661 the very first instruction.
22662
c88f1766
UD
22663 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22664 the CFI state in the end.
22665 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22666 inclusion of dl-trampoline.h.
22667 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22668
51ccffa0
AS
226692011-08-19 Andreas Schwab <schwab@redhat.com>
22670
94d7165f
AS
22671 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22672 expectations for long double.
22673
51ccffa0
AS
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22675 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22676
fd708658 226772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22678
22679 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22680 artificual limit depends upon the system page size.
22681
44f0a71e
UD
226822011-08-17 Ulrich Drepper <drepper@gmail.com>
22683
22684 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22685 * resolv/Makefile: Define CFLAGS-libresolv.
22686
8de79a24
AS
226872011-08-17 Andreas Schwab <schwab@redhat.com>
22688
22689 * nss/makedb.c (compute_tables): Make variables used in nested
22690 function static.
22691
27724598
UD
226922011-08-17 Ulrich Drepper <drepper@gmail.com>
22693
c5305d88
UD
22694 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22695 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22696 if buffer was too small.
22697
27724598
UD
22698 * elf/pldd.c (main): Attach to all threads in the process.
22699 Rewrite /proc handling to use *at functions.
22700
076fe015
UD
227012011-08-16 Ulrich Drepper <drepper@gmail.com>
22702
174baab3
UD
22703 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22704 specifies first scope to show.
22705 (dl_open_worker): Update callers. Move printing scope of new
22706 object to before the relocation.
44f0a71e 22707 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22708 * sysdeps/generic/ldsodefs.h: Update declaration.
22709
076fe015
UD
22710 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22711 string for the scope number.
22712
a60df2c3
UD
227132011-08-14 Ulrich Drepper <drepper@gmail.com>
22714
22715 * nscd/servicescache.c (cache_addserv): Make sure written is always
22716 initialized.
22717
5e4287d1
RM
227182011-08-14 Roland McGrath <roland@hack.frob.com>
22719
85ae0589
RM
22720 * sysdeps/i386/i486/bits/atomic.h
22721 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22722 statement expression, so as to suppress "set but not used" warning.
22723 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22724
69f63097
RM
22725 * string/strncat.c (STRNCAT): Use prototype definition.
22726
675456ef
RM
22727 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22728 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22729 -Iprograms here.
22730 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22731 (localedef-modules): Add localedef.
22732 (locale-modules): Add locale.
22733
5e4287d1
RM
22734 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22735 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22736 to avoid a warning.
22737
9c96ff23
DM
227382011-08-14 David S. Miller <davem@davemloft.net>
22739
22740 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22741 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22742
f9ddf089
UD
227432011-08-13 Ulrich Drepper <drepper@gmail.com>
22744
44f0a71e 22745 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22746 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22747 * elf/rtld.c (dl_main): Set l_name of vDSO.
22748 Call _dl_show_scope when DL_DEBUG_SCOPES.
22749 (process_dl_debug): Recognize scopes flag and also set it for all.
22750 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22751 Declare _dl_show_scope.
22752
1dc27704
UD
22753 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22754 (do_dlopen): Pass caller_dlopen to dl_open.
22755 (__libc_dlopen_mode): Initialize caller_dlopen.
22756
f9ddf089
UD
22757 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22758 of libc. Make tolower call locale-independent. Optimize a bit by
22759 using isdigit instead of isalnum.
22760 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22761
9ac533d3
UD
227622011-08-12 Ulrich Drepper <drepper@gmail.com>
22763
22764 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22765 was a dependency or dynamically loaded.
22766
89edf2e9
UD
227672011-08-11 Ulrich Drepper <drepper@gmail.com>
22768
8e999d29
UD
22769 * intl/l10nflist.c: Allow architecture-specific pop function.
22770 * sysdeps/x86_64/l10nflist.c: New file.
22771
89edf2e9
UD
22772 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22773 classification.
22774
14d96785
AS
227752011-08-10 Andreas Schwab <schwab@redhat.com>
22776
22777 * include/dirent.h: Add libc_hidden_proto for scandirat and
22778 scandirat64. Don't declare __scandirat64.
22779 * dirent/scandirat.c: Add libc_hidden_def.
22780 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22781 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22782
6761ac04
DM
227832011-08-10 David S. Miller <davem@davemloft.net>
22784
22785 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22786 enum.
22787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22790
c55fbd1e
UD
227912011-08-09 Ulrich Drepper <drepper@gmail.com>
22792
22793 * Versions.def [libc]: Add GLIBC_2.15.
22794 * dirent/Makefile (routines): Add scandirat and scandirat64.
22795 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22796 GLIBC_2.15.
22797 * dirent/dirent.h: Declare scandirat and scandirat64.
22798 * dirent/scandirat.c: New file.
22799 * dirent/scandirat64.c: New file.
22800 * sysdeps/wordsize-64/scandirat.c: New file.
22801 * sysdeps/wordsize-64/scandirat64.c: New file.
22802 * dirent/opendir.c: Define opendirat.
22803 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22804 using scandirat.
22805 * dirent/scandir64.c: Adjust for scandir.c change.
22806 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22807 __scandirat64, and __scandir_cancel_handler.
22808 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22809 additional parameter and use openat instead of open (outside of ld.so).
22810 Add new __opendir as wrapper around __opendirat.
22811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22812 here without requiring old scandirat implementation.
22813
879165f2
UD
228142011-08-08 Ulrich Drepper <drepper@gmail.com>
22815
22816 * dirent/scandir.c (cancel_handler): Renamed to
22817 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22818 defined. Adjust users.
22819 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22821
cb7e923b
UD
228222011-08-04 Ulrich Drepper <drepper@gmail.com>
22823
16292edd
UD
22824 * string/test-string.h (IMPL): Use __STRING to expand name and then
22825 stringify it.
22826
cb7e923b
UD
22827 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22828 of cleanups.
22829
cff82933
LD
228302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22831
22832 * string/Makefile: Update.
22833 (strop-tests): Append strncat.
22834 * string/test-wcscmp.c: New file.
22835 New comprehensive test for wcscmp.
22836 * string/test-strcmp.c: Update.
22837 (WIDE): New define.
22838
9be9bfcc
AS
228392011-07-22 Andreas Schwab <schwab@redhat.com>
22840
22841 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22842 line.
22843
2e96f1c7
AS
228442011-07-26 Andreas Schwab <schwab@redhat.com>
22845
22846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22847 encoding to ACE if AI_IDN.
22848
85188888
JJ
228492011-08-01 Jakub Jelinek <jakub@redhat.com>
22850
22851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22852 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22853
5fa16e9b
LD
228542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22855
22856 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22857 Fix overflow bug in strncat.
22858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22859
22860 * string/test-strncat.c: Update.
22861 Add new tests for checking overflow bugs.
22862
228632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22864
22865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22866 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22867 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22868 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22870 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22871 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22872 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22873 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22874
22875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22876 (USE_AS_STRCAT): Define.
22877 Add strcat and strncat support.
22878 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22879
8c1a459f
AS
228802011-07-25 Andreas Schwab <schwab@redhat.com>
22881
22882 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22883 __n bigger than INT_MAX+1.
22884 (__strncmp_g): Likewise.
22885
bba33c28
UD
228862011-07-23 Ulrich Drepper <drepper@gmail.com>
22887
798be72d
UD
22888 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22889 * libio/stido.h: Likewise.
22890
8accd4dc
UD
22891 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22892 (AF_NFC): Define.
22893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22894 (AF_NFC): Define.
22895
cbff0d96
UD
22896 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22898 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22899 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22900 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22901
9191c04a
UD
22902 [BZ #13021]
22903 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22904 installed.
22905
bba33c28
UD
22906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22907 typo.
22908 (_dl_x86_64_save_sse): Likewise.
22909
90f139dd
UD
229102011-07-22 Ulrich Drepper <drepper@gmail.com>
22911
1aae088a
UD
22912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22913 OSXSAVE.
22914 (_dl_x86_64_save_sse): Likewise.
22915
8e2045f5
UD
22916 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22917
90f139dd
UD
22918 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22919
1d002f25
AS
229202011-07-21 Andreas Schwab <schwab@redhat.com>
22921
22922 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22923 change.
22924 (_dl_x86_64_save_sse): Use correct AVX check.
22925
21137f89
UD
229262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22927
22928 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22929 bug in strncpy/strncat.
22930 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22931
a65c0b7a
UD
229322011-07-21 Ulrich Drepper <drepper@gmail.com>
22933
22934 * string/tester.c (test_strcat): Add tests for different alignments
22935 of source and destination.
22936 (test_strncat): Likewise.
22937
6986b98a
UD
229382011-07-20 Ulrich Drepper <drepper@gmail.com>
22939
90bb2039
UD
22940 [BZ #12852]
22941 * posix/glob.c (glob): Check passed in values before using them in
22942 expressions to avoid some overflows.
22943 (glob_in_dir): Likewise.
22944
5644ef54
UD
22945 [BZ #13007]
22946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22947 check for AVX enablement so that we don't crash with old kernels and
22948 new hardware.
22949 * elf/tst-audit4.c: Add same checks here.
22950 * elf/tst-audit6.c: Likewise.
22951
22952 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22953
bfc9dc9b
AS
229542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22955
22956 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22957
702e64bb
UD
229582011-07-20 Ulrich Drepper <drepper@gmail.com>
22959
22960 * po/cs.po: Update from translation team.
22961 * po/bg.po: Likewise.
22962
295e904f
MP
229632011-07-12 Marek Polacek <mpolacek@redhat.com>
22964
22965 * misc/sys/cdefs.h: Add support for const attribute.
22966 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22967 to gnu_dev_{major,minor,makedev} functions.
22968
3ff94596
MP
229692011-07-20 Marek Polacek <mpolacek@redhat.com>
22970
22971 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22972
28b59fca
AS
229732011-07-20 Andreas Schwab <schwab@redhat.com>
22974
22975 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22976 strlen results.
22977
19df733e
AK
229782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22979
22980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22981 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22982 register in order to avoid conflicts with the soft frame pointer
22983 being held in r11 when necessary.
22984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22985 (INTERNAL_VSYSCALL_NCS): Likewise.
22986
c8835729
MP
229872011-07-14 Marek Polacek <mpolacek@redhat.com>
22988
22989 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22990 * elf/dl-fini.c (_dl_fini): Adjust caller.
22991 * elf/dl-close.c (_dl_close_worker): Likewise.
22992 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22993
b902330c
MP
229942011-07-15 Marek Polacek <mpolacek@redhat.com>
22995
8991e135
MP
22996 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22997 "aux_cache->nlibs < 0".
22998
b902330c
MP
22999 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23000 in the reload-count case.
23001
99710781
LD
230022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23003
23004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23005 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23006 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23007 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23008 * sysdeps/x86_64/multiarch/strcat.S: New file.
23009 * sysdeps/x86_64/multiarch/strncat.S: New file.
23010 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23011 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23012 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23013 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23014 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23015 (USE_AS_STRCAT): Define.
23016 Add strcat and strncat support.
23017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23019 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23020 * string/strncat.c: Update.
23021 (USE_AS_STRNCAT): Define.
23022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23023 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23024 and i7.
23025 * sysdeps/x86_64/multiarch/init-arch.h
23026 (bit_Prefer_PMINUB_for_stringop): New.
23027 (index_Prefer_PMINUB_for_stringop): Likewise.
23028 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23029 bit_Prefer_PMINUB_for_stringop.
23030
7dc6bd90
UD
230312011-07-19 Ulrich Drepper <drepper@gmail.com>
23032
23033 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23034 buffer64.
23035 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23036 of casting of buffer.
23037 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23038 buffer32 and buffer64.
23039 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23040 writes instead of casting of buffer.
23041 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23042 buffer32.
23043 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23044 casting of buffer.
23045
e0e72284
AS
230462011-07-19 Andreas Schwab <schwab@redhat.com>
23047
23048 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23049
feb1eb0b
UD
230502011-07-19 Ulrich Drepper <drepper@gmail.com>
23051
23052 * nscd/nscd.c (termination_handler): Don't do anything for a database
23053 if it has not yet been initialized.
23054
298711ff
UD
230552011-07-18 Ulrich Drepper <drepper@gmail.com>
23056
23057 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23058
230592011-07-15 Marek Polacek <mpolacek@redhat.com>
23060
23061 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23062
f9d68389
UD
230632011-07-18 Ulrich Drepper <drepper@gmail.com>
23064
23065 * po/nl.po: Update from translation team.
23066 * po/sv.po: Likewise.
23067
db290cf5
RM
230682011-07-16 Roland McGrath <roland@hack.frob.com>
23069
23070 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23071 now disallowed by GCC.
5c550700 23072
fd5e21c7
RM
23073 * configure.in (use-default-link): Default to yes if a test -shared
23074 link meets our qualifications.
23075 * configure: Regenerated.
23076
5c550700
RM
23077 * config.make.in (output-format): New variable.
23078 * configure.in: Check for ld --print-output-format support.
23079 * configure: Regenerated.
23080 * Makerules ($(common-objpfx)format.lds)
23081 [$(output-format) != unknown]: Just use $(output-format),
23082 instead of the linker-script munging.
23083
9fa2c032
RM
230842011-07-14 Roland McGrath <roland@hack.frob.com>
23085
a6928d51
RM
23086 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23087 of $(common-objpfx)shlib.lds.
23088 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23089
661607b3
RM
23090 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23091 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23092
9fa2c032
RM
23093 * configure.in (-z relro check): Adjust test code to add a large
23094 writable data section after it.
23095 * configure: Regenerated.
23096
defe9061
RM
230972011-07-11 Roland McGrath <roland@hack.frob.com>
23098
23099 * configure.in (-z relro check): Fix test code to make the variable
23100 truly const.
23101 * configure: Regenerated.
23102
319b9ad4
UD
231032011-07-11 Ulrich Drepper <drepper@gmail.com>
23104
23105 * nscd/nscd.h (struct traced_file): Define.
23106 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23107 elements. Add traced_files.
23108 (inotify_fd): Declare.
23109 (register_traced_file): Declare.
23110 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23111 (inotify_fd): Export.
23112 (resolv_conf_descr): Remove.
23113 (nscd_init): Move inotify descriptor creation to main.
23114 Don't register files for notification here.
23115 (register_traced_file): New function.
23116 (invalidate_cache): Don't use reset_res to determine whether to call
23117 res_init, go through the list of registered files.
23118 (main_loop_poll): The inotify descriptors are now stored in the
23119 structures for the traced files.
23120 (main_loop_epoll): Likewise
23121 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23122 to __nss_disable_nscd.
23123 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23124 for a database anymore. Check the records for all the registered
23125 files instead.
23126 * nss/Makefile (libnss_files-routines): Add files-init.
23127 (libnss_db-routines): Add db-init.
23128 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23129 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23130 * nss/nss_db/db-init.c: New file.
23131 * nss/nss_files/files-init.c: New file.
23132 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23133 __nss_lookup_function.
23134 (__nss_lookup_function): Call nss_load_library.
23135 (nss_load_all_libraries): New function.
23136 (__nss_disable_nscd): Take parameter with callback function for files
23137 to register. Set is_nscd. Load all the DSOs for the NSS modules
23138 used for the cached services.
23139 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23140 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23141 options for features to all the files in nscd.
23142
23143 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23144
23bee3e8
RM
231452011-07-10 Roland McGrath <roland@hack.frob.com>
23146
23147 * csu/elf-init.c (__libc_csu_init): Comment typo.
23148
46a5b7f0
UD
231492011-07-09 Ulrich Drepper <drepper@gmail.com>
23150
23151 * po/pl.po: Update from translation team.
23152 * po/ja.po: Likewise.
23153 * po/ru.po: Likewise.
23154 * po/ko.po: Likewise.
23155 * po/fr.po: Likewise.
23156
d30cf5bb
RM
231572011-07-09 Roland McGrath <roland@hack.frob.com>
23158
113ddea4
RM
23159 * configure.in (.ctors/.dtors header and trailer check):
23160 Use an empirical test on a built program.
23161 * configure: Regenerated.
23162
574920b4
RM
23163 * configure.in (-z relro check): Use an empirical test on a built DSO.
23164 Detect, but do not require, on ia64.
23165 * configure: Regenerated.
23166
d30cf5bb
RM
23167 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23168 Update tests that use readelf to use $READELF instead.
23169 * configure: Regenerated.
23170
8538fdb3
UD
231712011-07-08 Ulrich Drepper <drepper@gmail.com>
23172
23173 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23174 if the result is not used.
23175
04d08991
AJ
231762011-07-05 Andreas Jaeger <aj@suse.de>
23177
23178 [BZ#9696]
23179 * stdlib/tst-strtod.c: Add testcase.
23180
de283087
AD
231812011-07-07 Ulrich Drepper <drepper@gmail.com>
23182
4e5f31c8 23183 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23184 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23185 The latter has a higher limit. Take additional parameter to pass to
23186 the new function.
23187 (__pathconf): Pass file to __statfs_link_max.
23188 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23189 __statfs_link_max.
23190 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23191 __statfs_link_max.
23192
de283087
AD
23193 [BZ #12868]
23194 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23196 Handle Lustre.
23197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23198 (__statfs_filesize_max): Likewise.
23199 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23200
c75fa153
AJ
232012011-07-05 Andreas Jaeger <aj@suse.de>
23202
23203 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23204
1a544854
UD
232052011-07-06 Marek Polacek <mpolacek@redhat.com>
23206
23207 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23208 `status' variable.
23209 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23210 Likewise.
23211
6f0eec67
UD
232122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * Makefile (strop-tests): Add strncat.
23215 * string/test-strncat.c: New file.
23216
aae30307
UD
232172011-06-30 Marek Polacek <mpolacek@redhat.com>
23218
23219 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23220
c0cfb5eb
UD
232212011-06-21 Andreas Jaeger <aj@suse.de>
23222
23223 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23224 Copy rule from iconvdata/Makefile.
23225
01636b21
UD
232262011-07-06 Ulrich Drepper <drepper@gmail.com>
23227
23228 [BZ #12922]
23229 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23230 but no long options are defined, just return 'W'.
23231
9895c8bc
UD
232322011-06-22 Marek Polacek <mpolacek@redhat.com>
23233
23234 [BZ #9696]
23235 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23236
5d4cf042
UD
232372011-07-06 Ulrich Drepper <drepper@gmail.com>
23238
23239 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23240 netgroups to read.
960e5535 23241 (innetgr): Likewise.
5d4cf042 23242
751eb97e
RM
232432011-07-05 Roland McGrath <roland@hack.frob.com>
23244
23245 * config.make.in (install_root): Default to $(DESTDIR).
23246
f15f1e45
UD
232472011-07-05 Ulrich Drepper <drepper@gmail.com>
23248
23249 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23250
4e34ac6a
RM
232512011-07-02 Roland McGrath <roland@hack.frob.com>
23252
5e9b6af4
RM
23253 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23254
84f9ea0f
RM
23255 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23256 containing directory rather than embedding absolute directory names.
23257
ea5ee9f7
RM
23258 * scripts/check-local-headers.sh: Rewritten using awk.
23259 Match by word, not by line. Print error messages for matches.
23260 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23261
1b74661a
RM
23262 * Makerules [shlib-lds-flags empty]:
23263 ($(common-objpfx)libc_pic.opts): New target.
23264 ($(common-objpfx)libc_pic.os.clean): New target.
23265 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23266
23267 * config.make.in (OBJCOPY): New variable.
23268 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23269 * configure: Regenerated.
23270
f781ef40
RM
23271 * config.make.in (use-default-link): New variable.
23272 * configure.in (use_default_link): Grok --with-default-link to set it.
23273 * configure: Regenerated.
23274 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23275 (shlib-lds, shlib-lds-flags): Define to empty.
23276
2d4fa81e
RM
23277 * Makerules (shlib-lds): New variable.
23278 (shlib-lds-flags): New variable.
23279 (build-shlib, build-moduile, build-module-asneeded): Use it.
23280 ($(common-objpfx)libc.so): Use $(shlib-lds).
23281 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23282 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23283
31fffa6b
RM
23284 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23285 DT_FLAGS/DT_FLAGS_1 with zero flags.
23286
4e34ac6a
RM
23287 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23288 linker script munging.
23289
fcfc776b
UD
232902011-07-02 Ulrich Drepper <drepper@gmail.com>
23291
23292 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23293 as 128-bit value.
23294 * crypt/sha512.c (sha512_process_block): Perform total addition using
23295 128-bit if possible.
23296 (__sha512_finish_ctx): Likewise.
23297 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23298 as 64-bit value.
23299 * crypt/sha256.c (SWAP64): Define.
23300 (sha256_process_block): Perform total addition using 64-bit if
23301 possible.
23302 (__sha256_finish_ctx): Likewise.
23303
99231d9a
UD
233042011-07-01 Ulrich Drepper <drepper@gmail.com>
23305
23306 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23308 * nscd/hstcache.c (cache_addhst): Likewise.
23309 * nscd/grpcache.c (cache_addgr): Likewise.
23310 * nscd/aicache.c (addhstaiX): Likewise
23311 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23312
445b4a53
TK
233132011-07-01 Thorsten Kukuk <kukuk@suse.de>
23314
23315 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23317 * nscd/hstcache.c (cache_addhst): Likewise.
23318 * nscd/grpcache.c (cache_addgr): Likewise.
23319 * nscd/aicache.c (addhstaiX): Likewise
23320
6d4d8e8e
AS
233212011-07-01 Andreas Schwab <schwab@redhat.com>
23322
23323 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23324 domain only when needed.
23325
89f654c5
AS
233262011-06-30 Andreas Schwab <schwab@redhat.com>
23327
23328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23329 is always restored.
23330
cf3b23ff
UD
233312011-06-29 Ulrich Drepper <drepper@gmail.com>
23332
23333 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23334 are re-adding the entry.
23335 * nscd/servicescache.c (cache_addserv): Likewise.
23336
751626f9
AJ
233372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23338
23339 * sysdeps/generic/dl-irel.h: fix protection against multiple
23340 inclusions.
23341 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23342
9113ea1f
UD
233432011-06-28 Ulrich Drepper <drepper@gmail.com>
23344
5c0b8d90
UD
23345 [BZ #12935]
23346 * malloc/memusage.sh: Fix quoting in message.
23347 * debug/xtrace.sh: Likewise.
23348
9113ea1f
UD
23349 * configure.in: Remove support for --experimental-malloc option, make
23350 it the default.
23351 * config.make.in: Likewise.
23352 * malloc/Makefile: Likewise.
23353
a4172181
AS
233542011-06-27 Andreas Schwab <schwab@redhat.com>
23355
23356 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23357 two-byte characters.
23358
78a7eee7
RM
233592011-06-27 Roland McGrath <roland@hack.frob.com>
23360
62bede13
RM
23361 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23362 AC_CACHE_CHECK invocation.
23363 * configure: Regenerated.
23364
78a7eee7
RM
23365 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23366
5ce33a62
UD
233672011-06-27 Ulrich Drepper <drepper@gmail.com>
23368
034807a9
UD
23369 [BZ #12350]
23370 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23371 bit from old_res_options.
23372
4902da17
UD
23373 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23374
5ce33a62
UD
23375 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23376 value type for setfct.
23377
c2344f56
L
233782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23381 __gettimeofday instead of gettimeofday.
23382
68468076
UD
233832011-06-26 Ulrich Drepper <drepper@gmail.com>
23384
23385 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23386
acb0d739
L
233872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23390
23391 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23392 info.
23393
8912479f
L
233942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23397 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23398 strcpy-sse2-unaligned strncpy-sse2-unaligned
23399 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23400 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23401 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23402 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23403 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23406 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23407 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23408 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23409 (STRCPY): Support SSE2 and SSSE3 versions.
23410
d5495a11
UD
234112011-06-24 Ulrich Drepper <drepper@gmail.com>
23412
23413 [BZ #12874]
23414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23415 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23416 kernels which artificially limit size of requests.
23417
0b1cbaae
L
234182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23419
23420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23421 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23422 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23423 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23424 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23425 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23426 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23427 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23430 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23431 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23432 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23433 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23434 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23436 Enable unaligned load optimization for Intel Core i3, i5 and i7
23437 processors.
23438 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23439 Define.
23440 (index_Fast_Unaligned_Load): Define.
23441 (HAS_FAST_UNALIGNED_LOAD): Define.
23442
07f494a0
MP
234432011-06-23 Marek Polacek <mpolacek@redhat.com>
23444
23445 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23446
fa3fc0fe
UD
234472011-06-22 Ulrich Drepper <drepper@gmail.com>
23448
23449 [BZ #12907]
23450 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23451 until it is clear that the information is realy needed.
23452 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23453
e12df166
AS
234542011-06-22 Andreas Schwab <schwab@redhat.com>
23455
23456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23457
852eb34d
UD
234582011-06-22 Ulrich Drepper <drepper@gmail.com>
23459
84e2a551
UD
23460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23461 /sys/devices/system/cpu/online if it is usable.
23462
852eb34d
UD
23463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23464 reading the information from the /proc filesystem to once a second.
23465
6e502e19
UD
234662011-06-21 Andreas Jaeger <aj@suse.de>
23467
23468 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23469 NULL after inclusion of kernel headers.
23470
75d39ff2
UD
234712011-06-21 Ulrich Drepper <drepper@gmail.com>
23472
51f9aa6a
UD
23473 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23474 calls to internal_setent.
23475
c0244a9d
UD
23476 [BZ #12885]
23477 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23478 addresses using gethostbyname4_r ignore IPv4 addresses.
23479
c5e3c2ae
UD
23480 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23481 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23482
75d39ff2
UD
23483 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23484
42675c6f
DM
234852011-06-20 David S. Miller <davem@davemloft.net>
23486
23487 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23488 inclusions.
23489 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23490
23491 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23492 (elf_irel): Use it.
23493 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23494 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23495 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23496 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23497 * sysdeps/x86_64/dl-irel.h: Likewise.
23498
23499 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23500 * elf/dl-sym.c: Likewise.
23501
57912a71
UD
235022011-06-15 Ulrich Drepper <drepper@gmail.com>
23503
23504 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23505 need to dereference resplen2.
23506
ee22793d
AS
235072011-06-14 Andreas Schwab <schwab@redhat.com>
23508
23509 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23510
a9e836b0
UD
235112011-06-15 Ulrich Drepper <drepper@gmail.com>
23512
77fb9117
UD
23513 * Makeconfig: Define vardbdir and inst_vardbdir.
23514 * nss/Makefile: Add rules to install db-Makefile.
23515
40c1b22c
UD
23516 * nss/nss_db/db-XXX.c: Cleanup.
23517
9f2da732
UD
23518 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23519 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23520 GLIBC_PRIVATE.
23521 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23522 * nss/makedb.c: Implement -g option to specify that value strings
23523 are generated and should not be added to table iterated over for
23524 get*ent calls.
23525 * nss/nss_db/db-initgroups.c: New file.
23526
82e9a1f7
UD
23527 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23528 interface.
23529
c41af17e
UD
23530 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23531 (internal_getgrouplist): Adjust to name change.
23532 Update use_initgroups_entry if this is not the first call.
23533 * nss/databases.def: Add initgroups entry.
23534
a9e836b0
UD
23535 * nss/makedb.c (compute_tables): Check result of multiple hash table
23536 sizes to minimize maximum chain length.
23537
2666d441
UD
235382011-06-14 Ulrich Drepper <drepper@gmail.com>
23539
23540 * Versions.def: Add entry for libnss_db.
23541 * shlib-versions: Likewise.
23542 * nss/Makefile: Add rules to build libnss_db.
23543 * nss/Versions: Add libnss_db information. Organize libnss_files
23544 entries better.
23545 * nss/db-Makefile: Add gshadow support. Change rules for the new
23546 makedb progra. Some minor improvements to generate smaller files.
23547 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23548 here from...
23549 * nss/makedb.c: ...here.
23550 Improve database format to be smaller and require less memory at
23551 runtime.
23552 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23553 db anymore.
23554 * nss/nss_db/db-netgrp.c: Likewise.
23555 * nss/nss_db/db-open.c: Likewise.
23556 * nss/nss_files/flies-XXX.x: Adjust comments.
23557 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23558 * nss/nss_files/files-grp.c: Likewise.
23559 * nss/nss_files/files-hosts.c: Likewise.
23560 * nss/nss_files/files-network.c: Likewise.
23561 * nss/nss_files/files-proto.c: Likewise.
23562 * nss/nss_files/files-pwd.c: Likewise.
23563 * nss/nss_files/files-rpc.c: Likewise.
23564 * nss/nss_files/files-service.c: Likewise.
23565 * nss/nss_files/files-sgrp.c: Likewise.
23566 * nss/nss_files/files-spwd.c: Likewise.
23567 * nss/nss_db/db-alias.c: Removed.
23568 * nss/nss_db/dummy-db.h: Removed.
23569
9ee76b5a
UD
235702011-06-02 Ulrich Drepper <drepper@gmail.com>
23571
23572 * nss/makedb.c: Rewritten to not use database library.
23573 * nss/Makefile: Update to build new makedb program.
23574
c71ca1f8
AJ
235752011-06-14 Andreas Jaeger <aj@suse.de>
23576
23577 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23578 memset declaration.
23579
3154bfb8
UD
235802011-06-10 Andreas Schwab <schwab@redhat.com>
23581
23582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23583 tmpbuf.
23584
b350afab
RM
235852011-06-10 Roland McGrath <roland@hack.frob.com>
23586
decd4e50
RM
23587 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23588 * elf/Makefile ($(objpfx)ld.so): Likewise.
23589
5615eaf2
RM
23590 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23591 Don't list ld.so twice in dependencies.
23592
23593 * posix/bug-regex31.c: Include <stdlib.h>.
23594
23595 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23596
23597 * nis/nss_compat/compat-spwd.c
23598 (getspent_next_nss_netgr): Remove unused variable.
23599 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23600
23601 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23602 nonmembers" output to use the right array.
23603
23604 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23605
23606 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23607
23608 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23609 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23610 * catgets/gencat.c (read_input_file): Likewise.
23611 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23612
23613 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23614 variable definition inside #if's controlling its use.
23615
23616 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23617
23618 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23619
23620 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23621
23622 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23623 unreachable code.
23624
23625 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23626
b68e08db
RM
23627 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23628 * configure: Regenerated.
23629
b350afab
RM
23630 * Makerules: Revert last change.
23631 * elf/Makefile: Likewise.
23632
28368601
RM
236332011-06-09 Roland McGrath <roland@hack.frob.com>
23634
23635 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23636 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23637 (reloc-link): Likewise.
23638
11988f8f
UD
236392011-06-09 Ulrich Drepper <drepper@gmail.com>
23640
23641 * elf/Makefile: Add rules to build pldd.
23642 * elf/pldd.c: New file.
23643 * elf/pldd-xx.c: New file.
23644
e80fab37
UD
236452011-06-07 Ulrich Drepper <drepper@gmail.com>
23646
23647 * version.h: Update for 2.15 development version.
23648
9b849836
DM
236492011-06-07 David S. Miller <davem@davemloft.net>
23650
23651 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23652 ifuncs.
23653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23654 elf_machine_lazy_rel): Likewise.
23655 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23657 elf_machine_lazy_rel): Likewise.
23658 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23659 dl_hwcap via passed in argument.
23660 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23661 Likewise.
23662
5a31b283
AK
236632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23664
23665 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23666
069e52f8
RM
236672011-06-06 Roland McGrath <roland@hack.frob.com>
23668
23669 [BZ #12849]
23670 * manual/fdl-1.1.texi: New file, verbatim from:
23671 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23672 * manual/lgpl-2.1.texi: New file, verbatim from:
23673 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23674 * manual/Makefile (licenses): New variable, list those new file names.
23675 (texis): Use it.
23676 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23677
23678 * manual/fdl.texi: File removed.
23679 * manual/lesser.texi: File removed.
23680 * manual/libc.texinfo (Copying, Documentation License):
23681 Use new @include file names, put @appendix directive before @include.
23682
f16846a5
JJ
236832011-06-04 Jakub Jelinek <jakub@redhat.com>
23684
23685 [BZ #12841]
23686 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23687 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23688 (mq_open): Add __NTH.
23689
3d29045b
L
236902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23691
23692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23693 Assume Intel Core i3/i5/i7 processor if AVX is available.
23694
8c297311
UD
236952011-05-31 Ulrich Drepper <drepper@gmail.com>
23696
23697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23698 typo.
23699
c8fc0c91
UD
237002011-05-31 Andreas Schwab <schwab@redhat.com>
23701
23702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23703 memory. Use alloca_account. Fix memory leak when retrying.
23704
5b27a807
UD
237052011-05-31 Ulrich Drepper <drepper@gmail.com>
23706
356f8bc6
UD
23707 * version.h (RELEASE): Bump for 2.14 release.
23708 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23709
5b27a807
UD
23710 * config.make.in (RANLIB): Remove entry.
23711
01f16ab0
UD
237122011-05-30 Ulrich Drepper <drepper@gmail.com>
23713
41fce8bd
UD
23714 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23715 (libc.pot): Work around missing support for .ksh extension in xgettext.
23716
4769ae77
UD
23717 [BZ #12684]
23718 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23719 if both request failed.
23720 (send_dg): In case of server errors clear resplen or *resplen2.
23721
6b1e7d19
UD
23722 [BZ #12454]
23723 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23724 when there are multiple maps.
23725 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23726 (_dl_fini): Remove test here.
23727
01f16ab0
UD
23728 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23729
b1ebd700
UD
237302011-05-29 Ulrich Drepper <drepper@gmail.com>
23731
7ae22829
UD
23732 [BZ #12350]
23733 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23734 bit from old_res_options.
23735 (gaih_inet): Likewise.
23736
553149f6 23737 [BZ #11099]
18a84741 23738 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23739 as signed.
23740
652ffab1
UD
23741 * resolv/res_init.c (res_setoptions): Make the code more compact.
23742
16985fd0
UD
23743 [BZ #11558]
23744 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23745 set RES_USEVC.
23746
0464f746
UD
23747 [BZ #11634]
23748 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23749
7d17596c
UD
23750 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23751
cf6bbbd7
UD
23752 [BZ #11781]
23753 * malloc/malloc.h: Declare malloc hook variables as volatile.
23754
13f1ab36
UD
23755 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23756 in last patch.
23757
b1ebd700
UD
23758 [BZ #11799]
23759 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23760 raise in the comment.
80e2212d
UD
23761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23763 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23764
ce67228d
UD
237652011-05-28 Ulrich Drepper <drepper@gmail.com>
23766
8887a920
UD
23767 [BZ #12811]
23768 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23769 grow the buffers more if it already has to be sufficient.
23770 (build_wcs_upper_buffer): Likewise.
23771 * posix/regexec.c (check_matching): Likewise.
23772 (clean_state_log_if_needed): Likewise.
23773 (extend_buffers): Don't enlarge buffers beyond size of the input
23774 buffer.
23775 Patches mostly by Emil Wojak <emil@wojak.eu>.
23776 * posix/bug-regex32.c: New file.
23777 * posix/Makefile (tests): Add bug-regex32.
23778
4f031072
UD
23779 * locale/findlocale.c (_nl_find_locale): Return right away if
23780 _nl_explode_name failed.
23781 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23782
d0478f0c
UD
23783 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23784
de81b246
UD
23785 * debug/xtrace.sh: Unify messages.
23786 * malloc/memusage.sh: Likewise.
23787
c738465a
UD
23788 [BZ #12813]
23789 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23790 time symbol from vDSO. Substitute with vsyscall if not available.
23791 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23792 __vdso_time.
23793
f1f929d7
UD
23794 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23795 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23796 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23797 Add sendmmsg and internal_sendmmsg.
23798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23799 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23800 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23801
ce67228d
UD
23802 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23803 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23804 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23805
e57420c6
UD
238062011-05-27 Ulrich Drepper <drepper@gmail.com>
23807
a8509ca5
UD
23808 [BZ #12813]
23809 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23810 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23811 available.
23812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23813 __vdso_getcpu.
23814
e57420c6
UD
23815 [BZ #12814]
23816 * iconvdata/Makefile (tests): Add bug-iconv9.
23817 * iconvdata/bug-iconv9.c: New file.
23818
4d07db15
AS
238192011-05-27 Andreas Schwab <schwab@redhat.com>
23820
23821 [BZ #12814]
23822 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23823
ea486f69
JJ
238242011-05-25 Jakub Jelinek <jakub@redhat.com>
23825
23826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23827 (struct user_regs_struct): Change intcs field back to cs.
23828
6f038433
UD
238292011-05-25 Ulrich Drepper <drepper@gmail.com>
23830
23831 * po/ja.po: Update from translation team.
23832
67f86a25
UD
238332011-05-23 Ulrich Drepper <drepper@gmail.com>
23834
23835 [BZ #12795]
23836 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23837 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23838
def7fbd6
AS
238392011-05-20 Andreas Schwab <schwab@redhat.com>
23840
23841 * stdlib/longlong.h: Update from GCC.
23842
f50ef8f1
AS
238432011-05-23 Andreas Schwab <schwab@redhat.com>
23844
23845 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23846 parameter name.
23847 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23848 Add parameter name.
23849 (__sysconf): Pass it down.
23850
de7ce8f1
UD
238512011-05-22 Ulrich Drepper <drepper@gmail.com>
23852
f2962a71
UD
23853 [BZ #12671]
23854 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23855 some situations.
23856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23857 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23858 add in in __libc_use_alloca calls. Adjust callers.
23859 (glob): Use malloc in some situations.
23860
de7ce8f1
UD
23861 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23862 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23863 pltexit.
23864
aec84f53
UD
238652011-05-21 Ulrich Drepper <drepper@gmail.com>
23866
05bb4a68
UD
23867 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23868 and CLOCK_BOOTTIME_ALARM.
23869
7ea72f99
UD
23870 [BZ #12782]
23871 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23872 is returned.
23873
7e4afad5
UD
23874 * string/_strerror.c (__strerror_r): Print negative errors as signed
23875 numbers.
23876
8e211fec
UD
23877 [BZ #12777]
23878 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23879 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23880 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23881
f7d82dc9
UD
23882 * configure.in: Fix typo in redirection and correct removal of test
23883 files in two cases.
23884
cc9e536d
UD
23885 [BZ #12788]
23886 * locale/setlocale.c (new_composite_name): Fix test to check for
23887 identical name of all categories.
23888
aec84f53
UD
23889 [BZ #12792]
23890 * libio/filedoalloc.c (local_isatty): New function.
23891 (_IO_file_doallocate): Use local_isatty.
23892 * stdio-common/perror.c (perror): In case a new stream is used
23893 forward the stream error.
23894 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23895 error flag.
23896
78e64fdc
RT
238972011-05-20 Ulrich Drepper <drepper@gmail.com>
23898
34a9094f
UD
23899 [BZ #11869]
23900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23901 alloca.
23902 * include/alloca.h (extend_alloca_account): Define.
23903
78e64fdc
RT
23904 [BZ #11857]
23905 * posix/regex.h: Fix comments with documentation of user-accessible
23906 fields after compilation and describe correct free'ing of pattern
23907 after re_compile_pattern.
23908 Patch by Reuben Thomas <rrt@sc3d.org>.
23909
457bddfc
RA
239102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23911
23912 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23913 and -mno-altivec to prevent the compiler from using Altivec and/or
23914 VSX instructions when the corresponding registers are not available.
23915
a4527b51
AS
239162011-05-19 Andreas Schwab <schwab@redhat.com>
23917
23918 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23919
ed690b2f
UD
239202011-05-19 Ulrich Drepper <drepper@gmail.com>
23921
23922 * libio/freopen.c (freopen): Use __dup2, not dup2.
23923 * libio/freopen64.c (freopen64): Likewise.
23924
8db73634
L
239252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 [BZ #12775]
23928 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23929 * math/Makefile (tests): Add test-powl.
23930 (CFLAGS-test-powl.c): Define.
23931 * math/test-powl.c: New file.
23932
0a197a9d
L
239332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23936
ee30c380
UD
239372011-05-17 Ulrich Drepper <drepper@gmail.com>
23938
23939 [BZ #11837]
23940 * iconvdata/gb18030.c: Update to GB18020-2005.
23941
6ce75379
UD
239422011-05-16 Ulrich Drepper <drepper@gmail.com>
23943
a4b89fd8
AR
23944 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23945 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23946 Patch by Aharon Robbins <arnold@skeeve.com>.
23947
ea389b12
UD
23948 [BZ #11892]
23949 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23950 on the stack.
23951
68a3f91f
UD
23952 [BZ #11895]
23953 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23954 through underflows.
23955
15cc7dd1
UD
23956 [BZ #12766]
23957 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23958 point to strings before performing equality test for error_one_per_line
23959 mode.
23960
f3799213
UD
23961 [BZ #11697]
23962 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23963
d79a9c94
UD
23964 [BZ #11820]
23965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23966 (struct user_fpregs_struct): Avoid __uint*_t types.
23967
56e5eb46
UD
23968 [BZ #6420]
23969 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23970 symbol info. Use it instead of calling _dl_addr locally.
23971 (lock_and_info): New function.
23972 (tr_freehook): Call lock_and_info and pass symbol info as additional
23973 parameter to tr_where.
23974 (tr_mallochook): Likewise.
23975 (tr_reallochook): Likewise.
23976 (tr_memalignhook): Likewise.
23977
6ce75379
UD
23978 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23979 used and couldn't be at all thread-safe.
23980
f8a3b5bf
UD
239812011-05-15 Ulrich Drepper <drepper@gmail.com>
23982
94b7cc37
UD
23983 * libio/freopen.c (freopen): Don't close old file descriptor
23984 before the new one is opened. Instead dup the new file descriptor
23985 to the old one after the new stream is created.
23986 * libio/freopen64.c (freopen64): Likewise.
23987 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23988 * libio/fileops.c (_IO_new_file_close_it): Handle new
23989 _IO_FLAGS2_NOCLOSE flag.
23990 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23991 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23992 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23993 _IO_FLAGS2_NOCLOSE flag.
23994 * include/unistd.h: Add hidden_proto for dup3.
23995 Define __have_dup3.
23996 * io/dup3.c: Define hidden symbol.
23997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23998
bd25564e
UD
23999 [BZ #7101]
24000 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24001 when an incomplete long option is used.
24002 * posix/tst-getopt_long1.c: New file.
24003 * posix/Makefile (tests): Add tst-getopt_long1.
24004
c84cfef4
UD
24005 [BZ #10138]
24006 * scripts/config.guess: Update from autoconf-2.68.
24007 * scripts/config.sub: Likewise.
24008
3b85df27
UD
24009 [BZ #10157]
24010 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24011 tests into ...
24012 (has_cpuclock): ...this. New function.
24013 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24014 macro here based on has_cpuclock code.
24015
15a856b1
UD
24016 [BZ #10149]
24017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24018 First byte (not low byte) is now always NUL.
24019 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24020
05f399e6
UD
24021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24022 Use non-cancelable interfaces.
24023
10a52685 24024 [BZ #9809]
94ecc67d
UD
24025 * locale/iso-639.def: Add entry for Sorani.
24026
f8a3b5bf
UD
24027 [BZ #11901]
24028 * include/stdlib.h: Move include protection to the right place.
24029 Define abort_msg_s. Declare __abort_msg with it.
24030 * stdlib/abort.c (__abort_msg): Adjust type.
24031 * assert/assert.c (__assert_fail_base): New function. Majority
24032 of code from __assert_fail. Allocate memory for __abort_msg with
24033 mmap.
24034 (__assert_fail): Now call __assert_fail_base.
24035 * assert/assert-perr.c: Remove bulk of implementation. Use
24036 __assert_fail_base.
24037 * include/assert.hL Declare __assert_fail_base.
24038 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24039 mmap.
24040 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24041
1af4e298
UD
240422011-05-14 Ulrich Drepper <drepper@gmail.com>
24043
f8a3b5bf 24044 [BZ #11952]
d26dfc60
MG
24045 [BZ #12453]
24046 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24047 until all modules are registered in the DTV.
24048 * elf/Makefile: Add rules to build and run tst-tls19.
24049 * elf/tst-tls19.c: New file.
24050 * elf/tst-tls19mod1.c: New file.
24051 * elf/tst-tls19mod2.c: New file.
24052 * elf/tst-tls19mod3.c: New file.
24053 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24054
2fc54d6f
UD
24055 [BZ #12083]
24056 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24057 correctly.
24058
98d76b46
UD
24059 [BZ #12601]
24060 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24061 two-byte sequence errors.
24062 * iconvdata/Makefile (tests): Add bug-iconv8.
24063 * iconvdata/bug-iconv8.c: New file.
24064
da3c19ef
UD
24065 [BZ #12626]
24066 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24067 buf2 definition.
24068
ca408c15
UD
24069 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24070
d6f67f7d
UD
24071 [BZ #12432]
24072 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24073 (dummy_getcfa): New function.
24074 (init): Get _Unwind_GetCFA address, use dummy if not found.
24075 (backtrace_helper): In recursion check, also check whether CFA changes.
24076 (__backtrace): Completely initialize arg.
24077
1af4e298 24078 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24079 storing incomplete byte sequence in state object. Avoid testing for
24080 guaranteed too small input if we know there is enough data available.
1af4e298 24081
da62f81b
AS
240822011-05-11 Andreas Schwab <schwab@redhat.com>
24083
24084 * Makeconfig (+link-pie): Indent.
24085 * Rules (binaries-pie): Define if $(have-fpie) and
24086 $(build-shared).
24087 (binaries-shared): Also filter out $(binaries-pie).
24088 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24089 * nscd/Makefile (others-pie): Add nscd.
24090 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24091 ($(objpfx)nscd): Remove command override.
24092 * login/Makefile (others-pie): Add pt_chown.
24093 ($(objpfx)pt_chown): Remove command override.
24094 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24095 remove command overrides.
24096
fcabc0f8
UD
240972011-05-13 Ulrich Drepper <drepper@gmail.com>
24098
20030ae6
UD
24099 * libio/tst_putwc.c: Fix error messages.
24100
fcabc0f8
UD
24101 [BZ #12724]
24102 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24103 currently writing and seek to current position when not.
24104 * libio/Makefile (tests): Add bug-fclose1.
24105 * libio/bug-fclose1.c: New file.
24106
320a5dc0
PB
241072011-05-12 Ulrich Drepper <drepper@gmail.com>
24108
24109 [BZ #12511]
24110 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24111 don't set DF_1_NODELETE here.
24112 (do_lookup_x): When entering new entry test for copy relocation
24113 and if necessary set DF_1_NODELETE flag.
24114 * elf/tst-unique4.cc: New file.
24115 * elf/tst-unique4.h: New file.
24116 * elf/tst-unique4lib.cc: New file.
24117 * elf/Makefile: Add rules to build and run tst-unique4.
24118 Patch by Piotr Bury <pbury@goahead.com>.
24119
22836f52
UD
241202011-05-11 Ulrich Drepper <drepper@gmail.com>
24121
f574184a
UD
24122 [BZ #12052]
24123 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24124
e1fb097f
UD
24125 [BZ #12625]
24126 * misc/mntent_r.c (addmntent): Flush the stream after the output
24127
22836f52
UD
24128 [BZ #12393]
24129 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24130 (is_trusted_path_normalize): Skip initial colon. Append slash
24131 to empty buffer. Duplicate is_trusted_path code but allow
24132 constructed patch to be prefix.
24133 (is_dst): Allow $ORIGIN followed by /.
24134 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24135 Correct testing of result of is_trusted_path_normalize
24136 (decompose_rpath): Fix warning.
24137
7b3b0b2a
UD
241382011-05-10 Ulrich Drepper <drepper@gmail.com>
24139
24140 [BZ #11257]
24141 * grp/initgroups.c (internal_getgrouplist): When we found the service
24142 list through the initgroups entry in nsswitch.conf do not always
24143 continue on a successful lookup. Don't always use the
eac80ce2 24144 __nss_group_database value if it is set.
7b3b0b2a
UD
24145 * nss/nsswitch.conf (initgroups): Change action for successful db
24146 lookup to continue for compatibility.
24147
2a81eaa5
UD
241482011-05-09 Ulrich Drepper <drepper@gmail.com>
24149
be97a69e
UD
24150 [BZ #11532]
24151 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24152 and CP774 modules.
24153 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24154 and CP774 modules.
24155 * iconvdata/tst-tables.sh: Likewise.
24156 * iconvdata/cp770.c: New file.
24157 * iconvdata/cp771.c: New file.
24158 * iconvdata/cp772.c: New file.
24159 * iconvdata/cp773.c: New file.
24160 * iconvdata/cp774.c: New file.
24161 * iconvdata/testdata/CP770: New file.
24162 * iconvdata/testdata/CP770..UTF8: New file.
24163 * iconvdata/testdata/CP771: New file.
24164 * iconvdata/testdata/CP771..UTF8: New file.
24165 * iconvdata/testdata/CP772: New file.
24166 * iconvdata/testdata/CP772..UTF8: New file.
24167 * iconvdata/testdata/CP773: New file.
24168 * iconvdata/testdata/CP773..UTF8: New file.
24169 * iconvdata/testdata/CP774: New file.
24170 * iconvdata/testdata/CP774..UTF8: New file.
24171
24172 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24173 END CHARMAP line.
24174 * iconvdata/gen-8bit-gap.sh: Likewise.
24175 * iconvdata/gen-8bit.sh: Likewise.
24176
c1e9e399
UD
24177 * locale/iso-639.def: Add ary entry.
24178
24c55fb3 24179 [BZ #11258]
96b4b1b0
UD
24180 * locale/C-translit.h.in: Add U20A1 transliteration.
24181
bdc2f971
KB
24182 [BZ #12178]
24183 * locale/iso-639.def: Add wae entry.
24184 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24185
2952b117
UD
24186 [BZ #12545]
24187 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24188 for n.
24189
2a81eaa5
UD
24190 [BZ #12711]
24191 * locale/C-translit.h.in: Add entry for U20B9.
24192 Patch by pravin.d.s@gmail.com.
24193
28377d1b
UD
241942011-05-08 Ulrich Drepper <drepper@gmail.com>
24195
7fb90fb8
UD
24196 [BZ #12713]
24197 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24198 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24199 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24200 in rtld. Use *stat64.
7fb90fb8 24201 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24202 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24203 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24204 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24205 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24206 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24207 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24208 __fstatat64 macros.
7fb90fb8
UD
24209 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24210 * dirent/rewinddir.c: Add libc_hidden_def.
24211 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24212 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24213
28377d1b
UD
24214 * include/dirent.h (__alloc_dir): Add flags parameter.
24215 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24216 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24217 __alloc_dir.
24218 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24219 from fdopendir if O_CLOEXEC is already set.
24220
66bdbaa4
AM
242212011-03-15 Alan Modra <amodra@gmail.com>
24222
24223 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24224 l_tls_firstbyte_offset non-zero. Save padding offset in
24225 l_tls_firstbyte_offset for later use.
24226 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24227 freeing static tls block.
24228
95721191
JN
242292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24230
24231 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24232 where #ifdef was intended. The intent is to prevent ARG_MAX from
24233 being defined by the kernel headers.
24234
f87dfb1f
UD
242352011-05-07 Ulrich Drepper <drepper@gmail.com>
24236
24237 [BZ #12734]
24238 * resolv/resolv.h: Define RES_NOTLDQUERY.
24239 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24240 no-tld-query and set RES_NOTLDQUERY.
24241 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24242 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24243 modern BIND to search name as TLD unless forbidden.
24244
47c3cd7a
UD
242452011-05-07 Petr Baudis <pasky@suse.cz>
24246 Ulrich Drepper <drepper@gmail.com>
24247
24248 [BZ #12393]
24249 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24250 (is_trusted_path): ...to here.
c1e9ea35 24251 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24252 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24253 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24254
8a35c912
PP
242552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24256
24257 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24258 __BEGIN/__END_DECLS.
24259
acd41f47
UD
242602011-05-06 Ulrich Drepper <drepper@gmail.com>
24261
24262 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24263 NSS_STATUS_NOTFOUND if no record was found.
24264
597df647
AS
242652011-05-05 Andreas Schwab <schwab@redhat.com>
24266
24267 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24268 (headers-not-in-tirpc): Remove rpc/netdb.h
24269 * resolv/netdb.h: Revert last change.
24270
b9af1301
PP
242712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24272
24273 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24274 circular dependency between libgcc.a and libc.a.
24275
4e34d5f5
AS
242762011-05-05 Andreas Schwab <schwab@redhat.com>
24277
24278 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24279 * nis/Makefile: Don't install rpcsvc/*.
24280 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24281 instead of <rpc/types.h>.
24282 (MAXHOSTNAMELEN): Define.
24283
00ee369c
AS
242842011-05-03 Andreas Schwab <schwab@redhat.com>
24285
24286 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24287
0b592a30
MB
242882011-04-28 Maciej Babinski <mbabinski@google.com>
24289
24290 [BZ #12714]
24291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24292 gethostbyname4_r when IPv6 results are possible.
24293
6e04cbbe
UD
242942011-05-02 Ulrich Drepper <drepper@gmail.com>
24295
24296 [BZ #12723]
24297 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24298 _PC_PIPE_BUF handling.
24299
e4ecafe0
BH
243002011-04-30 Bruno Haible <bruno@clisp.org>
24301
24302 [BZ #12717]
24303 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24304 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24305 to 'int'.
24306 * inet/getnameinfo.c (getnameinfo): Likewise.
24307
125ee683
UD
243082011-04-29 Ulrich Drepper <drepper@gmail.com>
24309
24310 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24311 to groups setting in database lookup.
24312 * nss/nsswitch.conf: Add initgroups entry.
24313
b722481a
EB
243142011-04-22 Ulrich Drepper <drepper@gmail.com>
24315
24316 [BZ #12685]
24317 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24318 mode string.
24319 Patch by Eric Blake <eblake@redhat.com>.
24320
4df46dbd
L
243212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24322
24323 * sunrpc/Makefile (need-export-routines): Add svc_run.
24324 (routines): Remove svc_run.
24325 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24326 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24327 * sunrpc/svc_run.c (svc_run): Likewise.
24328 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24329
e84142d2
UD
243302011-04-21 Ulrich Drepper <drepper@gmail.com>
24331
24332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24333 problem in reallocation in last patch.
24334
877175d8
UD
243352011-04-20 Ulrich Drepper <drepper@gmail.com>
24336
24337 * sunrpc/Makefile: Move inclusion of Rules.
24338
ab8eed78
UD
243392011-04-19 Ulrich Drepper <drepper@gmail.com>
24340
24341 * nss/nss_files/files-initgroups.c: New file.
24342 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24343 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24344 _nss_files_initgroups_dyn.
24345
e3d8f584
RS
243462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24347
24348 * elf/elf.h (R_ARM_IRELATIVE): Define.
24349
af190f45
UD
243502011-04-19 Ulrich Drepper <drepper@gmail.com>
24351
24352 * po/ru.po: Update from translation team.
24353
53cf59ef
UD
243542011-04-17 Ulrich Drepper <drepper@gmail.com>
24355
24356 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24357 dependencies.
24358
4c559bcd
MF
243592011-02-06 Mike Frysinger <vapier@gentoo.org>
24360
24361 [BZ #12653]
24362 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24363 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24364 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24367
4420675c
AS
243682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24369
24370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24371 differing bytes.
24372 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24373 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24374 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24375
75ea32ab
UD
243762011-04-17 Ulrich Drepper <drepper@gmail.com>
24377
24378 [BZ #12420]
24379 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24380 storing it.
24381 * stdlib/bug-getcontext.c: New file.
24382 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24383
27390476
AK
243842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24385
24386 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24387 instructions into .machine "z9-109".
24388 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24389 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24390
10442705
AK
243912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24392
24393 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24394 between environment variables and auxiliary vector.
24395
7b57bfe5
UD
243962011-04-16 Ulrich Drepper <drepper@gmail.com>
24397
24398 * Makefile: Add rules to build linkobj/libc.so.
24399 * include/libc-symbols.h: Define libc_hidden_nolink.
24400 * include/rpc/auth.h: Mark functions which are to be hidden.
24401 * include/rpc/auth_des.h: Likewise.
24402 * include/rpc/auth_unix.h: Likewise.
24403 * include/rpc/clnt.h: Likewise.
24404 * include/rpc/des_crypt.h: Likewise.
24405 * include/rpc/key_prot.h: Likewise.
24406 * include/rpc/pmap_clnt.h: Likewise.
24407 * include/rpc/pmap_prot.h: Likewise.
24408 * include/rpc/pmap_rmt.h: Likewise.
24409 * include/rpc/rpc_msg.h: Likewise.
24410 * include/rpc/svc.h: Likewise.
24411 * include/rpc/svc_auth.h: Likewise.
24412 * include/rpc/xdr.h: Likewise.
24413 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24414 * nss/Makefile: Likewise.
24415 * sunrpc/Makefile: Don't install headers. Build library with normal
24416 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24417 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24418 for the compat linking library. Remove use of INTDEF/INTUSE.
24419 * sunrpc/auth_none.c: Likewise.
24420 * sunrpc/auth_unix.c: Likewise.
24421 * sunrpc/authdes_prot.c: Likewise.
24422 * sunrpc/authuxprot.c: Likewise.
24423 * sunrpc/clnt_gen.c: Likewise.
24424 * sunrpc/clnt_perr.c: Likewise.
24425 * sunrpc/clnt_raw.c: Likewise.
24426 * sunrpc/clnt_simp.c: Likewise.
24427 * sunrpc/clnt_tcp.c: Likewise.
24428 * sunrpc/clnt_udp.c: Likewise.
24429 * sunrpc/clnt_unix.c: Likewise.
24430 * sunrpc/des_crypt.c: Likewise.
24431 * sunrpc/des_soft.c: Likewise.
24432 * sunrpc/get_myaddr.c: Likewise.
24433 * sunrpc/key_call.c: Likewise.
24434 * sunrpc/key_prot.c: Likewise.
24435 * sunrpc/netname.c: Likewise.
24436 * sunrpc/pm_getmaps.c: Likewise.
24437 * sunrpc/pm_getport.c: Likewise.
24438 * sunrpc/pmap_clnt.c: Likewise.
24439 * sunrpc/pmap_prot.c: Likewise.
24440 * sunrpc/pmap_prot2.c: Likewise.
24441 * sunrpc/pmap_rmt.c: Likewise.
24442 * sunrpc/publickey.c: Likewise.
24443 * sunrpc/rpc_cmsg.c: Likewise.
24444 * sunrpc/rpc_common.c: Likewise.
24445 * sunrpc/rpc_dtable.c: Likewise.
24446 * sunrpc/rpc_prot.c: Likewise.
24447 * sunrpc/rpc_thread.c: Likewise.
24448 * sunrpc/rtime.c: Likewise.
24449 * sunrpc/svc.c: Likewise.
24450 * sunrpc/svc_auth.c: Likewise.
24451 * sunrpc/svc_authux.c: Likewise.
24452 * sunrpc/svc_raw.c: Likewise.
24453 * sunrpc/svc_run.c: Likewise.
24454 * sunrpc/svc_simple.c: Likewise.
24455 * sunrpc/svc_tcp.c: Likewise.
24456 * sunrpc/svc_udp.c: Likewise.
24457 * sunrpc/svc_unix.c: Likewise.
24458 * sunrpc/svcauth_des.c: Likewise.
24459 * sunrpc/xcrypt.c: Likewise.
24460 * sunrpc/xdr.c: Likewise.
24461 * sunrpc/xdr_array.c: Likewise.
24462 * sunrpc/xdr_float.c: Likewise.
24463 * sunrpc/xdr_intXX_t.c: Likewise.
24464 * sunrpc/xdr_mem.c: Likewise.
24465 * sunrpc/xdr_rec.c: Likewise.
24466 * sunrpc/xdr_ref.c: Likewise.
24467 * sunrpc/xdr_sizeof.c: Likewise.
24468 * sunrpc/xdr_stdio.c: Likewise.
24469
e6c61494
UD
244702011-04-10 Ulrich Drepper <drepper@gmail.com>
24471
24472 [BZ #12650]
24473 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24474 * sysdeps/ia64/dl-tls.h: Likewise.
24475 * sysdeps/powerpc/dl-tls.h: Likewise.
24476 * sysdeps/s390/dl-tls.h: Likewise.
24477 * sysdeps/sh/dl-tls.h: Likewise.
24478 * sysdeps/sparc/dl-tls.h: Likewise.
24479 * sysdeps/x86_64/dl-tls.h: Likewise.
24480 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24481
34fe483e
AS
244822011-03-14 Andreas Schwab <schwab@redhat.com>
24483
24484 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24485 rpath element also skip the following colon.
24486 (expand_dynamic_string_token): Add is_path parameter and pass
24487 down to DL_DST_REQUIRED and _dl_dst_substitute.
24488 (decompose_rpath): Call expand_dynamic_string_token with
24489 non-zero is_path. Ignore empty rpaths.
24490 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24491 with zero is_path.
24492
f12a32e6
AS
244932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24494
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24496 Make cancelable.
24497
38a7d692
UD
244982011-04-09 Ulrich Drepper <drepper@gmail.com>
24499
24500 [BZ #12655]
24501 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24502 Patch by Filipe David Manana <fdmanana@apache.org>.
24503
e451d22b
AS
245042011-04-07 Andreas Schwab <schwab@redhat.com>
24505
24506 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24507 Maintain aligned stack.
24508 (CHECK_RSP): Remove unused macro.
24509
dedc7c7b
UD
245102011-04-03 Ulrich Drepper <drepper@gmail.com>
24511
24512 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24514
94521213
UD
245152011-04-02 Ulrich Drepper <drepper@gmail.com>
24516
24517 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24518
8cb700c0 24519 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24520
0354e355
L
245212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24522
24523 [BZ #12518]
24524 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24525 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24526 * sysdeps/x86_64/memmove.c: New file.
24527 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24528 (memcpy): Renamed to ...
24529 (__new_memcpy): This.
24530 (memcpy): Provide GLIBC_2_14 memcpy.
24531 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24532 (memcpy): Provide GLIBC_2_2_5 memcpy.
24533
8593482f
UD
245342011-04-01 Ulrich Drepper <drepper@gmail.com>
24535
24536 [BZ #12631]
24537 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24538
81a5726b
AS
245392011-03-30 Andreas Schwab <schwab@redhat.com>
24540
24541 * misc/syncfs.c: New file.
24542 * misc/Makefile (routines): Add syncfs.
24543 * posix/unistd.h: Declare syncfs.
24544 * sysdeps/unix/syscalls.list: Add syncfs.
24545
00e5419f
AS
245462011-04-01 Andreas Schwab <schwab@redhat.com>
24547
24548 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24549 open_by_handle_at.
24550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24553 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24555 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24557
748876bf
UD
245582011-04-01 Ulrich Drepper <drepper@gmail.com>
24559
658e451d
UD
24560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24567
748876bf
UD
24568 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24569 sync_file_range.c with -fexceptions.
24570 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24571 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24572 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24573 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24574 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24575 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24577 sync_file_range as cancellation point
24578 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24579 now a wrapper around __call_sync_file_range with cancellation handling.
24580 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24581 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24582 function name to __call_sync_file_range.
24583 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24584 Add call_sync_file_range.
748876bf 24585
6e63d5e1
AS
245862011-04-01 Andreas Schwab <schwab@redhat.com>
24587
24588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24589 bits/timex.h.
6e63d5e1 24590
46998f74
UD
245912011-04-01 Ulrich Drepper <drepper@gmail.com>
24592
4c1423ed
UD
24593 * iconv/iconv.h: Fix typo in comment.
24594 * io/fcntl.h: Likewise.
24595 * libio/stdio.h: Likewise.
24596 * posix/spawn.h: Likewise.
24597 * posix/unistd.h: Likewise.
24598 * stdlib/stdlib.h: Likewise.
24599 * time/time.h: Likewise.
24600 * wcsmbs/wchar.h: Likewise.
24601
158648c0
UD
24602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24603 open_by_handle): Add.
24604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24605 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24606 Augment a few comments.
24607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24612 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24613 open_by_handle.
24614
46998f74
UD
24615 * io/fcntl.h (AT_EMPTY_PATH): Define.
24616
83fe108b
UD
246172011-03-30 Ulrich Drepper <drepper@gmail.com>
24618
24619 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24620 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24621 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24622 to...
24623 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24624 * Versions.def: Add GLIBC_2.14.
24625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24626 Export.
83fe108b 24627
bb242059
UD
246282011-03-22 Ulrich Drepper <drepper@gmail.com>
24629
24630 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24631 round counter.
24632 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24633
c97a1282
L
246342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 [BZ #12597]
24637 * string/test-strncmp.c (do_page_test): New function.
24638 (check2): Likewise.
24639 (test_main): Call check2.
24640 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24641
2a115601
UD
246422011-03-20 Ulrich Drepper <drepper@gmail.com>
24643
24644 [BZ #12587]
24645 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24646 Handle cache information in CPU leaf 4.
24647 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24648
8126d904
UD
246492011-03-18 Ulrich Drepper <drepper@gmail.com>
24650
042c49c6 24651 [BZ #12583]
8126d904
UD
24652 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24653 character representation.
24654 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24655
ccfe366e
RA
246562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24657
24658 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24659 END(__isnan) to END(__isnanf) to match function entry point/label
24660 EALIGN(__isnanf,...).
24661
c6e13027
JJ
246622011-03-10 Jakub Jelinek <jakub@redhat.com>
24663
24664 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24665
33f85a3f
UD
246662011-03-10 Ulrich Drepper <drepper@gmail.com>
24667
028478fa
UD
24668 [BZ #12510]
24669 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24670 copy from the symbol referenced in the relocation to initialize the
24671 used variable.
24672 Patch by Piotr Bury <pbury@goahead.com>.
24673 * elf/Makefile: Add rules to build and tst-unique3.
24674 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24675 * elf/tst-unique3.cc: New file.
24676 * elf/tst-unique3.h: New file.
24677 * elf/tst-unique3lib.cc: New file.
24678 * elf/tst-unique3lib2.cc: New file.
24679
33f85a3f
UD
24680 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24681
03592fc7
MF
246822011-03-10 Mike Frysinger <vapier@gentoo.org>
24683
24684 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24685 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24686 to _start.
03592fc7 24687
6a5ee102
UD
246882011-03-06 Ulrich Drepper <drepper@gmail.com>
24689
24690 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24691 to-be-loaded object along a path to loader is ld.so.
24692
7e4ba49c
HJ
246932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24694 Ulrich Drepper <drepper@gmail.com>
24695
24696 * sysdeps/x86_64/memset.S: After aligning destination, code
24697 branches to different locations depending on the value of
24698 misalignment, when multiarch is enabled. Fix this.
24699
247002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24701
24702 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24703 Set _x86_64_preferred_memory_instruction for AMD processsors.
24704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24705 Set bit_Prefer_SSE_for_memop for AMD processors.
24706
13a804de
UD
247072011-03-04 Ulrich Drepper <drepper@gmail.com>
24708
24709 * libio/fmemopen.c (fmemopen): Optimize a bit.
24710
9d25c392
AS
247112011-03-03 Andreas Schwab <schwab@redhat.com>
24712
24713 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24714
a5543c6a
RM
247152011-03-03 Roland McGrath <roland@redhat.com>
24716
24717 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24718
012d35f7
DM
247192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24720
7e4ba49c 24721 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24722 __bzero_ultra1 instead of __memset_ultra1.
24723
4bff6e01
AS
247242011-02-23 Andreas Schwab <schwab@redhat.com>
24725 Ulrich Drepper <drepper@gmail.com>
24726
24727 [BZ #12509]
24728 * include/link.h (struct link_map): Add l_orig_initfini.
24729 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24730 returning unsuccessfully.
24731 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24732 close of a file loaded at startup, restore the original l_initfini
24733 list.
24734 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24735 list, store the pointer.
24736 * elf/Makefile ($(objpfx)noload-mem): New rule.
24737 (noload-ENV): Define.
24738 (tests): Add $(objpfx)noload-mem.
24739 * elf/noload.c: Include <memcheck.h>.
24740 (main): Call mtrace. Close all opened handles.
24741
f2092faf
AS
247422011-02-17 Andreas Schwab <schwab@redhat.com>
24743
24744 [BZ #12454]
24745 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24746 dependencies are missing.
24747
6c8a2e88
ST
247482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24749
f2092faf 24750 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24751 Hurd needs munmap.
24752 * sysdeps/mach/hurd/ifreq.h: New file.
24753
84a42118
PB
247542011-01-27 Petr Baudis <pasky@suse.cz>
24755 Ulrich Drepper <drepper@gmail.com>
24756
071f805e 24757 [BZ 12445]#
84a42118
PB
24758 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24759 to extend_alloca().
24760 * stdio-common/bug23.c: New file.
24761 * stdio-common/Makefile (tests): Add bug23.
24762
e23fe25b
AS
247632010-09-28 Andreas Schwab <schwab@redhat.com>
24764 Ulrich Drepper <drepper@gmail.com>
24765
24766 [BZ #12489]
24767 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24768 before performing relro protection. At old place add assertion
24769 to make sure nothing changed.
24770
d3f02e10
NS
247712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24772 Glauber de Oliveira Costa <glommer@gmail.com>
24773
24774 * elf/elf.h: Add new ARM TLS relocs.
24775
d55fd7a5
RA
247762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24777
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24779 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24780 cast from r3.
24781 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24782 'tests' variable.
24783 * sysdeps/wordsize-64/tst-writev.c: New file.
24784
2206397e
RA
247852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24786
24787 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24788 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24789 insns in _dl_start to prevent a TOC reference before relocs are
24790 resolved.
24791
e9433893
UD
247922011-02-15 Ulrich Drepper <drepper@gmail.com>
24793
24794 [BZ #12469]
24795 * Makeconfig: Remove RANLIB definition.
24796 * Makerules: Don't use RANLIB.
24797 * aclocal.m4: Remove ranlib test.
24798 * configure.in: No need to check for ranlib.
24799 * elf/rtld-Rules: Don't use RANLIB.
24800
f75286c6
ST
248012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24802
8e31c82d
ST
24803 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24804 protection macro.
24805 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24806 inclusion protection macro.
24807
f75286c6
ST
24808 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24809 SIGRTMIN and SIGRTMAX and print information in that case only when
24810 SIGRTMIN is defined.
24811
c1d0e639
JJ
248122011-02-11 Jakub Jelinek <jakub@redhat.com>
24813
24814 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24815 arginfo fn returning -1.
24816
24817 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24818 and thousands string is zero terminated.
24819
edf9294e
AS
248202011-02-03 Andreas Schwab <schwab@redhat.com>
24821
24822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24823 sysdeps/unix/sysv/linux/bits/socket.h.
24824
2b7e92df
ST
248252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24826
edf9294e
AS
24827 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24828 (__CPU_COUNT): Remove old macros.
24829 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24830 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24831 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24832 (__sched_cpualloc, __sched_cpufree): Add declarations.
24833
a4c7ea7b
UD
248342011-02-05 Ulrich Drepper <drepper@gmail.com>
24835
24836 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24837 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24838 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24839 (readdhstai): Return value of addhstaiX call.
24840 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24841 (addgrbyX): Return value returned by cache_addgr.
24842 (readdgrbyname): Return value returned by addgrbyX.
24843 (readdgrbygid): Likewise.
24844 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24845 (addpwbyX): Return value returned by cache_addpw.
24846 (readdpwbyname): Return value returned by addhstbyX.
24847 (readdpwbyuid): Likewise.
24848 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24849 (addservbyX): Return value returned by cache_addserv.
24850 (readdservbyname): Return value returned by addservbyX:
24851 (readdservbyport): Likewise.
24852 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24853 (addhstbyX): Return value returned by cache_addhst.
24854 (readdhstbyname): Return value returned by addhstbyX.
24855 (readdhstbyaddr): Likewise.
24856 (readdhstbynamev6): Likewise.
24857 (readdhstbyaddrv6): Likewise.
24858 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24859 (readdinitgroups): Return value returned by addinitgroupsX.
24860 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24861 (prune_cache): Keep track of timeout value of re-added entries.
24862 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24863 * nscd/nscd.h: Adjust prototypes of readd* functions.
24864
a0bf67cc
RM
248652011-02-04 Roland McGrath <roland@redhat.com>
24866
24867 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24868 (nis_stats): Likewise.
24869 * nis/nis_modify.c (nis_modify): Likewise.
24870 * nis/nis_remove.c (nis_remove): Likewise.
24871 * nis/nis_add.c (nis_add): Likewise.
24872
24873 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24874
24875 * posix/fnmatch_loop.c: Add some consts.
24876
24877 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24878
435b95eb
L
248792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24880
24881 [BZ #12460]
24882 * config.make.in (config-cflags-novzeroupper): Define.
24883 * configure.in: Substitute libc_cv_cc_novzeroupper.
24884 * elf/Makefile (AVX-CFLAGS): Define.
24885 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24886 (CFLAGS-tst-auditmod4a.c): Likewise.
24887 (CFLAGS-tst-auditmod4b.c): Likewise.
24888 (CFLAGS-tst-auditmod6b.c): Likewise.
24889 (CFLAGS-tst-auditmod6c.c): Likewise.
24890 (CFLAGS-tst-auditmod7b.c): Likewise.
24891 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24892
8517b15e
UD
248932011-02-02 Ulrich Drepper <drepper@gmail.com>
24894
24895 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24896 function to the callback.
24897 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24898
10a656fe
AS
248992011-02-02 Andreas Schwab <schwab@redhat.com>
24900
24901 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24902 of errno.
24903
968dad0a
UD
249042011-01-19 Ulrich Drepper <drepper@gmail.com>
24905
9f94d2ea 24906 [BZ #11724]
968dad0a
UD
24907 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24908 of constructors.
24909 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24910 of destructors.
24911 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24912
24913 [BZ #11724]
24914 * elf/Makefile: Add rules to build and run new test.
24915 * elf/tst-initorder.c: New file.
24916 * elf/tst-initorder.exp: New file.
24917 * elf/tst-initordera1.c: New file.
24918 * elf/tst-initordera2.c: New file.
24919 * elf/tst-initordera3.c: New file.
24920 * elf/tst-initordera4.c: New file.
24921 * elf/tst-initorderb1.c: New file.
24922 * elf/tst-initorderb2.c: New file.
24923 * elf/tst-order-a1.c: New file.
24924 * elf/tst-order-a2.c: New file.
24925 * elf/tst-order-a3.c: New file.
24926 * elf/tst-order-a4.c: New file.
24927 * elf/tst-order-b1.c: New file.
24928 * elf/tst-order-b2.c: New file.
24929 * elf/tst-order-main.c: New file.
24930 New test case by George Gensure <werkt0@gmail.com>.
24931
86e92359
UD
249322010-10-01 Andreas Schwab <schwab@redhat.com>
24933
24934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24935 decoding ACE if AI_CANONIDN.
24936
5d5732b0
UD
249372011-01-18 Ulrich Drepper <drepper@gmail.com>
24938
24939 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24940
a77e8cbc
UD
249412011-01-17 Ulrich Drepper <drepper@gmail.com>
24942
6392473f
UD
24943 * version.h (RELEASE): Bump for 2.13 release.
24944 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24945
620a0529
UD
24946 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24947
18ba70a5
UD
24948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24949 MADV_NOHUGEPAGE.
32465c3e
UD
24950 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24951 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24952 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24953 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24954 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24956
c0dafcf1
UD
24957 * posix/getconf.c: Update copyright year.
24958 * catgets/gencat.c: Likewise.
24959 * csu/version.c: Likewise.
24960 * debug/catchsegv.sh: Likewise.
24961 * debug/xtrace.sh: Likewise.
24962 * elf/ldconfig.c: Likewise.
24963 * elf/ldd.bash.in: Likewise.
24964 * elf/sprof.c (print_version): Likewise.
24965 * iconv/iconv_prog.c: Likewise.
24966 * iconv/iconvconfig.c: Likewise.
24967 * locale/programs/locale.c: Likewise.
24968 * locale/programs/localedef.c: Likewise.
24969 * malloc/memusage.sh: Likewise.
24970 * malloc/mtrace.pl: Likewise.
24971 * nscd/nscd.c (print_version): Likewise.
24972 * nss/getent.c: Likewise.
24973
a77e8cbc
UD
24974 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24975 PF_CAIF, and PF_ALG.
24976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24977
77e8bddf
AS
249782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24979
1f20b93a
AS
24980 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24981 (modules-names): Use them.
24982 (ifunc-test-modules, ifunc-pie-tests): Define.
24983 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24984 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24985 (test-extras): Likewise.
24986 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24987 $(compile-command.c).
24988 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24989 (all-built-dso): Define.
24990 (check-textrel.out, check-execstack.out): Depend on it.
24991
77e8bddf
AS
24992 * configure.in: Don't override --enable-multi-arch.
24993
bc425b33
UD
249942011-01-15 Ulrich Drepper <drepper@gmail.com>
24995
24996 [BZ #6812]
24997 * nscd/hstcache.c (tryagain): Define.
24998 (cache_addhst): Return tryagain not notfound for temporary errors.
24999 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25000 failed.
25001
794c3ad3
UD
250022011-01-14 Ulrich Drepper <drepper@gmail.com>
25003
70181fdd
UD
25004 [BZ #10563]
25005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25006 to make the syscall.
25007 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25008
794c3ad3
UD
25009 [BZ #12378]
25010 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25011 and fall back to matching as normal character if the string ends before
25012 the matching ']' is found. This is what POSIX requires.
25013 * posix/testfnm.c: Adjust test result.
25014 * posix/globtest.sh: Adjust test result. Add new test.
25015 * posix/tst-fnmatch.input: Likewise.
25016 * posix/tst-fnmatch2.c: Add new test.
25017
68dc9497
AS
250182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25019
25020 * elf/Makefile (check-execstack): Revert last change. Depend on
25021 check-execstack.h.
25022 (check-execstack.h): New target.
25023 (generated): Add check-execstack.h.
25024 * elf/check-execstack.c: Include "check-execstack.h".
25025 (main): Revert last change.
25026 (handle_file): Return zero if GNU_STACK is absent and
25027 DEFAULT_STACK_PERMS doesn't include PF_X.
25028
451f001b
UD
250292011-01-13 Ulrich Drepper <drepper@gmail.com>
25030
cfa28e56
UD
25031 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25032 in child fails because the descriptor is already closed.
8cf8ce17
UD
25033 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25034 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25035 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25036
1086d70d
UD
25037 [BZ #12397]
25038 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25039 syscall.
25040
451f001b
UD
25041 [BZ #10484]
25042 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25043 temporary buffer used to handle multi lookups locally.
a85b5cb4 25044 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25045
08769175
UD
250462011-01-12 Ulrich Drepper <drepper@gmail.com>
25047
25048 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25049 loader is ld.so.
25050
5e49c52e
UD
250512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25052
25053 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25054 alignment for SSE2.
25055
60522a5f
UD
250562011-01-12 Ulrich Drepper <drepper@gmail.com>
25057
25058 [BZ #12394]
25059 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25060 characters. When rounding increased number of integer digits recompute
25061 number of groups.
25062 * stdio-common/tst-grouping.c: New file.
25063 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25064
f257bbd7
UD
250652011-01-09 Ulrich Drepper <drepper@gmail.com>
25066
25067 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25068 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25069
25070 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25071 void.
25072 * bits/select.h: Likewise.
25073
fa9c15cb
UD
250742011-01-08 Ulrich Drepper <drepper@gmail.com>
25075
25076 * po/ja.po: Update from translation team.
25077
16c2895f
DM
250782011-01-04 David S. Miller <davem@sunset.davemloft.net>
25079
25080 [BZ #11155]
25081 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25082 implementation just like for lxstat, fxstatat, et al.
25083
2543fef2
JM
250842010-12-27 Jim Meyering <meyering@redhat.com>
25085
25086 [BZ #12348]
25087 * posix/regexec.c (build_trtable): Return failure indication upon
25088 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25089
98727dbe
UD
250902010-12-25 Ulrich Drepper <drepper@gmail.com>
25091
5bd6dc5c
UD
25092 [BZ #12201]
25093 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25094 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25095 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25096 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25097
97983464
UD
25098 [BZ #12207]
25099 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25100
98727dbe
UD
25101 [BZ #12204]
25102 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25103 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25104
4a531bb0
L
251052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25106
25107 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25108 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25109 script has SORT_BY_INIT_PRIORITY.
25110 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25111 NO_CTORS_DTORS_SECTIONS is defined.
25112 * elf/soinit.c: Likewise.
25113 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25114 NO_CTORS_DTORS_SECTIONS is defined.
25115 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25116 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25117 * sysdeps/sh/init-first.c: Likewise.
25118 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25119
07eb4b71
UD
251202010-12-24 Ulrich Drepper <drepper@gmail.com>
25121
25122 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25123 always use the slow path.
25124
30950a5f
RA
251252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25126
25127 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25128 similar rule which adds the sysdep directories to the header search in
25129 order to pick up the correct platform stackinfo.h.
25130 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25131 perform test if it is, otherwise return successfully without testing.
25132 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25133 DEFAULT_STACK_PERMS define in stackinfo.h.
25134 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25135 defined in stackinfo.h.
25136 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25137 DEFAULT_STACK_PERMS defined in stackinfo.h.
25138 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25139 * sysdeps/ia64/stackinfo.h: Likewise.
25140 * sysdeps/s390/stackinfo.h: Likewise.
25141 * sysdeps/sh/stackinfo.h: Likewise.
25142 * sysdeps/sparc/stackinfo.h: Likewise.
25143 * sysdeps/x86_64/stackinfo.h: Likewise.
25144 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25145 PF_X for powerpc64. Retain PF_X for powerpc32.
25146
db753e2c
UD
251472010-12-19 Ulrich Drepper <drepper@gmail.com>
25148
14b697f7
UD
25149 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25150 accurately.
db753e2c
UD
25151 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25152 GETDENTS_64BIT_ALIGNED.
25153
28300719
UD
251542010-12-14 Ulrich Drepper <dreper@gmail.com>
25155
14b697f7 25156 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25157
4f197237
AS
251582010-12-10 Andreas Schwab <schwab@redhat.com>
25159
dbb0472f
AS
25160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25161 _GNU_SOURCE.
25162
4f197237
AS
25163 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25164 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25165 Remove __restrict.
25166 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25167 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25168
fb88ac72
UD
251692010-12-09 Ulrich Drepper <drepper@gmail.com>
25170
25171 [BZ #11655]
25172 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25173 are initialized.
25174
42acbb92
JJ
251752010-12-09 Jakub Jelinek <jakub@redhat.com>
25176
25177 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25178
c038d98d
UD
251792010-12-03 Ulrich Drepper <drepper@gmail.com>
25180
25181 * po/it.po: Update from translation team.
25182
3a4a2499
L
251832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25184
25185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25186 unused codes.
25187
1e24cf6e
UD
251882010-11-30 Ulrich Drepper <drepper@gmail.com>
25189
25190 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25191
a7690819
AS
251922010-11-24 Andreas Schwab <schwab@redhat.com>
25193
25194 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25195 specially.
25196 (gaih_getanswer_slice): Likewise.
25197
3bf8d1b1
JJ
251982010-10-20 Jakub Jelinek <jakub@redhat.com>
25199
25200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25201
6db52fbb
PB
252022010-05-31 Petr Baudis <pasky@suse.cz>
25203
25204 [BZ #11149]
25205 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25206 silently even in the chroot mode.
25207
eaca7569
UD
252082010-11-22 Ulrich Drepper <drepper@gmail.com>
25209
25210 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25211 last patch a bit. Pretty printing
25212
3056dcdb
UD
252132010-05-31 Petr Baudis <pasky@suse.cz>
25214
25215 [BZ #10085]
25216 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25217 initialization of skip_initgroups_dyn.
25218
cf7c9078
UD
252192010-11-19 Ulrich Drepper <drepper@gmail.com>
25220
25221 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25223
a1fb5e3e
UD
252242010-11-16 Ulrich Drepper <drepper@gmail.com>
25225
25226 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25227
3540d66b
AS
252282010-11-11 Andreas Schwab <schwab@redhat.com>
25229
25230 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25231 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25232 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25233 ($(objpfx)tst-fnmatch-mem): New rule.
25234 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25235 * posix/tst-fnmatch.c (main): Call mtrace.
25236
13b69574
L
252372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25238
25239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25240 Support Intel processor model 6 and model 0x2c.
25241
da93d214
LM
252422010-11-10 Luis Machado <luisgpm@br.ibm.com>
25243
25244 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25245 signed comparison.
25246
8ca52c6e
L
252472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25248
25249 [BZ #12205]
25250 * string/test-strncasecmp.c (check_result): New function.
25251 (do_one_test): Use it.
25252 (check1): New function.
25253 (test_main): Use it.
25254 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25255 Support strcasecmp and strncasecmp.
25256
69da074d
UD
252572010-11-08 Ulrich Drepper <drepper@gmail.com>
25258
25259 [BZ #12194]
25260 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25261 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25262
ff02d528
L
252632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25264
25265 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25266 IFUNC support.
25267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25268 memset-x86-64.
25269 * sysdeps/x86_64/multiarch/bzero.S: New file.
25270 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25271 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25272 * sysdeps/x86_64/multiarch/memset.S: New file.
25273 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25275 Set bit_Prefer_SSE_for_memop for Intel processors.
25276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25277 Define.
25278 (index_Prefer_SSE_for_memop): Define.
25279 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25280
344d0b54
LM
252812010-11-04 Luis Machado <luisgpm@br.ibm.com>
25282
25283 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25284 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25285
c0dde15b
UD
252862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 [BZ #12191]
25289 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25290 (__x86_64_raw_data_cache_size_half): Likewise.
25291 (__x86_64_raw_shared_cache_size): Likewise.
25292 (__x86_64_raw_shared_cache_size_half): Likewise.
25293
25294 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25295 (__x86_64_raw_data_cache_size_half): Likewise.
25296 (__x86_64_raw_shared_cache_size): Likewise.
25297 (__x86_64_raw_shared_cache_size_half): Likewise.
25298 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25299 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25300 and __x86_64_raw_shared_cache_size_half. Round
25301 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25302 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25303 to multiple of 256 bytes.
25304
0e516e0e
MS
253052010-11-03 Ulrich Drepper <drepper@gmail.com>
25306
25307 [BZ #12167]
25308 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25309 of inacessible symlinks. Verify result of symlink before returning it.
25310 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25311 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25312
0e012e87
ER
253132010-10-28 Erich Ritz <erichritz@gmail.com>
25314
25315 * math/math.h (isinf): Fix typo in comment.
25316
de0ff7bc
UD
253172010-11-01 Ulrich Drepper <drepper@gmail.com>
25318
25319 * po/da.po: Update from translation team.
25320
fa41c84d
UD
253212010-10-26 Ulrich Drepper <drepper@gmail.com>
25322
25323 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25324 is added to the list.
25325
f0967738
AK
253262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25327 Ulrich Drepper <drepper@gmail.com>
25328
25329 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25330 the global list here. Move code to...
25331 (_dl_add_to_namespace_list): ...here. New function.
25332 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25333 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25334 * elf/dl-load.c (lose): Don't remove the element from the list.
25335 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25336 (_dl_map_object): Likewise.
25337
253382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25339
25340 [BZ #12159]
25341 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25342 into all bytes of SSE register.
25343 Patch by Richard Li <richardpku@gmail.com>.
25344
f0967738 253452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25346
25347 [BZ #12140]
25348 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25349 perturbing.
25350
d0b9e94f
MB
253512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25352
25353 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25354 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25356 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25358 submachine.
25359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25360
8e9f92e9
AS
253612010-10-22 Andreas Schwab <schwab@redhat.com>
25362
25363 * include/dlfcn.h (__RTLD_SECURE): Define.
25364 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25365 mode & __RTLD_SECURE instead.
25366 (open_path): Rename preloaded parameter to secure.
25367 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25368 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25369 * elf/dl-deps.c (openaux): Likewise.
25370 * elf/rtld.c (struct map_args): Remove is_preloaded.
25371 (map_doit): Don't use it.
25372 (dl_main): Likewise.
25373 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25374 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25375
bc96fbda
AS
253762010-09-09 Andreas Schwab <schwab@redhat.com>
25377
25378 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25379 (sysd-rules-targets): Remove duplicates.
25380 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25381 rtld-%.$o dependency.
25382
22cd1c9b
AS
253832010-10-18 Andreas Schwab <schwab@redhat.com>
25384
25385 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25386 _dl_map_object do it.
25387
18edac48
UD
253882010-10-19 Ulrich Drepper <drepper@gmail.com>
25389
25390 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25391 fast fma builtins, define the macros in the C99 standard.
25392 (FP_FAST_FMAF): Likewise.
25393 (FP_FAST_FMAL): Likewise.
25394 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25395
25396 * bits/mathdef.h: Update copyright year.
25397 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25398
d2050124
MM
253992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25400
25401 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25402 builtins, define the macros in the C99 standard.
25403 (FP_FAST_FMAF): Likewise.
25404 (FP_FAST_FMAL): Likewise.
25405 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25406 multiply/add.
25407 (FP_FAST_FMAF): Likewise.
25408
475facd1
JJ
254092010-10-15 Jakub Jelinek <jakub@redhat.com>
25410
25411 [BZ #3268]
25412 * math/libm-test.inc (fma_test): Some new testcases.
25413 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25414 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25415 y and infinite z. Do multiplication by C already in long double.
25416 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25418 y and infinite z. Do bitwise or of inexact bit into u.d.
25419 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25420 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25421 * sysdeps/i386/fpu/s_fma.S: Removed.
25422 * sysdeps/i386/fpu/s_fmal.S: Removed.
25423
7c08a05c
JJ
254242010-10-16 Jakub Jelinek <jakub@redhat.com>
25425
25426 [BZ #3268]
25427 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25429 computation is not scheduled after fetestexcept. Fix value
25430 of minimum denormal long double.
25431
f3f7372d
JJ
254322010-10-14 Jakub Jelinek <jakub@redhat.com>
25433
25434 [BZ #3268]
25435 * math/libm-test.inc (fma_test): Add some more tests.
25436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25437 correctly.
25438
14d43591
AS
254392010-10-15 Andreas Schwab <schwab@redhat.com>
25440
25441 * scripts/data/localplt-s390-linux-gnu.data: New file.
25442 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25443
5e908464
JJ
254442010-10-13 Jakub Jelinek <jakub@redhat.com>
25445
25446 [BZ #3268]
25447 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25448 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25449 instead of dbl-64.
25450 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25451 inlines.
25452 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25454 if one of x and y is very large and the other is subnormal.
25455 * sysdeps/s390/fpu/s_fmaf.c: New file.
25456 * sysdeps/s390/fpu/s_fma.c: New file.
25457 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25458 * sysdeps/powerpc/fpu/s_fma.S: New file.
25459 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25460 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25461 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25462
254632010-10-12 Jakub Jelinek <jakub@redhat.com>
25464
25465 [BZ #3268]
25466 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25467 fma tests.
25468 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25469 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25470 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25471 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25472 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25473 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25475
b833d51f
UD
254762010-10-12 Ulrich Drepper <drepper@redhat.com>
25477
25478 [BZ #12078]
25479 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25480 * posix/bug-regex31.input: Add test case.
25481
1751705d
UD
254822010-10-11 Ulrich Drepper <drepper@gmail.com>
25483
e9b9cbf5
UD
25484 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25485 * posix/bug-regex31.input: New file.
25486
25487 [BZ #12078]
25488 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25489 (parse_sub_exp): Fix last change, use postorder.
25490
ef06edbe
UD
25491 * posix/bug-regex31.c: New file.
25492 * posix/Makefile: Add rules to build and run bug-regex31.
25493
a129c80d
UD
25494 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25495
25496 [BZ #12078]
25497 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25498
b76b818e
UD
25499 [BZ #12108]
25500 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25501 to have entries in sys_siglist.
25502
1751705d
UD
25503 [BZ #12093]
25504 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25505 be NULL.
25506
9ff8d36f
JJ
255072010-10-07 Jakub Jelinek <jakub@redhat.com>
25508
25509 [BZ #3268]
25510 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25511 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25512 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25513 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25514 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25515 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25516 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25517 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25518 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25519 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25520 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25521 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25522 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25523 * math/ftestexcept.c (fetestexcept): Likewise.
25524 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25525 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25526 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25527 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25528 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25529 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25530 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25531
af325969
UD
255322010-10-11 Ulrich Drepper <drepper@gmail.com>
25533
c579b202 25534 [BZ #12107]
af325969
UD
25535 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25536 newline.
25537
67a67b95
UD
255382010-10-06 Ulrich Drepper <drepper@gmail.com>
25539
25540 * string/bug-strstr1.c: New file.
25541 * string/Makefile: Add rules to build and run bug-strstr1.
25542
5fb308bc
EB
255432010-10-05 Eric Blake <eblake@redhat.com>
25544
25545 [BZ #12092]
25546 * string/str-two-way.h (two_way_long_needle): Always clear memory
25547 when skipping input due to the shift table.
25548
45db99c7
UD
255492010-10-03 Ulrich Drepper <drepper@gmail.com>
25550
3b111893
UD
25551 [BZ #12005]
25552 * malloc/mcheck.c: Handle large requests.
25553
45db99c7
UD
25554 [BZ #12077]
25555 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25556 for strncmp and strncasecmp.
25557 * string/stratcliff.c: Add tests for strcmp and strncmp.
25558 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25559
cf7a1eb8
NI
255602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25561
25562 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25563 __set_fpscr.
25564
6484ba5e
AJ
255652010-09-30 Andreas Jaeger <aj@suse.de>
25566
25567 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25568 (CGROUP_SUPER_MAGIC): Define.
25569 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25570 Handle btrfs and cgroup file systems.
25571 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25572 Likewise.
25573
91c42559
LM
255742010-09-27 Luis Machado <luisgpm@br.ibm.com>
25575
25576 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25577 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25578
87a97932
AK
255792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25580
25581 [BZ #12067]
25582 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25583 trying to locate the ELF header.
25584
c21cc9bc
AS
255852010-09-27 Andreas Schwab <schwab@redhat.com>
25586
25587 [BZ #11611]
25588 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25589 Mask out sign-bit copies when constructing f_fsid.
25590
315970f6
PB
255912010-09-24 Petr Baudis <pasky@suse.cz>
25592
25593 * debug/stack_chk_fail_local.c: Add missing licence exception.
25594 * debug/warning-nop.c: Likewise.
25595
1ac7a2c7
JM
255962010-09-15 Joseph Myers <joseph@codesourcery.com>
25597
25598 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25599 implementing getdents64 using getdents syscall, set d_type if
25600 __ASSUME_GETDENTS32_D_TYPE.
25601
56801c50
AS
256022010-09-16 Andreas Schwab <schwab@redhat.com>
25603
25604 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25605 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25606
dda51327
UD
256072010-09-21 Ulrich Drepper <drepper@redhat.com>
25608
25609 [BZ #12037]
25610 * posix/unistd.h: Undo change of feature selection for ftruncate from
25611 2010-01-11.
25612
8ffcee4a
UD
256132010-09-20 Ulrich Drepper <drepper@redhat.com>
25614
a545ecd9 25615 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25616 detection.
25617
e24f0a8b
AS
256182010-09-20 Andreas Schwab <schwab@redhat.com>
25619
25620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25621 fanotify_mark.
25622 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25623
7291c56f
AS
256242010-09-14 Andreas Schwab <schwab@redhat.com>
25625
25626 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25627 variables after CHECK_SP call.
25628 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25629
bc5fb037
AS
256302010-09-13 Andreas Schwab <schwab@redhat.com>
25631 Ulrich Drepper <drepper@redhat.com>
25632
25633 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25634 re-relocationg ld.so.
25635 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25636 _dl_init_paths call.
25637 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25638 here anymore.
25639
e66e7419
UD
256402010-09-14 Ulrich Drepper <drepper@redhat.com>
25641
25642 * resolv/res_init.c (__res_vinit): Count the default server we added.
25643
c044aa75
CLT
256442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25645 Ulrich Drepper <drepper@redhat.com>
25646
25647 [BZ #11968]
25648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25649 (____longjmp_chk): Use %ebx for saving value across system call.
25650 Add unwind info.
25651
32cf4069
AS
256522010-09-06 Andreas Schwab <schwab@redhat.com>
25653
25654 * manual/Makefile: Don't mix pattern rules with normal rules.
25655
817328ee
AS
256562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25657
25658 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25659 operation.
25660 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25661 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25662 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25663 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25665 Likewise.
25666
29fddf61
UD
256672010-09-04 Ulrich Drepper <drepper@redhat.com>
25668
25669 [BZ #11979]
25670 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25671 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25672
0959ffc9
UD
256732010-09-02 Ulrich Drepper <drepper@redhat.com>
25674
25675 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25676 * sysdeps/x86_64/addmul_1.S: Likewise.
25677 * sysdeps/x86_64/lshift.S: Likewise.
25678 * sysdeps/x86_64/mul_1.S: Likewise.
25679 * sysdeps/x86_64/rshift.S: Likewise.
25680 * sysdeps/x86_64/sub_n.S: Likewise.
25681 * sysdeps/x86_64/submul_1.S: Likewise.
25682
ece29840
ST
256832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25684
0959ffc9
UD
25685 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25686 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25687 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25688 * bits/sched.h [__need_schedparam]
ece29840 25689 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25690 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25691 (__defined_schedparam): Define to 1.
ece29840
ST
25692 (__sched_param): New structure, identical to sched_param.
25693 (__need_schedparam): Undefine.
25694
e53a31fe
MF
256952010-08-31 Mike Frysinger <vapier@gentoo.org>
25696
fdc0c10d
MF
25697 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25698 (epoll_create1): Declare.
25699
e53a31fe
MF
25700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25701
a726d796
AS
257022010-08-31 Andreas Schwab <schwab@redhat.com>
25703
25704 [BZ #7066]
25705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25706 shifting retval into place.
25707
2f3e3dc7
UD
257082010-09-01 Ulrich Drepper <drepper@redhat.com>
25709
f2933da9
UD
25710 * nis/rpcsvc/nis.h: Update copyright notice.
25711 * nis/rpcsvc/nis.x: Likewise.
25712 * nis/rpcsvc/nis_callback.h: Likewise.
25713 * nis/rpcsvc/nis_callback.x: Likewise.
25714 * nis/rpcsvc/nis_object.x: Likewise.
25715 * nis/rpcsvc/nis_tags.h: Likewise.
25716 * nis/rpcsvc/yp.h: Likewise.
25717 * nis/rpcsvc/yp.x: Likewise.
25718 * nis/rpcsvc/ypupd.h: Likewise.
25719 * nis/yp_xdr.c: Likewise.
25720 * nis/ypupdate_xdr.c: Likewise.
25721
2f3e3dc7
UD
25722 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25723 mainly the body of pmap_getport. Add parameters to specify timeouts.
25724 (pmap_getport): Use __libc_rpc_getport.
25725 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25726 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25727 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25728
f3dcc2f9
AS
257292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25730
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25732 fanotify_mark.
25733
6d34eb5b
RM
257342010-08-27 Roland McGrath <roland@redhat.com>
25735
25736 * sysdeps/i386/i686/multiarch/Makefile
25737 (CFLAGS-varshift.c): New variable.
25738
9ea3de11
UD
257392010-08-27 Ulrich Drepper <drepper@redhat.com>
25740
c96d23fc
UD
25741 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25742 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25743
9ea3de11
UD
25744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25745
25746 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25747
623aac7f
L
257482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25749
25750 * sysdeps/x86_64/strlen.S: Unroll the loop.
25751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25752 strlen-sse2 strlen-sse2-bsf.
25753 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25754 __strlen_no_bsf if bit_Slow_BSF is set.
25755 (__strlen_sse42): Removed.
25756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25757 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25758
8b2b7715
RM
257592010-08-25 Roland McGrath <roland@redhat.com>
25760
25761 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25762 * sysdeps/x86_64/multiarch/varshift.c: New file.
25763 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25764 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25765 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25766 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25767
e73015f2
L
257682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25771 strlen-sse2 strlen-sse2-bsf.
25772 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25773 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25774 (__strlen_sse2): Removed.
25775 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25776 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25778 bit_Slow_BSF for Atom.
25779 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25780 (index_Slow_BSF): Define.
25781 (HAS_SLOW_BSF): Define.
25782
df24a73e
UD
257832010-08-25 Ulrich Drepper <drepper@redhat.com>
25784
25785 [BZ #10851]
25786 * resolv/res_init.c (__res_vinit): When no server address at all
25787 is given default to loopback.
25788
f2ac4868
RM
257892010-08-24 Roland McGrath <roland@redhat.com>
25790
09055553
RM
25791 * configure.in: Remove config-name.h generation.
25792 * configure: Regenerated.
25793 * config-name.in: File removed.
25794 * scripts/config-uname.sh: New file.
25795 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25796 ($(objdir)config-name.h): New target.
25797
f2ac4868
RM
25798 * sunrpc/rpc_parse.h: Avoid nested comment.
25799
73f27d5e
RH
258002010-08-24 Richard Henderson <rth@redhat.com>
25801 Ulrich Drepper <drepper@redhat.com>
25802 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25806 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25807 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25808 _mm_alignr_epi8 with _mm_loadu_si128.
25809 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25810 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25811 (__m128i_shift_right): Removed.
25812 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25813 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25814 * sysdeps/x86_64/multiarch/varshift.h: New file.
25815 * sysdeps/x86_64/multiarch/varshift.S: New file.
25816
84b9230c
MF
258172010-08-21 Mike Frysinger <vapier@gentoo.org>
25818
25819 * configure.in: Move assembler checks to before sysdep dir checking.
25820
9bbd0ddc
PB
258212010-08-20 Petr Baudis <pasky@suse.cz>
25822
25823 * LICENSES: Sync the sunrpc license.
25824
9da4bb31
UD
258252010-08-19 Ulrich Drepper <drepper@redhat.com>
25826
a7ab6ec8
UD
25827 * sunrpc/auth_des.c: Update copyright notice once again.
25828 * sunrpc/auth_none.c: Likewise.
25829 * sunrpc/auth_unix.c: Likewise.
25830 * sunrpc/authdes_prot.c: Likewise.
25831 * sunrpc/authuxprot.c: Likewise.
25832 * sunrpc/bindrsvprt.c: Likewise.
25833 * sunrpc/clnt_gen.c: Likewise.
25834 * sunrpc/clnt_perr.c: Likewise.
25835 * sunrpc/clnt_raw.c: Likewise.
25836 * sunrpc/clnt_simp.c: Likewise.
25837 * sunrpc/clnt_tcp.c: Likewise.
25838 * sunrpc/clnt_udp.c: Likewise.
25839 * sunrpc/clnt_unix.c: Likewise.
25840 * sunrpc/des_crypt.c: Likewise.
25841 * sunrpc/des_soft.c: Likewise.
25842 * sunrpc/get_myaddr.c: Likewise.
25843 * sunrpc/getrpcport.c: Likewise.
25844 * sunrpc/key_call.c: Likewise.
25845 * sunrpc/key_prot.c: Likewise.
25846 * sunrpc/openchild.c: Likewise.
25847 * sunrpc/pm_getmaps.c: Likewise.
25848 * sunrpc/pm_getport.c: Likewise.
25849 * sunrpc/pmap_clnt.c: Likewise.
25850 * sunrpc/pmap_prot.c: Likewise.
25851 * sunrpc/pmap_prot2.c: Likewise.
25852 * sunrpc/pmap_rmt.c: Likewise.
25853 * sunrpc/rpc/auth.h: Likewise.
25854 * sunrpc/rpc/auth_unix.h: Likewise.
25855 * sunrpc/rpc/clnt.h: Likewise.
25856 * sunrpc/rpc/des_crypt.h: Likewise.
25857 * sunrpc/rpc/key_prot.h: Likewise.
25858 * sunrpc/rpc/netdb.h: Likewise.
25859 * sunrpc/rpc/pmap_clnt.h: Likewise.
25860 * sunrpc/rpc/pmap_prot.h: Likewise.
25861 * sunrpc/rpc/pmap_rmt.h: Likewise.
25862 * sunrpc/rpc/rpc.h: Likewise.
25863 * sunrpc/rpc/rpc_des.h: Likewise.
25864 * sunrpc/rpc/rpc_msg.h: Likewise.
25865 * sunrpc/rpc/svc.h: Likewise.
25866 * sunrpc/rpc/svc_auth.h: Likewise.
25867 * sunrpc/rpc/types.h: Likewise.
25868 * sunrpc/rpc/xdr.h: Likewise.
25869 * sunrpc/rpc_clntout.c: Likewise.
25870 * sunrpc/rpc_cmsg.c: Likewise.
25871 * sunrpc/rpc_common.c: Likewise.
25872 * sunrpc/rpc_cout.c: Likewise.
25873 * sunrpc/rpc_dtable.c: Likewise.
25874 * sunrpc/rpc_hout.c: Likewise.
25875 * sunrpc/rpc_main.c: Likewise.
25876 * sunrpc/rpc_parse.c: Likewise.
25877 * sunrpc/rpc_parse.h: Likewise.
25878 * sunrpc/rpc_prot.c: Likewise.
25879 * sunrpc/rpc_sample.c: Likewise.
25880 * sunrpc/rpc_scan.c: Likewise.
25881 * sunrpc/rpc_scan.h: Likewise.
25882 * sunrpc/rpc_svcout.c: Likewise.
25883 * sunrpc/rpc_tblout.c: Likewise.
25884 * sunrpc/rpc_util.c: Likewise.
25885 * sunrpc/rpc_util.h: Likewise.
25886 * sunrpc/rpcinfo.c: Likewise.
25887 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25888 * sunrpc/rpcsvc/key_prot.x: Likewise.
25889 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25890 * sunrpc/rpcsvc/mount.x: Likewise.
25891 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25892 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25893 * sunrpc/rpcsvc/rex.x: Likewise.
25894 * sunrpc/rpcsvc/rstat.x: Likewise.
25895 * sunrpc/rpcsvc/rusers.x: Likewise.
25896 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25897 * sunrpc/rpcsvc/spray.x: Likewise.
25898 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25899 * sunrpc/rtime.c: Likewise.
25900 * sunrpc/svc.c: Likewise.
25901 * sunrpc/svc_auth.c: Likewise.
25902 * sunrpc/svc_authux.c: Likewise.
25903 * sunrpc/svc_raw.c: Likewise.
25904 * sunrpc/svc_run.c: Likewise.
25905 * sunrpc/svc_simple.c: Likewise.
25906 * sunrpc/svc_tcp.c: Likewise.
25907 * sunrpc/svc_udp.c: Likewise.
25908 * sunrpc/svc_unix.c: Likewise.
25909 * sunrpc/svcauth_des.c: Likewise.
25910 * sunrpc/xcrypt.c: Likewise.
25911 * sunrpc/xdr.c: Likewise.
25912 * sunrpc/xdr_array.c: Likewise.
25913 * sunrpc/xdr_float.c: Likewise.
25914 * sunrpc/xdr_mem.c: Likewise.
25915 * sunrpc/xdr_rec.c: Likewise.
25916 * sunrpc/xdr_ref.c: Likewise.
25917 * sunrpc/xdr_sizeof.c: Likewise.
25918 * sunrpc/xdr_stdio.c: Likewise.
25919
9da4bb31
UD
25920 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25921 handling.
25922
bdaa77bc
AS
259232010-08-19 Andreas Schwab <schwab@redhat.com>
25924
25925 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25926
fe2f79db
LM
259272010-08-19 Luis Machado <luisgpm@br.ibm.com>
25928
25929 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25930 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25932 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25933 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25934 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25935 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25936 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25937 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25938 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25939 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25940 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25941 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25942 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25943
b9b42ee0
AB
259442010-07-26 Anton Blanchard <anton@samba.org>
25945
25946 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25947 * malloc/arena.c (heap_trim): Likewise.
25948
1c06ba31
UD
259492010-08-16 Ulrich Drepper <drepper@redhat.com>
25950
25951 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25952 here. Not...
25953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25954 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25955
f8392f40
L
259562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25957
25958 * sysdeps/i386/elf/Makefile: New file.
25959
3162f12e
AS
259602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25961
25962 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25963 from fanotify_init.
25964 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25966
28c90b2c
UD
259672010-08-15 Ulrich Drepper <drepper@redhat.com>
25968
25969 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25970 of strncasecmp_l.
1feccb6c 25971 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25972
ca6bb004
UD
259732010-08-14 Ulrich Drepper <drepper@redhat.com>
25974
e9f82e0d
UD
25975 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25976 strncase_l-nonascii.
25977 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25978 Add strncase_l-ssse3.
25979 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25980 * sysdeps/x86_64/strcmp.S: Likewise.
25981 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25982 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25983 * sysdeps/x86_64/strncase.S: New file.
25984 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25985 * sysdeps/x86_64/strncase_l.S: New file.
25986 * string/Makefile (strop-tests): Add strncasecmp.
25987 * string/test-strncasecmp.c: New file.
25988
25989 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25990 warning.
25991
ca6bb004
UD
25992 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25993 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25994
052fa7b3
AS
259952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25996
25997 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25998
962dba78
UD
259992010-08-12 Ulrich Drepper <drepper@redhat.com>
26000
26001 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26003 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26004
bebff237
AM
260052010-05-01 Alan Modra <amodra@gmail.com>
26006
26007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26008 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26009 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26010 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26011 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26012 tidying. Don't tail-call __sigjmp_save for static lib.
26013 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26014 save location.
26015 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26016 (CALL_MCOUNT): Add eh info, and nop after bl.
26017 (TAIL_CALL_SYSCALL_ERROR): New macro.
26018 (PSEUDO_RET): Use it.
26019 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26020 Correct save location of integer regs and cr.
26021 (_dl_profile_resolve): Correct cr save location. Delete nops
26022 after bl when SHARED. Reduce cfi size a little by better
26023 placement of cfi directives.
26024 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26025 make a stack frame. Instead use parm save area as a temp.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26027 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26029 Don't make a stack frame for parent, use parm save area.
26030 Increase child stack frame to 112 bytes. Don't save unused reg,
26031 and adjust reg usage. Set up cfi on error recovery and
26032 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26034 (__makecontext): Add dummy nop after jump to exit.
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26036 Use correct parm save area and cr save, reduce stack frame.
26037 Correct cfi for possible PSEUDO_RET frame setup.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26039 Branch to local label emitted by PSEUDO_RET rather than
26040 __syscall_error.
26041
02637374
AS
260422010-08-12 Andreas Schwab <schwab@redhat.com>
26043
26044 [BZ #11904]
26045 * locale/programs/locale.c (print_assignment): New function.
26046 (show_locale_vars): Use it.
26047
c3e2f19b
UD
260482010-08-11 Ulrich Drepper <drepper@redhat.com>
26049
3cdaa6ad
UD
26050 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26051 field.
26052 (struct statfs64): Likewise.
26053 (_STATFS_F_FLAGS): Define.
26054 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26055 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26056 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26057 (ST_VALID): Define locally.
26058 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26059 __statvfs_getflags, use the provided value.
26060 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26061 __ASSUME_STATFS_F_FLAGS.
26062
754f7da3
UD
26063 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26064
10b3bedc
UD
26065 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26066 Add sys/fanotify.h.
26067 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26068 fanotify_mask for GLIBC_2.13.
26069 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26070 fanotify_init and fanotify_mark.
26071 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26072 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26073
c08fb0d7
UD
26074 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26075 Add prlimit.
26076 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26077 prlimit64 for GLIBC_2.13.
26078 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26079 prlimit64.
26080 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26081 syscall.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26083 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26084 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26085 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26087 add prlimit alias.
26088 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26089
15bac72b
UD
26090 [BZ #11903]
26091 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26092 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26093
c3e2f19b
UD
26094 * nss/Makefile: Add rules to build and run tst-nss-test1.
26095 * shlib-versions: Add entry for libnss_test1.
26096 * nss/nss_test1.c: New file.
26097 * nss/tst-nss-test1.c: New file.
26098
26099 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26100 (__nss_configure_lookup): Set appropriate entry in
26101 __nss_configure_lookup to true.
26102 * nss/nsswitch.h: Define enum with indeces of databases in
26103 databases and __nss_database_custom arrays. Declare
26104 __nss_database_custom.
26105 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26106 to avoid using nscd when custom rules are installed.
26107 * nss/getXXbyYY_r.c: Likewise.
26108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26109
26110 * nss/nss_files/files-parse.c: Whitespace fixes.
26111
f15ce4d8
UD
261122010-08-09 Ulrich Drepper <drepper@redhat.com>
26113
26114 [BZ #11883]
26115 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26116 * posix/fnmatch_loop.c: Likewise.
26117
d22e4cc9
AK
261182010-07-17 Andi Kleen <ak@linux.intel.com>
26119
26120 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26121 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26122 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26123 * Versions.def [GLIBC_2.13]: Add.
26124
805bc17d
UD
261252010-08-06 Ulrich Drepper <drepper@redhat.com>
26126
26127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26128 Also fail if tpwd after pwuid call is NULL.
26129
5a42321d
ST
261302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26131
26132 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26133 when converting to ms.
26134
fd3ebeda
ST
261352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26136
26137 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26138 EOPNOTSUPP errors with ENOTTY.
26139 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26140 EOPNOTSUPP errors with ENOTTY.
26141
73507d3a
UD
261422010-07-31 Ulrich Drepper <drepper@redhat.com>
26143
26144 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26145 Add strcasecmp_l-ssse3.
26146 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26147 strcasecmp.
26148 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26149 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26150 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26151
fe36dd02
UD
261522010-07-30 Ulrich Drepper <drepper@redhat.com>
26153
66f6765a
UD
26154 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26155
42e08a54
UD
26156 * string/Makefile (strop-tests): Add strcasecmp.
26157 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26158 strcasecmp_l-nonascii.
26159 (gen-as-const-headers): Add locale-defines.sym.
26160 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26161 * sysdeps/x86_64/strcasecmp.S: New file.
26162 * sysdeps/x86_64/strcasecmp_l.S: New file.
26163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26164 * sysdeps/x86_64/locale-defines.sym: New file.
26165 * string/test-strcasecmp.c: New file.
26166
fe36dd02
UD
26167 * string/test-strcasestr.c: Test both ends of the range of characters.
26168 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26169
48cbc0d6
RM
261702010-07-29 Roland McGrath <roland@redhat.com>
26171
76e6d6bc 26172 [BZ #11856]
48cbc0d6
RM
26173 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26174
880113d9
UD
261752010-07-27 Ulrich Drepper <drepper@redhat.com>
26176
26177 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26178 for ld.so.
26179
deb9cabb
AS
261802010-07-27 Andreas Schwab <schwab@redhat.com>
26181
26182 * manual/memory.texi (Malloc Tunable Parameters): Document
26183 M_PERTURB.
26184
1c7570ff
RM
261852010-07-26 Roland McGrath <roland@redhat.com>
26186
26187 [BZ #11840]
26188 * configure.in (-fgnu89-inline check): Set and substitute
26189 gnu89_inline, not libc_cv_gnu89_inline.
26190 * configure: Regenerated.
26191 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26192
24fb0f88
UD
261932010-07-26 Ulrich Drepper <drepper@redhat.com>
26194
26195 * string/test-strnlen.c: New file.
26196 * string/Makefile (strop-tests): Add strnlen.
26197 * string/tester.c (test_strnlen): Add a few more test cases.
26198 * string/tst-strlen.c: Better error reporting.
26199
26200 * sysdeps/x86_64/strnlen.S: New file.
26201
8e96b93a
UD
262022010-07-24 Ulrich Drepper <drepper@redhat.com>
26203
26204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26205 lower-latency instructions.
26206
dbc676d4
UD
262072010-07-23 Ulrich Drepper <drepper@redhat.com>
26208
26209 * string/test-strcasestr.c: New file.
26210 * string/test-strstr.c: New file.
26211 * string/Makefile (strop-tests): Add strstr and strcasestr.
26212 * string/str-two-way.h: Don't undefine MAX.
26213 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26214
f6a31e0e
AS
262152010-07-21 Andreas Schwab <schwab@redhat.com>
26216
26217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26218 strcasestr-nonascii.
26219 (CFLAGS-strcasestr-nonascii.c): Define.
26220 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26222 Remove unused attribute.
26223
5dbc3b6c
RM
262242010-07-20 Roland McGrath <roland@redhat.com>
26225
26226 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26227 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26228 ld.so.cache was broken. With it, there is no way to disable dsocaps
26229 like LD_HWCAP_MASK can disable hwcaps.
26230
23d101d8
EPM
262312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26232
26233 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26234
cc9f2e47
UD
262352010-07-16 Ulrich Drepper <drepper@redhat.com>
26236
26237 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26238 call in strcasestr.
26239 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26240 __strcasestr_sse42_nonascii.
26241 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26242 strcasestr-nonascii.c.
26243 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26244
77c1b069
LM
262452010-06-15 Luis Machado <luisgpm@br.ibm.com>
26246
26247 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26248 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26249 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26251
440566c3
UD
262522010-07-09 Ulrich Drepper <drepper@redhat.com>
26253
26254 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26255 fcntl.
26256
5be9d05d
AS
262572010-07-06 Andreas Schwab <schwab@redhat.com>
26258
c30b7ee2 26259 [BZ #11577]
5be9d05d
AS
26260 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26261 dl_signal_cerror.
26262
8a492a67
UD
262632010-07-06 Ulrich Drepper <drepper@redhat.com>
26264
26265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26266 _PC_PIPE_BUF using F_GETPIPE_SZ.
26267
713df3d5
RM
262682010-07-05 Roland McGrath <roland@redhat.com>
26269
26270 * manual/arith.texi (Rounding Functions): Fix rint description
26271 implicit in round description.
26272
702e8f14
UD
262732010-07-02 Ulrich Drepper <drepper@redhat.com>
26274
26275 * elf/Makefile: Fix linking for a few tests to make recent linker
26276 happy.
26277
52ed8be9
AS
262782010-06-30 Andreas Schwab <schwab@redhat.com>
26279
26280 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26281 $(common-objpfx)libc_nonshared.a.
26282
f47c9a11
LM
262832010-06-21 Luis Machado <luisgpm@br.ibm.com>
26284
26285 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26286 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26287 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26288 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26289 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26290 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26291 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26292 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26307 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26308 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26309 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26310 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26311 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26312 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26313 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26314 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26315 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26316 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26317 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26318 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26333
6fb8cbcb
L
263342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26337 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26338 * string/memmove.c (memmove): Renamed to ...
26339 (MEMMOVE): ...this. Default to memmove.
26340 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26341 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26342 (END_CHK): Define.
26343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26344 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26345 mempcpy-ssse3-back memmove-ssse3-back.
26346 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26349 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26350 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26351 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26352 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26353 * sysdeps/x86_64/multiarch/memmove.c: New file.
26354 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26355 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26356 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26357 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26358 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26360 Define.
26361 (index_Fast_Copy_Backward): Define.
26362 (HAS_ARCH_FEATURE): Define.
26363 (HAS_FAST_REP_STRING): Define.
26364 (HAS_FAST_COPY_BACKWARD): Define.
26365
4e733bac 263662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26367
26368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26369 Restore proper fallback handling.
26370
63c4ed22
UD
263712010-06-19 Ulrich Drepper <drepper@redhat.com>
26372
ac2b484c
UD
26373 [BZ #11701]
26374 * posix/group_member.c (__group_member): Correct checking loop.
26375
63c4ed22
UD
26376 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26377 OOM in getpwuid_r correctly. Return error number when the caller
26378 should return, otherwise -1.
26379 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26380 call returning > 0 value.
26381 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26382
765ade4b
AS
263832010-06-07 Andreas Schwab <schwab@redhat.com>
26384
26385 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26386 libc_nonshared.a from targets in modules-names.
26387
80da2e09
KS
263882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26389
26390 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26391 requires it.
26392
158db122
LM
263932010-06-10 Luis Machado <luisgpm@br.ibm.com>
26394
26395 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26396 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26399
caa78cf8
AS
264002010-06-02 Andreas Schwab <schwab@redhat.com>
26401
26402 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26403
b2ef2c01
UD
264042010-06-14 Ulrich Drepper <drepper@redhat.com>
26405
26406 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26407 and F_GETPIPE_SZ.
26408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26412 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26413 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26414
fbd643b6
RM
264152010-06-14 Roland McGrath <roland@redhat.com>
26416
26417 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26418
f32f2869
JJ
264192010-06-07 Jakub Jelinek <jakub@redhat.com>
26420
26421 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26422 __REDIRECT followed by __THROW.
26423 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26424 * posix/getopt.h (getopt): Likewise.
26425
2a50c078
EPM
264262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26427
26428 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26429 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26430 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26431 in AT_FLAGS.
26432 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26433 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26434
eb5ad2eb
LM
264352010-05-28 Luis Machado <luisgpm@br.ibm.com>
26436
26437 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26438
3c88fe1e
L
264392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26440
26441 [BZ #11640]
26442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26443 Properly check family and model.
26444
d2f73151
TY
264452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26446
26447 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26448
ebd2e13d
LM
264492010-05-24 Luis Machado <luisgpm@br.ibm.com>
26450
26451 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26452
b32b8b45
UD
264532010-05-21 Ulrich Drepper <drepper@redhat.com>
26454
26455 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26456 symbol reference.
26457
9acbe24d
AS
264582010-05-19 Andreas Schwab <schwab@redhat.com>
26459
26460 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26461 symbol reference.
26462
f0ccf6ea
AS
264632010-05-21 Andreas Schwab <schwab@redhat.com>
26464
3d04ff3a
AS
26465 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26466 and internal_recvmmsg.
26467 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26468 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26470 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26471
f0ccf6ea
AS
26472 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26473 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26474 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26475
5b08ac57
AS
264762010-05-20 Andreas Schwab <schwab@redhat.com>
26477
26478 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26479
4828935d
LM
264802010-05-17 Luis Machado <luisgpm@br.ibm.com>
26481
26482 POWER7 optimizations.
26483 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26484 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26485
373d545e
UD
264862010-05-19 Ulrich Drepper <drepper@redhat.com>
26487
26488 * version.h: Update for 2.13 development version.
26489
21a2b1ae
AS
264902010-05-12 Andrew Stubbs <ams@codesourcery.com>
26491
26492 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26493 exceptions. Return 0.
26494
3f7dcb2b
RM
264952010-05-07 Roland McGrath <roland@redhat.com>
26496
26497 * elf/ldconfig.c (main): Add a const.
26498
5f24d53a 264992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26500
a160f8d8
UD
26501 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26502 (args_options): Add no-idn option.
26503 (ahosts_keys_int): Add idn_flags to ai_flags.
26504 (parse_option): Handle 'i' option to clear idn_flags.
26505
5f24d53a
UD
26506 * malloc/malloc.c (_int_free): Possible race in the most recently
26507 added check. Only act on the data if no current modification
26508 happened.
265bb1ce
UD
26509
26510See ChangeLog.17 for earlier changes.
This page took 3.587837 seconds and 5 git commands to generate.