]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use bits/mman-linux.h for TILE
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3c4a2b15
DM
12013-03-05 David S. Miller <davem@davemloft.net>
2
3 * po/es.po: Update from translation team.
4
890b58d3
AJ
52013-03-04 Andreas Jaeger <aj@suse.de>
6
7 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8 <bits/mman-linux.h>.
9 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10 is fine.
11 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12 <bits/mman-linux.h> to end of file.
13 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14 is fine.
15 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16 <bits/mman-linux.h> to end of file.
17 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18 is fine.
19 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20 <bits/mman-linux.h> to end of file.
21
22 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23 (MCL_CURRENT, MCL_FUTURE): Define here.
24
5f67c04f
AK
252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26
27 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28 attribute_hidden.
29 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30
c3e94a95
AK
312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32
33 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34 fourth parameter needed for rt_sigprocmask syscall.
35 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
41
cfb6382a
JM
422013-03-04 Joseph Myers <joseph@codesourcery.com>
43
44 [BZ #13550]
45 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46 comment about bounded pointers.
47 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49
539d8e01
AJ
502013-03-04 Andreas Jaeger <aj@suse.de>
51
52 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53 common definitions.
54
55 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
60 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61
2e167a70 622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
63
64 [BZ #15055]
65 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66 __ieee754_sqrl instead of __sqrl.
67
68508633
JM
682013-03-01 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
71 * sysdeps/powerpc/fpu_control.h: ... here.
72 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
73 * sysdeps/powerpc/bits/fenvinline.h: ... here.
74 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
75 * sysdeps/powerpc/bits/mathinline.h: ... here.
76
7775448e
RM
772013-03-01 Roland McGrath <roland@hack.frob.com>
78
79 * elf/dl-hwcaps.c (_dl_important_hwcaps):
80 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
81 to just [NEED_DL_SYSINFO_DSO].
82 * elf/dl-support.c: Likewise.
83 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
84 * elf/rtld.c (dl_main): Likewise.
85 * elf/setup-vdso.h (setup_vdso): Likewise.
86 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
87 * sysdeps/unix/sysv/linux/dl-sysdep.c
88 (_dl_discover_osversion): Likewise.
89
4e9b5995
CD
902013-03-01 Carlos O'Donell <carlos@redhat.com>
91
92 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
93 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
94
e23872c8
SP
952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
96
e5c74c63
SP
97 * NEWS: Mention libm performance improvements and non-x86 PI
98 futex support.
99
e23872c8
SP
100 * csu/libc-start.c (__pthread_initialize_minimal): Change
101 function arguments.
102 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
103
b5510883
JM
1042013-02-28 Joseph Myers <joseph@codesourcery.com>
105
106 [BZ #13550]
107 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
108 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
109 <bp-sym.h> and <bp-asm.h>.
110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
111 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
112 and <bp-asm.h>.
113 (memcpy): Don't use BP_SYM.
114 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
115 <bp-asm.h>.
116 (__mpn_add_n): Don't use BP_SYM.
117 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
118 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
119 and <bp-asm.h>.
120 (__mpn_addmul_1): Don't use BP_SYM.
121 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
122 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
123 <bp-sym.h>.
124 (_setjmp): Don't use BP_SYM.
125 (__novmx_setjmp): Likewise.
126 (__GI__setjmp): Likewise.
127 (__vmx_setjmp): Likewise.
128 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
129 <bp-sym.h>.
130 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
131 (__bzero): Don't use BP_SYM.
132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
134 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (memcpy): Don't use BP_SYM.
137 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
138 <bp-sym.h> and <bp-asm.h>.
139 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
141 <bp-sym.h> and <bp-asm.h>.
142 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
143 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
144 <bp-asm.h>.
145 (__mpn_lshift): Don't use BP_SYM.
146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
147 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
148 <bp-asm.h>.
149 (memset): Don't use BP_SYM.
150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
152 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
153 <bp-asm.h>.
154 (__mpn_mul_1): Don't use BP_SYM.
155 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
156 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
157 <bp-sym.h> and <bp-asm.h>.
158 (memcmp): Don't use BP_SYM.
159 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
160 <bp-sym.h> and <bp-asm.h>.
161 (memcpy): Don't use BP_SYM.
162 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
163 <bp-sym.h> and <bp-asm.h>.
164 (memset): Don't use BP_SYM.
165 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
166 <bp-sym.h> and <bp-asm.h>.
167 (strncmp): Don't use BP_SYM.
168 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
169 <bp-sym.h> and <bp-asm.h>.
170 (memcpy): Don't use BP_SYM.
171 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
172 <bp-sym.h> and <bp-asm.h>.
173 (memset): Don't use BP_SYM.
174 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
175 <bp-sym.h> and <bp-asm.h>.
176 (__memchr): Don't use BP_SYM.
177 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
178 <bp-sym.h> and <bp-asm.h>.
179 (memcmp): Don't use BP_SYM.
180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
181 <bp-sym.h> and <bp-asm.h>.
182 (memcpy): Don't use BP_SYM.
183 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
184 <bp-sym.h> and <bp-asm.h>.
185 (__mempcpy): Don't use BP_SYM.
186 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
187 <bp-sym.h> and <bp-asm.h>.
188 (__memrchr): Don't use BP_SYM.
189 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
190 <bp-sym.h> and <bp-asm.h>.
191 (memset): Don't use BP_SYM.
192 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
193 <bp-sym.h> and <bp-asm.h>.
194 (__rawmemchr): Don't use BP_SYM.
195 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
196 <bp-sym.h> and <bp-asm.h>.
197 (__STRCMP): Don't use BP_SYM.
198 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
199 <bp-sym.h> and <bp-asm.h>.
200 (strchr): Don't use BP_SYM.
201 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
202 <bp-sym.h> and <bp-asm.h>.
203 (__strchrnul): Don't use BP_SYM.
204 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
205 <bp-sym.h> and <bp-asm.h>.
206 (strlen): Don't use BP_SYM.
207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
208 <bp-sym.h> and <bp-asm.h>.
209 (strncmp): Don't use BP_SYM.
210 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
211 <bp-sym.h> and <bp-asm.h>.
212 (__strnlen): Don't use BP_SYM.
213 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
214 <bp-asm.h>.
215 (__mpn_rshift): Don't use BP_SYM.
216 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
217 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
218 <bp-sym.h> and <bp-asm.h>.
219 (__sigsetjmp): Don't use BP_SYM.
220 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
221 (L(start_addresses)): Don't use BP_SYM.
222 (_start): Likewise.
223 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
224 <bp-asm.h>.
225 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
226 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
227 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
228 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
229 <bp-asm.h>.
230 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
231 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
232 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
233 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
234 <bp-asm.h>.
235 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
236 comments.
237 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
238 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
239 <bp-asm.h>.
240 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
241 FIXME comments.
242 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
243 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
244 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
245 <bp-asm.h>.
246 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
247 comment.
248 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
249 and <bp-asm.h>.
250 (strncmp): Don't use BP_SYM,
251 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
252 <bp-asm.h>.
253 (__mpn_sub_n): Don't use BP_SYM.
254 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
255 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
256 and <bp-asm.h>.
257 (__mpn_submul_1): Don't use BP_SYM.
258 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
260 <bp-sym.h> and <bp-asm.h>.
261 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
263 <bp-sym.h> and <bp-asm.h>.
264 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
265 comment.
266
8d19fe64
SP
2672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
268
269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
270 Use ZK to minimize writes to Z.
271 (sub_magnitudes): Simplify code a bit.
272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
273 Use ZK to minimize writes to Z.
274 (sub_magnitudes): Simplify code a bit.
275
85bd816a
RM
2762013-02-27 Roland McGrath <roland@hack.frob.com>
277
278 * csu/gmon-start.c: Add special exception to license text.
279
b5977bf2
RH
2802013-02-27 Richard Henderson <rth@redhat.com>
281
282 * scripts/config.guess: Update from config.git.
283 * scripts/config.sub: Likewise.
284
11d6e2f2
SP
2852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
286
09c14ed2
SP
287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
288
a688864e
SP
289 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
290
6295157a
SP
291 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
292
b8de2202
SP
293 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
294
11d6e2f2
SP
295 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
296
7e80ddb8
RM
2972013-02-26 Roland McGrath <roland@hack.frob.com>
298
299 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
300 [$(build-shared = yes].
7e80ddb8 301
7da6d9ed
SP
3022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
303
45f05884
SP
304 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
305 (__mul): Reduce iterations for calculating mantissa.
306
2236d359
SP
307 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
308 MPTWO.
309 (__mpranred): Likewise.
310
7da6d9ed
SP
311 [BZ #15160]
312 * malloc/memusagestat.c (main): Draw graphs for heap and stack
313 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
314
b7688c42
PE
3152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
316
317 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
318 Define __attribute__.
319
53a5c423
SP
3202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
321
322 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
323 unused.
324 * posix/regex_internal.h (__attribute): Remove.
325 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
326 (re_string_context_at): Likewise.
327 (bitset_not): Use __attribute__ and mark function as possibly
328 unused.
329 (bitset_merge): Likewise.
330 (bitset_mask): Likewise.
331 (re_string_char_size_at): Likewise.
332 (re_string_wchar_at): Likewise.
333 (re_string_elem_size_at): Likewise.
334
60f5a8b5
SP
3352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
336
2a983a2e
SP
337 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
338 code.
339 (cc32): Likewise.
340
e69804d1
SP
341 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
342 (__acr): Likewise.
343 (__cpy): Likewise.
344 (norm): Likewise.
345 (denorm): Likewise.
346 (__dbl_mp): Likewise.
347 (add_magnitudes): Likewise.
348 (sub_magnitudes): Likewise.
349 (__mul): Likewise.
350 (__inv): Likewise.
351
2f22a1e8
SP
352 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
353 style.
354
8930ddc7
SP
355 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
356 style.
357
dc60cb11
SP
358 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
359 code.
360
60f5a8b5
SP
361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
362 up changes with default code.
363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
364 Likewise.
365
b4d1fd33
AM
3662013-02-24 Allan McRae <allan@archlinux.org>
367
faf6f8bc
AM
368 * manual/socket.texi (The Internet Namespace): Order menu items
369 to match that in the file.
370
b4d1fd33
AM
371 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
372 node listing of the info page menu.
373
2366713d
JM
3742013-02-21 Joseph Myers <joseph@codesourcery.com>
375
376 [BZ #13550]
377 * sysdeps/i386/bp-asm.h: Remove file.
378 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
379 (PARMS): Do not use macros from bp-asm.h.
380 (S1): Likewise.
381 (S2): Likewise.
382 (SIZE): Likewise.
383 (__mpn_add_n): Do not use BP_SYM
384 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
385 "bp-asm.h".
386 (PARMS): Do not use macros from bp-asm.h.
387 (S1): Likewise.
388 (SIZE): Likewise.
389 (__mpn_addmul_1): Do not use BP_SYM
390 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
391 "bp-asm.h".
392 (PARMS): Do not use macros from bp-asm.h.
393 (SIGMSK): Likewise.
394 (_setjmp): Likewise. Do not use BP_SYM.
395 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
396 "bp-asm.h".
397 (PARMS): Do not use macros from bp-asm.h.
398 (SIGMSK): Likewise.
399 (setjmp): Likewise. Do not use BP_SYM.
400 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
401 "bp-asm.h".
402 (PARMS): Do not use macros from bp-asm.h.
403 (__frexp): Do not use BP_SYM.
404 (frexp): Likewise.
405 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
406 "bp-asm.h".
407 (PARMS): Do not use macros from bp-asm.h.
408 (__frexpf): Do not use BP_SYM.
409 (frexpf): Likewise.
410 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
411 "bp-asm.h".
412 (PARMS): Do not use macros from bp-asm.h.
413 (__frexpl): Do not use BP_SYM.
414 (frexpl): Likewise.
415 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
416 "bp-asm.h".
417 (PARMS): Do not use macros from bp-asm.h.
418 (__remquo): Do not use BP_SYM.
419 (remquo): Likewise.
420 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
421 "bp-asm.h".
422 (PARMS): Do not use macros from bp-asm.h.
423 (__remquof): Do not use BP_SYM.
424 (remquof): Likewise.
425 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
426 "bp-asm.h".
427 (PARMS): Do not use macros from bp-asm.h.
428 (__remquol): Do not use BP_SYM.
429 (remquol): Likewise.
430 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
431 "bp-asm.h".
432 (PARMS): Do not use macros from bp-asm.h.
433 (DEST): Likewise.
434 (SRC): Likewise.
435 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
436 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
437 "bp-asm.h".
438 (PARMS): Do not use macros from bp-asm.h.
439 (strlen): Do not use BP_SYM.
440 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
441 "bp-asm.h".
442 (PARMS): Do not use macros from bp-asm.h.
443 (S1): Likewise.
444 (S2): Likewise.
445 (SIZE): Likewise.
446 (__mpn_add_n): Do not use BP_SYM.
447 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
448 "bp-asm.h".
449 (PARMS): Do not use macros from bp-asm.h.
450 (S1): Likewise.
451 (SIZE): Likewise.
452 (__mpn_addmul_1): Do not use BP_SYM.
453 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
454 weak_alias.
455 (bzero): Likewise.
456 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
457 "bp-asm.h".
458 (PARMS): Do not use macros from bp-asm.h.
459 (S): Likewise.
460 (SIZE): Likewise.
461 (__mpn_lshift): Do not use BP_SYM.
462 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
463 "bp-asm.h".
464 (PARMS): Do not use macros from bp-asm.h.
465 (DEST): Likewise.
466 (SRC): Likewise.
467 (LEN): Likewise.
468 (memcpy): Likewise. Do not use BP_SYM.
469 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
470 libc_hidden_def and weak_alias.
471 (mempcpy): Do not use BP_SYM in weak_alias.
472 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
473 "bp-asm.h".
474 (PARMS): Do not use macros from bp-asm.h.
475 (DEST): Likewise.
476 (LEN): Likewise.
477 [!BZERO_P] (CHR): Likewise.
478 (memset): Likewise. Do not use BP_SYM.
479 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
480 "bp-asm.h".
481 (PARMS): Do not use macros from bp-asm.h.
482 (S1): Likewise.
483 (SIZE): Likewise.
484 (__mpn_mul_1): Do not use BP_SYM.
485 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
486 "bp-asm.h".
487 (PARMS): Do not use macros from bp-asm.h.
488 (S): Likewise.
489 (SIZE): Likewise.
490 (__mpn_rshift): Do not use BP_SYM.
491 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
492 "bp-asm.h".
493 (PARMS): Do not use macros from bp-asm.h.
494 (STR): Likewise.
495 (CHR): Likewise.
496 (strchr): Likewise. Do not use BP_SYM.
497 (index): Do not use BP_SYM in weak_alias.
498 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
499 "bp-asm.h".
500 (PARMS): Do not use macros from bp-asm.h.
501 (DEST): Likewise.
502 (SRC): Likewise.
503 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
504 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
505 "bp-asm.h".
506 (PARMS): Do not use macros from bp-asm.h.
507 (strlen): Do not use BP_SYM.
508 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
509 "bp-asm.h".
510 (PARMS): Do not use macros from bp-asm.h.
511 (S1): Likewise.
512 (S2): Likewise.
513 (SIZE): Likewise.
514 (__mpn_sub_n): Do not use BP_SYM.
515 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
516 "bp-asm.h".
517 (PARMS): Do not use macros from bp-asm.h.
518 (S1): Likewise.
519 (SIZE): Likewise.
520 (__mpn_submul_1): Do not use BP_SYM.
521 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
522 "bp-asm.h".
523 (PARMS): Do not use macros from bp-asm.h.
524 (S1): Likewise.
525 (S2): Likewise.
526 (SIZE): Likewise.
527 (__mpn_add_n): Do not use BP_SYM.
528 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
529 weak_alias.
530 (bzero): Likewise.
531 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
532 "bp-asm.h".
533 (PARMS): Do not use macros from bp-asm.h.
534 (BLK2): Likewise.
535 (LEN): Likewise.
536 (memcmp): Do not use BP_SYM.
537 (bcmp): Do not use BP_SYM in weak_alias.
538 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
539 "bp-asm.h".
540 (PARMS): Do not use macros from bp-asm.h.
541 (DEST): Likewise.
542 (SRC): Likewise.
543 (LEN): Likewise.
544 (memcpy): Likewise. Do not use BP_SYM.
545 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
546 "bp-asm.h".
547 (PARMS): Do not use macros from bp-asm.h.
548 (DEST): Likewise.
549 (SRC): Likewise.
550 (LEN): Likewise.
551 (memmove): Likewise. Do not use BP_SYM.
552 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
553 "bp-asm.h".
554 (PARMS): Do not use macros from bp-asm.h.
555 (DEST): Likewise.
556 (SRC): Likewise.
557 (LEN): Likewise.
558 (__mempcpy): Likewise. Do not use BP_SYM.
559 (mempcpy): Do not use BP_SYM in weak_alias.
560 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
561 "bp-asm.h".
562 (PARMS): Do not use macros from bp-asm.h.
563 (DEST): Likewise.
564 (LEN): Likewise.
565 [!BZERO_P] (CHR): Likewise.
566 (memset): Likewise. Do not use BP_SYM.
567 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
568 "bp-asm.h".
569 (PARMS): Do not use macros from bp-asm.h.
570 (STR2): Likewise.
571 (strcmp): Do not use BP_SYM.
572 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
573 "bp-asm.h".
574 (PARMS): Do not use macros from bp-asm.h.
575 (STR): Likewise.
576 (DELIM): Likewise.
577 [USE_AS_STRTOK_R] (SAVE): Likewise.
578 (FUNCTION): Likewise. Do not use BP_SYM.
579 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
580 aliases.
581 (strtok_r): Likewise.
582 (__GI___strtok_r): Likewise.
583 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
584 (PARMS): Do not use macros from bp-asm.h.
585 (S): Likewise.
586 (SIZE): Likewise.
587 (__mpn_lshift): Do not use BP_SYM.
588 * sysdeps/i386/memchr.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 (__memchr): Do not use BP_SYM.
593 (memchr): Do not use BP_SYM in weak_alias.
594 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
595 (PARMS): Do not use macros from bp-asm.h.
596 (BLK2): Likewise.
597 (LEN): Likewise.
598 (memcmp): Do not use BP_SYM.
599 (bcmp): Do not use BP_SYM in weak_alias.
600 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
601 (PARMS): Do not use macros from bp-asm.h.
602 (S1): Likewise.
603 (SIZE): Likewise.
604 (__mpn_mul_1): Do not use BP_SYM.
605 * sysdeps/i386/rawmemchr.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 (CHR): Likewise.
610 (__rawmemchr): Do not use BP_SYM.
611 (rawmemchr): Do not use BP_SYM in weak_alias.
612 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
613 (PARMS): Do not use macros from bp-asm.h.
614 (S): Likewise.
615 (SIZE): Likewise.
616 (__mpn_rshift): Do not use BP_SYM.
617 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
618 (PARMS): Do not use macros from bp-asm.h.
619 (SIGMSK): Likewise.
620 (__sigsetjmp): Likewise. Do not use BP_SYM.
621 * sysdeps/i386/start.S: Do not include "bp-sym.h".
622 (_start): Do not use BP_SYM.
623 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
624 (PARMS): Do not use macros from bp-asm.h.
625 (DEST): Likewise.
626 (SRC): Likewise.
627 (__stpcpy): Likewise. Do not use BP_SYM.
628 (stpcpy): Do not use BP_SYM in weak_alias.
629 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
630 "bp-asm.h".
631 (PARMS): Do not use macros from bp-asm.h.
632 (DEST): Likewise.
633 (SRC): Likewise.
634 (LEN): Likewise.
635 (__stpncpy): Likewise. Do not use BP_SYM.
636 (stpncpy): Do not use BP_SYM in weak_alias.
637 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
638 (PARMS): Do not use macros from bp-asm.h.
639 (STR): Likewise.
640 (CHR): Likewise.
641 (strchr): Likewise. Do not use BP_SYM.
642 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
643 "bp-asm.h".
644 (PARMS): Do not use macros from bp-asm.h.
645 (STR): Likewise.
646 (CHR): Likewise.
647 (__strchrnul): Likewise. Do not use BP_SYM.
648 (strchrnul): Do not use BP_SYM in weak_alias.
649 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
650 "bp-asm.h".
651 (PARMS): Do not use macros from bp-asm.h.
652 (STOP): Likewise.
653 (strcspn): Do not use BP_SYM.
654 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
655 "bp-asm.h".
656 (PARMS): Do not use macros from bp-asm.h.
657 (STR): Likewise.
658 (STOP): Likewise.
659 (strpbrk): Likewise. Do not use BP_SYM.
660 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
661 "bp-asm.h".
662 (PARMS): Do not use macros from bp-asm.h.
663 (STR): Likewise.
664 (CHR): Likewise.
665 (strrchr): Likewise. Do not use BP_SYM.
666 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
667 (PARMS): Do not use macros from bp-asm.h.
668 (SKIP): Likewise.
669 (strspn): Do not use BP_SYM.
670 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
671 (PARMS): Do not use macros from bp-asm.h.
672 (STR): Likewise.
673 (DELIM): Likewise.
674 (SAVE): Likewise.
675 (FUNCTION): Likewise. Do not use BP_SYM.
676 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
677 aliases.
678 (strtok_r): Likewise.
679 (__GI___strtok_r): Likewise.
680 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
681 (PARMS): Do not use macros from bp-asm.h.
682 (S1): Likewise.
683 (S2): Likewise.
684 (SIZE): Likewise.
685 (__mpn_sub_n): Do not use BP_SYM.
686 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
687 "bp-asm.h".
688 (PARMS): Do not use macros from bp-asm.h.
689 (S1): Likewise.
690 (SIZE): Likewise.
691 (__mpn_submul_1): Do not use BP_SYM.
692 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
693 <bp-sym.h>.
694 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
695 and <bp-asm.h>.
696 (PARMS): Do not use macros from bp-asm.h.
697 (FLAGS): Likewise.
698 (PTID): Likewise.
699 (TLS): Likewise.
700 (CTID): Likewise.
701 (__clone): Do not use BP_SYM.
702 (clone): Do not use BP_SYM in weak_alias.
703 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
704 and <bp-asm.h>.
705 (PARMS): Do not use macros from bp-asm.h.
706 (LEN): Likewise.
707 (__mmap64): Do not use BP_SYM.
708 (mmap64): Do not use BP_SYM in weak_alias.
709 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
710 <bp-sym.h> and <bp-asm.h>.
711 (PARMS): Do not use macros from bp-asm.h.
712 (__posix_fadvise64_l64): Do not use BP_SYM.
713 * sysdeps/unix/sysv/linux/i386/semtimedop.S
714 (PARMS): Do not use macros from bp-asm.h.
715 (NSOPS): Likewise.
716 (semtimedop): Do not use BP_SYM.
717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
718 and <bp-asm.h>.
719
582a3cff
AM
7202013-02-21 Allan McRae <allan@archlinux.org>
721
722 * manual/message.texi (Charset conversion in gettext):
723 Move @end statement to beginning of line.
724
bab8a695
SP
7252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
726
80945231
SP
727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
728 static.
729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
730 Likewise.
731
bab8a695
SP
732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
733 (denorm): Likewise.
734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
736
e21d7aa7
AK
7372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
738
739 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
740 tail-call to the resolved function if pltexit isn't needed.
741
4c7a4263
SP
7422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
743
744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
745 or Y being zero as being unlikely.
746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
747 Likewise.
748
41f49342
CD
7492013-02-20 Carlos O'Donell <carlos@redhat.com>
750
751 * manual/nss.texi (System Databases and Name Service Switch):
752 Remove frobnicate @pxref.
753
50022a93
TS
7542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
755
756 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
757 __attribute__ ((unused)) to __attribute__ ((__unused__)).
758
08cbd996
PM
7592013-02-20 Petr Machata <pmachata@redhat.com>
760
761 * elf/elf.h (R_ARM_TARGET1): New macro.
762 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
763 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
764 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
765 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
766 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
767 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
768 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
769 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
770 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
771 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
772 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
773 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
774 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
775 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
776 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
777 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
778 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
779 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
780 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
781 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
782 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
783 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
784 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
785 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
786 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
787 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
788 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
789 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
790 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
791 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
792 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
793 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
794 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
795 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
796 (R_ARM_THM_GOT_BREL12): Likewise.
797 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
798 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
799 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
800 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
801 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
802 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
803 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
804 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
805 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
806
c7b275d6
TS
8072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
808
809 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
810 __attribute_used__ to __attribute__ ((unused)).
811
20cd7fb3
SP
8122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
813
814 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
815 powerpc mpa.c.
816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
817 comment formatting.
818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
819
92945b52
JM
8202013-02-19 Joseph Myers <joseph@codesourcery.com>
821
822 [BZ #13550]
823 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
824 Remove macro.
825 (ENTER): Remove both macro definitions.
826 (LEAVE): Likewise.
827 (CHECK_BOUNDS_LOW): Likewise.
828 (CHECK_BOUNDS_HIGH): Likewise.
829 (CHECK_BOUNDS_BOTH): Likewise.
830 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
831 (RETURN_BOUNDED_POINTER): Likewise.
832 (RETURN_NULL_BOUNDED_POINTER): Likewise.
833 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
834 (POP_ERRNO_LOCATION_RETURN): Likewise.
835 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
836 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
837 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
838 macros.
839 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
840 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
841 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
842 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
843 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
844 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
845 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
846 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
847 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
848 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
849 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
850 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
851 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
852 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
853 removed macros.
854 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
855 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
856 macros.
857 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
858 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
859 * sysdeps/i386/i586/memset.S (memset): Likewise.
860 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
861 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
862 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
863 macros.
864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
865 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
866 Change uses of L(2) to L(out).
867 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
868 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
869 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
871 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
872 removed macros.
873 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
874 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
875 macros.
876 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
877 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
878 (RETURN): Do not use macro LEAVE.
879 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
880 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
881 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
882 * sysdeps/i386/i686/memset.S (memset): Likewise.
883 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
884 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
886 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
887 Likewise.
888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
889 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
890 L(1_2) and L(1_3) into L(1).
891 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
892 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
893 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
894 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
895 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
896 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
897 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
898 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
899 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
900 macros.
901 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
903 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
904 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
905 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
906 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
907 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
908 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
909 * sysdeps/i386/strcspn.S (strcspn): Likewise.
910 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
911 * sysdeps/i386/strrchr.S (strrchr): Likewise.
912 * sysdeps/i386/strspn.S (strspn): Likewise.
913 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
914 conditional code.
915 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
916 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
917 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
918 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
919 L(1_3) into L(1_1).
920 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
921 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
922 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
923 macros.
924 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
925
2389741a
JJ
9262013-02-19 Jakub Jelinek <jakub@redhat.com>
927
928 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
929 macro.
930
2016b3cd
SP
9312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
932
e4f22324
SP
933 * math/atest-exp.c (exp_mpn): Remove ROUND.
934 * math/atest-exp2.c (exp_mpn): Likewise.
935 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
936
2016b3cd
SP
937 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
938 * stdlib/tst-tls-atexit-lib.c: Likewise.
939 * stdlib/tst-tls-atexit.c: Likewise.
940
4be9b544
MF
9412013-02-18 Mike Frysinger <vapier@gentoo.org>
942
943 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
944 and __attribute_alloc_size__.
945
2f62b9ee
MF
9462013-02-18 Mike Frysinger <vapier@gentoo.org>
947
948 * include/programs/xmalloc.h: Change __attribute_alloc_size to
949 __attribute_alloc_size__.
950 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
951 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
952
6ff444c4
MF
9532013-02-18 Mike Frysinger <vapier@gentoo.org>
954
955 * include/programs/xmalloc.h: New file.
956 * catgets/gencat.c: Include it.
957 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
958 * elf/pldd.c: Likewise.
959 * iconv/iconv_charmap.c: Likewise.
960 * iconv/iconvconfig.c: Likewise.
961 * iconv/strtab.c: Likewise.
962 * locale/programs/locale.c: Likewise.
963 * locale/programs/localedef.h: Likewise.
964 * locale/programs/simple-hash.c: Likewise.
965 * nscd/nscd.h: Likewise.
966 * nss/makedb.c: Likewise.
967 * sysdeps/generic/ldconfig.h: Likewise.
968
be179c8a
SP
9692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
970
ba384f6e
SP
971 * Versions.def: Add GLIBC_2.18.
972 * include/link.h (struct link_map): New member l_tls_dtor_count.
973 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
974 (__call_tls_dtors): Likewise.
975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
976 __cxa_thread_atexit_impl.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
978 Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
980 Likewise.
981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
982 Likewise.
983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
984 Likewise.
985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
987 Likewise.
988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
989 Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
992 Likewise.
993 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
994 (tests): Add test case tst-tls-atexit.
995 (modules-names): Add shared library for tst-tls-atexit.
996 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
997 (GLIBC_PRIVATE): Add __call_tls_dtors.
998 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
999 for libstdc++.
1000 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1001 * stdlib/tst-tls-atexit.c: New test case.
1002 * stdlib/tst-tls-atexit-lib.c: New test case.
1003
ffaa74cf 1004 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1005
be179c8a
SP
1006 * elf/Versions (ld): Add _dl_find_dso_for_object.
1007 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1008 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1009 (dl_open_worker): Use _dl_find_dso_for_object.
1010 * elf/dl-sym.c (do_sym): Likewise.
1011 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1012
f78b5caa
AK
10132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1014
1015 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1016 Syntactic changes only.
1017 (_dl_runtime_profile): Do a tail-call to the resolved function.
1018
29691210
JM
10192013-02-17 Joseph Myers <joseph@codesourcery.com>
1020
1021 [BZ #13550]
1022 * sysdeps/x86_64/bp-asm.h: Remove file.
1023 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1024 <bp-sym.h> and <bp-asm.h>.
1025 (__clone): Do not use BP_SYM.
1026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1027 <bp-sym.h> and <bp-asm.h>.
1028 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1029 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1030 "bp-asm.h".
1031 (_setjmp): Do not use BP_SYM.
1032 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1033 "bp-asm.h".
1034 (setjmp): Do not use BP_SYM.
1035 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1036 libc_hidden_def.
1037 (mempcpy): Do not use BP_SYM in weak_alias.
1038 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1039 "bp-asm.h".
1040 (strchr): Do not use BP_SYM.
1041 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1042 "bp-asm.h".
1043 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1044 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1045 (_start): Do not use BP_SYM.
1046 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1047 "bp-asm.h".
1048 (strcat): Do not use BP_SYM.
1049 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1050 "bp-asm.h".
1051 (STRCMP): Do not use BP_SYM.
1052 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1053 "bp-asm.h".
1054 (STRCPY): Do not use BP_SYM.
1055 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1056 "bp-asm.h".
1057 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1058 "bp-asm.h".
1059 (FUNCTION): Do not use BP_SYM.
1060 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1061 weak_alias.
1062 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1063
f238fd19
AJ
10642013-02-17 Andreas Jaeger <aj@suse.de>
1065
1066 * time/Versions: Sort entries.
1067 * string/Versions: Likewise.
1068 * resolv/Versions: Likewise.
1069 * posix/Versions: Likewise.
1070 * iconv/Versions: Likewise.
1071 * elf/Versions: Likewise.
1072 * wcsmbs/Versions: Likewise.
1073
bd07f23c 10742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1075
22af19f9
SP
1076 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1077 loop termination condition.
1078
4709fe76
SP
1079 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1080 variable to calculate EZ.
1081 (__sqr): Likewise.
2d0e0f29
SP
1082
1083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1084 the lower precision input.
1085
daaa7713
JM
10862013-02-15 Joseph Myers <joseph@codesourcery.com>
1087
1088 [BZ #13550]
1089 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1090 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1091 (run-via-rtld-prefix): Do not handle %-bp tests.
1092 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1093 (all-object-suffixes): Remove .ob.
1094 (bppfx): Remove variable.
1095 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1096 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1097 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1098 [$(build-bounded) = yes] (libtype.ob): Likewise.
1099 * Makerules (elide-routines.ob): Remove variable.
1100 (do-tests-clean): Do not handle *-bp.out.
1101 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1102 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1103 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1104 (tests): Do not include $(tests-bp.out).
1105 (xtests): Do not include $(xtests-bp.out).
1106 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1107 [$(build-bounded) = yes] ($(addprefix
1108 $(objpfx),$(binaries-bounded))): Remove rule.
1109 ($(objpfx)%-bp.out): Remove rule.
1110 * config.make.in (build-bounded): Remove variable.
1111 * crypt/Makefile [$(build-bounded) = yes]
1112 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1113 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1114 append to variable.
1115 [$(build-bounded) = yes] (install-lib): Likewise.
1116 [$(build-bounded) = yes] (generated): Likewise.
1117 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1118 Remove rule.
1119 * intl/Makefile [$(build-bounded) = yes]
1120 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1121 * math/Makefile [$(build-bounded) = yes]
1122 ($(tests:%=$(objpfx)%-bp): Likewise.
1123 * misc/Makefile [$(build-bounded) = yes]
1124 ($(objpfx)tst-tsearch-bp): Likewise.
1125 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1126 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1127 Remove dependency.
1128 * string/Makefile (o-objects.ob): Remove variable.
1129 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1130 (CFLAGS-.ob): Remove variable.
1131 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1132 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1133 both definitions of variable.
1134 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1135 (ASFLAGS-.ob): Remove variable.
1136
e97ed6dd
JM
11372013-02-14 Joseph Myers <joseph@codesourcery.com>
1138
2bdd4ca6
JM
1139 [BZ #13550]
1140 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1141 Remove __BOUNDED_POINTERS__ from condition.
1142 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1143 * string/bits/string2.h [!__NO_STRING_INLINES &&
1144 !__BOUNDED_POINTERS__]: Likewise.
1145 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1146 Likewise.
1147 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1148 Remove conditional code.
1149 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1150 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1151 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1152 condition.
1153
e97ed6dd
JM
1154 [BZ #13550]
1155 * csu/libc-start.c: Do not include <bp-sym.h>.
1156 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1157 * elf/dl-open.c: Do not include <bp-sym.h>.
1158 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1159 * math/fegetenv.c: Do not include <bp-sym.h>.
1160 (fegetenv): Do not use BP_SYM in versioned symbols.
1161 * nptl/sysdeps/pthread/bits/libc-lockP.h
1162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1163 <bp-sym.h>.
1164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1165 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1167 (__pthread_mutex_destroy): Likewise.
1168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1169 (__pthread_mutex_lock): Likewise.
1170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1171 (__pthread_mutex_trylock): Likewise.
1172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1173 (__pthread_mutex_unlock): Likewise.
1174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1175 (__pthread_mutexattr_init): Likewise.
1176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1177 (__pthread_mutexattr_destroy): Likewise.
1178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1179 (__pthread_mutexattr_settype): Likewise.
1180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1181 (__pthread_rwlock_init): Likewise.
1182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1183 (__pthread_rwlock_destroy): Likewise.
1184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1185 (__pthread_rwlock_rdlock): Likewise.
1186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1187 (__pthread_rwlock_tryrdlock): Likewise.
1188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1189 (__pthread_rwlock_wrlock): Likewise.
1190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1191 (__pthread_rwlock_trywrlock): Likewise.
1192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1193 (__pthread_rwlock_unlock): Likewise.
1194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1195 (__pthread_key_create): Likewise.
1196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1197 (__pthread_setspecific): Likewise.
1198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1199 (__pthread_getspecific): Likewise.
1200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1201 Likewise.
1202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1203 (_pthread_cleanup_push_defer): Likewise.
1204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1205 (_pthread_cleanup_pop_restore): Likewise.
1206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1207 (pthread_setcancelstate): Likewise.
1208 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1209 <bp-sym.h>.
1210 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1211 (memchr): Do not use BP_SYM in weak_alias.
1212 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1213 (fegetenv): Do not use BP_SYM in versioned symbols.
1214 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1215 (fesetenv): Do not use BP_SYM in versioned symbols.
1216 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1217 (feupdateenv): Do not use BP_SYM in versioned symbols.
1218 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1219 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1220 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1221 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1222 (open64): Do not use BP_SYM in weak_alias.
1223 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1224 (fegetenv): Do not use BP_SYM in versioned symbols.
1225 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1226 (fesetenv): Do not use BP_SYM in versioned symbols.
1227 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1228 (feupdateenv): Do not use BP_SYM in versioned symbols.
1229 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1230 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1231 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1232 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1233 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1234 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1235 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1236 <bp-sym.h>.
1237 (__libc_start_main): Do not use BP_SYM.
1238
d6752ccd
SP
12392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1240
cb57ce60
SP
1241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1242 redundant return line.
1243 (norm): Likewise.
1244 (denorm): Likewise.
1245 (dbl_mp): Likewise.
1246 (sub_magnitudes): Likewise.
1247 (__add): Likewise.
1248 (__sub): Likewise.
1249 (__mul): Likewise.
1250 (__inv): Likewise.
1251 (__dvd): Likewise.
1252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1253 (norm): Likewise.
1254 (denorm): Likewise.
1255 (dbl_mp): Likewise.
1256 (sub_magnitudes): Likewise.
1257 (__add): Likewise.
1258 (__sub): Likewise.
1259 (__mul): Likewise.
1260 (__inv): Likewise.
1261 (__dvd): Likewise.
1262
f414520d
SP
1263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1264 instead of __mul.
1265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1266 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1267 (cc32): Likewise.
1268
d6752ccd
SP
1269 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1270 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1272 of __mul for squares.
1273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1274 function
1275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1276 Likewise.
1277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1279
70d9946a
JM
12802013-02-13 Joseph Myers <joseph@codesourcery.com>
1281
1282 [BZ #13550]
1283 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1284 code.
1285 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1286 prototype or function definition. Rename ubp_* variables and
1287 parameters. Remove argv definitions conditional on
1288 [__BOUNDED_POINTERS__].
1289 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1290 * elf/dl-runtime.c (_dl_fixup): Likewise.
1291 * include/set-hooks.h (RUN_HOOK): Likewise.
1292 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1293 definition.
1294 * string/strcpy.c (strcpy): Do not use __unbounded.
1295 * sysdeps/generic/frame.h (struct layout): Likewise.
1296 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1297 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1298 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1299 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1300 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1301 (__backtrace): Likewise.
1302 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1303 use __ptrvalue.
1304 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1305 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1306 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1309 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1310 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1311 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1312 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1313 Do not use __unbounded.
1314 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1315 Rename __unboundedrlimits parameter to rlimits in prototype.
1316 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1317 Do not use __unbounded.
1318 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1319 not use __ptrvalue.
1320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1321 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1322 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1323 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1324 __ptrvalue or __unbounded.
1325 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1326 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1327 use __unbounded.
1328 (__new_msgctl): Do not use __ptrvalue.
1329 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1330 __unbounded.
1331 (__libc_msgrcv): Do not use __ptrvalue.
1332 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1333 startup_info): Do not use __unbounded.
1334 (__libc_start_main): Likewise. Rename ubp_* variables and
1335 parameters. Remove argv definitions conditional on
1336 [__BOUNDED_POINTERS__].
1337 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1338 __ptrvalue.
1339 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1340 use __unbounded.
1341 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1342 or __ptrvalue.
1343 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1344 use __unbounded.
1345 (__new_shmctl): Do not use __ptrvalue.
1346 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1347 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1348 Likewise.
1349 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1351 (__libc_sigaction): Likewise.
1352 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1353 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1354 Likewise.
1355 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1356
cc7834d6
OB
13572013-02-13 Ondřej Bílka <neleai@seznam.cz>
1358
ffb1ec7b 1359 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1360
1361 * string/mempcpy.c: Implement by calling memcpy.
1362
bdf02814
SP
13632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1364
c2af38aa
SP
1365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1366
4e92d59e
SP
1367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1368 evaluation.
1369
909279a5
SP
1370 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1371 values in the mantissa.
1372
bdf02814
SP
1373 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1374 minimize writes to Z.
1375 (sub_magnitudes): Simplify code a bit.
1376
cd525923
RM
13772013-02-12 Roland McGrath <roland@hack.frob.com>
1378
1379 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1380 from the message. The linker prefixes all warnings with that already.
1381
7e2f0d2d
AS
13822013-02-12 Andreas Schwab <schwab@suse.de>
1383
a445af0b
AS
1384 [BZ #15078]
1385 * posix/regexec.c (extend_buffers): Add parameter min_len.
1386 (check_matching): Pass minimum needed length.
1387 (clean_state_log_if_needed): Likewise.
1388 (get_subexp): Likewise.
1389 * posix/Makefile (tests): Add bug-regex34.
1390 (bug-regex34-ENV): Define.
1391 * posix/bug-regex34.c: New file.
1392
7e2f0d2d
AS
1393 [BZ #11561]
1394 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1395 elements compare against the byte sequence of it, not its name.
1396 * posix/Makefile (tests): Add bug-regex35.
1397 (bug-regex35-ENV): Define.
1398 * posix/bug-regex35.c: New file.
1399
a175b684
TV
14002013-02-11 Tom de Vries <tom@codesourcery.com>
1401
1402 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1403 comment.
1404 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1405 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1406 (CHECK_EOL): Add undef.
1407
310998fe 14082013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1409
1410 * bits/stdlib-bsearch.h: New file.
1411 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1412 * stdlib/stdlib.h: Likewise.
41eda41d 1413
8ded91fb
RM
14142013-02-11 Roland McGrath <roland@hack.frob.com>
1415
1416 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1417 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1418 declaration.
1419 * manual/search.texi (Array Search Function): Add missing const in
1420 lfind prototype.
1421 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1422 declaration to use rlim_t.
1423 (Basic Scheduling Functions): Remove erroneous const from
1424 sched_getparam prototype. Remove erroneous * from
1425 sched_get_priority_max and sched_get_priority_min prototypes.
1426 (Resource Usage): Fix summary @comment on vtimes to refer to
1427 sys/vtimes.h rather than vtimes.h.
1428 Add missing *s in vtimes prototype.
1429 (Limits on Resources): Fix ulimit prototype to return long int.
1430 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1431 prototypes to use long int rather than double.
1432 (BSD Random): Fix initstate and setstate to use char *, not void *.
1433 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1434 prototype to make second argument 'struct aiocb64 *const[]'.
1435 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1436 (Status of AIO Operations): Remove erroneous const in aio_return and
1437 aio_return64 prototypes.
1438 (Synchronizing I/O): Fix sync prototype to return void.
1439 * manual/startup.texi (Suboptions): Remove an erroneous const in
1440 getsubopt prototype.
1441 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1442 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1443 use size_t rather than int.
1444 (Scanning All Users): Likewise for getpwent_r.
1445 (Setting Groups): Add missing const to setgroups prototype.
1446 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1447 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1448 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1449 'const void *' rather than 'const char *'.
1450 (Host Address Functions): Likewise for inet_ntop.
1451 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1452 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1453 ssize_t for return value.
1454 (Sending Data): Likewise for send, sendto, sendmsg.
1455 (Socket Option Functions): Add a missing const in setsockopt prototype.
1456 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1457 use wchar_t for the argument.
1458 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1459 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1460 take no arguments.
1461 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1462 double/float/long double for second argument.
1463 Fix return types of significand, significandf, significandl.
1464 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1465 argument in fchmod prototype.
1466 (File Owner): Use uid_t and gid_t in fchown prototype.
1467 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1468 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1469 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1470 use 'const struct dirent **' as argument types to CMP function pointer
1471 argument.
1472 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1473 (File Times): Fix summary magic @comment for struct utimbuf and utime
1474 to refer to utime.h, not time.h.
1475 * manual/string.texi (Argz Functions): Add missing const in
1476 argz_extract and argz_next prototypes.
1477 (Finding Tokens in a String): Likewise for basename.
1478 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1479 (Copying and Concatenation): Fix typo in wmemmove prototype.
1480 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1481 (Signal Stack): Remove erroneous const in sigstack prototype.
1482 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1483 prototype.
1484 (Simple Calendar Time): Likewise for stime.
1485 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1486 prototype.
1487 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1488 say sys/sysctl.h instead.
1489 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1490 and vsyslog prototypes.
1491
fe77fe6d
TV
14922013-02-11 Tom de Vries <tom@codesourcery.com>
1493
1494 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1495 Remove.
1496
3a09b620
RM
14972013-02-11 Roland McGrath <roland@hack.frob.com>
1498
1499 * misc/sys/mman.h: Fix typo in mremap comment.
1500
550a0b89
RM
15012013-02-08 Roland McGrath <roland@hack.frob.com>
1502
1503 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1504 the '\0' terminator.
1505
a2da1673
JM
15062013-02-08 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #13550]
1509 * debug/segfault.c: Don't include <bp-checks.h>.
1510 * sysdeps/generic/bp-checks.h: Remove file.
1511 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1512 (__GETDENTS): Don't use CHECK_N.
1513 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1514 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1515 (__getgroups): Don't use CHECK_N.
1516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1517 (setgroups): Don't use CHECK_N.
1518 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1519 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1520 (__libc_msgrcv): Don't use CHECK_N.
1521 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1522 (__libc_msgsnd): Don't use CHECK_N.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1524 <bp-checks.h>.
1525 (__libc_pread): Don't use CHECK_N.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1527 include <bp-checks.h>.
1528 (__libc_pread64): Don't use CHECK_N.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1530 include <bp-checks.h>.
1531 (__libc_pwrite): Don't use CHECK_N.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1533 include <bp-checks.h>.
1534 (__libc_pwrite64): Don't use CHECK_N.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1536 <bp-checks.h>.
1537 (__libc_pread): Don't use CHECK_N.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1539 include <bp-checks.h>.
1540 (__libc_pread64): Don't use CHECK_N.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1542 include <bp-checks.h>.
1543 (__libc_pwrite): Don't use CHECK_N.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1545 include <bp-checks.h>.
1546 (__libc_pwrite64): Don't use CHECK_N.
1547 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1548 (do_pread): Don't use CHECK_N.
1549 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1550 (do_pread64): Don't use CHECK_N.
1551 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1552 (do_pwrite): Don't use CHECK_N.
1553 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1554 (do_pwrite64): Don't use CHECK_N.
1555 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1556 (__libc_readv): Don't use CHECK_N.
1557 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1558 (semop): Don't use CHECK_N.
1559 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1560 <bp-checks.h>.
1561 (semtimedop): Don't use CHECK_N.
1562 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1563 (__libc_pread): Don't use CHECK_N.
1564 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1565 <bp-checks.h>.
1566 (__libc_pread64): Don't use CHECK_N.
1567 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1568 <bp-checks.h>.
1569 (__libc_pwrite): Don't use CHECK_N.
1570 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1571 <bp-checks.h>.
1572 (__libc_pwrite64): Don't use CHECK_N.
1573 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1574 <bp-checks.h>.
1575 (__libc_msgrcv): Don't use CHECK_N.
1576 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1577 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1578 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1579 (__libc_writev): Don't use CHECK_N.
1580
b84660a8
RM
15812013-02-08 Roland McGrath <roland@hack.frob.com>
1582
7f3e75f8
RM
1583 * string/strcpy.c: Removed unused variable.
1584
b84660a8
RM
1585 * Makeconfig (+sysdep-includes): Define with := rather than =.
1586 Use an existing include/ subdir of each sysdeps dir before it.
1587
471514d3
CD
15882013-02-08 Carlos O'Donell <carlos@redhat.com>
1589
1590 * nscd/connection.c (register_traced_file): Comment function.
1591 [HAVE_INOTIFY] (union __inev): Define.
1592 [HAVE_INOTIFY] (inotify_check_files): New function.
1593 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1594 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1595 clear_db_cache.
1596 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1597
b2d3c3be
CD
15982013-02-08 Carlos O'Donell <carlos@redhat.com>
1599
1600 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1601 loaded if not already and that a failure is permanent.
1602
b39949d2
CD
16032013-02-08 Carlos O'Donell <carlos@redhat.com>
1604
ddacd1db 1605 [BZ #15006]
b39949d2
CD
1606 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1607 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1608
b2c9eff4
JM
16092013-02-08 Joseph Myers <joseph@codesourcery.com>
1610
f3aae3f3
JM
1611 [BZ #13550]
1612 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1613 (CHECK_1_NULL_OK): Likewise.
1614 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1615 (__fxstat): Do not use CHECK_1.
1616 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1617 <bp-checks.h>.
1618 (___fxstat64): Do not use CHECK_1.
1619 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1620 <bp-checks.h>.
1621 (__fxstatat): Do not use CHECK_1.
1622 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1623 <bp-checks.h>.
1624 (__fxstatat64): Do not use CHECK_1.
1625 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1626 <bp-checks.h>.
1627 (__fxstat): Do not use CHECK_1.
1628 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1629 <bp-checks.h>.
1630 (__fxstatat): Do not use CHECK_1.
1631 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1632 <bp-checks.h>.
1633 (__getresgid): Do not use CHECK_1.
1634 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1635 <bp-checks.h>.
1636 (__getresuid): Do not use CHECK_1.
1637 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1638 <bp-checks.h>.
1639 (__lxstat): Do not use CHECK_1.
1640 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1641 <bp-checks.h>.
1642 (__old_msgctl): Do not use CHECK_1.
1643 (__new_msgctl): Likewise.
1644 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1645 <bp-checks.h>.
1646 (__new_setrlimit): Do not use CHECK_1.
1647 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1648 <bp-checks.h>.
1649 (__old_shmctl): Do not use CHECK_1.
1650 (__new_shmctl): Likewise.
1651 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1652 <bp-checks.h>.
1653 (__xstat): Do not use CHECK_1.
1654 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1655 (__lxstat): Do not use CHECK_1.
1656 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1657 <bp-checks.h>.
1658 (___lxstat64): Do not use CHECK_1.
1659 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1660 (__old_msgctl): Do not use CHECK_1.
1661 (__new_msgctl): Likewise.
1662 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1663 <bp-checks.h>.
1664 (__gettimeofday): Do not use CHECK_1.
1665 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1666 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1667 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1668 <bp-checks.h>.
1669 (__gettimeofday): Do not use CHECK_1.
1670 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1671 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1672 (__new_shmctl): Do not use CHECK_1.
1673 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1674 <bp-checks.h>.
1675 (do_sigtimedwait): Do not use CHECK_1.
1676 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1677 <bp-checks.h>.
1678 (do_sigwaitinfo): Do not use CHECK_1.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1680 <bp-checks.h>.
1681 (msgctl): Do not use CHECK_1.
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1683 <bp-checks.h>.
1684 (shmctl): Do not use CHECK_1.
1685 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1686 (ustat): Do not use CHECK_1.
1687 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1688 <bp-checks.h>.
1689 (__fxstat): Do not use CHECK_1.
1690 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1691 <bp-checks.h>.
1692 (__fxstatat): Do not use CHECK_1.
1693 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1694 <bp-checks.h>.
1695 (__lxstat): Do not use CHECK_1.
1696 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1697 <bp-checks.h>.
1698 (__xstat): Do not use CHECK_1.
1699 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1700 (__xstat): Do not use CHECK_1.
1701 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1702 (___xstat64): Do not use CHECK_1.
1703
b2c9eff4
JM
1704 [BZ #13550]
1705 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1706 definitions.
1707 (CHECK_BOUNDS_HIGH): Likewise.
1708 * string/strcpy.c: Do not include <bp-checks.h>.
1709 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1710
f1d70dad
RM
17112013-02-07 Roland McGrath <roland@hack.frob.com>
1712
1713 * nscd/nscd-client.h (__nscd_drop_map_ref):
1714 Add __attribute__ ((unused)).
1715 * nis/nss-nisplus.h (niserr2nss): Likewise.
1716
1717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1718 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1719
1720 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1721 Remove inline keyword.
1722 * include/rounding-mode.h (round_away): Likewise.
1723 * libio/wfileops.c (adjust_wide_data): Likewise.
1724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1725 (__m128i_strloadu_tolower): Likewise.
1726 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1727 (__m128i_strloadu_tolower): Likewise.
1728 * time/mktime.c (ydhms_diff): Likewise.
1729 * locale/elem-hash.h (elem_hash): Likewise.
1730 * locale/setlocale.c (setdata): Likewise.
1731 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1732 (re_string_wchar_at): Likewise.
1733 (bitset_not, bitset_merge, bitset_mask): Likewise.
1734 [!(__GNUC__ > 3)] (inline): Remove macro.
1735 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1736 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1737 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1738 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1739 * string/memcmp.c (memcmp_bytes): Likewise.
1740 * locale/programs/locarchive.c (compute_hashval): Likewise.
1741 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1742 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1743 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1744 * nss/getent.c (print_rpc, print_protocols): Likewise.
1745 (print_passwd, print_group, print_aliases): Likewise.
1746 * nis/nss-nisplus.h (niserr2nss): Likewise.
1747 * nscd/connections.c (restart_p): Likewise.
1748 Change return type to bool.
1749
eab55bfb
RM
17502013-02-05 Roland McGrath <roland@hack.frob.com>
1751
7bd642f5
RM
1752 * Makeconfig (all-Depend-files): Add existing
1753 $(sorted-subdirs:=/Depend) files.
1754 (all-subdirs): Remove nss.
1755 * sysdeps/unix/inet/Subdirs: Add it here instead.
1756 * hesiod/Depend: New file.
1757
573c29b2
RM
1758 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1759 instead of calling alloca.
1760
b2e25af0
RM
1761 * io/lseek.c (__lseek): Rename to __libc_lseek.
1762 Define __lseek as an alias.
1763
eab55bfb
RM
1764 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1765
9a0d1941
CD
17662013-02-04 Carlos O'Donell <carlos@redhat.com>
1767
1768 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1769 else clause and remove check for non-standard endianness.
1770
b83bbec4
DM
17712013-02-04 David S. Miller <davem@davemloft.net>
1772
1773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1774
6277fdab
JM
17752013-02-04 Joseph Myers <joseph@codesourcery.com>
1776
1777 [BZ #13550]
1778 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1779 (__ubp_memchr): Remove prototype.
1780 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1781 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1782 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1783 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1784 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1785 Remove alias.
1786 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1787 (__ubp_memchr): Likewise.
1788 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1789 (__ubp_memchr): Likewise.
1790 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1791 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1792 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1793 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1794 CHECK_STRING.
1795 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1796 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1797 (__getcwd): Do not use CHECK_STRING.
1798 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1799 <bp-checks.h>.
1800 (__real_chown): Do not use CHECK_STRING.
1801 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1802 <bp-checks.h>.
1803 (fchownat): Do not use CHECK_STRING.
1804 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1805 CHECK_STRING.
1806 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1807 <bp-checks.h>.
1808 (__lchown): Do not use CHECK_STRING.
1809 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1811 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1812 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1814 include <bp-checks.h>.
1815 (truncate64): Do not use CHECK_STRING.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1817 <bp-checks.h>.
1818 (__real_chown): Do not use CHECK_STRING.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1820 <bp-checks.h>.
1821 (__lchown): Do not use CHECK_STRING.
1822 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1823 <bp-checks.h>.
1824 (__chown): Do not use CHECK_STRING.
1825 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1826 <bp-checks.h>.
1827 (truncate64): Do not use CHECK_STRING.
1828 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1829 Likewise.
1830 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1831 (__xmknod): Do not use CHECK_STRING.
1832 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1833 <bp-checks.h>.
1834 (__xmknodat): Do not use CHECK_STRING.
1835 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1836 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1837
903ae060
AS
18382013-02-04 Andreas Schwab <schwab@suse.de>
1839
1840 [BZ #14142]
1841 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1842 * include/netdb.h: Likewise for h_errno.
1843 * elf/tst-stackguard1.c: Include <tls.h>.
1844
542f9466
JK
18452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1846
1847 * elf/link.h (struct link_map): Extend the l_addr comment.
1848 * include/link.h (struct link_map): Likewise.
1849
e782a927
JM
18502013-02-01 Joseph Myers <joseph@codesourcery.com>
1851
1852 [BZ #13550]
1853 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1854 (BOUNDED_1): Remove macro.
1855 * debug/backtrace.c: Don't include <bp-checks.h>.
1856 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1857 (__backtrace): Likewise.
1858 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1859 <bp-checks.h>.
1860 (__backtrace): Don't use BOUNDED_1.
1861 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1862 <bp-checks.h>.
1863 (__backtrace): Don't use BOUNDED_1.
1864 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1865 (__backtrace): Don't use BOUNDED_1.
1866 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1867 (shmat): Don't use BOUNDED_N.
1868
8cf28c5e
JM
18692013-01-31 Joseph Myers <joseph@codesourcery.com>
1870
3a7ac8a0
JM
1871 [BZ #13550]
1872 * sysdeps/generic/bp-start.h: Remove file.
1873 * csu/libc-start.c: Don't include <bp-start.h>.
1874 (LIBC_START_MAIN): Set up __environ directly instead of using
1875 INIT_ARGV_and_ENVIRON.
1876 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1877 <bp-start.h>.
1878
f3499f95
JM
1879 [BZ #13550]
1880 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1881 definitions.
1882 (CHECK_FCNTL): Likewise.
1883 (CHECK_N_PAGES): Likewise.
1884
32a45bea
JM
1885 [BZ #13550]
1886 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1887 definitions.
1888 (CHECK_SIGSET_NULL_OK): Likewise.
1889 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1890 <bp-checks.h>.
1891 (sigpending): Don't use CHECK_SIGSET.
1892 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1893 <bp-checks.h>.
1894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1895 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1896 <bp-checks.h>.
1897 (do_sigsuspend): Don't use CHECK_SIGSET.
1898 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1899 use CHECK_SIGSET.
1900 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1901 (do_sigwait): Don't use CHECK_SIGSET.
1902 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1903 use CHECK_SIGSET.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1905 include <bp-checks.h>.
1906 (sigpending): Don't use CHECK_SIGSET.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1908 include <bp-checks.h>.
1909 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1910 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1911 <bp-checks.h>.
1912 (sigpending): Don't use CHECK_SIGSET.
1913 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1914 <bp-checks.h>.
1915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1916
2e8a5c8c
JM
1917 [BZ #13550]
1918 * sysdeps/generic/bp-semctl.h: Remove file.
1919 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1920 <bp-checks.h> and <bp-semctl.h>.
1921 (__old_semctl): Don't use CHECK_SEMCTL.
1922 (__new_semctl): Likewise.
1923 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1924 and <bp-semctl.h>.
1925 (__old_semctl): Don't use CHECK_SEMCTL.
1926 (__new_semctl): Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1928 <bp-checks.h> and <bp-semctl.h>.
1929 (__old_semctl): Don't use CHECK_SEMCTL.
1930 (__new_semctl): Likewise.
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1932 <bp-checks.h> and <bp-semctl.h>.
1933 (semctl): Don't use CHECK_SEMCTL.
1934
c2d54929
JM
1935 [BZ #13550]
1936 * Makerules (elide-bp-thunks): Remove variable.
1937 (elide-routines.oS): Don't use $(elide-bp-thunks).
1938 (elide-routines.os): Likewise.
1939 (elide-routines.o): Likewise.
1940 (elide-routines.op): Likewise.
1941 (elide-routines.og): Likewise.
1942 (objects): Don't use $(bp-thunks).
1943 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1944 include.
1945 (common-generated): Do not add s-proto-bp.d.
1946 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1947 (int): Likewise.
1948 (typ): Likewise.
1949 Do not generate makefile rules for bounded-pointer thunks.
1950 * sysdeps/generic/bp-thunks.h: Remove file.
1951 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1952 * sysdeps/unix/s-proto-bp.S: Likewise.
1953
8cf28c5e
JM
1954 [BZ #15062]
1955 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1956 parts of result separately when argument is not close to line from
1957 -i to i and one part of argument is small.
1958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1960 * math/libm-test.inc (cacos_test): Add more tests.
1961 (casin_test): Likewise.
1962 (casinh_test): Likewise.
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965
c4e33b8d
DM
19662013-01-31 David S. Miller <davem@davemloft.net>
1967
1968 * po/de.po: Update from translation team.
1969
3b60b421
MK
19702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1971
1972 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1973
bb931195
TS
19742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1975
b5a5da23
TS
1976 * configure.in (_AC_PROG_CC_C89): New definition.
1977 * configure: Regenerate.
1978
bb931195
TS
1979 * configure.in (AC_PROG_CPP): New definition.
1980 * configure: Regenerate.
1981
8c53a12c
JM
19822013-01-23 Joseph Myers <joseph@codesourcery.com>
1983
1984 * debug/tst-backtrace.h: New file.
1985 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1986 (ret): Remove variable.
1987 (x): Likewise.
1988 (FAIL): Remove macro.
1989 (NO_INLINE): Likewise.
1990 (fn1): Use match function instead of strstr.
1991 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1992 (ret): Remove variable.
1993 (x): Likewise.
1994 (FAIL): Remove macro.
1995 (NO_INLINE): Likewise.
1996 (fn): Use match function instead of strstr.
1997 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1998 (ret): Remove variable.
1999 (x): Likewise.
2000 (FAIL): Remove macro.
2001 (NO_INLINE): Likewise.
2002 (handle_signal): Use match function instead of strstr.
2003 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2004 (ret): Remove variable.
2005 (x): Likewise.
2006 (FAIL): Remove macro.
2007 (NO_INLINE): Likewise.
2008 (handle_signal): Use match function instead of strstr.
2009
4858fa2a
RM
20102013-01-23 Roland McGrath <roland@hack.frob.com>
2011
2012 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2013
bae8e7f5
DM
20142013-01-23 David S. Miller <davem@davemloft.net>
2015
2016 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2017 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2018 argument of CAS if possible.
2019 * sysdeps/sparc/sparc64/bits/atomic.h
2020 (__arch_compare_and_exchange_val_32_acq): Likewise.
2021 (__arch_compare_and_exchange_val_64_acq): Likewise.
2022
9cbbc4ae
PT
20232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2024
2025 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2026 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2027 Include <limits.h>.
67b3f58c 2028 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2029
5655a0b5
AC
20302013-01-23 Adam Conrad <adconrad@0c3.net>
2031
2032 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2033 (LDFLAGS-tst-array5): Likewise.
2034
052aff95
JM
20352013-01-23 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #15036]
2038 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2039 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2040 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2041 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2042
7c1e01aa
DM
20432013-01-21 David S. Miller <davem@davemloft.net>
2044
2045 * sysdeps/sparc/backtrace.c: New file.
2046 * sysdeps/sparc/sparc32/backtrace.h: New file.
2047 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2048 * sysdeps/sparc/sparc64/backtrace.h: New file.
2049 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2050 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2051 -funwind-tables.
2052
ab087e0a
AS
20532013-01-21 Andreas Schwab <schwab@suse.de>
2054
2055 [BZ #15020]
2056 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2057 closed its stdout.
2058
ed689c2f
AS
20592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2060
2061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2062 "mpa2.h".
2063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2064
31d470ac
JM
20652013-01-18 Joseph Myers <joseph@codesourcery.com>
2066 Mark Mitchell <mark@codesourcery.com>
2067 Tom de Vries <tom@codesourcery.com>
2068 Paul Pluzhnikov <ppluzhnikov@google.com>
2069
2070 * debug/tst-backtrace2.c: New file.
2071 * debug/tst-backtrace3.c: Likewise.
2072 * debug/tst-backtrace4.c: Likewise.
2073 * debug/tst-backtrace5.c: Likewise.
2074 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2075 (CFLAGS-tst-backtrace3.c): Likewise.
2076 (CFLAGS-tst-backtrace4.c): Likewise.
2077 (CFLAGS-tst-backtrace5.c): Likewise.
2078 (LDFLAGS-tst-backtrace2): Likewise.
2079 (LDFLAGS-tst-backtrace3): Likewise.
2080 (LDFLAGS-tst-backtrace4): Likewise.
2081 (LDFLAGS-tst-backtrace5): Likewise.
2082 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2083 tst-backtrace4 and tst-backtrace5.
2084
90567f30 20852013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2086 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2087
2088 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2089 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2090 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2091 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2093 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2094 "+r" and remove output regs list as redundant. Add explicit inline
2095 asm to specify register of return val to work around compiler codegen
2096 bug. Remove (int) cast on return value. Add return type parameter to
2097 use in macro so that this macro does not truncate return value for
2098 64-bit values.
2099 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2100 pass to INTERNAL_VSYSCALL_NCS.
2101 (INLINE_VSYSCALL): Add 'long int' as return type to
2102 INTERNAL_VSYSCALL_NCS macro invocation.
2103 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2104 INTERNAL_VSYSCALL_NCS macro invocation.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2106
d3b9ea61
SP
21072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2108
0b57daeb
SP
2109 [BZ #14496]
2110 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2111 Fix application of SIMD FP exception mask.
2112
caa99d06
SP
2113 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2114 mp_no from a power of two.
2115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2116 __mpexp_twomm1. Use __pow_mp.
2117
d3b9ea61
SP
2118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2119 multiplication.
2120
1dbaee3c
DM
21212013-01-17 David S. Miller <davem@davemloft.net>
2122
2123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2124
728d7b43
JM
21252013-01-17 Joseph Myers <joseph@codesourcery.com>
2126
2127 [BZ #15023]
2128 * include/complex.h: Condition contents on [!_COMPLEX_H].
2129 (__kernel_casinhf): New prototype.
2130 (__kernel_casinh): Likewise.
2131 (__kernel_casinhl): Likewise.
2132 * math/Makefile (libm_calls): Add k_casinh.
2133 * math/k_casinh.c: New file.
2134 * math/k_casinhf.c: Likewise.
2135 * math/k_casinhl.c: Likewise.
2136 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2137 finite nonzero arguments.
2138 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2139 finite nonzero arguments.
2140 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2141 finite nonzero arguments.
2142 * math/s_casinh.c: Do not include <float.h>.
2143 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2144 * math/s_casinhf.c: Do not include <float.h>.
2145 (__casinhf): Move code for finite nonzero arguments to
2146 k_casinhf.c.
2147 * math/s_casinhl.c: Do not include <float.h>.
2148 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2149 redefine.
2150 (__casinhl): Move code for finite nonzero arguments to
2151 k_casinhl.c.
2152 * math/libm-test.inc (cacos_test): Add more tests.
2153 * sysdeps/i386/fpu/libm-test-ulps: Update.
2154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2155
2a26ef3a
PT
21562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2157
2158 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2159 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2160 [!HAVE_MREMAP]: Remove [defined linux] case.
2161 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2162
a897655d
SP
21632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
2165 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2166
881ebe89 21672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2168
2169 * elf/elf.h (R_386_SIZE32): New relocation.
2170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2171 R_386_SIZE32.
2172 (elf_machine_rela): Likewise.
2173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2174 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2175
59981e9b
JM
21762013-01-17 Joseph Myers <joseph@codesourcery.com>
2177
2178 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2179 (FP_FAST_FMA): Do not define.
2180 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2181 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2182 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2183 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2184 !_SOFT_FLOAT]: Likewise.
2185 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2186 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2187 value.
2188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2189 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2192 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2193 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2194 file.
2195
cfa8054f
AS
21962013-01-16 Andreas Schwab <schwab@suse.de>
2197
2198 [BZ #14327]
2199 * include/stdlib.h (__mktemp): Add declaration.
2200 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2201 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2202
dd930cc5
SP
22032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
881ebe89
SP
2205 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2206 definitions.
2207 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2208 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2209 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2210 definitions here.
2211 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2212 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2213 definitions.
2214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2215 and ONE.
2216 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2217 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2219 definitions.
2220 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2221 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2222 definitions.
2223 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2224
dd930cc5
SP
2225 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2226
c19a9f89
DM
22272013-01-15 David S. Miller <davem@davemloft.net>
2228
1aa61767
DM
2229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2230 trunc{,f} to libm-sysdep_routes.
2231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2233 file.
2234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2236 file.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2238 file.
2239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2241 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2242 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2243 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2244 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2245 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2246 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2247
c42d5e98
DM
2248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2249 nearbyint{,f} to libm-sysdep_routes.
2250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2252 New file.
2253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2254 file.
2255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2256 New file.
2257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2258 file.
2259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2262 file.
2263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2265 file.
2266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2267 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2268 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2269
c19a9f89
DM
2270 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2271 libc_feholdexcept and libc_fesetenv.
2272
357679d2
MF
22732013-01-15 Mike Frysinger <vapier@gentoo.org>
2274
2275 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2276
65a82e3d
DM
22772013-01-14 David S. Miller <davem@davemloft.net>
2278
8b954ab9
DM
2279 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2280 (SPARC_ASM_VIS2_IFUNC): Likewise.
2281 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2283 use of 'siam' instruction.
2284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2285 Likewise.
2286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2287 Likewise.
2288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2289 Likewise.
2290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2295 file.
2296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2297 file.
2298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2299 file.
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2301 file.
2302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2307 new VIS2 routines.
2308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2311 Likewise.
2312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2317 routines to libm-sysdep_routines.
2318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2319
65a82e3d
DM
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2321 fdim/fdimf to libm-sysdep_routines.
2322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2323 file.
2324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2326 file.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2330 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2331 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2332 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2333 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2334
e34ab705
SP
23352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2336
2a91b573
SP
2337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2338 to optimize copies.
2339
1066a534
SP
2340 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2343
e34ab705
SP
2344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2345 local variable MPTWO.
2346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2347 Likewise.
2348
aba5e596
MF
23492013-01-13 Mike Frysinger <vapier@gentoo.org>
2350
2351 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2352 GLOB_NOESCAPE.
2353
e557e9e5
MF
23542013-01-13 Mike Frysinger <vapier@gentoo.org>
2355
2356 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2357
0428cec9
MF
23582013-01-13 Mike Frysinger <vapier@gentoo.org>
2359
2360 * manual/pattern.texi (glob_t): Document gl_flags.
2361 (glob64_t): Likewise.
2362
8794a964
DM
23632013-01-11 David S. Miller <davem@davemloft.net>
2364
66438c3f
RM
2365 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2366 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2367 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2368 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2369 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2370 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2371 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2372 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2373 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2374 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2375 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2376 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2378
4ae4244d
DM
2379 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2380 sparc V9 rather than using V8 code.
2381 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2382 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2383
8794a964
DM
2384 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2385 Move to...
2386 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2387 Here.
2388
6270516e
RM
23892013-01-11 Roland McGrath <roland@hack.frob.com>
2390
2391 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2392 not in the main loop.
2393 * configure: Regenerated.
2394
6a57d931
JM
23952013-01-11 Joseph Myers <joseph@codesourcery.com>
2396
2397 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2398 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2399 to just #else.
2400 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2401 [!__GLIBC_HAVE_LONG_LONG] case.
2402 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2403 condition to just #else.
2404 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2405 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2406 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2407 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2408 unconditional.
2409 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2410 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2411 #elif condition to just #else.
2412 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2413 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2414 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2415 #elif condition to just #else.
2416
0e8529e9
SE
24172013-01-11 Steve Ellcey <sellcey@mips.com>
2418
2419 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2420 (EF_MIPS_ARCH_64): Fix value.
2421 (EF_MIPS_ARCH_32R2): New.
2422 (EF_MIPS_ARCH_64R2): New.
2423
740b3dbe
L
24242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * Makeconfig (+link-pie-before-libc): New.
2427 (+link-pie-after-libc): Likewise.
2428 (+link-pie-tests): Likewise.
2429 (+link-pie): Rewritten.
2430 (link-before-libc): Remove $(config-LDFLAGS).
2431 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2432 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2433 (config-LDFLAGS): Renamed to ...
2434 (rtld-LDFLAGS): This.
2435 (rtld-tests-LDFLAGS): New macro.
2436 (link-libc-rpath-link): Likewise.
2437 (link-libc-tests-rpath-link): Likewise.
2438 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2439 (link-libc): Prepand $(link-libc-rpath-link).
2440 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2441 (test-program-prefix): New macro.
2442 (test-via-rtld-prefix): Likewise.
2443 (test-program-cmd): Likewise.
2444 (host-test-program-cmd): Likewise.
2445 * Makefile ($(common-objpfx)testrun.sh): Replace
2446 $(run-program-prefix) with $(test-program-prefix).
2447 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2448 $(rtld-LDFLAGS).
2449 ($(common-objpfx)shlib.lds): Likewise.
2450 (build-module-helper): Likewise.
2451 ($(common-objpfx)format.lds): Likewise.
2452 * Rules (binaries-pie-tests): New.
2453 (binaries-pie-notests): Likewise.
2454 (binaries-pie): Rewritten.
2455 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2456 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2457 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2458 (make-test-out): Replace $(host-built-program-cmd) with
2459 $(host-test-program-cmd).
2460 * config.make.in (build-hardcoded-path-in-tests): New variable.
2461 * configure.in (--enable-hardcoded-path-in-tests): New configure
2462 option.
2463 (hardcoded_path_in_tests): New AC_SUBST.
2464 * configure: Regenerated.
2465 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2466 $(built-program-cmd) with $(test-program-cmd).
2467 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2468 (test_program_cmd): This.
2469 * elf/Makefile ($(objpfx)order.out): Run test with
2470 $(test-program-prefix).
2471 ($(objpfx)order2.out): Likewise.
2472 ($(objpfx)tst-initorder.out): Likewise.
2473 ($(objpfx)tst-initorder2.out): Likewise.
2474 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2475 $(test-program-cmd).
2476 ($(objpfx)tst-array1-static.out): Likewise.
2477 ($(objpfx)tst-array2.out): Likewise.
2478 ($(objpfx)tst-array3.out): Likewise.
2479 ($(objpfx)tst-array4.out): Likewise.
2480 ($(objpfx)tst-array5.out): Likewise.
2481 ($(objpfx)tst-array5-static.out): Likewise.
2482 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2483 $(test-program-cmd).
2484 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2485 $(run-program-prefix) with $(test-program-prefix).
2486 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2487 (test_program_prefix): This.
2488 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2489 $(run-program-prefix) with $(test-program-prefix).
2490 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2491 (test_program_prefix): This.
2492 * iconvdata/tst-tables.sh: Likewise.
2493 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2494 $(run-program-prefix) with $(test-program-prefix).
2495 ($(objpfx)tst-translit.out): Likewise.
2496 ($(objpfx)tst-gettext2.out): Likewise.
2497 ($(objpfx)tst-gettext4.out): Likewise.
2498 ($(objpfx)tst-gettext6.out): Likewise.
2499 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2500 (test_program_prefix): This.
2501 * intl/tst-gettext2.sh: Likewise.
2502 * intl/tst-gettext4.sh Likewise.
2503 * intl/tst-gettext6.sh: Likewise.
2504 * intl/tst-translit.sh: Likewise.
2505 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2506 with $(test-program-cmd).
2507 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2508 $(run-program-prefix) with $(test-program-prefix).
2509 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2510 (test_program_prefix): This.
2511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2512 $(run-program-prefix) with $(test-program-prefix).
2513 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2514 (test_program_prefix): This.
2515 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2516 * posix/Makefile ($(objpfx)globtest.out): Replace
2517 $(run-via-rtld-prefix) and $(test-wrapper) with
2518 $(test-program-prefix) and $(test-via-rtld-prefix).
2519 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2520 $(test-program-prefix).
2521 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2522 $(host-test-program-cmd).
2523 (tst-spawn-ARGS): Likewise.
2524 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2525 $(test-program-prefix).
2526 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2527 (test_via_rtld_prefix): This.
2528 (test_wrapper): Renamed to ...
2529 (test_program_prefix): This.
2530 (run_program_prefix): Replaced by test_program_prefix.
2531 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2532 (test_program_prefix): This.
2533 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2534 with $(host-test-program-cmd).
2535 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2536 $(run-program-prefix) with $(test-program-prefix).
2537 ($(objpfx)tst-printf.out): Likewise.
2538 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2539 $(test-program-cmd).
2540 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2541 (test_program_prefix): This.
2542 * stdio-common/tst-unbputc.sh: Likewise.
2543 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2544 $(run-program-prefix) with $(test-program-prefix).
2545 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2546 (test_program_prefix): This.
2547 * string/Makefile ($(objpfx)tst-svc.out): Replace
2548 $(built-program-cmd) with $(test-program-cmd).
2549
c6fe55cf
AJ
25502013-01-11 Andreas Jaeger <aj@suse.de>
2551
2552 [BZ #15003]
2553 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2554 value. Sync with Linux 3.7.
2555
9e6919c8
DM
25562013-01-10 David S. Miller <davem@davemloft.net>
2557
2558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2559 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2561
1c9f1a02
RM
25622013-01-10 Roland McGrath <roland@hack.frob.com>
2563
2564 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2565 never set.
2566 * configure: Regenerated.
2567
b9de2dde
DM
25682013-01-10 David S. Miller <davem@davemloft.net>
2569
2570 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2571 sparc V9 rather than using V8 code.
2572 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2574
e7f68ef4
RM
25752013-01-10 Roland McGrath <roland@hack.frob.com>
2576
2577 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2578 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2579 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2580 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2581 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2582 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2583 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2584 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2585 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2586 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2587 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2588 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2589 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2590 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2591 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2592 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2593 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2594 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2595 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2596 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2597 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2598 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2599 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2600 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2601 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2602 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2603 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2604
5a47cc9c
DM
26052013-01-10 David S. Miller <davem@davemloft.net>
2606
2607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2608
4cf8f209
L
26092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * posix/Makefile (tests-static): New variable.
2612 (tests): Add $(tests-static).
2613 (tst-exec-static-ARGS): New variable.
2614 (tst-spawn-static-ARGS): Likewise.
2615 * posix/tst-exec-static.c: New file.
2616 * posix/tst-spawn-static.c: Likewise.
2617 * posix/tst-exec.c: Support run directly.
2618 * posix/tst-spawn.c: Likewise.
2619
fed0faa1
JM
26202013-01-10 Joseph Myers <joseph@codesourcery.com>
2621
828beb13
JM
2622 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2623 long.
2624 * math/bits/mathcalls.h (llrint): Likewise.
2625 (llround): Likewise.
2626 * stdlib/stdlib.h (struct drand48_data): Likewise.
2627 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2628 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2630 Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2634 (elf_greg_t): Likewise.
2635 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2636 (__jmp_buf): Likewise.
2637 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2638 definitions.
2639 (llrint): Likewise, for all definitions.
2640 (llrintl): Likewise.
2641
fed0faa1
JM
2642 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2643 Remove [__GNUC__] condition.
2644 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2645 condition to just [__USE_ISOC99].
2646 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2647
1a20cb20
L
26482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 [BZ #14200]
2651 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2652 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2653 defined.
2654 (_POSIX_V6_ILP32_OFF32): Likewise.
2655 (_XBS5_ILP32_OFF32): Likewise.
2656 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2657 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2658
751b85f7
SP
26592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
7490eb81
SP
2661 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2662
751b85f7
SP
2663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2664 doubles __mpexp_twomm1. Adjust usage.
2665 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2666 Remove.
2667
988197f0
AS
26682013-01-10 Andreas Schwab <schwab@suse.de>
2669
2670 [BZ #14964]
2671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2672 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2673
e83d7298
DM
26742013-01-09 David S. Miller <davem@davemloft.net>
2675
034ed64b 2676 [BZ #15003]
e83d7298
DM
2677 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2678 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2679 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2680 TCP_FASTOPEN): Define.
2681 (tcp_repair_opt): New structure.
2682 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2683 enum values.
2684 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2685 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2686 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2687 (tcp_cookie_transactions): New structure.
2688
d5e0b9bd
AB
26892013-01-09 Anton Blanchard <anton@samba.org>
2690
2691 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2692 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2695
0c07e3ea
JM
26962013-01-09 Joseph Myers <joseph@codesourcery.com>
2697
2698 * include/features.h (__USE_ANSI): Remove.
2699
232f7002
RM
27002013-01-09 Roland McGrath <roland@hack.frob.com>
2701
ad98e30c
RM
2702 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2703
232f7002
RM
2704 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2705
950c99ca
SP
27062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
b5792741
SP
2708 * sysdeps/s390/fpu/libm-test-ulps: Update.
2709
47cf2278
SP
2710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2711
950c99ca
SP
2712 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2713 (__acr): Likewise.
2714 (__cpy): Likewise.
2715 (norm): Likewise.
2716 (denorm): Likewise.
2717 (__mp_dbl): Likewise.
2718 (__dbl_mp): Likewise.
2719 (add_magnitudes): Likewise.
2720 (sub_magnitudes): Likewise.
2721 (__add): Likewise.
2722 (__sub): Likewise.
2723 (__mul): Likewise.
2724 (__inv): Likewise.
2725 (__dvd): Likewise.
2726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2727 (__acr): Likewise.
2728 (__cpy): Likewise.
2729 (norm): Likewise.
2730 (denorm): Likewise.
2731 (__mp_dbl): Likewise.
2732 (__dbl_mp): Likewise.
2733 (add_magnitudes): Likewise.
2734 (sub_magnitudes): Likewise.
2735 (__add): Likewise.
2736 (__sub): Likewise.
2737 (__mul): Likewise.
2738 (__inv): Likewise.
2739 (__dvd): Likewise.
2740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2741 (__acr): Likewise.
2742 (__cpy): Likewise.
2743 (norm): Likewise.
2744 (denorm): Likewise.
2745 (__mp_dbl): Likewise.
2746 (__dbl_mp): Likewise.
2747 (add_magnitudes): Likewise.
2748 (sub_magnitudes): Likewise.
2749 (__add): Likewise.
2750 (__sub): Likewise.
2751 (__mul): Likewise.
2752 (__inv): Likewise.
2753 (__dvd): Likewise.
2754
eede9df9
JM
27552013-01-08 Joseph Myers <joseph@codesourcery.com>
2756
2757 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2758 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2759 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2760 2 && __USE_EXTERN_INLINES]: Likewise.
2761
c40ea3d9
AJ
27622013-01-08 Andreas Jaeger <aj@suse.de>
2763
2764 [BZ# 14985]
2765 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2766 Remove.
2767 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2768 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2769
2ccdea26
AB
27702013-01-07 Anton Blanchard <anton@samba.org>
2771
2772 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2773 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2774 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2775 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2777 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2778 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2779 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2788 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2789 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2790 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2795 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2797 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2802 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2804 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2805 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2815
a9708fed
JM
28162013-01-07 Joseph Myers <joseph@codesourcery.com>
2817
375607b9
JM
2818 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2819 (__MALLOC_PMT): Likewise.
2820 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2821 [__GNUC__], only on [_LIBC].
2822 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2823 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2824 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2825 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2826 forward declaration.
2827 (realloc_hook_ini): Likewise.
2828 (memalign_hook_ini): Likewise.
2829 (__libc_memalign): Do not use __MALLOC_PMT in variable
2830 declaration.
2831 (__libc_valloc): Likewise.
2832 (__libc_pvalloc): Likewise.
2833 (__libc_calloc): Likewise.
2834 (__posix_memalign): Likewise.
2835
a9708fed
JM
2836 [BZ #14996]
2837 * math/s_casinh.c: Include <float.h>.
2838 (__casinh): Do not do computation with squaring and square root
2839 for large arguments.
2840 * math/s_casinhf.c: Include <float.h>.
2841 (__casinhf): Do not do computation with squaring and square root
2842 for large arguments.
2843 * math/s_casinhl.c: Include <float.h>.
2844 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2845 (__casinhl): Do not do computation with squaring and square root
2846 for large arguments.
2847 * math/libm-test.inc (casin_test): Add more tests.
2848 (casinh_test): Likewise.
2849 * sysdeps/i386/fpu/libm-test-ulps: Update.
2850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2851
afec409a
L
28522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2855 (__x86_64_raw_data_cache_size): Likewise.
2856 (__x86_64_data_cache_size_half): Likewise.
2857 (__x86_64_raw_data_cache_size_half): Likewise.
2858 (__x86_64_shared_cache_size): Likewise.
2859 (__x86_64_raw_shared_cache_size): Likewise.
2860 (__x86_64_shared_cache_size_half): Likewise.
2861 (__x86_64_raw_shared_cache_size_half): Likewise.
2862 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2863 to ...
2864 (__x86_data_cache_size): This.
2865 (__x86_64_raw_data_cache_size): Renamed to ...
2866 (__x86_raw_data_cache_size): This.
2867 (__x86_64_data_cache_size_half): Renamed to ...
2868 (__x86_data_cache_size_half): This.
2869 (__x86_64_raw_data_cache_size_half): Renamed to ...
2870 (__x86_raw_data_cache_size_half): This.
2871 (__x86_64_shared_cache_size): Renamed to ...
2872 (__x86_shared_cache_size): This.
2873 (__x86_64_raw_shared_cache_size): Renamed to ...
2874 (__x86_raw_shared_cache_size): This.
2875 (__x86_64_shared_cache_size_half): Renamed to ...
2876 (__x86_shared_cache_size_half): This.
2877 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2878 (__x86_raw_shared_cache_size_half): This.
2879 * sysdeps/x86_64/memcpy.S: Updated.
2880 * sysdeps/x86_64/memset.S: Likewise.
2881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2884
0b3986d0
DM
28852013-01-04 David S. Miller <davem@davemloft.net>
2886
2887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2888
e47686e9
AS
28892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2890
d643bac1
AS
2891 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2892 1 to avoid redefinition warning.
2893 (__USE_GNU): Don't define.
2894 (init_signaling_nan): Protoize.
2895
e47686e9
AS
2896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2897
b18decba
SP
28982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2899
fffb407f
SP
2900 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2902 (__cpymn): Likewise.
2903 (norm): Remove commented code.
2904 (denorm): Likewise.
2905 (__mp_dbl): Likewise.
2906 (__inv): Likewise.
2907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2908 (__cpymn): Likewise.
2909 (norm): Remove commented code.
2910 (denorm): Likewise.
2911 (__mp_dbl): Likewise.
2912 (__inv): Likewise.
2913
b18decba
SP
2914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2915 mp_no value for 1.0 and 2.0.
2916 (norm): Use RADIXI instead of radixi.d.
2917 (denorm): Likewise.
2918 (__mul): Use 0.0 instead of zero.d.
2919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2920 mp_no value for 1.0 and 2.0.
2921 (norm): Use RADIXI instead of radixi.d.
2922 (denorm): Likewise.
2923 (__mul): Use 0.0 instead of zero.d.
2924
cdc1c96f
JM
29252013-01-04 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #14994]
2928 * math/s_casinh.c (__casinh): Reduce finite argument to first
2929 quadrant then set signs of results at the end.
2930 * math/s_casinhf.c (__casinhf): Likewise.
2931 * math/s_casinhl.c (__casinhl): Likewise.
2932 * math/libm-test.inc (casin_test): Add more tests.
2933 (casinh_test): Likewise.
2934 * sysdeps/i386/fpu/libm-test-ulps: Update.
2935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2936
302913e1
SP
29372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2938
6420d207
SP
2939 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2940
a9e48ab4
SP
2941 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2942
b7837264
SP
2943 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2944 declarations.
2945 (denorm): Likewise.
2946 (__mp_dbl): Likewise.
2947 (__inv): Likewise.
2948
f8af25d2
SP
2949 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2950 and adjust the header comment.
2951
302913e1
SP
2952 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2953 variable name from declaration.
2954
5d7dd1ca
L
29552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2958 Initialize COMMON_CPUID_INDEX_7 element.
2959 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2960 (CPUID_RTM): Likewise.
2961 (HAS_RTM): Likewise.
2962 (COMMON_CPUID_INDEX_7): New enum.
2963
2f5f40f4
AS
29642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 [BZ #14981]
2967 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2968 size is zero, record memory as freed.
2969
4056f4a0
AJ
29702013-01-03 Andreas Jaeger <aj@suse.de>
2971
2972 * po/ia.po: Add new Interlingua translation.
2973
ab15736f 29742012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2975
2976 * locale/programs/localedef.c: Fix description of '--posix' flag.
2977
568035b7
JM
29782013-01-02 Joseph Myers <joseph@codesourcery.com>
2979
e6898b8d
JM
2980 * NEWS: Update dates in second copyright notice.
2981 * README: Update copyright dates in example.
2982 * manual/libc.texinfo: Update copyright dates.
2983 * scripts/test-installation.pl: Update copyright date in --version
2984 output.
2985
0e2f9562
JM
2986 * hurd/ctty-input.c: Fix copyright notice formatting.
2987 * hurd/ctty-output.c: Likewise.
2988 * hurd/dtable.c: Likewise.
2989 * hurd/hurd-raise.c: Likewise.
2990 * hurd/hurdprio.c: Likewise.
2991 * hurd/msgportdemux.c: Likewise.
2992 * misc/sys/file.h: Likewise.
2993 * misc/sys/ioctl.h: Likewise.
2994 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2995 * sysdeps/mach/hurd/chdir.c: Likewise.
2996 * sysdeps/mach/hurd/fchdir.c: Likewise.
2997 * sysdeps/mach/hurd/rename.c: Likewise.
2998 * sysdeps/mach/hurd/rmdir.c: Likewise.
2999 * sysdeps/mach/hurd/seekdir.c: Likewise.
3000 * sysdeps/mach/hurd/setsid.c: Likewise.
3001 * sysdeps/posix/wait3.c: Likewise.
3002
568035b7
JM
3003 * All files with FSF copyright notices: Update copyright dates
3004 using scripts/update-copyrights.
3005 * intl/plural.c: Regenerated.
3006 * locale/programs/charmap-kw.h: Likewise.
3007 * locale/programs/locfile-kw.h: Likewise.
3008
da08f647
SP
30092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3010
0f5477af
SP
3011 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3012 four values.
3013
44e0d4c2
SP
3014 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3015 calculation loop and add branch prediction.
3016
4d55b4e5
SP
3017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3018 check access beyond bounds of m1np.
3019
da08f647
SP
3020 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3021 MPTWO.
3022 (__inv): Remove local variable MPTWO to use the global
3023 constant.
3024 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3026 variable MPTWO.
3027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3028 MP3HALFS static const.
3029
8e051029
DM
30302013-01-01 David S. Miller <davem@davemloft.net>
3031
3032 * po/ca.po: Update from translation team.
3033
f4cf5f2d
JM
30342013-01-01 Joseph Myers <joseph@codesourcery.com>
3035
3036 * scripts/update-copyrights: New file.
3037 * Makeconfig: Reformat copyright notice.
3038 * ctype/ctype.h: Likewise.
3039 * debug/swprintf_chk.c: Likewise.
3040 * elf/dl-cache.c: Likewise.
3041 * elf/dl-debug.c: Likewise.
3042 * elf/dl-object.c: Likewise.
3043 * grp/initgroups.c: Likewise.
3044 * hurd/Makefile: Likewise.
3045 * hurd/hurd/signal.h: Likewise.
3046 * hurd/hurdfault.c: Likewise.
3047 * hurd/hurdioctl.c: Likewise.
3048 * hurd/hurdlookup.c: Likewise.
3049 * hurd/intr-msg.c: Likewise.
3050 * iconv/gconv_open.c: Likewise.
3051 * libio/swprintf.c: Likewise.
3052 * locale/lc-ctype.c: Likewise.
3053 * locale/nl_langinfo.c: Likewise.
3054 * mach/Machrules: Likewise.
3055 * mach/Makefile: Likewise.
3056 * malloc/obstack.h: Likewise.
3057 * manual/Makefile: Likewise.
3058 * manual/tsort.awk: Likewise.
3059 * misc/bits/stab.def: Likewise.
3060 * nis/nis_print_group_entry.c: Likewise.
3061 * nis/nis_table.c: Likewise.
3062 * nis/nss_compat/compat-pwd.c: Likewise.
3063 * nis/nss_compat/compat-spwd.c: Likewise.
3064 * po/Makefile: Likewise.
3065 * posix/fnmatch.c: Likewise.
3066 * posix/regex.h: Likewise.
3067 * resolv/Makefile: Likewise.
3068 * resolv/nss_dns/dns-network.c: Likewise.
3069 * resolv/res_hconf.c: Likewise.
3070 * scripts/gen-sorted.awk: Likewise.
3071 * soft-fp/soft-fp.h: Likewise.
3072 * stdio-common/printf.h: Likewise.
3073 * stdlib/monetary.h: Likewise.
3074 * stdlib/random.c: Likewise.
3075 * stdlib/random_r.c: Likewise.
3076 * sysdeps/generic/Makefile: Likewise.
3077 * sysdeps/gnu/Makefile: Likewise.
3078 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3089 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3090 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3091 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3098 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3099 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3100 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3106 * sysdeps/mach/hurd/errnos.awk: Likewise.
3107 * sysdeps/mach/hurd/fork.c: Likewise.
3108 * sysdeps/mach/hurd/getcwd.c: Likewise.
3109 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3110 * sysdeps/mach/hurd/mmap.c: Likewise.
3111 * sysdeps/mach/hurd/utimes.c: Likewise.
3112 * sysdeps/mach/hurd/xmknod.c: Likewise.
3113 * sysdeps/posix/profil.c: Likewise.
3114 * sysdeps/posix/readdir_r.c: Likewise.
3115 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3116 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3117 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3118 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3120 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3121 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3122 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3126 * sysdeps/pthread/lio_listio.c: Likewise.
3127 * sysdeps/sparc/dl-procinfo.h: Likewise.
3128 * sysdeps/unix/i386/sysdep.S: Likewise.
3129 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3130 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3131 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3132 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3134 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3135 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3136 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3137 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3138 * sysdeps/wordsize-32/divdi3.c: Likewise.
3139 * time/sys/time.h: Likewise.
3140 * wcsmbs/Makefile: Likewise.
3141
0549fbba
DM
31422013-01-01 David S. Miller <davem@davemloft.net>
3143
a141f1a7
DM
3144 * po/fr.po: Update from translation team.
3145
0549fbba
DM
3146 * catgets/gencat.c: Update copyright year.
3147 * csu/version.c: Likewise.
3148 * debug/catchsegv.sh: Likewise.
3149 * debug/pcprofiledump.c: Likewise.
3150 * debug/xtrace.sh: Likewise.
3151 * elf/ldconfig.c: Likewise.
3152 * elf/ldd.bash.in: Likewise.
3153 * elf/pldd.c: Likewise.
3154 * elf/sotruss.ksh: Likewise.
3155 * elf/sprof.c: Likewise.
3156 * iconv/iconv_prog.c: Likewise.
3157 * iconv/iconvconfig.c: Likewise.
3158 * locale/programs/locale.c: Likewise.
3159 * locale/programs/localedef.c: Likewise.
3160 * login/programs/pt_chown.c: Likewise.
3161 * malloc/memusage.sh: Likewise.
3162 * malloc/memusagestat.c: Likewise.
3163 * malloc/mtrace.pl: Likewise.
3164 * nscd/nscd.c: Likewise.
3165 * nss/getent.c: Likewise.
3166 * nss/makedb.c: Likewise.
3167 * posix/getconf.c: Likewise.
3168
18ea052c
SP
31692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3170
3171 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3172 numbers.
3173
9c89fca6
MF
31742012-12-30 Mike Frysinger <vapier@gentoo.org>
3175
3176 * math/bits/mathcalls.h (modf): Use __nonnull.
3177
085ec079
SP
31782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3179
3180 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3181 (split): Use macro CN instead of the bare value.
3182 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3183 could be used.
3184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3185 instead of the bare value.
3186 (power1): Likewise.
3187
6d9f97e1
SP
31882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
d63f73be
SP
3190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3191 __ATAN_TWOM.
3192 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3193
6d9f97e1
SP
3194 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3195 their values.
3196 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3198 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3200
4c4febf5
AJ
32012012-12-28 Andreas Jaeger <aj@suse.de>
3202
af5843ef
AJ
3203 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3204 values are from Linux 3.7.
3205
4c4febf5
AJ
3206 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3207 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3208
99136f82
SP
32092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3210
2f216c3c 3211 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3212 TRUE case.
3213
99136f82
SP
3214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3215 (norm): Likewise.
3216 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3217 variables with preprocessor constants.
3218 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3219 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3220 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3221
7fffbdff
BH
32222012-12-27 Bruno Haible <bruno@clisp.org>
3223
3224 [BZ #14317]
3225 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3226 only if needed.
3227
b76eb5f0
SP
32282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
31a7fe5c
SP
3230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3231 and use variable directly.
3232 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3233
b76eb5f0
SP
3234 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3235 MPONE.
3236 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3238 variable MPONE.
3239 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3241 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3242 include directive. Remove local variable MPONE.
3243 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3244 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3246
2c8bfe7d
DM
32472012-12-25 David S. Miller <davem@davemloft.net>
3248
3249 * version.h (RELEASE): Set to "development".
3250 (VERSION): Set to "2.17.90".
3251 * NEWS: Add 2.18 section.
3252
147d03b0
DM
32532012-12-21 David S. Miller <davem@davemloft.net>
3254
3255 * po/hr.po: Update from translation team.
3256
a8ebb2b9
AK
32572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3258
3259 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3260
95b4f1b6
SE
32612012-12-19 Steve Ellcey <sellcey@mips.com>
3262
b2d94007 3263 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3264
cedb2a90
MS
32652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3266
3267 * manual/contrib.texi (Contributors): Spelling correction.
3268
bbf527d6
DM
32692012-12-15 David S. Miller <davem@davemloft.net>
3270
3271 * po/ru.po: Update from translation team.
3272
bc38c906
DM
32732012-12-13 David S. Miller <davem@davemloft.net>
3274
85429b1a
DM
3275 * NEWS: Mention IFUNC testsuite enhancements.
3276
d283e353
DM
3277 * po/pl.po: Update from translation team.
3278 * po/bg.po: Likewise.
3279
bc38c906
DM
3280 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3281 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3282
a181b0d7
DM
32832012-12-11 David S. Miller <davem@davemloft.net>
3284
4641d57e
DM
3285 * po/sv.po: Update from translation team.
3286
f7bc6495
DM
3287 * po/vi.po: Update from translation team.
3288
6fc9048f
DM
3289 * po/cs.po: Update from translation team.
3290
a181b0d7
DM
3291 * po/de.po: Update from translation team.
3292 * po/eo.po: Likewise.
3293 * po/nl.po: Likewise.
3294
f70bfe80
SP
32952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3296
3c8b4190
SP
3297 [BZ #14246]
3298 * manual/argp.texi (Argp Helper Functions): Move node to follow
3299 Argp Parsing State.
3300
f70bfe80
SP
3301 [BZ #14872]
3302 * manual/conf.texi (Limits on File System Capacity): Mention if
3303 terminating null is included in the max size.
3304
188f0adf
AJ
33052012-12-10 Andreas Jaeger <aj@suse.de>
3306
3307 * po/cs.po: Update from translation team.
3308
56e7d3ad
SP
33092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3310
3311 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3312 void pointer and cast to uintptr_t.
3313 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3314 path.
3315 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3316 * sysdeps/s390/s390-64/memset.S: Likewise.
3317
76f2d2ea 33182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3319
3320 [BZ #14833]
3321 * menual/message.texi (Message Translation): Fix typos.
3322 (Helper programs for gettext): Likewise.
3323
67cbf9a2
AS
33242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3325
3326 [BZ #14898]
3327 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3328 Change to -1.
3329
682d0e9a
DM
33302012-12-07 David S. Miller <davem@davemloft.net>
3331
3332 * po/libc.pot: Update.
3333
573cd484
RH
33342012-12-07 Richard Henderson <rth@redhat.com>
3335
7e9da188 3336 [BZ #10114]
573cd484
RH
3337 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3338 normal/normal case to before the switch.
3339 (_FP_DIV): Likewise.
3340
e933a943
MF
33412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3342 Mike Frysinger <vapier@gentoo.org>
3343
3344 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3345 check for __NR_fadvise64_64.
3346
82123268
CM
33472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3348
3349 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3350 0, not just to plain "0" as a statement.
3351 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3352 with cw.
3353
d9814526
JM
33542012-12-06 Joseph Myers <joseph@codesourcery.com>
3355
3356 * NEWS: Use sourceware.org in Bugzilla URL.
3357
7728c574
SP
33582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3359
f16946dd
SP
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3361 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3362
5704bbcb
SP
3363 * stdio-common/tst-put-error.c (do_test): Add newline to the
3364 padded test to ensure flush.
3365
17aa0516
JL
33662012-12-05 Jeff Law <law@redhat.com>
3367
3368 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3369
363313b5
JM
33702012-12-05 Joseph Myers <joseph@codesourcery.com>
3371
effbd42a
JM
3372 * README: Don't refer to ports add-on as distributed separately.
3373 Mention AArch64 in list of systems supported in the ports add-on.
3374
87600365
JM
3375 * LICENSES: Add more non-FSF copyright and license notices.
3376
a0d7066a
JM
3377 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3378 ((unused)).
3379
66ca5a5b
JM
3380 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3381
363313b5
JM
3382 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3383 10000 as width of padded output.
3384
b37984ad
JM
33852012-12-04 Joseph Myers <joseph@codesourcery.com>
3386
9003570a
JM
3387 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3388
b37984ad
JM
3389 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3390 variable LX with __attribute__ ((unused)).
3391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3392 Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3395 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3396 with __attribute__ ((unused)).
3397
c8df52ec
DM
33982012-12-04 David S. Miller <davem@abraco.davemloft.net>
3399
3400 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3401
b3b099af
JM
34022012-12-04 Joseph Myers <joseph@codesourcery.com>
3403
c33aa6e3
JM
3404 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3405 (CFLAGS-nldbl-acos.c): New variable.
3406 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3407 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3408 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3409 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3410 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3411 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3412 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3413 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3414 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3415 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3416 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3417 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3418 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3419 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3420 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3421 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3422 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3423 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3424 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3425 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3426 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3427 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3428 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3429 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3430 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3431 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3432 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3433 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3434 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3435 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3436 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3437 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3438 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3439 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3440 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3441 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3442 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3443 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3444 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3445 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3446 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3447 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3448 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3449 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3450 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3451 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3452 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3453 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3454 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3455 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3456 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3457 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3458 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3459 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3460 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3461 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3462 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3463 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3464 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3465 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3466 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3467 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3468 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3469 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3470 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3471 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3472 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3473 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3474 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3475 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3476 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3477 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3478 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3479 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3480 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3481 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3482 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3483 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3484 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3485 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3486 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3487 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3488 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3489 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3490 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3491 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3492 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3493 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3494 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3495 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3496 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3497 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3498 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3499 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3500 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3501 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3502 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3503
20f0018d
JM
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3505 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3506
b3b099af
JM
3507 [BZ #14914]
3508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3509 whole low double instead of just low 47 bits when splitting values
3510 into two parts.
3511
029264d1
AM
35122012-12-03 Allan McRae <allan@archlinux.org>
3513
3514 * manual/stdio.texi (Predefined Printf Handlers): Remove
3515 @hsep and @vsep usage.
3516
c9d6789e
MF
35172012-12-03 Mike Frysinger <vapier@gentoo.org>
3518
3519 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3520 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3521
4b7634a5
JL
35222012-12-03 Jeff Law <law@redhat.com>
3523
3524 * time/sys/time.h (settimeofday): Do not mark TV argument
3525 as __nonnull.
3526
eb6cbd24
MF
35272012-12-01 Mike Frysinger <vapier@gentoo.org>
3528
3529 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3530 when currently writing and seek to current position when not.
3531 * libio/Makefile (tests): Remove bug-fclose1.
3532 * libio/bug-fclose1.c: Delete.
3533
f638872a
JM
35342012-12-01 Joseph Myers <joseph@codesourcery.com>
3535
3536 * manual/arith.texi (feenableexcept): Fix typo.
3537 (fedisableexcept): Likewise.
3538
48085d14
RM
35392012-11-30 Roland McGrath <roland@hack.frob.com>
3540
3541 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3542 second, differently-typed declaration, rather than a cast.
3543
1a538b9f
SP
35442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3545
3546 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3547 * include/rpc/svc.h: ... here.
3548
d07f2ff1 35492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3550
3551 [BZ #13013]
3552 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3553 depending n and resplen2 to catch cases where answer
3554 equals answerp2.
3555
c93ec1f0
CD
35562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3557
3558 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3559 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3560
37db69de
MF
35612012-11-29 Mike Frysinger <vapier@gentoo.org>
3562
3563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3564
e10c4e4f
RM
35652012-11-29 Roland McGrath <roland@hack.frob.com>
3566
3567 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3568
2af1b328
JL
35692012-11-28 Jeff Law <law@redhat.com>
3570
3571 [BZ #13761]
3572 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3573 dataset_temporary. Track alloca usage into alloca_used.
3574 If dataset is large allocate and release it via malloc/free.
3575
111db5b1
FW
35762012-06-04 Florian Weimer <fweimer@redhat.com>
3577
f06cc227 3578 [BZ #14197]
111db5b1
FW
3579 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3580
dd694abd
DM
35812012-11-28 David S. Miller <davem@davemloft.net>
3582
3583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3584
9984dd01
JM
35852012-11-28 Joseph Myers <joseph@codesourcery.com>
3586
3587 [BZ #14803]
3588 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3589 of pi/2 rounded to nearest to 64 bits.
3590 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3591 nearest to 64 bits.
3592 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3593 bits.
3594
14bc93a9
JL
35952012-11-28 Jeff Law <law@redhat.com>
3596 Martin Osvald <mosvald@redhat.com>
3597
3598 [BZ #14889]
3599 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3600 * sunrpc/svc.c: Include time.h.
3601 (__svc_accept_failed): New function.
3602 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3603 any reason other than EINTR, call __svc_accept_failed.
3604 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3605 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3606
e3c6aa3a
AS
36072012-11-28 Andreas Schwab <schwab@suse.de>
3608
3609 * scripts/abilist.awk: Also handle indirect functions in .opd
3610 section.
3611
1bead169
JM
36122012-11-28 Joseph Myers <joseph@codesourcery.com>
3613
3614 [BZ #13881]
3615 * sysdeps/x86/fpu/powl_helper.c: New file.
3616 * sysdeps/x86/fpu/Makefile: Likewise.
3617 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3618 (p3): New object.
3619 (__ieee754_powl): Use __powl_helper for finite arguments except
3620 integer exponents below 8.
3621 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3622 (p3): New object.
3623 (__ieee754_powl): Use __powl_helper for finite arguments except
3624 integer exponents below 8.
3625 * math/libm-test.inc (pow_test): Add more tests and enable some
3626 previously disabled tests.
3627 * sysdeps/i386/fpu/libm-test-ulps: Update.
3628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3629
0817d63d
SP
36302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3631 Carlos O'Donell <carlos_odonell@mentor.com>
3632
3633 * nss/makedb.c (is_prime): Assert that input is odd and greater
3634 than 4. Note that fact in a comment too.
3635 (next_prime): Add 4 to input.
3636
de2fd463
SP
36372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3638
3639 [BZ #11741]
3640 * libio/Makefile (tests): Add test case tst-fwrite-error.
3641 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3642 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3643 * libio/tst-fwrite-error.c: New test case.
3644
c515fb51
L
36452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3646
3647 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3648 before casting to void *.
3649 * include/libc-internal.h (__pointer_type): New macro.
3650 (__integer_if_pointer_type_sub): Likewise.
3651 (__integer_if_pointer_type): Likewise.
3652 (cast_to_integer): Likewise.
3653 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3654 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3655 before casting to atomic64_t.
3656 (atomic_exchange_acq): Likewise.
3657 (__arch_exchange_and_add_body): Likewise.
3658 (__arch_add_body): Likewise.
3659 (atomic_add_negative): Likewise.
3660 (atomic_add_zero): Likewise.
3661
4cf77aa9
JM
36622012-11-26 Joseph Myers <joseph@codesourcery.com>
3663
3664 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3665 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3666 (add_fdes): Likewise.
3667 (linear_search_fdes): Likewise.
3668 (binary_search_unencoded_fdes): Likewise.
3669
d260b3b4
AS
36702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3673
67060746
AC
36742012-11-24 Adam Conrad <adconrad@0c3.net>
3675
3676 * configure.in: Autodetect C++ header directories.
3677 * configure: Regenerated.
3678
800938a1
MF
36792012-11-23 Mike Frysinger <vapier@gentoo.org>
3680
3681 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3682
4e6e34e6
AS
36832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3684
3685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3686
7c7feb47
JM
36872012-11-22 Joseph Myers <joseph@codesourcery.com>
3688
7184dcdf
JM
3689 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3690 LDBL_MANT_DIG == 106]: Disable some tests.
3691 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3692 Likewise.
3693 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3694 Likewise.
3695
0a42601f
JM
3696 [BZ #14871]
3697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3698 input for small inputs. Return +/- pi/2 for large inputs.
3699 * math/libm-test.inc (atan_test): Add more tests.
3700
79c9b9fe
JM
3701 * sysdeps/generic/unwind-dw2-fde-glibc.c
3702 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3703 __attribute__ ((unused)).
3704
c60d3bf2
JM
3705 [BZ #14645]
3706 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3707 x * y if x and y are nonzero and z is zero.
3708
ef1e0867
JM
3709 [BZ #14811]
3710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3711 nonzero exponents with absolute value below 0x1p-117 to +/-
3712 0x1p-117.
3713
1468ded3
JM
3714 [BZ #14869]
3715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3716 up arguments below 2**-450, not just those below 2**-500.
3717 * math/libm-test.inc (hypot_test): Add another test.
3718
8e27e3cc
JM
3719 [BZ #14868]
3720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3721 Return a+b for ratio over 2**120, not 2**60.
3722 * math/libm-test.inc (hypot_test): Add another test.
3723
c9c0279b
JM
3724 * math/libm-test.inc (clog_test): Use
3725 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3726 (clog10_test): Likewise.
3727
7c7feb47
JM
3728 [BZ #6778]
3729 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3730
fff1530e
AS
37312012-11-22 Andreas Schwab <schwab@suse.de>
3732
3733 * sysdeps/i386/fpu/libm-test-ulps: Update.
3734
94558d30
PT
37352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3736
3737 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3738 printf output with newline.
3739
7e1be741
L
37402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3741
6bfea974
L
3742 [BZ #14865]
3743 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3744 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3745 -z nodlopen, -z initfirst and -z execstack support.
3746 * configure: Regenerated.
3747
7e1be741
L
3748 * elf/elf.h (DF_1_NODIRECT): New macro.
3749 (DF_1_IGNMULDEF): Likewise.
3750 (DF_1_NOKSYMS): Likewise.
3751 (DF_1_NOHDR): Likewise.
3752 (DF_1_EDITED): Likewise.
3753 (DF_1_NORELOC): Likewise.
3754 (DF_1_SYMINTPOSE): Likewise.
3755 (DF_1_GLOBAUDIT): Likewise.
3756 (DF_1_SINGLETON): Likewise.
3757 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3758 DT_1_SUPPORTED_MASK bits.
3759 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3760
105ce2ce
CD
37612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3762
3763 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3764
123be9de
TS
37652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3766
d072f3f7
TS
3767 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3768 macro.
3769
123be9de
TS
3770 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3771 (sendmmsg): Move declarations...
3772 * socket/sys/socket.h: ... here.
3773 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3774 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3775 include it from...
3776 * socket/recvmmsg.c: ... this new file.
3777 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3778 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3779 definition of __sendmmsg hidden.
3780 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3781 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3782 Move ENOSYS stub into and include it from...
3783 * socket/sendmmsg.c: ... this new file.
3784 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3785 (sysdep_routines): Move recvmmsg and sendmmsg...
3786 * socket/Makefile (routines): ... here.
3787 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3788 (GLIBC_PRIVATE): Add __sendmmsg.
3789 * include/sys/socket.h (__sendmmsg): Add declarations.
3790 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3791 sendmmsg.
3792
cf9a5d18
JM
37932012-11-20 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3796 variable I1 with __attribute__ ((unused)).
3797 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3798
ecd4caf9
JM
37992012-11-19 Joseph Myers <joseph@codesourcery.com>
3800
be14d48f
JM
3801 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3802 DUMMY variables with __attribute__ ((unused)).
3803
ecd4caf9
JM
3804 * bits/byteswap.h: Include <bits/types.h>.
3805 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3806
986cab95
PT
38072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3808
3809 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3810 string_t. Do not manually set errno.
3811 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3812 length with __strnlen. Make sure to both set errno and return it on
3813 failure.
3814
6d33cc9d
DM
38152012-11-19 David S. Miller <davem@davemloft.net>
3816
3817 With help from Joseph Myers.
3818 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3819 very large arguments properly.
3820 * math/libm-test.inc (atan_test): New tests.
3821 (atan2_test): New tests.
3822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3824
ee663277
JM
38252012-11-19 Joseph Myers <joseph@codesourcery.com>
3826
877f2d8e
JM
3827 [BZ #14856]
3828 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3829 Define to 3.
3830
116fc08a
JM
3831 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3832 [POSIX] (EADDRNOTAVAIL): Likewise.
3833 [POSIX] (EAFNOSUPPORT): Likewise.
3834 [POSIX] (EALREADY): Likewise.
3835 [POSIX] (ECONNABORTED): Likewise.
3836 [POSIX] (ECONNREFUSED): Likewise.
3837 [POSIX] (ECONNRESET): Likewise.
3838 [POSIX] (EDESTADDRREQ): Likewise.
3839 [POSIX] (EDQUOT): Likewise.
3840 [POSIX] (EHOSTUNREACH): Likewise.
3841 [POSIX] (EIDRM): Likewise.
3842 [POSIX] (EISCONN): Likewise.
3843 [POSIX] (ELOOP): Likewise.
3844 [POSIX] (EMULTIHOP): Likewise.
3845 [POSIX] (ENETDOWN): Likewise.
3846 [POSIX] (ENETUNREACH): Likewise.
3847 [POSIX] (ENOBUFS): Likewise.
3848 [POSIX] (ENODATA): Likewise.
3849 [POSIX] (ENOLINK): Likewise.
3850 [POSIX] (ENOMSG): Likewise.
3851 [POSIX] (ENOPROTOOPT): Likewise.
3852 [POSIX] (ENOSR): Likewise.
3853 [POSIX] (ENOSTR): Likewise.
3854 [POSIX] (ENOTCONN): Likewise.
3855 [POSIX] (ENOTSOCK): Likewise.
3856 [POSIX] (EOPNOTSUPP): Likewise.
3857 [POSIX] (EOVERFLOW): Likewise.
3858 [POSIX] (EPROTO): Likewise.
3859 [POSIX] (EPROTONOSUPPORT): Likewise.
3860 [POSIX] (EPROTOTYPE): Likewise.
3861 [POSIX] (ESTALE): Likewise.
3862 [POSIX] (ETIME): Likewise.
3863 [POSIX] (ETXTBSY): Likewise.
3864 [POSIX] (EWOULDBLOCK): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3866 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3867 [POSIX] (SEEK_CUR): Likewise.
3868 [POSIX] (SEEK_END): Likewise.
3869 [POSIX || UNIX98] (mode_t): Do not require.
3870 [POSIX] (off_t): Likewise.
3871 [POSIX] (pid_t): Likewise.
3872 [POSIX] (sys/stat.h): Do not allow header.
3873 [POSIX] (unistd.h): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3875 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3877 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3878 require.
3879 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3880 sigevent): Specify elements.
3881 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3882 entry.
3883 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3884 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3885
a483863f
JM
3886 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3887 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3888 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3889 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3890 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3891 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3892 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3893 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3895 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3896 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3897 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3898 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3900 Likewise.
3901 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3902 Likewise.
3903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3904 Likewise.
3905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3906 Likewise.
3907 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3909 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3910 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3912 Specify lower bound on value.
3913 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3919 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3920 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3921 value.
3922 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3923 as optional.
3924 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3940 entry.
3941 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3942 optional.
3943 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3947 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3949 Likewise.
3950 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3951 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3952 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3954 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3955 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3957 as optional.
3958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3961 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3962 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3963 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3964 specify as optional.
3965 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3966 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3967 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3968 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3969 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3970 [XPG3] (NL_LANGMAX): Likewise.
3971 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3972 [POSIX || XPG3] (NL_NMAX): Likewise.
3973 [POSIX || XPG3] (NL_SETMAX): Likewise.
3974 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3975 [XPG3] (NZERO): Likewise.
3976 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3977 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3978 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3979 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3980 (REG_ERANGE): Expect.
3981 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3982 optional-constant.
3983 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3984 Use (void) in prototype.
3985 [POSIX] (*_t): Allow.
3986 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3987 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3988 (WRDE_BADVAL): Expect.
3989
5ba924e3
JM
3990 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3991 expect.
3992 [XPG3 || XPG4] (O_RSYNC): Likewise.
3993 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3994 Likewise.
3995 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3996 [XPG3 || XPG4] (sigqueue): Likewise.
3997 [XPG3 || XPG4] (sigtimedwait): Likewise.
3998 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3999 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4000 [XPG3 || XPG4] (vsnprintf): Likewise.
4001 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4002 Likewise.
4003 [XPG3 || XPG4] (blksize_t): Likewise.
4004 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4005 Likewise.
4006 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4007 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4008 [XPG3 || XPG4] (struct itimerspec): Likewise.
4009 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4010 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4011 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4012 [XPG3 || XPG4] (clockid_t): Likewise.
4013 [XPG3 || XPG4] (timer_t): Likewise.
4014 [XPG3 || XPG4] (clock_getres): Likewise.
4015 [XPG3 || XPG4] (clock_gettime): Likewise.
4016 [XPG3 || XPG4] (clock_settime): Likewise.
4017 [XPG3 || XPG4] (nanosleep): Likewise.
4018 [XPG3 || XPG4] (timer_create): Likewise.
4019 [XPG3 || XPG4] (timer_delete): Likewise.
4020 [XPG3 || XPG4] (timer_gettime): Likewise.
4021 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4022 [XPG3 || XPG4] (timer_settime): Likewise.
4023 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4024 [XPG3 || XPG4] (getlogin_r): Likewise.
4025 [XPG3 || XPG4] (pread): Likewise.
4026 [XPG3 || XPG4] (pthread_atfork): Likewise.
4027 [XPG3 || XPG4] (pwrite): Likewise.
4028
ee663277
JM
4029 [BZ #14835]
4030 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4031 <bits/siginfo.h>.
4032
942caa16
PT
40332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4034
e19af380
PT
4035 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4036 finalizing MALLSTREAM.
4037
942caa16
PT
4038 * sysdeps/mach/hurd/syncfs.c: New file.
4039
cfde9b46
SP
40402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 [BZ #14719]
4043 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4044 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4045 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4046 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4047 (_nss_dns_gethostbyname4_r): Likewise.
4048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4049 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4050
f6da27e5
PH
40512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4052
4053 [BZ #13763]
4054 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4055
6665d4a2
SM
40562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4057
1f51ee92
SM
4058 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4059 * elf/cache.c (print_entry): Print ",AArch64" for
4060 FLAG_AARCH64_LIB64
4061
6665d4a2
SM
4062 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4063 * elf/cache.c (print_entry): Print ",hard-float" for
4064 FLAG_ARM_LIBHF.
4065
05b227bd
DM
40662012-11-18 David S. Miller <davem@davemloft.net>
4067
4068 With help from Joseph Myers.
4069 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4070 cutoff to 2**-13.
4071 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4072 cutoff to 2**-25.
4073 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4074 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4075 small.
4076 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4077 * math/libm-test.inc (y0_test): New tests.
4078 (y1_test): New tests.
4079 * sysdeps/i386/fpu/libm-test-ulps: Update.
4080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4082
786b0b67
AS
40832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4084
4085 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4086 64-bit targets.
4087 * configure: Regenerated.
4088
8e18b86d
DM
40892012-11-17 David S. Miller <davem@davemloft.net>
4090
4091 [BZ #14811]
4092 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4093 nonzero exponents with absolute value below 0x1p-128 to +/-
4094 0x1p-128.
4095
531f1ae0
JM
40962012-11-17 Joseph Myers <joseph@codesourcery.com>
4097
12df29e2
JM
4098 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4099
150dc1a0
JM
4100 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4101
531f1ae0
JM
4102 * posix/getconf-speclist.c: New file.
4103 * posix/posix-envs.def: Likewise.
4104 * posix/confstr.c (START_ENV_GROUP): New macro.
4105 (END_ENV_GROUP): Likewise.
4106 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4107 (KNOWN_PRESENT_ENV_STRING): Likewise.
4108 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4109 (UNKNOWN_ENVIRONMENT): Likewise.
4110 (confstr): Include posix-envs.def instead of handling
4111 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4112 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4113 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4114 (END_ENV_GROUP): Likewise.
4115 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4116 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4117 (UNKNOWN_ENVIRONMENT): Likewise.
4118 (__sysconf): Include posix-envs.def instead of handling associated
4119 cases directly here.
4120 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4121 preprocessing getconf-speclist.c rather than running getconf or
4122 generating empty file.
4123
a93f9cbc
PT
41242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4125
4126 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4127
d64d9f87
AL
41282012-11-16 Andrej Lajovic <natrij@gmail.com>
4129
4130 [BZ #14672]
4131 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4132
447885eb
DM
41332012-11-16 David S. Miller <davem@davemloft.net>
4134
4135 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4136 smaller than LDBL_EPSILON/2.0L, just return xm1.
4137
bcbf9830
L
41382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * elf/tst-array1.c (init): Set constructor priority to 1000.
4141 (fini): Set destructor priority to 1000.
4142 * elf/tst-array2dep.c: Likewise.
4143
2b766585
SP
41442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4145
4146 [BZ #11741]
4147 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4148 (_IO_new_file_xsputn): Also return EOF if none of the input
4149 data was written when overflow failed.
4150 * libio/iopadn.c (_IO_padn): Likewise.
4151 * libio/iowpadn.c (_IO_wpadn): Likewise.
4152 * stdio-common/tst-put-error.c: Add copyright notice.
4153 (do_test): Add case for printing padded string.
4154 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4155 _IO_padn returned error.
4156 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4157 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4158 return EOF.
4159
b1848fde
SP
41602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4161
4162 * libio/libioP.h: Add comment note that the references to C++
4163 bits are now obsolete.
4164
2fd89785
MS
41652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4166
4167 * math/libm-test.inc (check_complex): Use asprintf.
4168
e3ea5409
JM
41692012-11-14 Joseph Myers <joseph@codesourcery.com>
4170
4171 * debug/pcprofiledump.c (print_version): Update copyright year.
4172 * malloc/memusagestat.c (print_version): Likewise.
4173
2e64d265
L
41742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 [BZ #14831]
4177 * elf/Makefile (tests): Add tst-audit8.
4178 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4179 ($(objpfx)tst-audit8.out): New target.
4180 (tst-audit8-ENV): New variable.
4181 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4182 audit if l_reloc_result is NULL.
4183 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4184 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4185 * elf/tst-audit8.c: New file.
4186
c485e4d2
MS
41872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4188
4189 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4190 * misc/Makefile (CFLAGS-select.c): Define.
4191 * posix/Makefile (CFLAGS-pause.c): Define.
4192
3a0d900a
DM
41932012-11-13 David S. Miller <davem@davemloft.net>
4194
4195 * crypt/Makefile: Move test targets after toplevel Rules
4196 inclusion. Grab any necessary sysdep routines when linking.
4197 * crypt/md5.c (md5_process_block): Remove define, we will always
4198 name it __md5_process_block.
4199 (md5_finish_ctx): Update md5_process_block call.
4200 (md5_stream): Likewise.
4201 (md5_process_bytes): Likewise.
4202 (md5_process_block): Rename to __md5_process_block and move to ...
4203 * crypt/md5-block.c: ... here.
4204 * crypt/sha256.c (sha256_process_block): Move to ...
4205 * crypt/sha256-block.c: ... here.
4206 * crypt/sha512.c (sha512_process_block): Move to ...
4207 * crypt/sha512-block.c: ... here.
4208 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4209 path.
4210 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4211 * sysdeps/sparc/sparc64/multiarch/Makefile
4212 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4213 crypt subdir.
4214 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4215 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4216 multiarch changes.
4217 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4218 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4219 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4220 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4221 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4222 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4223 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4224 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4226 file.
4227 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4229 file.
4230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4231
8ca89318
JM
42322012-11-13 Joseph Myers <joseph@codesourcery.com>
4233
e27d476a
JM
4234 * timezone/tzselect.ksh: Update from tzcode git revision
4235 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4236 * timezone/zdump.c: Likewise.
4237 * timezone/zic.c: Likewise.
4238 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4239 in TZVERSION setting, not $(PKGVERSION).
4240 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4241 REPORT_BUGS_TO settings.
4242
8ca89318
JM
4243 [BZ #14838]
4244 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4245 macro.
4246
47594329
MS
42472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4248
4249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4250 detection to immediately after _FP_ROUND().
4251 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4252 bits are 0.
4253
640ac3f1
DM
42542012-11-11 David S. Miller <davem@davemloft.net>
4255
4256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4257 inttypes.h
4258 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4259 __close rather than their public counterparts.
4260
3d2577bb
JM
42612012-11-10 Joseph Myers <joseph@codesourcery.com>
4262
4263 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4264 file.
4265 [UNIX98] (sem_timedwait): Do not expect.
4266 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4267 [XPG4 || UNIX98] (sockatmark): Do not expect.
4268 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4269 (clock_getcpuclockid): Do not expect.
4270 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4271 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4272 Do not expect.
4273 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4274 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4275 [UNIX98] (vwscanf): Likewise.
4276 [UNIX98] (vswscanf): Likewise.
4277
fb1ae1ee
JM
42782012-11-09 Joseph Myers <joseph@codesourcery.com>
4279
9ec6f8bd
JM
4280 * timezone/version.h: Remove file.
4281 * timezone/README: Do not refer to version.h.
4282 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4283 $(objpfx)version.h.
4284 ($(objpfx)zdump.o): Likewise.
c3f81911 4285 ($(objpfx)version.h): New target.
9ec6f8bd 4286
0aa8f8a1
JM
4287 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4288 2012i.
4289 * timezone/README: Don't mention modification to tzselect.ksh.
4290 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4291 work on unmodified tzselect.ksh. Substitute version numbers in
4292 tzselect.ksh.
4293
4e87147f
JM
4294 * Makefile (format-me): Remove.
4295 (INSTALL): Adjust indentation. Use commands directly instead of
4296 using $(format-me).
4297
8b748aed
JM
4298 * aclocal.m4 (ACX_PKGVERSION): New macro.
4299 (ACX_BUGURL): Likewise.
4300 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4301 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4302 (REPORT_BUGS_TO): Likewise.
4303 * configure: Regenerated.
4304 * config.h.in (PKGVERSION): New macro.
4305 (REPORT_BUGS_TO): Likewise.
4306 * config.make.in (PKGVERSION): New variable.
4307 (PKGVERSION_TEXI): Likewise.
4308 (REPORT_BUGS_TO): Likewise.
4309 (REPORT_BUGS_TEXI): Likewise.
4310 * Makefile (format-me): Use -I$(common-objpfx)manual.
4311 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4312 ($(common-objpfx)manual/%): New target.
4313 (manual/%): Remove target.
4314 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4315 (print_version): Use PKGVERSION.
4316 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4317 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4318 and REPORT_BUGS_TO.
4319 ($(objpfx)xtrace): Likewise.
4320 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4321 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4322 (print_version): Use PKGVERSION.
4323 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4324 (do_version): Use PKGVERSION.
4325 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4326 REPORT_BUGS_TO.
4327 (common-ldd-rewrite): Likewise.
4328 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4329 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4330 (print_version): Use PKGVERSION.
4331 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4332 * elf/pldd.c (argp_program_bug_address): Remove variable.
4333 (more_help): New function.
4334 (argp): Use more_help.
4335 (print_version): Use PKGVERSION.
4336 * elf/sln.c (main): Use PKGVERSION.
4337 (usage): Use REPORT_BUGS_TO.
4338 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4339 (top level): Use PKGVERSION.
4340 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4341 (print_version): Use PKGVERSION.
4342 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4343 (print_version): Use PKGVERSION.
4344 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4345 (print_version): Use PKGVERSION.
4346 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4347 (print_version): Use PKGVERSION.
4348 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4349 (print_version): Use PKGVERSION.
4350 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4351 (print_version): Use PKGVERSION.
4352 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4353 and BUGURL.
4354 ($(objpfx)memusage): Likewise.
4355 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4356 (do_version): Use PKGVERSION.
4357 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4358 (print_version): Use PKGVERSION.
4359 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4360 ($PKGVERSION): New variable.
4361 ($REPORT_BUGS_TO): Likewise.
4362 (usage): Use $REPORT_BUGS_TO.
4363 (top level): Use $PKGVERSION.
4364 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4365 ($(objpfx)pkgvers.texi): New rule.
4366 ($(objpfx)stamp-pkgvers): Likewise.
4367 * manual/install.texi: Include pkgvers.texi.
4368 (--with-pkgversion): Document new configure option.
4369 (--with-bugurl): Likewise.
4370 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4371 than necessarily for this particular distribution. Use
4372 REPORT_BUGS_TO for where to report bugs.
4373 * INSTALL: Regenerated.
4374 * manual/libc.texinfo: Include pkgvers.texi.
4375 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4376 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4377 (print_version): Use PKGVERSION.
4378 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4379 (print_version): Use PKGVERSION.
4380 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4381 (print_version): Use PKGVERSION.
4382 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4383 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4384 macro.
4385 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4386 (print_version): Use PKGVERSION.
4387 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4388 (print_version): Use PKGVERSION.
4389 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4390 and PKGVERSION.
4391
92e4b6a9
JM
4392 * timezone/checktab.awk: Update from tzcode 2012i.
4393 * timezone/ialloc.c: Likewise.
4394 * timezone/private.h: Likewise.
4395 * timezone/scheck.c: Likewise.
4396 * timezone/tzfile.h: Likewise.
4397 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4398 (TZVERSION): Hardcode tzcode version number.
4399 * timezone/zdump.c: Update from tzcode 2012i.
4400 * timezone/zic.c: Likewise.
4401 * timezone/version.h: New file.
4402 * timezone/README: Describe version.h. Update upstream location.
4403
9bde902c
JM
4404 [BZ #14824]
4405 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4406 (mktemp): Enable declaration.
4407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4411 Likewise.
4412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4413 Likewise.
4414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4415 Likewise.
4416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4417 Likewise.
4418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4419 Likewise.
4420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4421 Likewise.
4422
fb1ae1ee
JM
4423 [BZ #14821]
4424 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4425 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4426 for copies of such integer values.
4427 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4428 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4429
2c1adbcb
AJ
44302012-11-09 Andreas Jaeger <aj@suse.de>
4431
4432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4433 definitions and declarations that are provided by
4434 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4435
d0f8457e
AK
44362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4437
3a235abb 4438 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4439 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4440 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4441 definition.
4442
57241e26
MS
44432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4444
4445 * elf/elf.h: Update comment before AArch64 relocations.
4446
60e8270d
DM
44472012-11-07 David S. Miller <davem@davemloft.net>
4448
4449 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4451 (__start_context): Declare.
4452 (__makecontext_ret): Delete.
4453 (__makecontext): Hook up __start_context instead of
4454 __makecontext_ret.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4456 (sysdep_routines): Add __start_context when in stdlib.
4457
0fbb0fbc
JM
44582012-11-07 Joseph Myers <joseph@codesourcery.com>
4459
4460 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4461 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4462 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4463 hardcoded "nm".
4464 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4465 (READELF): New variable. Use it instead of hardcoded "readelf".
4466
eb48db7e
L
44672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4470 * sysdeps/x86/Makefile: Here.
4471 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4472 * sysdeps/x86/tst-xmmymm.sh: This.
4473
05bcf62a
JM
44742012-11-07 Joseph Myers <joseph@codesourcery.com>
4475
c4b6cf53
JM
4476 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4477 expectations.
4478 [UNIX98] (pthread_barrier_t): Do not expect.
4479 [UNIX98] (pthread_barrierattr_t): Likewise.
4480 [UNIX98] (pthread_spinlock_t): Likewise.
4481 [UNIX98] (pthread_barrier_destroy): Likewise.
4482 [UNIX98] (pthread_barrier_init): Likewise.
4483 [UNIX98] (pthread_barrier_wait): Likewise.
4484 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4485 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4486 [UNIX98] (pthread_barrierattr_init): Likewise.
4487 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4488 [UNIX98] (pthread_getcpuclockid): Likewise.
4489 [UNIX98] (pthread_mutex_timedlock): Likewise.
4490 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4491 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4492 [UNIX98] (pthread_sigmask): Likewise.
4493 [UNIX98] (pthread_spin_destroy): Likewise.
4494 [UNIX98] (pthread_spin_init): Likewise.
4495 [UNIX98] (pthread_spin_lock): Likewise.
4496 [UNIX98] (pthread_spin_trylock): Likewise.
4497 [UNIX98] (pthread_spin_unlock): Likewise.
4498 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4499 Do not expect.
4500 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4502 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4503 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4504 [XPG3 || XPG4] (pthread_key_t): Likewise.
4505 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4506 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4507 [XPG3 || XPG4] (pthread_once_t): Likewise.
4508 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4509 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4511 [XPG3 || XPG4] (pthread_t): Likewise.
4512
cbe6e120
JM
4513 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4514 not expect.
4515 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4516
1b126443
JM
4517 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4518 Change function return type to int.
4519
b961a573
JM
4520 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4521 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4522 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4523 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4524 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4525 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4526 [!POSIX] (posix_madvise): Likewise.
4527 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4528 && !UNIX98].
4529 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4530 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4531 (mode_t): Likewise.
4532 (posix_mem_offset): Likewise.
4533 (posix_typed_mem_get_info): Likewise.
4534 (posix_typed_mem_open): Likewise.
4535
9e188909
JM
4536 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4537 Change condition to [XOPEN2K8].
4538
05bcf62a
JM
4539 * conform/conformtest.pl: Preprocess allow-header data with -x c
4540 instead of from stdin.
4541 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4542 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4543 [C99-based standards] (cerfc): Likewise.
4544 [C99-based standards] (cexp2): Likewise.
4545 [C99-based standards] (cexpm1): Likewise.
4546 [C99-based standards] (clog10): Likewise.
4547 [C99-based standards] (clog1p): Likewise.
4548 [C99-based standards] (clog2): Likewise.
4549 [C99-based standards] (clgamma): Likewise.
4550 [C99-based standards] (ctgamma): Likewise.
4551 [C99-based standards] (cerff): Likewise.
4552 [C99-based standards] (cerfcf): Likewise.
4553 [C99-based standards] (cexp2f): Likewise.
4554 [C99-based standards] (cexpm1f): Likewise.
4555 [C99-based standards] (clog10f): Likewise.
4556 [C99-based standards] (clog1pf): Likewise.
4557 [C99-based standards] (clog2f): Likewise.
4558 [C99-based standards] (clgammaf): Likewise.
4559 [C99-based standards] (ctgammaf): Likewise.
4560 [C99-based standards] (cerfl): Likewise.
4561 [C99-based standards] (cerfcl): Likewise.
4562 [C99-based standards] (cexp2l): Likewise.
4563 [C99-based standards] (cexpm1l): Likewise.
4564 [C99-based standards] (clog10l): Likewise.
4565 [C99-based standards] (clog1pl): Likewise.
4566 [C99-based standards] (clog2l): Likewise.
4567 [C99-based standards] (clgammal): Likewise.
4568 [C99-based standards] (ctgammal): Likewise.
4569 * conform/data/inttypes.h-data [C99-based standards]: Include
4570 stdint.h-data. Remove all expectations for stdint.h contents.
4571 [C99-based standards] (PRI*): Do not allow.
4572 [C99-based standards] (SCN*): Likewise.
4573 [C99-based standards] (*_t): Likewise.
4574 [C99-based-standards] (PRId8): Expect macro.
4575 [C99-based-standards] (PRIi8): Likewise.
4576 [C99-based-standards] (PRIo8): Likewise.
4577 [C99-based-standards] (PRIu8): Likewise.
4578 [C99-based-standards] (PRIx8): Likewise.
4579 [C99-based-standards] (PRIX8): Likewise.
4580 [C99-based-standards] (SCNd8): Likewise.
4581 [C99-based-standards] (SCNi8): Likewise.
4582 [C99-based-standards] (SCNo8): Likewise.
4583 [C99-based-standards] (SCNu8): Likewise.
4584 [C99-based-standards] (SCNx8): Likewise.
4585 [C99-based-standards] (PRIdLEAST8): Likewise.
4586 [C99-based-standards] (PRIiLEAST8): Likewise.
4587 [C99-based-standards] (PRIoLEAST8): Likewise.
4588 [C99-based-standards] (PRIuLEAST8): Likewise.
4589 [C99-based-standards] (PRIxLEAST8): Likewise.
4590 [C99-based-standards] (PRIXLEAST8): Likewise.
4591 [C99-based-standards] (SCNdLEAST8): Likewise.
4592 [C99-based-standards] (SCNiLEAST8): Likewise.
4593 [C99-based-standards] (SCNoLEAST8): Likewise.
4594 [C99-based-standards] (SCNuLEAST8): Likewise.
4595 [C99-based-standards] (SCNxLEAST8): Likewise.
4596 [C99-based-standards] (PRIdFAST8): Likewise.
4597 [C99-based-standards] (PRIiFAST8): Likewise.
4598 [C99-based-standards] (PRIoFAST8): Likewise.
4599 [C99-based-standards] (PRIuFAST8): Likewise.
4600 [C99-based-standards] (PRIxFAST8): Likewise.
4601 [C99-based-standards] (PRIXFAST8): Likewise.
4602 [C99-based-standards] (SCNdFAST8): Likewise.
4603 [C99-based-standards] (SCNiFAST8): Likewise.
4604 [C99-based-standards] (SCNoFAST8): Likewise.
4605 [C99-based-standards] (SCNuFAST8): Likewise.
4606 [C99-based-standards] (SCNxFAST8): Likewise.
4607 [C99-based-standards] (PRId16): Likewise.
4608 [C99-based-standards] (PRIi16): Likewise.
4609 [C99-based-standards] (PRIo16): Likewise.
4610 [C99-based-standards] (PRIu16): Likewise.
4611 [C99-based-standards] (PRIx16): Likewise.
4612 [C99-based-standards] (PRIX16): Likewise.
4613 [C99-based-standards] (SCNd16): Likewise.
4614 [C99-based-standards] (SCNi16): Likewise.
4615 [C99-based-standards] (SCNo16): Likewise.
4616 [C99-based-standards] (SCNu16): Likewise.
4617 [C99-based-standards] (SCNx16): Likewise.
4618 [C99-based-standards] (PRIdLEAST16): Likewise.
4619 [C99-based-standards] (PRIiLEAST16): Likewise.
4620 [C99-based-standards] (PRIoLEAST16): Likewise.
4621 [C99-based-standards] (PRIuLEAST16): Likewise.
4622 [C99-based-standards] (PRIxLEAST16): Likewise.
4623 [C99-based-standards] (PRIXLEAST16): Likewise.
4624 [C99-based-standards] (SCNdLEAST16): Likewise.
4625 [C99-based-standards] (SCNiLEAST16): Likewise.
4626 [C99-based-standards] (SCNoLEAST16): Likewise.
4627 [C99-based-standards] (SCNuLEAST16): Likewise.
4628 [C99-based-standards] (SCNxLEAST16): Likewise.
4629 [C99-based-standards] (PRIdFAST16): Likewise.
4630 [C99-based-standards] (PRIiFAST16): Likewise.
4631 [C99-based-standards] (PRIoFAST16): Likewise.
4632 [C99-based-standards] (PRIuFAST16): Likewise.
4633 [C99-based-standards] (PRIxFAST16): Likewise.
4634 [C99-based-standards] (PRIXFAST16): Likewise.
4635 [C99-based-standards] (SCNdFAST16): Likewise.
4636 [C99-based-standards] (SCNiFAST16): Likewise.
4637 [C99-based-standards] (SCNoFAST16): Likewise.
4638 [C99-based-standards] (SCNuFAST16): Likewise.
4639 [C99-based-standards] (SCNxFAST16): Likewise.
4640 [C99-based-standards] (PRId32): Likewise.
4641 [C99-based-standards] (PRIi32): Likewise.
4642 [C99-based-standards] (PRIo32): Likewise.
4643 [C99-based-standards] (PRIu32): Likewise.
4644 [C99-based-standards] (PRIx32): Likewise.
4645 [C99-based-standards] (PRIX32): Likewise.
4646 [C99-based-standards] (SCNd32): Likewise.
4647 [C99-based-standards] (SCNi32): Likewise.
4648 [C99-based-standards] (SCNo32): Likewise.
4649 [C99-based-standards] (SCNu32): Likewise.
4650 [C99-based-standards] (SCNx32): Likewise.
4651 [C99-based-standards] (PRIdLEAST32): Likewise.
4652 [C99-based-standards] (PRIiLEAST32): Likewise.
4653 [C99-based-standards] (PRIoLEAST32): Likewise.
4654 [C99-based-standards] (PRIuLEAST32): Likewise.
4655 [C99-based-standards] (PRIxLEAST32): Likewise.
4656 [C99-based-standards] (PRIXLEAST32): Likewise.
4657 [C99-based-standards] (SCNdLEAST32): Likewise.
4658 [C99-based-standards] (SCNiLEAST32): Likewise.
4659 [C99-based-standards] (SCNoLEAST32): Likewise.
4660 [C99-based-standards] (SCNuLEAST32): Likewise.
4661 [C99-based-standards] (SCNxLEAST32): Likewise.
4662 [C99-based-standards] (PRIdFAST32): Likewise.
4663 [C99-based-standards] (PRIiFAST32): Likewise.
4664 [C99-based-standards] (PRIoFAST32): Likewise.
4665 [C99-based-standards] (PRIuFAST32): Likewise.
4666 [C99-based-standards] (PRIxFAST32): Likewise.
4667 [C99-based-standards] (PRIXFAST32): Likewise.
4668 [C99-based-standards] (SCNdFAST32): Likewise.
4669 [C99-based-standards] (SCNiFAST32): Likewise.
4670 [C99-based-standards] (SCNoFAST32): Likewise.
4671 [C99-based-standards] (SCNuFAST32): Likewise.
4672 [C99-based-standards] (SCNxFAST32): Likewise.
4673 [C99-based-standards] (PRId64): Likewise.
4674 [C99-based-standards] (PRIi64): Likewise.
4675 [C99-based-standards] (PRIo64): Likewise.
4676 [C99-based-standards] (PRIu64): Likewise.
4677 [C99-based-standards] (PRIx64): Likewise.
4678 [C99-based-standards] (PRIX64): Likewise.
4679 [C99-based-standards] (SCNd64): Likewise.
4680 [C99-based-standards] (SCNi64): Likewise.
4681 [C99-based-standards] (SCNo64): Likewise.
4682 [C99-based-standards] (SCNu64): Likewise.
4683 [C99-based-standards] (SCNx64): Likewise.
4684 [C99-based-standards] (PRIdLEAST64): Likewise.
4685 [C99-based-standards] (PRIiLEAST64): Likewise.
4686 [C99-based-standards] (PRIoLEAST64): Likewise.
4687 [C99-based-standards] (PRIuLEAST64): Likewise.
4688 [C99-based-standards] (PRIxLEAST64): Likewise.
4689 [C99-based-standards] (PRIXLEAST64): Likewise.
4690 [C99-based-standards] (SCNdLEAST64): Likewise.
4691 [C99-based-standards] (SCNiLEAST64): Likewise.
4692 [C99-based-standards] (SCNoLEAST64): Likewise.
4693 [C99-based-standards] (SCNuLEAST64): Likewise.
4694 [C99-based-standards] (SCNxLEAST64): Likewise.
4695 [C99-based-standards] (PRIdFAST64): Likewise.
4696 [C99-based-standards] (PRIiFAST64): Likewise.
4697 [C99-based-standards] (PRIoFAST64): Likewise.
4698 [C99-based-standards] (PRIuFAST64): Likewise.
4699 [C99-based-standards] (PRIxFAST64): Likewise.
4700 [C99-based-standards] (PRIXFAST64): Likewise.
4701 [C99-based-standards] (SCNdFAST64): Likewise.
4702 [C99-based-standards] (SCNiFAST64): Likewise.
4703 [C99-based-standards] (SCNoFAST64): Likewise.
4704 [C99-based-standards] (SCNuFAST64): Likewise.
4705 [C99-based-standards] (SCNxFAST64): Likewise.
4706 [C99-based-standards] (PRIdMAX): Likewise.
4707 [C99-based-standards] (PRIiMAX): Likewise.
4708 [C99-based-standards] (PRIoMAX): Likewise.
4709 [C99-based-standards] (PRIuMAX): Likewise.
4710 [C99-based-standards] (PRIxMAX): Likewise.
4711 [C99-based-standards] (PRIXMAX): Likewise.
4712 [C99-based-standards] (SCNdMAX): Likewise.
4713 [C99-based-standards] (SCNiMAX): Likewise.
4714 [C99-based-standards] (SCNoMAX): Likewise.
4715 [C99-based-standards] (SCNuMAX): Likewise.
4716 [C99-based-standards] (SCNxMAX): Likewise.
4717 [C99-based-standards] (PRIdPTR): Likewise.
4718 [C99-based-standards] (PRIiPTR): Likewise.
4719 [C99-based-standards] (PRIoPTR): Likewise.
4720 [C99-based-standards] (PRIuPTR): Likewise.
4721 [C99-based-standards] (PRIxPTR): Likewise.
4722 [C99-based-standards] (PRIXPTR): Likewise.
4723 [C99-based-standards] (SCNdPTR): Likewise.
4724 [C99-based-standards] (SCNiPTR): Likewise.
4725 [C99-based-standards] (SCNoPTR): Likewise.
4726 [C99-based-standards] (SCNuPTR): Likewise.
4727 [C99-based-standards] (SCNxPTR): Likewise.
4728 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4729 allow.
4730 * conform/data/stdint.h-data: Update comments to clarify
4731 requirements.
4732 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4733 type.
4734 [C99-based standards] (INT8_MAX): Likewise.
4735 [C99-based standards] (INT16_MIN): Likewise.
4736 [C99-based standards] (INT16_MAX): Likewise.
4737 [C99-based standards] (INT32_MIN): Likewise.
4738 [C99-based standards] (INT32_MAX): Likewise.
4739 [C99-based standards] (INT64_MIN): Likewise.
4740 [C99-based standards] (INT64_MAX): Likewise.
4741 [C99-based standards] (UINT8_MAX): Likewise.
4742 [C99-based standards] (UINT16_MAX): Likewise.
4743 [C99-based standards] (UINT32_MAX): Likewise.
4744 [C99-based standards] (UINT64_MAX): Likewise.
4745 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4746 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4747 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4748 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4749 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4750 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4751 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4752 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4753 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4754 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4755 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4756 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4757 [C99-based standards] (INT_FAST8_MIN): Likewise.
4758 [C99-based standards] (INT_FAST8_MAX): Likewise.
4759 [C99-based standards] (INT_FAST16_MIN): Likewise.
4760 [C99-based standards] (INT_FAST16_MAX): Likewise.
4761 [C99-based standards] (INT_FAST32_MIN): Likewise.
4762 [C99-based standards] (INT_FAST32_MAX): Likewise.
4763 [C99-based standards] (INT_FAST64_MIN): Likewise.
4764 [C99-based standards] (INT_FAST64_MAX): Likewise.
4765 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4766 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4767 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4768 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4769 [C99-based standards] (INTPTR_MIN): Likewise.
4770 [C99-based standards] (INTPTR_MAX): Likewise.
4771 [C99-based standards] (UINTPTR_MAX): Likewise.
4772 [C99-based standards] (INTMAX_MIN): Likewise.
4773 [C99-based standards] (INTMAX_MAX): Likewise.
4774 [C99-based standards] (UINTMAX_MAX): Likewise.
4775 [C99-based standards] (PTRDIFF_MIN): Likewise.
4776 [C99-based standards] (PTRDIFF_MAX): Likewise.
4777 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4778 [C99-based standards] (SIZE_MAX): Likewise.
4779 [C99-based standards] (WCHAR_MAX): Likewise.
4780 [C99-based standards] (WINT_MAX): Likewise.
4781 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4782 constraint on value.
4783 [C99-based standards] (WCHAR_MIN): Likewise.
4784 [C99-based standards] (WINT_MIN): Likewise.
4785 [C99-based standards] (*_t): Allow.
4786 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4787 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4788 Include math.h-data and complex.h-data. Remove all expectations
4789 of math.h and complex.h contents.
4790 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4791 at end of line.
4792 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4793 (struct tm): Expect tag.
4794 [C99-based-standards] (wcstof): Expect function.
4795 [C99-based-standards] (wcstold): Likewise.
4796 [C99-based-standards] (wcstoll): Likewise.
4797 [C99-based-standards] (wcstoull): Likewise.
4798 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4799 macro-int-constant. Specify type.
4800 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4801 constraint on value.
4802 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4803 Specify type.
4804 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4805 Specify value.
4806 [ISO C standards]: Do not allow headers.
4807 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4808 wcs[abcdefghijklmnopqrstuvwxyz]*.
4809 [ISO C standards] (*_t): Do not allow.
4810 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4811 Expect function.
4812 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4813 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4814 Specify type.
4815 [ISO C standards]: Do not allow headers.
4816 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4817 is[abcdefghijklmnopqrstuvwxyz]*.
4818 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4819 to[abcdefghijklmnopqrstuvwxyz]*.
4820 [ISO C standards] (*_t): Do not allow.
4821 * conform/data/stdalign.h-data: New file.
4822 * conform/data/stdbool.h-data: Likewise.
4823 * conform/data/stdnoreturn.h-data: Likewise.
4824
7514feb8
RM
48252012-11-07 Roland McGrath <roland@hack.frob.com>
4826
4827 [BZ #14815]
4828 * manual/filesys.texi (Directory Entries): Typo fix.
4829 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4830
19b2ecfc
MS
48312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4832
4833 * elf/elf.h (EM_AARCH64): New macro.
4834 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4835 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4836 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4837 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4838 (R_AARCH64_TLSDESC): Likewise.
4839 (NT_ARM_TLS): Likewise.
4840 (NT_ARM_HW_BREAK): Likewise.
4841 (NT_ARM_HW_WATCH): Likewise.
4842
60e235ee
JM
48432012-11-07 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #14811]
4846 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4847 (__ieee754_powl): Saturate nonzero exponents with absolute value
4848 below 0x1p-79 to +/- 0x1p-79.
4849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4850 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4851 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4852 nonzero exponents with absolute value below 0x1p-32 to +/-
4853 0x1p-32.
4854 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4855 (__ieee754_powl): Saturate nonzero exponents with absolute value
4856 below 0x1p-79 to +/- 0x1p-79.
4857 * math/libm-test.inc (pow_test): Add more tests.
4858
0ab234b7
AK
48592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4860
4861 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4862 _dl_s390_cap_flags with kernel. Increase string length.
4863 (_dl_s390_platforms): Add z196 and zEC12.
4864
45832f74
JM
48652012-11-07 Joseph Myers <joseph@codesourcery.com>
4866
4867 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4868 Change XOPEN21K to XOPEN2K.
4869
19218757
MK
48702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4871
4872 * string/memmove.c: Use memcpy when possible.
4873
c5f45721
AJ
48742012-11-06 Andreas Jaeger <aj@suse.de>
4875
4876 * po/eo.po: Update from translation team.
4877
82477c28
JM
48782012-11-06 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #14793]
4881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4882 exponent and small x and y exponents, scale x or y up. Increase
4883 by 2 the exponent used in scaling up.
4884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4886 * math/libm-test.inc (fma_test): Add more tests.
4887 (fma_test_towardzero): Likewise.
4888 (fma_test_downward): Likewise.
4889 (fma_test_upward): Likewise.
4890
99252c8c
JM
48912012-11-05 Joseph Myers <joseph@codesourcery.com>
4892
acfa885f
JM
4893 [BZ #14805]
4894 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4895 fenv_t *.
4896
99252c8c
JM
4897 [BZ #14801]
4898 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4899 namespace for names of struct fields.
4900 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4901 fenv_t fields.
4902 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4903 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4904
d6d98dea
ST
49052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4906
4907 [BZ #3665]
4908 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4909
e10bb107
TS
49102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4911
4912 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4913 PTR_DEMANGLE.
4914
4915 [BZ #5246]
4916 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4917 PTR_DEMANGLE.
4918
a0c2940d
JM
49192012-11-04 Joseph Myers <joseph@codesourcery.com>
4920
4921 [BZ #14797]
4922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4923 definitely overflow as x * y not x * y + z.
4924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4926 * math/libm-test.inc (fma_test): Add more tests.
4927 (fma_test_towardzero): Likewise.
4928 (fma_test_downward): Likewise.
4929 (fma_test_upward): Likewise.
4930
b830319d
TS
49312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4932
4933 [BZ #157]
4934
4935 * include/stub-tag.h: Remove file.
4936 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4937 '#include' of it.
4938 * manual/maint.texi (Porting): Don't reference it.
4939 * Makerules ($(objpfx)stubs): Likewise.
4940 * dirent/closedir.c: Don't include <stub-tag.h>.
4941 * dirent/dirfd.c: Likewise.
4942 * dirent/fdopendir.c: Likewise.
4943 * dirent/getdents.c: Likewise.
4944 * dirent/getdents64.c: Likewise.
4945 * dirent/opendir.c: Likewise.
4946 * dirent/readdir.c: Likewise.
4947 * dirent/readdir64.c: Likewise.
4948 * dirent/readdir64_r.c: Likewise.
4949 * dirent/readdir_r.c: Likewise.
4950 * dirent/rewinddir.c: Likewise.
4951 * dirent/seekdir.c: Likewise.
4952 * dirent/telldir.c: Likewise.
4953 * gmon/profil.c: Likewise.
4954 * grp/setgroups.c: Likewise.
4955 * inet/if_index.c: Likewise.
4956 * io/access.c: Likewise.
4957 * io/chdir.c: Likewise.
4958 * io/chmod.c: Likewise.
4959 * io/chown.c: Likewise.
4960 * io/close.c: Likewise.
4961 * io/dup.c: Likewise.
4962 * io/dup2.c: Likewise.
4963 * io/dup3.c: Likewise.
4964 * io/euidaccess.c: Likewise.
4965 * io/faccessat.c: Likewise.
4966 * io/fchdir.c: Likewise.
4967 * io/fchmod.c: Likewise.
4968 * io/fchmodat.c: Likewise.
4969 * io/fchown.c: Likewise.
4970 * io/fchownat.c: Likewise.
4971 * io/fcntl.c: Likewise.
4972 * io/flock.c: Likewise.
4973 * io/fstatfs.c: Likewise.
4974 * io/fstatfs64.c: Likewise.
4975 * io/fstatvfs.c: Likewise.
4976 * io/fstatvfs64.c: Likewise.
4977 * io/futimens.c: Likewise.
4978 * io/fxstat.c: Likewise.
4979 * io/fxstat64.c: Likewise.
4980 * io/fxstatat.c: Likewise.
4981 * io/fxstatat64.c: Likewise.
4982 * io/getcwd.c: Likewise.
4983 * io/isatty.c: Likewise.
4984 * io/lchmod.c: Likewise.
4985 * io/lchown.c: Likewise.
4986 * io/link.c: Likewise.
4987 * io/linkat.c: Likewise.
4988 * io/lseek.c: Likewise.
4989 * io/lseek64.c: Likewise.
4990 * io/lxstat64.c: Likewise.
4991 * io/mkdir.c: Likewise.
4992 * io/mkdirat.c: Likewise.
4993 * io/mkfifo.c: Likewise.
4994 * io/mkfifoat.c: Likewise.
4995 * io/open.c: Likewise.
4996 * io/open64.c: Likewise.
4997 * io/openat.c: Likewise.
4998 * io/openat64.c: Likewise.
4999 * io/pipe.c: Likewise.
5000 * io/pipe2.c: Likewise.
5001 * io/poll.c: Likewise.
5002 * io/posix_fadvise.c: Likewise.
5003 * io/posix_fadvise64.c: Likewise.
5004 * io/posix_fallocate.c: Likewise.
5005 * io/posix_fallocate64.c: Likewise.
5006 * io/read.c: Likewise.
5007 * io/readlink.c: Likewise.
5008 * io/readlinkat.c: Likewise.
5009 * io/rmdir.c: Likewise.
5010 * io/sendfile.c: Likewise.
5011 * io/sendfile64.c: Likewise.
5012 * io/statfs.c: Likewise.
5013 * io/statfs64.c: Likewise.
5014 * io/statvfs.c: Likewise.
5015 * io/statvfs64.c: Likewise.
5016 * io/symlink.c: Likewise.
5017 * io/symlinkat.c: Likewise.
5018 * io/ttyname.c: Likewise.
5019 * io/ttyname_r.c: Likewise.
5020 * io/umask.c: Likewise.
5021 * io/unlink.c: Likewise.
5022 * io/unlinkat.c: Likewise.
5023 * io/utime.c: Likewise.
5024 * io/utimensat.c: Likewise.
5025 * io/write.c: Likewise.
5026 * io/xmknod.c: Likewise.
5027 * io/xmknodat.c: Likewise.
5028 * io/xstat.c: Likewise.
5029 * io/xstat64.c: Likewise.
5030 * login/getpt.c: Likewise.
5031 * login/grantpt.c: Likewise.
5032 * login/unlockpt.c: Likewise.
5033 * math/e_acoshl.c: Likewise.
5034 * math/e_acosl.c: Likewise.
5035 * math/e_asinl.c: Likewise.
5036 * math/e_atan2l.c: Likewise.
5037 * math/e_atanhl.c: Likewise.
5038 * math/e_coshl.c: Likewise.
5039 * math/e_expl.c: Likewise.
5040 * math/e_fmodl.c: Likewise.
5041 * math/e_gammal_r.c: Likewise.
5042 * math/e_hypotl.c: Likewise.
5043 * math/e_j0l.c: Likewise.
5044 * math/e_j1l.c: Likewise.
5045 * math/e_jnl.c: Likewise.
5046 * math/e_lgammal_r.c: Likewise.
5047 * math/e_log10l.c: Likewise.
5048 * math/e_log2l.c: Likewise.
5049 * math/e_logl.c: Likewise.
5050 * math/e_powl.c: Likewise.
5051 * math/e_rem_pio2l.c: Likewise.
5052 * math/e_sinhl.c: Likewise.
5053 * math/e_sqrtl.c: Likewise.
5054 * math/fclrexcpt.c: Likewise.
5055 * math/fedisblxcpt.c: Likewise.
5056 * math/feenablxcpt.c: Likewise.
5057 * math/fegetenv.c: Likewise.
5058 * math/fegetexcept.c: Likewise.
5059 * math/fegetround.c: Likewise.
5060 * math/feholdexcpt.c: Likewise.
5061 * math/fesetenv.c: Likewise.
5062 * math/fesetround.c: Likewise.
5063 * math/feupdateenv.c: Likewise.
5064 * math/fgetexcptflg.c: Likewise.
5065 * math/fraiseexcpt.c: Likewise.
5066 * math/fsetexcptflg.c: Likewise.
5067 * math/ftestexcept.c: Likewise.
5068 * math/k_cosl.c: Likewise.
5069 * math/k_rem_pio2l.c: Likewise.
5070 * math/k_sinl.c: Likewise.
5071 * math/k_tanl.c: Likewise.
5072 * math/s_asinhl.c: Likewise.
5073 * math/s_atanl.c: Likewise.
5074 * math/s_cbrtl.c: Likewise.
5075 * math/s_erfl.c: Likewise.
5076 * math/s_expm1l.c: Likewise.
5077 * math/s_log1pl.c: Likewise.
5078 * math/s_tanhl.c: Likewise.
5079 * misc/acct.c: Likewise.
5080 * misc/brk.c: Likewise.
5081 * misc/chflags.c: Likewise.
5082 * misc/chroot.c: Likewise.
5083 * misc/fchflags.c: Likewise.
5084 * misc/fgetxattr.c: Likewise.
5085 * misc/flistxattr.c: Likewise.
5086 * misc/fremovexattr.c: Likewise.
5087 * misc/fsetxattr.c: Likewise.
5088 * misc/fsync.c: Likewise.
5089 * misc/ftruncate.c: Likewise.
5090 * misc/futimes.c: Likewise.
5091 * misc/futimesat.c: Likewise.
5092 * misc/getdomain.c: Likewise.
5093 * misc/getdtsz.c: Likewise.
5094 * misc/gethostid.c: Likewise.
5095 * misc/gethostname.c: Likewise.
5096 * misc/getloadavg.c: Likewise.
5097 * misc/getpagesize.c: Likewise.
5098 * misc/getsysstats.c: Likewise.
5099 * misc/getxattr.c: Likewise.
5100 * misc/gtty.c: Likewise.
5101 * misc/ioctl.c: Likewise.
5102 * misc/lgetxattr.c: Likewise.
5103 * misc/listxattr.c: Likewise.
5104 * misc/llistxattr.c: Likewise.
5105 * misc/lremovexattr.c: Likewise.
5106 * misc/lsetxattr.c: Likewise.
5107 * misc/lutimes.c: Likewise.
5108 * misc/madvise.c: Likewise.
5109 * misc/mincore.c: Likewise.
5110 * misc/mlock.c: Likewise.
5111 * misc/mlockall.c: Likewise.
5112 * misc/mmap.c: Likewise.
5113 * misc/mprotect.c: Likewise.
5114 * misc/msync.c: Likewise.
5115 * misc/munlock.c: Likewise.
5116 * misc/munlockall.c: Likewise.
5117 * misc/munmap.c: Likewise.
5118 * misc/preadv.c: Likewise.
5119 * misc/preadv64.c: Likewise.
5120 * misc/ptrace.c: Likewise.
5121 * misc/pwritev.c: Likewise.
5122 * misc/pwritev64.c: Likewise.
5123 * misc/readv.c: Likewise.
5124 * misc/reboot.c: Likewise.
5125 * misc/remap_file_pages.c: Likewise.
5126 * misc/removexattr.c: Likewise.
5127 * misc/revoke.c: Likewise.
5128 * misc/select.c: Likewise.
5129 * misc/setdomain.c: Likewise.
5130 * misc/setegid.c: Likewise.
5131 * misc/seteuid.c: Likewise.
5132 * misc/sethostid.c: Likewise.
5133 * misc/sethostname.c: Likewise.
5134 * misc/setregid.c: Likewise.
5135 * misc/setreuid.c: Likewise.
5136 * misc/setxattr.c: Likewise.
5137 * misc/sstk.c: Likewise.
5138 * misc/stty.c: Likewise.
5139 * misc/swapoff.c: Likewise.
5140 * misc/swapon.c: Likewise.
5141 * misc/sync.c: Likewise.
5142 * misc/syncfs.c: Likewise.
5143 * misc/syscall.c: Likewise.
5144 * misc/truncate.c: Likewise.
5145 * misc/ualarm.c: Likewise.
5146 * misc/usleep.c: Likewise.
5147 * misc/ustat.c: Likewise.
5148 * misc/utimes.c: Likewise.
5149 * misc/vhangup.c: Likewise.
5150 * misc/writev.c: Likewise.
5151 * posix/_exit.c: Likewise.
5152 * posix/alarm.c: Likewise.
5153 * posix/execve.c: Likewise.
5154 * posix/fexecve.c: Likewise.
5155 * posix/fork.c: Likewise.
5156 * posix/fpathconf.c: Likewise.
5157 * posix/getaddrinfo.c: Likewise.
5158 * posix/getegid.c: Likewise.
5159 * posix/geteuid.c: Likewise.
5160 * posix/getgid.c: Likewise.
5161 * posix/getgroups.c: Likewise.
5162 * posix/getlogin.c: Likewise.
5163 * posix/getlogin_r.c: Likewise.
5164 * posix/getpgid.c: Likewise.
5165 * posix/getpid.c: Likewise.
5166 * posix/getppid.c: Likewise.
5167 * posix/getresgid.c: Likewise.
5168 * posix/getresuid.c: Likewise.
5169 * posix/getsid.c: Likewise.
5170 * posix/getuid.c: Likewise.
5171 * posix/glob64.c: Likewise.
5172 * posix/nanosleep.c: Likewise.
5173 * posix/pathconf.c: Likewise.
5174 * posix/pause.c: Likewise.
5175 * posix/posix_madvise.c: Likewise.
5176 * posix/pread.c: Likewise.
5177 * posix/pread64.c: Likewise.
5178 * posix/pwrite.c: Likewise.
5179 * posix/pwrite64.c: Likewise.
5180 * posix/sched_getaffinity.c: Likewise.
5181 * posix/sched_getp.c: Likewise.
5182 * posix/sched_gets.c: Likewise.
5183 * posix/sched_primax.c: Likewise.
5184 * posix/sched_primin.c: Likewise.
5185 * posix/sched_rr_gi.c: Likewise.
5186 * posix/sched_setaffinity.c: Likewise.
5187 * posix/sched_setp.c: Likewise.
5188 * posix/sched_sets.c: Likewise.
5189 * posix/sched_yield.c: Likewise.
5190 * posix/setgid.c: Likewise.
5191 * posix/setlogin.c: Likewise.
5192 * posix/setpgid.c: Likewise.
5193 * posix/setresgid.c: Likewise.
5194 * posix/setresuid.c: Likewise.
5195 * posix/setsid.c: Likewise.
5196 * posix/setuid.c: Likewise.
5197 * posix/sleep.c: Likewise.
5198 * posix/spawni.c: Likewise.
5199 * posix/sysconf.c: Likewise.
5200 * posix/times.c: Likewise.
5201 * posix/wait.c: Likewise.
5202 * posix/wait3.c: Likewise.
5203 * posix/wait4.c: Likewise.
5204 * posix/waitpid.c: Likewise.
5205 * resolv/gai_sigqueue.c: Likewise.
5206 * resource/getpriority.c: Likewise.
5207 * resource/getrlimit.c: Likewise.
5208 * resource/getrusage.c: Likewise.
5209 * resource/nice.c: Likewise.
5210 * resource/setpriority.c: Likewise.
5211 * resource/setrlimit.c: Likewise.
5212 * resource/ulimit.c: Likewise.
5213 * rt/aio_cancel.c: Likewise.
5214 * rt/aio_fsync.c: Likewise.
5215 * rt/aio_read.c: Likewise.
5216 * rt/aio_sigqueue.c: Likewise.
5217 * rt/aio_suspend.c: Likewise.
5218 * rt/aio_write.c: Likewise.
5219 * rt/clock_getres.c: Likewise.
5220 * rt/clock_gettime.c: Likewise.
5221 * rt/clock_nanosleep.c: Likewise.
5222 * rt/clock_settime.c: Likewise.
5223 * rt/lio_listio.c: Likewise.
5224 * rt/mq_close.c: Likewise.
5225 * rt/mq_getattr.c: Likewise.
5226 * rt/mq_notify.c: Likewise.
5227 * rt/mq_open.c: Likewise.
5228 * rt/mq_receive.c: Likewise.
5229 * rt/mq_send.c: Likewise.
5230 * rt/mq_setattr.c: Likewise.
5231 * rt/mq_timedreceive.c: Likewise.
5232 * rt/mq_timedsend.c: Likewise.
5233 * rt/mq_unlink.c: Likewise.
5234 * rt/shm_open.c: Likewise.
5235 * rt/shm_unlink.c: Likewise.
5236 * rt/timer_create.c: Likewise.
5237 * rt/timer_delete.c: Likewise.
5238 * rt/timer_getoverr.c: Likewise.
5239 * rt/timer_gettime.c: Likewise.
5240 * rt/timer_settime.c: Likewise.
5241 * setjmp/__longjmp.c: Likewise.
5242 * setjmp/setjmp.c: Likewise.
5243 * signal/kill.c: Likewise.
5244 * signal/killpg.c: Likewise.
5245 * signal/raise.c: Likewise.
5246 * signal/sigaction.c: Likewise.
5247 * signal/sigaltstack.c: Likewise.
5248 * signal/sigblock.c: Likewise.
5249 * signal/sigignore.c: Likewise.
5250 * signal/sigintr.c: Likewise.
5251 * signal/signal.c: Likewise.
5252 * signal/sigpause.c: Likewise.
5253 * signal/sigpending.c: Likewise.
5254 * signal/sigqueue.c: Likewise.
5255 * signal/sigreturn.c: Likewise.
5256 * signal/sigset.c: Likewise.
5257 * signal/sigsetmask.c: Likewise.
5258 * signal/sigstack.c: Likewise.
5259 * signal/sigsuspend.c: Likewise.
5260 * signal/sigtimedwait.c: Likewise.
5261 * signal/sigvec.c: Likewise.
5262 * signal/sigwait.c: Likewise.
5263 * signal/sigwaitinfo.c: Likewise.
5264 * signal/sysv_signal.c: Likewise.
5265 * socket/accept.c: Likewise.
5266 * socket/accept4.c: Likewise.
5267 * socket/bind.c: Likewise.
5268 * socket/connect.c: Likewise.
5269 * socket/getpeername.c: Likewise.
5270 * socket/getsockname.c: Likewise.
5271 * socket/getsockopt.c: Likewise.
5272 * socket/isfdtype.c: Likewise.
5273 * socket/listen.c: Likewise.
5274 * socket/recv.c: Likewise.
5275 * socket/recvfrom.c: Likewise.
5276 * socket/recvmsg.c: Likewise.
5277 * socket/send.c: Likewise.
5278 * socket/sendmsg.c: Likewise.
5279 * socket/sendto.c: Likewise.
5280 * socket/setsockopt.c: Likewise.
5281 * socket/shutdown.c: Likewise.
5282 * socket/sockatmark.c: Likewise.
5283 * socket/socket.c: Likewise.
5284 * socket/socketpair.c: Likewise.
5285 * stdio-common/ctermid.c: Likewise.
5286 * stdio-common/cuserid.c: Likewise.
5287 * stdio-common/remove.c: Likewise.
5288 * stdio-common/rename.c: Likewise.
5289 * stdio-common/renameat.c: Likewise.
5290 * stdio-common/tempname.c: Likewise.
5291 * stdlib/getcontext.c: Likewise.
5292 * stdlib/makecontext.c: Likewise.
5293 * stdlib/setcontext.c: Likewise.
5294 * stdlib/swapcontext.c: Likewise.
5295 * stdlib/system.c: Likewise.
5296 * streams/fattach.c: Likewise.
5297 * streams/fdetach.c: Likewise.
5298 * streams/getmsg.c: Likewise.
5299 * streams/getpmsg.c: Likewise.
5300 * streams/putmsg.c: Likewise.
5301 * streams/putpmsg.c: Likewise.
5302 * sysdeps/unix/bsd/getpt.c: Likewise.
5303 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5304 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5305 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5307 Likewise.
5308 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5309 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5310 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5311 * sysvipc/msgctl.c: Likewise.
5312 * sysvipc/msgget.c: Likewise.
5313 * sysvipc/msgrcv.c: Likewise.
5314 * sysvipc/msgsnd.c: Likewise.
5315 * sysvipc/semctl.c: Likewise.
5316 * sysvipc/semget.c: Likewise.
5317 * sysvipc/semop.c: Likewise.
5318 * sysvipc/semtimedop.c: Likewise.
5319 * sysvipc/shmat.c: Likewise.
5320 * sysvipc/shmctl.c: Likewise.
5321 * sysvipc/shmdt.c: Likewise.
5322 * sysvipc/shmget.c: Likewise.
5323 * termios/tcdrain.c: Likewise.
5324 * termios/tcflow.c: Likewise.
5325 * termios/tcflush.c: Likewise.
5326 * termios/tcgetattr.c: Likewise.
5327 * termios/tcgetpgrp.c: Likewise.
5328 * termios/tcsendbrk.c: Likewise.
5329 * termios/tcsetattr.c: Likewise.
5330 * termios/tcsetpgrp.c: Likewise.
5331 * time/adjtime.c: Likewise.
5332 * time/clock.c: Likewise.
5333 * time/getitimer.c: Likewise.
5334 * time/gettimeofday.c: Likewise.
5335 * time/setitimer.c: Likewise.
5336 * time/settimeofday.c: Likewise.
5337 * time/stime.c: Likewise.
5338 * time/time.c: Likewise.
5339
53402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5341
a20492cf
PT
5342 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5343 /usr/old/bin.
5344
72e182e3
PT
5345 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5346 instead of spaces.
5347 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5348
fbeafede
JM
53492012-11-03 Joseph Myers <joseph@codesourcery.com>
5350
5b5b04d6
JM
5351 [BZ #14796]
5352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5353 FE_TONEAREST before applying Dekker multiplication and Knuth
5354 addition. Clear inexact exceptions and check for exact zero
5355 results afterwards.
5356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5359 * math/libm-test.inc (fma_test): Add more tests.
5360 (fma_test_towardzero): Likewise.
5361 (fma_test_downward): Likewise.
5362 (fma_test_upward): Likewise.
5363 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5364 function.
5365 (libc_fesetround): New macro.
5366 (libc_fesetroundf): Likewise.
5367 (libc_fesetroundl): Likewise.
5368 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5369 function.
5370 (libc_fesetround_387): Likewise.
5371 (libc_fesetroundf): New macro.
5372 (libc_fesetround): Likewise.
5373 (libc_fesetroundl): Likewise.
5374 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5375 function.
5376 (libc_fesetroundf): New macro.
5377 (libc_fesetround): Likewise.
5378 (libc_fesetroundl): Likewise.
5379 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5380 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5381 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5382 libm_hidden_ver.
5383 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5384 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5385 libm_hidden_def.
5386 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5387 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5388 libm_hidden_ver.
5389 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5390 libm_hidden_def.
5391
fbeafede
JM
5392 [BZ #3439]
5393 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5394 integer constant usable in #if and use that to give value to enum
5395 constant.
5396 (FE_DIVBYZERO): Likewise.
5397 (FE_UNDERFLOW): Likewise.
5398 (FE_OVERFLOW): Likewise.
5399 (FE_INVALID): Likewise.
5400 (FE_INVALID_SNAN): Likewise.
5401 (FE_INVALID_ISI): Likewise.
5402 (FE_INVALID_IDI): Likewise.
5403 (FE_INVALID_ZDZ): Likewise.
5404 (FE_INVALID_IMZ): Likewise.
5405 (FE_INVALID_COMPARE): Likewise.
5406 (FE_INVALID_SOFTWARE): Likewise.
5407 (FE_INVALID_SQRT): Likewise.
5408 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5409 (FE_TONEAREST): Likewise.
5410 (FE_TOWARDZERO): Likewise.
5411 (FE_UPWARD): Likewise.
5412 (FE_DOWNWARD): Likewise.
5413 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5414 (FE_DIVBYZERO): Likewise.
5415 (FE_OVERFLOW): Likewise.
5416 (FE_UNDERFLOW): Likewise.
5417 (FE_INEXACT): Likewise.
5418 (FE_TONEAREST): Likewise.
5419 (FE_DOWNWARD): Likewise.
5420 (FE_UPWARD): Likewise.
5421 (FE_TOWARDZERO): Likewise.
5422 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5423 (FE_UNDERFLOW): Likewise.
5424 (FE_OVERFLOW): Likewise.
5425 (FE_DIVBYZERO): Likewise.
5426 (FE_INVALID): Likewise.
5427 (FE_TONEAREST): Likewise.
5428 (FE_TOWARDZERO): Likewise.
5429 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5430 (FE_OVERFLOW): Likewise.
5431 (FE_UNDERFLOW): Likewise.
5432 (FE_DIVBYZERO): Likewise.
5433 (FE_INEXACT): Likewise.
5434 (FE_TONEAREST): Likewise.
5435 (FE_TOWARDZERO): Likewise.
5436 (FE_UPWARD): Likewise.
5437 (FE_DOWNWARD): Likewise.
5438 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5439 (FE_DIVBYZERO): Likewise.
5440 (FE_OVERFLOW): Likewise.
5441 (FE_UNDERFLOW): Likewise.
5442 (FE_INEXACT): Likewise.
5443 (FE_TONEAREST): Likewise.
5444 (FE_DOWNWARD): Likewise.
5445 (FE_UPWARD): Likewise.
5446 (FE_TOWARDZERO): Likewise.
5447
105ca950
CM
54482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5449
5450 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5451
a542b389
AS
54522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5453
5454 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5455 commands. Quote $PWD.
5456 (blacklist_exports): Don't use remove_newlines. Replace "declare
5457 -x" by "export".
5458 (remove_newlines): Remove.
5459
f62c8abc
L
54602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5463 * stdlib/stdlib.h (atof): Moved to ...
5464 * include/bits/stdlib-float.h: Here. New file.
5465 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5466 * stdlib/bits/stdlib-float.h: New file.
5467 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5468 -mno-sse -mno-mmx.
5469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5470 <xmmintrin.h>.
5471
0155d5b2
JM
54722012-11-02 Joseph Myers <joseph@codesourcery.com>
5473
a68d0680
JM
5474 * conform/conformtest.pl (@headers): Add fenv.h.
5475 * conform/data/fenv.h-data: New file.
5476 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5477 include of <math/fenv.h>.
5478
caf7f573
JM
5479 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5480 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5481 && !UNIX98]. Enables tests for XOPEN2K8.
5482 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5483 POSIX2008]: Likewise.
5484
6c073ad6
JM
5485 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5486 (struct rusage): Do not expect type or its members.
5487
0155d5b2
JM
5488 [BZ #3439]
5489 * math/math.h (FP_NAN): Define macro to integer constant usable in
5490 #if and use that to give value to enum constant.
5491 (FP_INFINITE): Likewise.
5492 (FP_ZERO): Likewise.
5493 (FP_SUBNORMAL): Likewise.
5494 (FP_NORMAL): Likewise.
5495
b5dcacb4
AS
54962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5497
5498 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5499 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5500 arguments.
5501
f7934be8
RM
55022012-11-02 Roland McGrath <roland@hack.frob.com>
5503
5504 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5505 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5506 autoconf-time if not.
5507 * configure.in: Remove AC_PREREQ.
5508
d7d08bde
TMQMF
55092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5510
5511 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5512 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5513 of the internal implementation.
5514
dcdae19a
JM
55152012-11-02 Joseph Myers <joseph@codesourcery.com>
5516
5517 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5518 except include of <misc/sys/syslog.h>.
5519
d6cffd3e
AS
55202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5521
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5523 function returns with a NULL context exit with zero.
5524
b3563932
TMQMF
55252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5526
5527 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5528
b288a93d
L
55292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5530
5531 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5532 (run_program_cmd): This.
5533 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5534 (tst_langinfo): New variable. Use it.
5535
a2421a68
SAS
55362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5537
5538 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5539 floating point opcodes.
5540
6f796e1b
TS
55412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5542
7402596b
TS
5543 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5544 variable.
5545
d0d4f868
TS
5546 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5547
6f796e1b
TS
5548 * sysdeps/mach/hurd/powerpc: Remove directory.
5549 * sysdeps/mach/powerpc: Likewise.
5550
4da224a2
AS
55512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5552
5553 * scripts/check-local-headers.sh: Ignore c++ headers.
5554
341dd673
TS
55552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5556
5557 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5558 __libc_cleanup_region_start argument.
5559
473611b2
JM
55602012-11-01 Joseph Myers <joseph@codesourcery.com>
5561
5562 [BZ #14784]
5563 [BZ #14785]
5564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5565 x * y using scaling, not as x * y + z.
5566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5568 * math/libm-test.inc (fma_test): Add more tests.
5569 (fma_test_towardzero): Likewise.
5570 (fma_test_downward): Likewise.
5571 (fma_test_upward): Likewise.
5572
4078da3d
TS
55732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5574
5575 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5576
903252aa
JM
55772012-10-31 Joseph Myers <joseph@codesourcery.com>
5578
5579 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5580 New variable.
5581
cbc818d0
TS
55822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5583
5584 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5585
5a03cb1e
AS
55862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5587
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5589 Fix sort order.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5591 Likewise.
5592
90aff2ff
TMQMF
55932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5594
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5596 Fix the order of the list for glibc 2.17.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5598 Likewise.
5599
1818fcb7
AS
56002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5601
5602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5603
ef82f4da
JM
56042012-10-31 Joseph Myers <joseph@codesourcery.com>
5605
16a0e2ec
JM
5606 [BZ #14610]
5607 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5608 for low part of x being zero before using __atanl (y).
5609 * math/libm-test.inc (atan2_test): Add another test.
5610
0eb69512
JM
5611 * manual/install.texi (Configuring and compiling): Document
5612 general use of test-wrapper and test-wrapper-env.
5613 * INSTALL: Regenerated.
5614
ef82f4da
JM
5615 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5616 (__fma): Do not extract and scale down low bits on after-rounding
5617 systems when result rounded to normal precision would have normal
5618 exponent.
5619 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5620 (__fmal): Do not extract and scale down low bits on after-rounding
5621 systems when result rounded to normal precision would have normal
5622 exponent.
5623 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5624 (__fmal): Do not extract and scale down low bits on after-rounding
5625 systems when result rounded to normal precision would have normal
5626 exponent.
5627 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5628 macro.
5629 (fma_test): Add more tests.
5630 (fma_test_towardzero): Likewise.
5631 (fma_test_downward): Likewise.
5632 (fma_test_upward): Likewise.
5633
954ef0d9
L
56342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5635
5636 * sysdeps/i386/tininess.h: Renamed to ...
5637 * sysdeps/x86/tininess.h: This.
5638 * sysdeps/x86_64/tininess.h: Removed.
5639
df61ffb2
JM
56402012-10-30 Joseph Myers <joseph@codesourcery.com>
5641
5642 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5643 input. Use $(build-program-cmd).
5644 ($(objpfx)tst-array1-static.out): Likewise.
5645 ($(objpfx)tst-array2.out): Likewise.
5646 ($(objpfx)tst-array3.out): Likewise.
5647 ($(objpfx)tst-array4.out): Likewise.
5648 ($(objpfx)tst-array5.out): Likewise.
5649 ($(objpfx)tst-array5-static.out): Likewise.
5650
01767843
CM
56512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5652
47cc1490
CM
5653 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5654 if defined.
5655
01767843
CM
5656 * nss/nsswitch.h (nss_interface_function): Provide new
5657 macro for use with NSS functions.
5658 * grp/initgroups.c: Use new macro.
5659 * nss/getXXbyYY.c: Likewise.
5660 * nss/getXXbyYY_r.c: Likewise.
5661 * nss/getXXent.c: Likewise.
5662 * nss/getXXent_r.c: Likewise.
5663 * sysdeps/posix/getaddrinfo.c: Likewise.
5664
8321aa97
AJ
56652012-10-30 Andreas Jaeger <aj@suse.de>
5666
5667 * po/ru.po: Update Russion translation from translation project.
5668
2a27fd6d
JM
56692012-10-30 Joseph Myers <joseph@codesourcery.com>
5670
8627a232
JM
5671 [BZ #14152]
5672 [BZ #14783]
5673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5674 result and shift together with sticky bit instead of replicating
5675 round-to-nearest rounding.
5676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5678 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5679 missing underflow exceptions.
5680 (fma_test_towardzero): Add more tests.
5681 (fma_test_downward): Likewise.
5682 (fma_test_upward): Likewise.
5683
2a27fd6d
JM
5684 [BZ #14047]
5685 * sysdeps/generic/tininess.h: New file.
5686 * sysdeps/i386/tininess.h: Likewise.
5687 * sysdeps/sh/tininess.h: Likewise.
5688 * sysdeps/x86_64/tininess.h: Likewise.
5689 * stdlib/tst-strtod-underflow.c: Likewise.
5690 * stdlib/tst-tininess.c: Likewise.
5691 * stdlib/strtod_l.c: Include <tininess.h>.
5692 (round_and_return): Do not set errno for exact underflow cases.
5693 Force an underflow exception when setting errno for underflow.
5694 Determine underflow based on rounding to normal precision if
5695 TININESS_AFTER_ROUNDING.
5696 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5697 ERANGE for exact underflow cases.
5698 * stdlib/Makefile (tests): Add tst-tininess and
5699 tst-strtod-underflow.
5700 ($(objpfx)tst-tininess): Use $(link-libm).
5701 ($(objpfx)tst-strtod-underflow): Likewise.
5702
e7170363
AJ
57032012-10-30 Andreas Jaeger <aj@suse.de>
5704
e5088dc6
AJ
5705 [BZ#14767]
5706 * elf/Makefile (tests): Remove conditional for have-initfini-array
5707 since this is now always required and the variable does not exist
5708 anymore.
5709 (tests-static): Likewise.
5710 (modules-names): Likewise.
5711
e7170363 5712 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5713
5714 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5715 merged with constructor/destructor.
5716 (init_array): Likewise.
5717 * elf/tst-array2dep.c (fini_array): Likewise.
5718 (init_array): Likewise.
5719
60457d8a
MF
57202012-10-29 Mike Frysinger <vapier@gentoo.org>
5721
5722 * manual/message.texi: Delete @cartouche tags.
5723
8bece752
PT
57242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5725
94ce799f
PT
5726 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5727 EOPNOTSUPP.
5728 * sysdeps/mach/hurd/fsync.c: Likewise.
5729
8bece752
PT
5730 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5731 [_POSIX_REALTIME_SIGNALS]: Change condition to
5732 [_POSIX_REALTIME_SIGNALS > 0].
5733
86ebe6b1
AJ
57342012-10-27 Andreas Jaeger <aj@suse.de>
5735
5736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5737 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5739 [__WORDSIZE != 64]: Likewise.
5740
54399c08
L
57412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 * iconvdata/tst-table.sh: Remove ${SHELL}.
5744 * iconvdata/tst-tables.sh: Likewise.
5745
e2211bed
DM
57462012-10-25 David S. Miller <davem@davemloft.net>
5747
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5749 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5750 of strtoull.
5751
f303f97c
DM
5752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5753 ifunc-impl-list.c
5754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5755 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5756 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5757 file.
5758
1e9d84cd
RM
57592012-10-25 Roland McGrath <roland@hack.frob.com>
5760
5761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5762 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5763 __getdirentries.
5764
df381762
JM
57652012-10-25 Joseph Myers <joseph@codesourcery.com>
5766 Jim Blandy <jimb@codesourcery.com>
5767
5768 * scripts/cross-test-ssh.sh: New file.
5769 * manual/install.texi (Configuring and compiling): Document use of
5770 cross-test-ssh.sh.
5771 * INSTALL: Regenerated.
5772
bff64913
PT
57732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5774
5775 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5776 EOPNOTSUPP.
5777
25fe8932
JM
57782012-10-25 Joseph Myers <joseph@codesourcery.com>
5779
5780 * Makeconfig (run-program-prefix): Fix comment.
5781
cc1290d0
JM
57822012-10-24 Joseph Myers <joseph@codesourcery.com>
5783 Jim Blandy <jimb@codesourcery.com>
5784
5785 * Makeconfig (test-wrapper): New variable,
5786 (test-wrapper-env): Likewise.
5787 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5788 (run-built-tests): Define to yes.
5789 (run-program-prefix): Use $(test-wrapper).
5790 (built-program-cmd): Likewise.
5791 * Rules (make-test-out): Use $(test-wrapper-env) and
5792 $(host-built-program-cmd).
5793 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5794 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5795 tst-pathopt.sh.
5796 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5797 $(test-wrapper-env) to tst-rtld-load-self.sh.
5798 ($(objpfx)order2.out): Use $(test-wrapper).
5799 ($(objpfx)tst-initorder.out): Likewise.
5800 ($(objpfx)tst-initorder2.out): Likewise.
5801 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5802 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5803 (test_wrapper_env): New variable. Use it to run ld.so.
5804 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5805 Use it to run ld.so.
5806 (test_wrapper_env): Likewise.
5807 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5808 $(test-wrapper) to run-iconv-test.sh.
5809 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5810 (ICONV): Use $test_wrapper.
5811 * posix/Makefile ($(objpfx)globtest.out): Pass
5812 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5813 globtest.sh, not $(run-program-prefix).
5814 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5815 (test_wrapper): Likewise.
5816 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5817 set together with run_via_rtld_prefix.
5818 (run_program_prefix): Define in terms of test_wrapper and
5819 run_via_rtld_prefix.
5820
6e6249d0
RM
58212012-10-24 Roland McGrath <roland@hack.frob.com>
5822
5823 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5824 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5825 Targets removed.
5826
5827 [BZ #14743]
5828 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5829 Declare __clock_getres, __clock_gettime, __clock_settime,
5830 __clock_nanosleep, and __clock_getcpuclockid.
5831 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5832 Remove librt_hidden_def (clock_gettime).
5833 * sysdeps/unix/clock_gettime.c: Likewise.
5834 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5836 * rt/clock_getres.c: Define __clock_getres as an alias.
5837 * sysdeps/posix/clock_getres.c: Likewise.
5838 * rt/clock_settime.c: Define __clock_settime as an alias.
5839 * sysdeps/unix/clock_settime.c: Likewise.
5840 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5841 * sysdeps/unix/clock_nanosleep.c: Likewise.
5842 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5843 * rt/clock-compat.c: New file.
5844 * rt/Makefile (librt-routines): Add clock-compat and move
5845 $(clock-routines) to ...
5846 (routines): ... here, new variable.
5847 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5848 Don't add get_clockfreq here.
5849 * rt/Versions (libc: GLIBC_2.17): New version set.
5850 Add clock_* symbols here.
5851 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5853 (GLIBC_2.17): Add clock_* symbols.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5856 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5858 Likewise.
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5860 Likewise.
5861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5865 * NEWS: Mention the move.
5866
5867 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5868 Use __open, __read, __close rather than their public counterparts.
5869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5870 (__get_clockfreq_via_cpuinfo): Likewise.
5871 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5872 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5873
5874 * config.h.in (HAVE_IFUNC): New #undef.
5875 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5876 was successful.
5877 * configure: Regenerated.
5878
0cae3f4b
MF
58792012-10-24 Mike Frysinger <vapier@gentoo.org>
5880
5881 * configure.in: Move READELF check to start of file.
5882 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5883 libc_cv_asm_gnu_indirect_function in the process.
5884 * configure: Regenerated.
5885
8175a253
MF
58862012-10-24 Mike Frysinger <vapier@gentoo.org>
5887
5888 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5889 send the output to /dev/null.
5890 (libc_cv_cc_with_libunwind): Likewise.
5891 (libc_cv_as_noexecstack): Likewise.
5892 * configure: Regenerate.
5893
0708a7d1
JM
58942012-10-24 Joseph Myers <joseph@codesourcery.com>
5895
10b40d85
JM
5896 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5897
0708a7d1
JM
5898 * posix/globtest.sh (TMPDIR): Do not set.
5899 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5900 (testout): Likewise.
5901
9fddec1a
AJ
59022012-10-24 Andreas Jaeger <aj@suse.de>
5903
3a8db22f
AJ
5904 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5905 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5906 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5907 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5908 posix_fadvise64, posix_fallocate64.
5909
9fddec1a
AJ
5910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5911 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5912 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5913 Likewise.
5914 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5915 Likewise.
5916 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5917
5918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5919 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5920 <bits/fcntl-linux.h>.
5921 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5922
5923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5924 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5925 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5926 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5927 [__WORDSIZE != 64]: Likewise.
5928
ebfd1bbd
JM
59292012-10-23 Joseph Myers <joseph@codesourcery.com>
5930
03ac099f
JM
5931 * Makeconfig (run-built-tests): New variable.
5932 * Rules [$(cross-compiling) = yes]: Change condition to
5933 [$(run-built-tests) = no].
5934 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5935 to [$(run-built-tests) = yes].
5936 * elf/Makefile [$(cross-compiling) = no]: Likewise
5937 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5938 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5939 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5940 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5941 * io/Makefile [$(cross-compiling) = no]: Likewise.
5942 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5943 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5944 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5945 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5946 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5947 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5948 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5949 * string/Makefile [$(cross-compiling) = no]: Likewise.
5950
ebfd1bbd
JM
5951 * posix/Makefile ($(objpfx)globtest.out): Pass
5952 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5953 $(rtld-installed-name).
5954 * posix/globtest.sh (elf_objpfx): Remove variable.
5955 (rtld_installed_name): Likewise.
5956 (library_path): Likewise.
5957 (run_program_prefix): New variable. Use for running globtest
5958 binary.
5959
166bca24
JB
59602012-10-23 Jim Blandy <jimb@codesourcery.com>
5961 Joseph Myers <joseph@codesourcery.com>
5962
5963 * Makeconfig (host-built-program-cmd): New variable.
5964 * elf/Makefile (tst-stackguard1-ARGS): Use
5965 $(host-built-program-cmd).
5966 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5967 (tst-spawn-ARGS): Likewise.
5968 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5969
88866099
JM
59702012-10-23 Joseph Myers <joseph@codesourcery.com>
5971 Jim Blandy <jimb@codesourcery.com>
5972
5973 * Makeconfig (run-via-rtld-prefix): New variable.
5974 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5975 (built-program-cmd): Likewise.
5976
b4b4c296
AJ
59772012-10-22 Andreas Jaeger <aj@suse.de>
5978
5979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5980 __O_RSYNC if it exists, otherwise to O_SYNC.
5981
6fb54a22
JB
59822012-10-22 Jim Blandy <jimb@codesourcery.com>
5983 Joseph Myers <joseph@codesourcery.com>
5984
5985 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5986 /dev/null.
5987 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5988 from /dev/null
5989 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5990 /dev/null.
5991
481b90b9
AJ
59922012-10-22 Andreas Jaeger <aj@suse.de>
5993
2a0e2669
AJ
5994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5995 Define always.
5996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5997
76e38f9a
AJ
5998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5999 bits/fcntl-linux.h.
6000
7cd37b43
AJ
6001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6002 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6003
481b90b9
AJ
6004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6005 to __O_LARGEFILE.
6006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6007 to __O_LARGEFILE.
6008
aba75984
JB
60092012-10-21 Jim Blandy <jimb@codesourcery.com>
6010 Joseph Myers <joseph@codesourcery.com>
6011
6012 * config.make.in (NM): New variable.
6013
88d4247f
AJ
60142012-10-21 Andreas Jaeger <aj@suse.de>
6015
6016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6017 definitions and declarations that are provided by
6018 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6019
f2eed205
L
60202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6021
6022 [BZ #14683]
6023 * elf/Makefile (tests-static): Add tst-leaks1-static.
6024 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6025 ($(objpfx)tst-leaks1-static): New rule.
6026 ($(objpfx)tst-leaks1-static-mem): Likewise.
6027 (tst-leaks1-static-ENV): New macro.
6028 * elf/dl-open.c (dl_open_worker): Check the main application
6029 only if SHARED is defined.
6030 * elf/tst-leaks1-static.c: New file.
6031
335e6931
AJ
60322012-10-20 Andreas Jaeger <aj@suse.de>
6033
6034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6035 generic values for Linux.
6036 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6037 and declarations that are provided by <bits/fcntl-linux.h> and
6038 include <bits/fcntl-linux.h>.
6039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6041
ac5c94d3
RM
60422012-10-20 Roland McGrath <roland@hack.frob.com>
6043
6044 * io/fcntl.h: Move include of <bits/types.h> to the top and
6045 include it unconditionally.
6046
de54b33a
L
60472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6048
228cfb01
L
6049 * wcsmbs/Makefile (tests-ifunc): New variable.
6050 (tests): Add $(tests-ifunc).
6051 * wcsmbs/test-wcschr-ifunc.c: New file.
6052 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6053 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6054 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6055 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6056 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6057
69f07e5f
L
6058 * string/Makefile (tests-ifunc): New variable.
6059 (tests): Add $(tests-ifunc).
6060 * string/test-memccpy.c (TEST_NAME): New macro.
6061 * string/test-memchr.c (TEST_NAME): Likewise.
6062 * string/test-memcmp.c (TEST_NAME): Likewise.
6063 * string/test-memcpy.c (TEST_NAME): Likewise.
6064 * string/test-memmem.c (TEST_NAME): Likewise.
6065 * string/test-memmove.c (TEST_NAME): Likewise.
6066 * string/test-memset.c (TEST_NAME): Likewise.
6067 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6068 * string/test-stpcpy.c (TEST_NAME): Likewise.
6069 * string/test-stpncpy.c (TEST_NAME): Likewise.
6070 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6071 * string/test-strcasestr.c (TEST_NAME): Likewise.
6072 * string/test-strcat.c (TEST_NAME): Likewise.
6073 * string/test-strchr.c (TEST_NAME): Likewise.
6074 * string/test-strcmp.c(TEST_NAME): Likewise.
6075 * string/test-strcpy.c (TEST_NAME): Likewise.
6076 * string/test-strcspn.c (TEST_NAME): Likewise.
6077 * string/test-strlen.c (TEST_NAME): Likewise.
6078 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6079 * string/test-strncmp.c (TEST_NAME): Likewise.
6080 * string/test-strncpy.c (TEST_NAME): Likewise.
6081 * string/test-strnlen.c (TEST_NAME): Likewise.
6082 * string/test-strpbrk.c (TEST_NAME): Likewise.
6083 * string/test-strrchr.c (TEST_NAME): Likewise.
6084 * string/test-strspn.c (TEST_NAME): Likewise.
6085 * string/test-strstr.c (TEST_NAME): Likewise.
6086 * string/test-bcopy-ifunc.c: New file.
6087 * string/test-bzero-ifunc.c: Likewise.
6088 * string/test-memccpy-ifunc.c: Likewise.
6089 * string/test-memchr-ifunc.c: Likewise.
6090 * string/test-memcmp-ifunc.c: Likewise.
6091 * string/test-memcpy-ifunc.c: Likewise.
6092 * string/test-memmem-ifunc.c: Likewise.
6093 * string/test-memmove-ifunc.c: Likewise.
6094 * string/test-mempcpy-ifunc.c: Likewise.
6095 * string/test-memset-ifunc.c: Likewise.
6096 * string/test-rawmemchr-ifunc.c: Likewise.
6097 * string/test-stpcpy-ifunc.c: Likewise.
6098 * string/test-stpncpy-ifunc.c: Likewise.
6099 * string/test-strcasecmp-ifunc.c: Likewise.
6100 * string/test-strcasestr-ifunc.c: Likewise.
6101 * string/test-strcat-ifunc.c: Likewise.
6102 * string/test-strchr-ifunc.c: Likewise.
6103 * string/test-strchrnul-ifunc.c: Likewise.
6104 * string/test-strcmp-ifunc.c: Likewise.
6105 * string/test-strcpy-ifunc.c: Likewise.
6106 * string/test-strcspn-ifunc.c: Likewise.
6107 * string/test-strlen-ifunc.c: Likewise.
6108 * string/test-strncasecmp-ifunc.c: Likewise.
6109 * string/test-strncat-ifunc.c: Likewise.
6110 * string/test-strncmp-ifunc.c: Likewise.
6111 * string/test-strncpy-ifunc.c: Likewise.
6112 * string/test-strnlen-ifunc.c: Likewise.
6113 * string/test-strpbrk-ifunc.c: Likewise.
6114 * string/test-strrchr-ifunc.c: Likewise.
6115 * string/test-strspn-ifunc.c: Likewise.
6116 * string/test-strstr-ifunc.c: Likewise.
6117
de54b33a
L
6118 * debug/Makefile (tests-ifunc): New variable.
6119 (tests): Add $(tests-ifunc).
6120 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6121 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6122 * debug/test-stpcpy_chk-ifunc.c: New file.
6123 * debug/test-strcpy_chk-ifunc.c: Likewise.
6124
88481c16
SP
61252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
6127 [BZ #13601]
6128 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6129 header is not read in.
6130
135948bd
JM
61312012-10-19 Joseph Myers <joseph@codesourcery.com>
6132
89f1c388
JM
6133 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6134 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6135 directly. Pass built executable to script as
6136 $(built-program-cmd).
6137 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6138 $testprogram without using LD_LIBRARY_PATH and $ldso.
6139
e40a0d21
JM
6140 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6141 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6142 $(rtld-installed-name).
6143 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6144 (rtld_installed_name): Likewise.
6145 (library_path): Likewise.
6146 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6147 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6148 $(run-program-prefix) to tst-tables.sh.
6149 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6150 it to run tst-table-from and tst-table-to.
6151 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6152 Pass it to tst-table.sh.
6153 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6154 $(run-program-prefix) to tst-gettext.sh.
6155 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6156 tst-translit.sh.
6157 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6158 tst-gettext2.sh.
6159 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6160 to run tst-gettext.
6161 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6162 to run tst-gettext2.
6163 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6164 to run tst-translit.
6165 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6166 $(run-program-prefix) to tst-mtrace.sh.
6167 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6168 to run tst-mtrace.
6169 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6170 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6171 $(rtld-installed-name).
6172 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6173 (rtld_installed_name): Likewise.
6174 (run_program_prefix): New variable. Use it to run wordexp-test.
6175
728e272a
JM
6176 * Makeconfig (ARCH): Remove all definitions.
6177 (machine): Likewise.
6178 [ARCH]: Remove conditional code.
6179 [!objdir]: Give error.
6180 [!objdir] (objpfx): Remove.
6181 [!objdir] (common-objpfx): Likewise.
6182 [!objdir] (common-objdir): Likewise.
6183 * configure.in (config_makefile): Remove. Hardcode Makefile in
6184 AC_CONFIG_FILES call.
6185 * configure: Regenerated.
6186
d528cdcf
JM
6187 [BZ #13888]
6188 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6189 or TMPDIR.
6190 (testout): Likewise.
6191
135948bd
JM
6192 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6193 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6194 $(rtld-installed-name).
6195 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6196 (rtld_installed_name): Likwise.
6197 (runit): Remove function.
6198 (run_getconf): New variable, Use it for running getconf binary.
6199
38c78296
L
62002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 [BZ #14716]
6203 * string/test-memmem.c (check_result): New function.
6204 (do_one_test): Use it.
6205 (check1): New function.
6206 (test_main): Use it.
6207
d077f65f
MT
62082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6209
6210 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6211
ced52c71
JM
62122012-10-18 Joseph Myers <joseph@codesourcery.com>
6213
6214 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6215 (_G_LSEEK64): Likewise.
6216 (_G_MMAP64): Likewise.
6217 (_G_FSTAT64): Likewise.
6218 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6219 (_G_LSEEK64): Likewise.
6220 (_G_MMAP64): Likewise.
6221 (_G_FSTAT64): Likewise.
6222 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6223 unconditional. Call __mmap64 directly.
6224 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6225 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6226 __lseek64 directly.
6227 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6228 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6229 __mmap64 directly.
6230 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6231 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6232 __lseek64 directly.
6233 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6234 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6235 __lseek64 directly.
6236 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6237 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6238 __lseek64 directly.
6239 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6240 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6241 __fxstat64 directly.
6242 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6243 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6244 unconditional.
6245 (freopen64) [!_G_OPEN64]: Remove conditional code.
6246 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6247 unconditional.
6248 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6249 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6250 unconditional.
6251 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6252 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6253 unconditional.
6254 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6255 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6256 unconditional.
6257 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6258 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6259 unconditional.
6260 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6261 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6262 unconditional.
6263 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6264 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6265 unconditional.
6266 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6267
b741de23
SP
62682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6269
6270 [BZ #12140]
6271 * manual/memory.texi (Malloc Tunable Parameters): Add note
6272 about free list pointers overwriting some perturb bytes.
6273 Wording suggested by Roland McGrath.
6274
f9b9d9c9
JM
62752012-10-17 Joseph Myers <joseph@codesourcery.com>
6276
6277 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6278 (lgamma_test): Likewise.
6279 (tgamma_test): Likewise.
6280
172a631a
FW
62812012-10-16 Florian Weimer <fweimer@redhat.com>
6282
6283 [BZ #14700]
6284 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6285 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6286
e9f37252
MK
62872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6288
6289 * NEWS: Mention BZ #14716.
6290 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6291 when removing AVAILABLE1_USES_J macro.
6292
d394eb74
L
62932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6296 (__bswap_64): __uint64_t for unsigned 64-bit int.
6297
ca38dc17
AS
62982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6299
6300 * include/string.h (memmem): Declare libc hidden alias.
6301 * string/memmem.c (memmem): Define libc hidden alias.
6302 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6303 __read, __close instead of open, read, close.
6304
9a387d1f
L
63052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6306
ac49ecaf
L
6307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6308 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6309 global and hidden.
6310 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6311 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6312 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6313 Likewise.
6314 (__rawmemchr_sse2): Likewise.
6315 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6316 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6317 (__strchr_sse2): Likewise.
6318 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6319 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6320 (__strcasecmp_sse2): Likewise.
6321 (__strncasecmp_sse2): Likewise.
6322 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6323 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6324 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6325 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6326 (__strrchr_sse2): Likewise.
6327 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6328 ifunc-impl-list.c.
6329 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6330 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6331 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6332 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6333 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6334 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6337 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6338 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6339 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6340 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6341 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6342 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6343 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6344 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6345 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6346 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6347 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6348 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6349 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6350 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6351 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6352 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6353 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6355 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6356 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6357 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6358 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6359
b090e8ea
L
6360 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6361 global and hidden.
6362 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6363 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6364 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6365 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6366 Likewise.
6367 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6368 Likewise.
6369 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6370 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6371 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6372 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6373 ifunc-impl-list.c.
6374 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6375 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6376 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6377 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6378 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6379 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6380 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6381 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6382 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6383 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6384 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6385 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6386 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6387 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6388 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6389 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6390 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6391 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6392 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6393 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6395 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6396 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6397 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6398 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6399 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6400 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6401 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6402 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6403 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6404 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6405 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6406 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6407 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6408 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6409 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6410 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6411 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6413 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6414 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6415
11dd4af6
L
6416 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6417 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6418 * include/ifunc-impl-list.h: New file.
6419 * misc/ifunc-impl-list.c: Likewise.
6420 * misc/Makefile (routines): Add ifunc-impl-list.
6421 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6422 * string/test-string.h: Include <ifunc-impl-list.h>.
6423 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6424 impl_array): New variables.
6425 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6426 are defined.
6427 (test_init): Call __libc_ifunc_impl_list to initialize
6428 func_list if TEST_IFUNC and TEST_NAME are defined.
6429
9a387d1f
L
6430 * string/Makefile (strop-tests): Add bcopy and bzero.
6431 * string/test-bcopy.c: New file.
6432 * string/test-bzero.c: Likewise.
6433 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6434 defined.
6435 * string/test-memset.c: Support bzero test if TEST_BZERO is
6436 defined.
6437 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6438 __libc_memmove.
6439 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6440 __libc_memset.
6441 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6442 of memset.
6443
472371b9
JM
64442012-10-10 Joseph Myers <joseph@codesourcery.com>
6445
1e4a9536
JM
6446 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6447 * configure: Regenerated.
6448
d173d12e
JM
6449 * Makeconfig (+link-static-before-libc): Don't include
6450 $(link-static-libc).
6451
472371b9
JM
6452 * libio/libio.h (_IO_pos_t): Remove.
6453
89a3ad0b
AO
64542012-10-10 Alexandre Oliva <aoliva@redhat.com>
6455
6456 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6457 McGrath.
6458
e7451425
AO
64592012-10-10 Alexandre Oliva <aoliva@redhat.com>
6460
6461 * crypt/crypt-entry.c: Include fips-private.h.
6462 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6463 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6464 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6465 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6466
4ba74a35
AO
64672012-10-10 Alexandre Oliva <aoliva@redhat.com>
6468
6469 * crypt/crypt-private.h: Include stdbool.h.
6470 (_ufc_setup_salt_r): Return bool.
6471 * crypt/crypt-entry.c: Include errno.h.
6472 (__crypt_r): Return NULL with EINVAL for bad salt.
6473 * crypt/crypt_util.c (bad_for_salt): New.
6474 (_ufc_setup_salt_r): Check that salt is long enough and within
6475 the specified alphabet.
6476 * crypt/badsalttest.c: New file.
6477 * crypt/Makefile (tests): Add it.
6478 ($(objpfx)badsalttest): New.
6479
f96f1242
MK
64802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6481
6482 * NEWS: Add entry for BZ #14602.
6483
0e8e0c1c
JM
64842012-10-09 Joseph Myers <joseph@codesourcery.com>
6485
6486 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6487 type-generic.
6488 * math/libm-test.inc: Update comment listing what functions and
6489 macros are tested.
6490 (isgreater_test): New function.
6491 (isgreaterequal_test): Likewise.
6492 (isless_test): Likewise.
6493 (islessequal_test): Likewise.
6494 (islessgreater_test): Likewise.
6495 (isunordered_test): Likewise.
6496 (main): Call the new functions.
6497
273edc5e
RM
64982012-10-09 Roland McGrath <roland@hack.frob.com>
6499
b8493de0
RM
6500 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6501 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6502 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6503 * sysdeps/i386/configure: Regenerated.
6504 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6505 * sysdeps/mach/configure: Regenerated.
6506 * sysdeps/mach/hurd/configure: Regenerated.
6507 * sysdeps/powerpc/configure: Regenerated.
6508 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6509 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6510 * sysdeps/s390/s390-32/configure: Regenerated.
6511 * sysdeps/s390/s390-64/configure: Regenerated.
6512 * sysdeps/sh/configure: Regenerated.
6513 * sysdeps/sparc/configure: Regenerated.
6514 * sysdeps/unix/sysv/linux/configure: Regenerated.
6515 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6516 * sysdeps/x86_64/configure: Regenerated.
6517
273edc5e
RM
6518 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6519 defined. Don't check if MAP is NULL.
6520
c8450f70
JM
65212012-10-09 Joseph Myers <joseph@codesourcery.com>
6522
6523 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6524 (_G_stat64): Likewise.
6525 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6526 (_G_stat64): Likewise.
6527 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6528 instead of struct _G_stat64.
6529 * libio/fileops.c (mmap_remap_check): Likewise.
6530 (decide_maybe_mmap): Likewise.
6531 (_IO_new_file_seekoff): Likewise.
6532 (_IO_file_stat): Likewise.
6533 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6534 _G_off64_t.
6535 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6536 instead of struct _G_stat64.
6537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6538
57e605ba
MK
65392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6540
6541 [BZ #14602]
6542 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6543 Replace with ...
6544 (CHECK_EOL): New macro.
6545 (two_way_short_needle): Check beginning of haystack for EOL. Use
6546 CHECK_EOL.
6547 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6548 Replace with CHECK_EOL.
6549 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6550 Replace with CHECK_EOL.
6551
ef1bb361
JM
65522012-10-08 Joseph Myers <joseph@codesourcery.com>
6553
6554 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6555 type-generic.
6556 * math/libm-test.inc: Update comment listing what functions and
6557 macros are tested.
6558 (finite_test): New function.
6559 (isinf_test): Likewise.
6560 (isnan_test): Likewise.
6561 (fpclassify_test): Test subnormal input.
6562 (isfinite_test): Likewise.
6563 (isnormal_test): Likewise.
6564 (main): Call the new functions.
6565
55f11534
JN
65662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6567
6568 [BZ #14660]
6569 * Makerules (%.dynsym): Force C locale when running
6570 $(OBJDUMP) --dynamic-syms.
6571
1ab29350
AS
65722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6573
6574 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6575 <stdint.h>.
6576
f1ecb7ef
DM
65772012-10-06 David S. Miller <davem@davemloft.net>
6578
6579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6580 upper 32-bits of the length value in %o2 since we use branch-on-register
6581 tests which consider the entire 64-bit register.
6582
5d41d91a
L
65832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6584
6585 * string/test-strstr.c (check2): Add a test for page boundary.
6586
3baddb72
DM
65872012-10-05 David S. Miller <davem@davemloft.net>
6588
6589 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6591 file.
6592 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6593 sysdep_routines.
6594 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6595 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6596 and bzero when HWCAP_SPARC_CRYPTO is present.
6597
9cee5585
L
65982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6599
d7e0dab9
L
6600 [BZ #14602]
6601 * string/test-strstr.c (check2): New function.
6602 (test_main): Call check2.
6603
03759f47
L
6604 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6605 and bug-strchr1.
6606 * string/bug-strcasestr1.c (do_test): Moved to ...
6607 * string/test-strcasestr.c (check1): Here. New function.
6608 (do_one_test): Break out result checking code into ...
6609 (check_result): This. New function.
6610 (do_one_test): Call check_result.
6611 (test_main): Call check1.
6612 * string/bug-strchr1.c (do_test): Moved to ...
6613 * string/test-strchr.c (check1): Here. New function.
6614 (do_one_test): Break out result checking code into ...
6615 (check_result): This. New function.
6616 (do_one_test): Call check_result.
6617 (test_main): Call check1.
6618 * string/bug-strstr1.c (main): Moved to ...
046f153e 6619 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6620 (do_one_test): Break out result checking code into ...
6621 (check_result): This. New function.
6622 (do_one_test): Call check_result.
6623 (test_main): Call check1.
6624 * string/bug-strcasestr1.c: Removed.
6625 * string/bug-strchr1.c: Likewise.
6626 * string/bug-strstr1.c: Likewise.
6627
53cea63e
L
6628 * elf/Makefile (dl-routines): Add hwcaps.
6629 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6630 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6631 (_dl_important_hwcaps): Moved to ...
6632 * elf/dl-hwcaps.c: Here. New file.
6633 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6634
9cee5585 6635 [BZ #14557]
bb859b06
L
6636 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6637 if IS_IN_rtld isn't defined.
6638
9cee5585
L
6639 * elf/dl-support.c (_dl_sysinfo_map): New.
6640 Include "get-dynamic-info.h" and "setup-vdso.h".
6641 (_dl_non_dynamic_init): Call setup_vdso.
6642 * elf/dynamic-link.h: Don't include <assert.h>.
6643 (elf_get_dynamic_info): Moved to ...
6644 * elf/get-dynamic-info.h: Here. New file.
6645 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6646 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6647 * elf/setup-vdso.h: Here. New file.
6648 * elf/rtld.c: Include "setup-vdso.h".
6649 (dl_main): Call setup_vdso.
6650
23c31b76
JM
66512012-10-05 Joseph Myers <joseph@codesourcery.com>
6652
28234b07
JM
6653 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6654 creal in comment listing functions tested. List finite, isinf,
6655 isnan, isless, islessequal, isgreater, isgreaterequal,
6656 islessgreater, isunordered, lgamma_r and pow10 as functions and
6657 macros not tested. Mention which functions not tested are aliases
6658 for other functions. Fix typo. Note that signs of NaNs are not
6659 tested.
6660
23c31b76
JM
6661 * scripts/config.guess: Update from config.git.
6662 * scripts/config.sub: Likewise.
6663
9043e228
RM
66642012-10-04 Roland McGrath <roland@hack.frob.com>
6665
6666 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6667 * misc/madvise.c (madvise): Renamed to __madvise.
6668 Make madvise a weak alias.
6669 * include/sys/mman.h: Declare __madvise.
6670 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6671 * sysdeps/unix/syscalls.list
6672 (madvise): Make __madvise the strong name, and madvise a weak alias.
6673 * sysdeps/unix/sysv/linux/syscalls.list
6674 (madvise, mmap): Remove redundant entries.
6675 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6676 * malloc/malloc.c (mtrim): Likewise.
6677 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6678
f57f8055
RM
66792012-10-03 Roland McGrath <roland@hack.frob.com>
6680
6681 * sysdeps/mach/hurd/dl-cache.c: File removed.
6682 * config.h.in (USE_LDCONFIG): New #undef.
6683 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6684 * configure: Regenerated.
6685 * elf/Makefile (dl-routines): Add dl-cache only under
6686 [$(use-ldconfig) = yes].
6687 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6688 cache on [USE_LDCONFIG].
6689 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6690 [USE_LDCONFIG].
6691 * elf/rtld.c (dl_main): Likewise.
6692
5bb0c10a
PT
66932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6694
6695 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6696 _SC_LEVEL4_CACHE_LINESIZE.
6697
010188c6
RM
66982012-10-03 Roland McGrath <roland@hack.frob.com>
6699
6700 * sysdeps/unix/bsd/confstr.h: File removed.
6701
b6c5ec07
AO
67022012-10-02 Alexandre Oliva <aoliva@redhat.com>
6703
6704 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6705 sys/sdt-config.h.
6706
408223d4
RM
67072012-10-02 Roland McGrath <roland@hack.frob.com>
6708
6709 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6710 Make 'mapoff' field ElfW(Off) rather than off_t.
6711
bb9510dc
DL
67122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6713
fc997c6e
DL
6714 * nscd/Makefile: Remove nscd-cflags and all its users.
6715 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6716 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6717
bb9510dc
DL
6718 [BZ #10631]
6719 * malloc.c (malloc_printerr): Clarify error message.
6720
05699367
L
67212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 [BZ #14648]
6724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6725 Set bit_FMA_Usable if FMA is supported.
6726 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6727 macro.
6728 (bit_FMA4_Usable): Updated.
6729 (index_FMA_Usable): New macro.
6730 (CPUID_FMA): Likewise
6731 (HAS_FMA): Defined with bit_FMA_Usable.
6732
51367701
RM
67332012-10-01 Roland McGrath <roland@hack.frob.com>
6734
6735 * bits/types.h (__swblk_t): Type removed.
6736 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6737 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6739 (__SWBLK_T_TYPE): Likewise.
6740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6741 (__SWBLK_T_TYPE): Likewise.
6742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6743 (__SWBLK_T_TYPE): Likewise.
6744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6745 (__SWBLK_T_TYPE): Likewise.
6746
4d57bf63 67472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6748 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6749
6750 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6751 (xdr_mapname): Use YPMAXMAP as maxsize.
6752 (xdr_peername): Use YPMAXPEER as maxsize.
6753 (xdr_keydat): Use YPAXRECORD as maxsize.
6754 (xdr_valdat): Use YPMAXRECORD as maxsize.
6755
93c65d43
RM
67562012-10-01 Roland McGrath <roland@hack.frob.com>
6757
497a03d6
RM
6758 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6759
93c65d43
RM
6760 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6761 * csu/init-first.c: ... here.
6762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6763 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6764 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6765 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6766 * sysdeps/i386/init-first.c: File removed.
6767 * sysdeps/sh/init-first.c: File removed.
6768
bec749fd
JM
67692012-10-01 Joseph Myers <joseph@codesourcery.com>
6770
6771 [BZ #14645]
6772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6773 if x * y might underflow to zero and z is zero.
6774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6776 * math/libm-test.inc (min_subnorm_value): New variable.
6777 (fma_test): Add more tests.
6778 (fma_test_towardzero): Likewise.
6779 (fma_test_downward): Likewise
6780 (fma_test_upward): Likewise.
6781 (initialize): Set min_subnorm_value.
6782
8ec5b013
JM
67832012-09-29 Joseph Myers <joseph@codesourcery.com>
6784
6785 [BZ #14638]
6786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6787 0 + 0.
6788 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6789 mode for addition resulting in exact zero.
6790 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6792 exact 0 + 0.
6793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6795 * math/libm-test.inc (fma_test): Add more tests.
6796 (fma_test_towardzero): New function.
6797 (fma_test_downward): Likewise.
6798 (fma_test_upward): Likewise.
6799 (main): Call the new functions.
6800
b1fa802e
DM
68012012-09-28 David S. Miller <davem@davemloft.net>
6802
6803 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6804
d3b9fd9e
RM
68052012-09-28 Roland McGrath <roland@hack.frob.com>
6806
ea4d37b3
RM
6807 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6808 instead of SIGALRM.
6809
ac51c949
RM
6810 * sysdeps/gnu/_G_config.h: Moved to ...
6811 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6812 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6813 * sysdeps/generic/_G_config.h: ... here.
6814
28c195f7
RM
6815 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6816
848917f9
RM
6817 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6818
6bacf05b
RM
6819 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6820 Conditionalize target on [libnss_test1.so-version].
6821
91363dbb
RM
6822 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6823
cc87f7d8
RM
6824 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6825 (elfobjdir): Move out of conditionals.
6826
b1c608fe
RM
6827 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6828 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6829 (__nss_lookup_function): Conditionalize label remove_from_tree on
6830 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6831
1d9a6d96
DM
68322012-09-28 David S. Miller <davem@davemloft.net>
6833
6834 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6836 file.
6837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6838 sysdep_routines.
6839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6841 when HWCAP_SPARC_CRYPTO is present.
6842
72581615
PT
68432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6844
6845 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6846
715a900c
JL
68472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6848
6849 [BZ #6530]
6850 * stdio-common/vfprintf.c (process_string_arg): Revert
6851 2000-07-22 change.
6852
68532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6854
6855 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6856 for testcase.
6857 * stdio-common/tst-sprintf.c: Include <locale.h>
6858 (main): Test sprintf's handling of incomplete multibyte
6859 characters.
6860
9bac1d86
L
68612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6862
6863 * elf/dl-runtime.c (VERSYMIDX): Removed.
6864 * elf/dl-version.c (VERSYMIDX): Likewise.
6865 * elf/do-rel.h (VERSYMIDX): Likewise.
6866 (VALIDX): Likewise.
6867 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6868 * elf/rtld.c (VALIDX): Likewise.
6869 (ADDRIDX): Likewise.
9bac1d86
L
6870 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6871 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6872 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6873 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6874 (VALIDX): Likewise.
6875 (ADDRIDX): Likewise.
9bac1d86 6876
b31606c0
PT
68772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6878
6879 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6880
11541177
JL
68812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6882
6883 [BZ #11438]
6884 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6885 to global scope.
6886 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6887 addresses are in the same scope as 192.0.2/24.
6888 * posix/gai.conf: Document new scope table defaults.
6889
adb26fae
SP
68902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6891
6892 [BZ #5298]
6893 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6894 for ftell. Compute offsets from write pointers instead.
6895 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6896
4573c6b0
SP
68972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 [BZ #14543]
6900 * libio/Makefile (tests): New test case tst-fseek.
6901 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6902 combination works in wide mode.
6903 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6904 state when the external buffer state changes.
6905
aa9bbfe6
DM
69062012-09-27 David S. Miller <davem@davemloft.net>
6907
6908 [BZ #14376]
6909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6910 pass reloc->r_addend in as the 'high' argument to
6911 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6912
784421e7
DM
6913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6914
c39bc8b8
PT
69152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6916
6917 * rt/tst-aio2.c: Include <pthread.h>.
6918 * rt/tst-aio3.c: Likewise.
6919
1ccc2399
SE
69202012-09-27 Steve Ellcey <sellcey@mips.com>
6921
6922 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6923
31ed4153
L
69242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6925
25f5f885
L
6926 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6927 contents on [SHARED].
31ed4153 6928
b7bfe116
MP
69292012-09-26 Marek Polacek <polacek@redhat.com>
6930
6931 [BZ #14530]
6932 [BZ #13741]
6933 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6934 for C++ and GCC <4.3 as well as for non GCC compilers.
6935
43c4edba
MT
69362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6937
6938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6939
6a1bf82f
RM
69402012-09-25 Roland McGrath <roland@hack.frob.com>
6941
6942 * Makefile.in (all, install): Declare with .PHONY.
6943 Reported by Michael Hope <michael.hope@linaro.org>.
6944
8ad11b9a
TMQMF
69452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6946
6947 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6948 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6949 system header.
6950 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6951 Likewise.
6952 (sydep_routines): Add the new and the internal functions.
6953 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6954 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6956 (GLIBC_2.17): Add the new function.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6958 (GLIBC_2.17): Likewise.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6960 (GLIBC_2.17): Likewise.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6962 (GLIBC_2.17): Likewise.
6963 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6964
7e2fca8d
AM
69652012-09-25 Alan Modra <amodra@gmail.com>
6966
6967 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6968 Add release barrier before setting once_control to say
6969 initialisation is done. Add hints on lwarx. Use macro in
6970 place of isync.
6971 (clear_once_control): Add release barrier.
6972
b87c4b24
JM
69732012-09-25 Joseph Myers <joseph@codesourcery.com>
6974
d032e0d2
JM
6975 [BZ #13629]
6976 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6977 specially.
6978 * math/s_clog10.c (__clog10): Likewise.
6979 * math/s_clog10f.c (__clog10f): Likewise.
6980 * math/s_clog10l.c (__clog10l): Likewise.
6981 * math/s_clogf.c (__clogf): Likewise.
6982 * math/s_clogl.c (__clogl): Likewise.
6983 * math/Makefile (libm-calls): Add x2y2m1.
6984 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6985 (__x2y2m1): Likewise.
6986 (__x2y2m1l): Likewise.
6987 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6988 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6993 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6994 * sysdeps/i386/fpu/libm-test-ulps: Update.
6995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6996
b87c4b24
JM
6997 [BZ #14621]
6998 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6999 int as type of variable DEPTH.
7000 (glob): Use size_t instead of int as type of variables NEWCOUNT
7001 and OLD_PATHC.
7002
6d3bf199
LD
70032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7004
22bf5c17
LD
7005 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7006 Add s_sincosf-sse2.
7007 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7008 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7009 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7010 macros for using routine as __sincosf_ia32.
7011 Use macro for function declaration and weak_alias.
7012 * sysdeps/i386/fpu/libm-test-ulps: Update.
7013
7014 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7016
7017 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7018 subnormal argument.
7019 * math/s_cexpf.c (__cexpf): Likewise.
7020 * math/s_csinf.c (__csinf): Likewise.
7021 * math/s_csinhf.c (__csinhf): Likewise.
7022 * math/s_ctanf.c (__ctanf): Likewise.
7023 * math/s_ctanhf.c (__ctanhf): Likewise.
7024 * math/s_ccosh.c (__ccoshf): Likewise.
7025 * math/s_cexp.c (__cexpl): Likewise.
7026 * math/s_csin.c (__csin): Likewise.
7027 * math/s_csinh.c (__csinh): Likewise.
7028 * math/s_ctan.c (__ctan): Likewise.
7029 * math/s_ctanh.c (ctanh): Likewise.
7030 * math/s_ccoshl.c (__ccoshl): Likewise.
7031 * math/s_cexpl.c (__cexpl): Likewise.
7032 * math/s_csinl.c (__csinl): Likewise.
7033 * math/s_csinhl.c (__csinhl): Likewise.
7034 * math/s_ctanl.c (__ctanl): Likewise.
7035 * math/s_ctanhl.c (__ctanhl): Likewise.
7036
203e5603
JM
70372012-09-25 Joseph Myers <joseph@codesourcery.com>
7038
7039 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7040 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7041 (_IO_off_t): Define to __off_t, not _G_off_t.
7042 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7043 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7044 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7045 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7046 type of __dummy and __dummy2 fields.
7047 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7048 (_G_ssize_t): Likewise.
7049 (_G_off_t): Likewise.
7050 (_G_pid_t): Likewise.
7051 (_G_uid_t): Likewise.
7052 (_G_wchar_t): Likewise.
7053 (_G_wint_t): Likewise.
7054 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7055 (_G_ssize_t): Likewise.
7056 (_G_off_t): Likewise.
7057 (_G_pid_t): Likewise.
7058 (_G_uid_t): Likewise.
7059 (_G_wchar_t): Likewise.
7060 (_G_wint_t): Likewise.
7061 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7062 (_G_ssize_t): Likewise.
7063 (_G_off_t): Likewise.
7064 (_G_pid_t): Likewise.
7065 (_G_uid_t): Likewise.
7066 (_G_wchar_t): Likewise.
7067 (_G_wint_t): Likewise.
7068
9fab36eb
SP
70692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7070
7071 * malloc/arena.c: Include malloc-sysdep.h.
7072 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7073 is sufficient to shrink the heap or an unmap is needed.
7074 * sysdeps/generic/malloc-sysdep.h: New file. Define
7075 new function check_may_shrink_heap.
7076 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7077 new function check_may_shrink_heap.
7078
2b4f00d1
SP
70792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7080
7081 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7082 comments.
7083
9a9028b1
DL
70842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7085
57c69bef
DL
7086 * catgets/test-gencat.sh: Add "set -e".
7087 * elf/tst-pathopt.sh: Likewise.
7088 * grp/tst_fgetgrent.sh: Likewise.
7089 * iconvdata/run-iconv-test.sh: Likewise.
7090 * intl/tst-gettext.sh: Likewise.
7091 * intl/tst-gettext2.sh: Likewise.
7092 * intl/tst-gettext4.sh: Likewise.
7093 * intl/tst-gettext6.sh: Likewise.
7094 * intl/tst-translit.sh: Likewise.
7095 * io/ftwtest-sh: Likewise.
7096 * libio/test-freopen.sh: Likewise.
7097 * malloc/tst-mtrace.sh: Likewise.
7098 * posix/globtest.sh: Likewise.
7099 * posix/tst-getconf.sh: Likewise.
7100 * posix/wordexp-tst.sh: Likewise.
7101 * stdio-common/tst-printf.sh: Likewise.
7102 * stdio-common/tst-unbputc.sh: Likewise.
7103 * stdlib/tst-fmtmsg.sh: Likewise.
7104 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7105 * catgets/Makefile: Do not specify -e option when running
7106 testsuite shell scripts.
7107 * elf/Makefile: Likewise.
7108 * grp/Makefile: Likewise.
7109 * iconvdata/Makefile: Likewise.
7110 * intl/Makefile: Likewise.
7111 * io/Makefile: Likewise.
7112 * libio/Makefile: Likewise.
7113 * malloc/Makefile: Likewise.
7114 * posix/Makefile: Likewise.
7115 * stdio-common/Makefile: Likewise.
7116 * stdlib/Makefile: Likewise.
7117 * sysdeps/x86_64/Makefile: Likewise.
7118
9a9028b1
DL
7119 * io/ftwtest-sh: Add copyright header.
7120 * posix/globtest.sh: Likewise.
7121 * posix/tst-getconf.sh: Likewise.
7122 * posix/wordexp-tst.sh: Likewise.
7123 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7124
ced6f16e
L
71252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7126
94b32c39
L
7127 [BZ #13679]
7128 * Makeconfig (+link): Defined as $(+link-static) if
7129 $(build-shared) isn't yes.
7130 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7131 isn't yes.
7132 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7133
189e935b
L
7134 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7135
ced6f16e
L
7136 [BZ #14562]
7137 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7138 new chunk size with MALLOC_ALIGN_MASK.
7139
a9f8e53a
JM
71402012-09-24 Joseph Myers <joseph@codesourcery.com>
7141
7142 [BZ #5044]
7143 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7144 <rounding-mode.h>.
7145 (__printf_fphex): Determine rounding using get_rounding_mode and
7146 round_away.
7147 * stdio-common/tst-printf-round.c (struct hex_test): New
7148 structure.
7149 (hex_tests): New variable.
7150 (test_hex_in_one_mode): New function.
7151 (do_test): Also run tests for hex float output.
7152
43153109
JM
71532012-09-21 Joseph Myers <joseph@codesourcery.com>
7154
7155 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7156 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7157 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7158 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7159 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7160 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7161 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7162 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7163
8a26625d
JM
71642012-09-20 Joseph Myers <joseph@codesourcery.com>
7165
7166 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7167 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7168 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7169 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7170
f3fd569c
DL
71712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7172
7173 [BZ #14579]
7174 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7175 mode only.
7176 * elf/tst-rtld-load-self.sh: New test.
7177 * elf/Makefile: Run it.
7178
63bbedd4
JM
71792012-09-18 Joseph Myers <joseph@codesourcery.com>
7180
7181 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7182 (tst-writev-ENV): Remove.
7183 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7184
626f8b6a
CM
71852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7186
7187 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7188
b7aaa4d6
JM
71892012-09-17 Joseph Myers <joseph@codesourcery.com>
7190
7191 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7192 unconditional.
7193 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7194 Likewise.
7195 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7196 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7197 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7198 Likewise.
7199
65513990
L
72002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 [BZ #14587]
7203 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7204 * config.make.in (have-cpp-asm-debuginfo): Removed.
7205 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7206 * configure: Regenerated.
7207
784761be
JM
72082012-09-14 Joseph Myers <joseph@codesourcery.com>
7209
7210 [BZ #5044]
7211 * stdio-common/printf_fp.c: Include <stdbool.h> and
7212 <rounding-mode.h>.
7213 (___printf_fp): Determine rounding using get_rounding_mode and
7214 round_away.
7215 * stdio-common/tst-printf-round.c: New file.
7216 * stdio-common/Makefile (tests): Add tst-printf-round.
7217 (link-libm): New variable.
7218 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7219
9503345f
L
72202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 [BZ #14576]
7223 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7224 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7225 Likewise.
7226 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7227 Likewise.
7228
ad35fc00
JM
72292012-09-13 Joseph Myers <joseph@codesourcery.com>
7230
7231 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7232 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7233 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7235
6c9b0f68
JM
72362012-09-12 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #14518]
7239 * include/rounding-mode.h: New file.
7240 * sysdeps/generic/get-rounding-mode.h: Likewise.
7241 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7242 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7243 (MAX_VALUE): New macro.
7244 (MIN_VALUE): Likewise.
7245 (overflow_value): New function.
7246 (underflow_value): Likewise.
7247 (round_and_return): Use overflow_value and underflow_value to
7248 determine return values in overflow and underflow cases. Use
7249 round_away to determine rounding depending on rounding mode.
7250 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7251 determine return values in overflow and underflow cases.
7252 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7253 (struct test_results): New structure.
7254 (struct test): Use struct test_results to store expected results
7255 for all rounding modes.
7256 (TEST): Include expected results for all rounding modes.
7257 (test_in_one_mode): New function.
7258 (do_test): Use test_in_one_mode to compute and check results.
7259 Check results for all rounding modes.
7260 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7261 $(link-libm).
7262
19fcedd5
AM
72632012-12-09 Allan McRae <allan@archlinux.org>
7264
1e9d84cd 7265 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7266
8bbfd2f1
JM
72672012-09-11 Joseph Myers <joseph@codesourcery.com>
7268
7269 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7270 (_G_int32_t): Likewise.
7271 (_G_uint16_t): Likewise.
7272 (_G_uint32_t): Likewise.
7273 (_G_HAVE_BOOL): Likewise.
7274 (_G_HAVE_ATEXIT): Likewise.
7275 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7276 (_G_HAVE_IO_FILE_OPEN): Likewise.
7277 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7278 (_G_int32_t): Likewise.
7279 (_G_uint16_t): Likewise.
7280 (_G_uint32_t): Likewise.
7281 (_G_HAVE_BOOL): Likewise.
7282 (_G_HAVE_ATEXIT): Likewise.
7283 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7284 (_G_HAVE_IO_FILE_OPEN): Likewise.
7285 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7286 (_G_int32_t): Likewise.
7287 (_G_uint16_t): Likewise.
7288 (_G_uint32_t): Likewise.
7289 (_G_HAVE_BOOL): Likewise.
7290 (_G_HAVE_ATEXIT): Likewise.
7291 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7292 (_G_HAVE_IO_FILE_OPEN): Likewise.
7293
b1dc5912
L
72942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7295
7296 * csu/libc-tls.c: Update copyright years.
7297
0e886ef9
JM
72982012-09-10 Joseph Myers <joseph@codesourcery.com>
7299
28361c5e
JM
7300 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7301 [!_G_USING_THUNKS]: Remove conditional code.
7302 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7303 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7304
0e886ef9
JM
7305 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7306 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7307 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7308 (_G_VTABLE_LABEL_PREFIX): Likewise.
7309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7310 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7311 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7312 (_G_VTABLE_LABEL_PREFIX): Likewise.
7313 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7314 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7316 (_G_VTABLE_LABEL_PREFIX): Likewise.
7317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7318
bcba7aa2
L
73192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7320
7321 * libio/Makefile: Include ../Makeconfig before tests.
7322 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7323 only if $(build-shared) is yes.
7324
06585ee8
L
7325 * iconv/gconv_db.c: Update copyright years.
7326
80ccd52c
LD
73272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7328
7329 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7330 unwind info if defined PIC. Fix special cases description.
7331 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7332
7333 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7334 DP_HI_MASK entry.
7335 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7336
691bc9c1
L
73372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7338
3d9b46b3
L
7339 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7340
de2139a9
L
7341 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7342 is NULL.
7343
5ca78dd0
L
7344 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7345 (LDLIBS-tst-chk4): This.
7346 (LDFLAGS-tst-chk5): Renamed to ...
7347 (LDLIBS-tst-chk5): This.
7348 (LDFLAGS-tst-chk6): Renamed to ...
7349 (LDLIBS-tst-chk6): This.
7350 (LDFLAGS-tst-lfschk4): Renamed to ...
7351 (LDLIBS-tst-lfschk4): This.
7352 (LDFLAGS-tst-lfschk5): Renamed to ...
7353 (LDLIBS-tst-lfschk5): This.
7354 (LDFLAGS-tst-lfschk6): Renamed to ...
7355 (LDLIBS-tst-lfschk6): This.
7356
691bc9c1
L
7357 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7358 on $(common-objpfx)soversions.mk.
7359
65cafb1c
JM
73602012-09-07 Joseph Myers <joseph@codesourcery.com>
7361
7362 [BZ #10014]
7363 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7364 example host name.
7365
c78ab094
SP
73662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7367
7368 * malloc/arena.c (arena_get_retry): New function that gets
7369 another arena for the caller to try its request on.
7370 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7371 current arena cannot fulfill the request.
7372 (__libc_memalign): Likewise.
7373 (__libc_memalign): Likewise.
7374 (__libc_pvalloc): Likewise.
7375 (__libc_calloc): Likewise.
7376
01f49f59
JT
73772012-09-05 John Tobey <john.tobey@gmail.com>
7378
7379 [BZ #13542]
7380 * manual/arith.texi (Operations on Complex): Fix description
7381 of carg branch cut.
7382
4c23fed5
JM
73832012-09-06 Joseph Myers <joseph@codesourcery.com>
7384
1d3c8572
JM
7385 [BZ #10014]
7386 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7387 host name.
7388
4c23fed5
JM
7389 [BZ #10038]
7390 * manual/memory.texi (Memory): Make order of menu items match
7391 order of sections.
7392
04570aaa
L
73932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7396 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7397 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7398
b80af2f4
L
73992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7400
7401 * csu/libc-tls.c (static_dtv): Renamed to ...
7402 (_dl_static_dtv): This. Make it global.
7403 (_dl_initial_dtv): Removed.
7404 (__libc_setup_tls): Updated.
7405 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7406 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7407 DL_INITIAL_DTV.
7408
2abe9f15
PM
74092012-09-06 Petr Machata <pmachata@redhat.com>
7410
7411 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7412 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7413 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7414 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7415
0948c3af
L
74162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7417
7418 [BZ #14545]
7419 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7420 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7421 freeing dtv[-1].
7422
a5055ad1
L
74232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 [BZ #14544]
7426 * Makeconfig (link-static-before-libc): Replace $(+prector)
7427 with $(+prectorT).
7428 (link-static-after-libc): Replace $(+postctor) with
7429 $(+postctorT).
7430 (link-bounded): Replace $(+prector)/$(+postctor) with
7431 $(+prectorT)/$(+postctorT).
7432 (+prectorT): New macro.
7433 (+postctorT): Likewise.
7434
ed8c2ecd
JM
74352012-09-06 Joseph Myers <joseph@codesourcery.com>
7436
7437 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7438 (round_str): Handle values above the maximum for IBM long double
7439 as inexact.
7440 * stdlib/tst-strtod-round.c (tests): Regenerated.
7441
14c996c8
AK
74422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7443
7444 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7445 assembler flag.
7446 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7447 zarch_nohighgprs around the zarch optimized routines.
7448 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7449 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7451 for zarch.
7452
430d6ce6
DM
74532012-09-05 David S. Miller <davem@davemloft.net>
7454
7455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7456
ff04dda4
DM
7457 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7458 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7459 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7460 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7461 entries.
7462
24d4e01b
AO
74632012-09-05 Alexandre Oliva <aoliva@redhat.com>
7464
7465 * malloc/arena.c: Fold copyright years.
7466 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7467
61d58174
AO
74682012-09-05 Alexandre Oliva <aoliva@redhat.com>
7469
7470 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7471
20196a5e
AO
74722012-09-05 Alexandre Oliva <aoliva@redhat.com>
7473
7474 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7475
5c447383
AO
74762012-09-05 Alexandre Oliva <aoliva@redhat.com>
7477
7478 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7479 change internal state upon failure.
7480
fad64255
AO
74812012-09-05 Alexandre Oliva <aoliva@redhat.com>
7482
7483 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7484 * malloc/memusage.c (mmap): Likewise.
7485 (mmap64, mremap): Likewise. Adjust name in comment.
7486
1ffb8c90
SP
74872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7488
7489 * libio/fileops.c: Fix typos in comments.
7490 * libio/oldfileops.c: Likewise.
7491 * libio/wfileops.c: Likewise.
7492
6ef9cc37
SP
74932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7494
7495 [BZ #1349]
7496 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7497 (tst-malloc-usable-ENV): Set environment for test case.
7498 * malloc/hooks.c (malloc_check_get_size): New function to get
7499 requested size.
7500 * malloc/malloc.c (musable): Use malloc_check_get_size.
7501 * malloc/tst-malloc-usable.c: New test case.
7502
4d038ae3
AS
75032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7504
7505 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7506
c4e85184
AM
75072012-09-05 Allan McRae <allan@archlinux.org>
7508
b9dafc56 7509 [BZ #13966]
c4e85184
AM
7510 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7511 determine header location.
7512 * configure: Regenerated.
7513
e1343020
AS
75142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7515
7516 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7517 float format.
7518 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7519 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7520 format.
e1343020
AS
7521 (test): Regenerate.
7522
0a9f1987
DM
75232012-09-04 David S. Miller <davem@davemloft.net>
7524
7525 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7526 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7527 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7528
29237804
FW
75292012-09-04 Florian Weimer <fweimer@redhat.com>
7530
7531 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7532 failures.
7533
edb3cb88
FW
7534 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7535
60160d83
JM
75362012-09-04 Joseph Myers <joseph@codesourcery.com>
7537
7538 [BZ #9914]
7539 * libio/iogetdelim.c: Include <limits.h>.
7540 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7541 + len + 1 would overflow.
7542
bcd6c8dc
AJ
75432012-09-03 Andreas Jaeger <aj@suse.de>
7544
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7546 * sysdeps/i386/fpu/libm-test-ulps: Update.
7547
4ffffbd2
LD
75482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7549
7550 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7551 Add s_sinf-sse2, s_conf-sse2.
7552
7553 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7554 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7555 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7556 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7557
7558 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7559 for using routine as __sinf_ia32.
7560 Use macro for function declaration and weak_alias.
7561 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7562 for using routine as __cosf_ia32.
7563 Use macro for function declaration and weak_alias.
7564
7565 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7566 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7567
7568 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7569 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7571
7572 * math/libm-test.inc (cos_test): Add more test cases.
7573 (sin_test): Likewise.
7574 (sincos_test): Likewise.
7575
511fa286
AK
75762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7577
7578 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7579 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7580 hidden.
7581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7582
5f30cfec
L
75832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 [BZ #14538]
7586 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7587 first element of the GOT.
7588 (elf_machine_load_address): Return the difference between
7589 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7590
0786794f
AM
75912012-09-01 Allan McRae <allan@archlinux.org>
7592
5f30cfec
L
7593 [BZ #13412]
7594 * configure.in (AWK): Require gawk version 3.0 or later.
7595 * configure: Regenerated.
0786794f 7596
26889eac
JM
75972012-09-01 Joseph Myers <joseph@codesourcery.com>
7598
7599 * sysdeps/unix/sysv/linux/kernel-features.h
7600 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7602 [__NR_clock_getres]: Make code unconditional.
7603 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7604 (clock_getcpuclockid): Remove code left unreachable by removal of
7605 conditionals.
7606 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7607 code unconditional.
7608 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7609 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7610 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7611 Make code unconditional.
7612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7614 * sysdeps/unix/sysv/linux/clock_settime.c
7615 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7616 conditional code.
7617 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7619
d22e28b0
L
76202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 [BZ #14476]
7623 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7624 scripts/test-installation.pl.
7625
7626 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7627 and $ld_so_version if it is set.
7628
050af9c4
SP
76292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7630
7631 [BZ #14516]
7632 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7633 failure if reading from procfs failed.
7634 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7635
ad845c0b
JM
76362012-08-27 Joseph Myers <joseph@codesourcery.com>
7637
7638 * sysdeps/unix/sysv/linux/kernel-features.h
7639 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7640 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7641 Remove conditional code.
7642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7643 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7644 Remove conditional code.
7645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7646 * sysdeps/unix/sysv/linux/i386/fxstat.c
7647 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7649 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7650 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7652 * sysdeps/unix/sysv/linux/i386/lxstat.c
7653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7655 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7656 Remove conditional code.
7657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7658 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7659 Remove conditional code.
7660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7662 <kernel-features.h>.
7663 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7664 Remove.
7665 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7666 Remove conditional code.
7667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7668 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7669 Remove conditional.
7670
5dbf56af
MF
76712012-08-27 Mike Frysinger <vapier@gentoo.org>
7672
7673 [BZ #5400]
7674 * NEWS: Add fixed bug number.
7675
d6e70f43
JM
76762012-08-27 Joseph Myers <joseph@codesourcery.com>
7677
7efb4737
JM
7678 [BZ #14519]
7679 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7680 underflowing exponent in case of negative sign.
7681 * stdlib/tst-strtod-round-data: Add more tests.
7682 * stdlib/tst-strtod-round.c (tests): Regenerated.
7683
af92131a
JM
7684 [BZ #3479]
7685 * stdlib/strtod_l.c (NDIG): Remove.
7686 (HEXNDIG): Likewise.
7687 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7688 smallest representable value.
7689 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7690 lie within an exact representation of 1/2 ulp of the result.
7691 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7692 unconditionally.
7693 (TENS_P9_IDX): Define unconditionally.
7694 (TENS_P9_SIZE): Likewise.
7695 (TENS_P10_IDX): Likewise.
7696 (TENS_P10_SIZE): Likewise.
7697 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7698 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7699 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7700 entries for 10^2^13 and 10^2^14.
7701 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7702 (TENS_P13_IDX): Define.
7703 (TENS_P13_SIZE): Likewise.
7704 (TENS_P14_IDX): Likewise.
7705 (TENS_P14_SIZE): Likewise.
7706 (_fpioconst_pow10): Change array size to
7707 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7708 unconditional.
7709 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7710 1024]: Add entries for 10^2^13 and 10^2^14.
7711 [LAST_POW10 > _LAST_POW10]: Remove #error.
7712 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7713 (_fpioconst_pow10): Change array size to
7714 FPIOCONST_POW10_ARRAY_SIZE.
7715 * stdlib/gen-fpioconst.c: New file.
7716 * stdlib/gen-tst-strtod-round.c: Likewise.
7717 * stdlib/tst-strtod-round-data: Likewise.
7718 * stdlib/tst-strtod-round.c: Likewise.
7719 * stdlib/Makefile (tests): Add tst-strtod-round.
7720
d6e70f43
JM
7721 [BZ #14459]
7722 * stdlib/strtod_l.c: Include <stdint.h>.
7723 (NDEBUG): Do not define.
7724 (round_and_return): Change EXPONENT parameter to type intmax_t.
7725 Rearrange calculations to avoid internal overflow possibilities.
7726 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7727 Rearrange calculations to avoid internal overflow possibilities.
7728 Assert that number fits inside MPNSIZE limbs.
7729 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7730 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7731 calculations and add assertions to avoid internal overflow
7732 possibilities. Add casts to avoid signed/unsigned operations.
7733 * stdlib/tst-strtod-overflow.c: New file.
7734 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7735
1f529f7d
MP
77362012-08-25 Marek Polacek <polacek@redhat.com>
7737
7738 * time/time.h: Fix some typos in comments.
7739
59a629f1
RM
77402012-08-23 Roland McGrath <roland@hack.frob.com>
7741
7742 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7743 * posix/tst-rfc3484-2.c: Likewise.
7744 * posix/tst-rfc3484-3.c: Likewise.
7745
d3bafbc9
SM
77462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7747
7748 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7749 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7750
4efcc022
JM
77512012-08-23 Joseph Myers <joseph@codesourcery.com>
7752
7753 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7754 #include of fxstatat64.c.
7755
3cc3ef96
RM
77562012-08-22 Roland McGrath <roland@hack.frob.com>
7757
f04e2132
RM
7758 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7759 * shadow/getspent_r.c: Likewise.
7760 * shadow/getspnam.c: Likewise.
7761 * shadow/getspnam_r.c: Likewise.
7762 * gshadow/getsgent.c: Likewise.
7763 * gshadow/getsgent_r.c: Likewise.
7764 * gshadow/getsgnam.c: Likewise.
7765 * gshadow/getsgnam_r.c: Likewise.
7766 * inet/getnetbyad.c: Likewise.
7767 * inet/getnetbyad_r.c: Likewise.
7768 * inet/getnetbynm.c: Likewise.
7769 * inet/getnetbynm_r.c: Likewise.
7770 * inet/getnetent.c: Likewise.
7771 * inet/getnetent_r.c: Likewise.
7772 * inet/getproto.c: Likewise.
7773 * inet/getproto_r.c: Likewise.
7774 * inet/getprtent.c: Likewise.
7775 * inet/getprtent_r.c: Likewise.
7776 * inet/getprtname.c: Likewise.
7777 * inet/getprtname_r.c: Likewise.
7778 * inet/getrpcbyname.c: Likewise.
7779 * inet/getrpcbyname_r.c: Likewise.
7780 * inet/getrpcbynumber.c: Likewise.
7781 * inet/getrpcbynumber_r.c: Likewise.
7782 * inet/getrpcent.c: Likewise.
7783 * inet/getrpcent_r.c: Likewise.
7784 * inet/getaliasent.c: Likewise.
7785 * inet/getaliasent_r.c: Likewise.
7786 * inet/getaliasname.c: Likewise.
7787 * inet/getaliasname_r.c: Likewise.
7788 * nscd/getgrgid_r.c: Likewise.
7789 * nscd/getgrnam_r.c: Likewise.
7790 * nscd/gethstbyad_r.c: Likewise.
7791 * nscd/gethstbynm3_r.c: Likewise.
7792 * nscd/getpwnam_r.c: Likewise.
7793 * nscd/getpwuid_r.c: Likewise.
7794 * nscd/getsrvbynm_r.c: Likewise.
7795 * nscd/getsrvbypt_r.c: Likewise.
7796 * nscd/gai.c: Likewise.
7797
c53d909c
RM
7798 * configure.in (build_nscd): New substituted variable, set
7799 by --disable-build-nscd and defaults to $use_nscd.
7800 * configure: Regenerated.
7801 * config.make.in (build-nscd): New substituted variable.
7802 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7803 Change conditional to require [$(build-nscd) = yes] as well.
7804 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7805
3cc3ef96
RM
7806 [BZ# 13696]
7807 * configure.in (use_nscd): New substituted variable, set by
7808 --disable-nscd. If enabled, define USE_NSCD.
7809 * configure: Regenerated.
7810 * config.h.in: Add USE_NSCD.
7811 * config.make.in (use-nscd): New substituted variable.
7812 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7813 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7814 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7815 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7816 (CFLAGS-getgrnam_r.c): Likewise.
7817 (CFLAGS-initgroups.c): Likewise.
7818 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7819 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7820 Variables removed.
7821 * inet/getnetgrent_r.c
7822 (nscd_setnetgrent): New function, broken out of ...
7823 (setnetgrent): ... here. Call it.
7824 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7825 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7826 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7827 * nscd/Makefile (routines, aux): Move definitions after include of
7828 Makeconfig. Conditionalize on [$(use-nscd) != no].
7829 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7830 Conditionalize on [USE_NSCD].
7831 (is_nscd, nscd_init_cb): Likewise.
7832 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7833 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7834 * nss/nss_db/db-init.c: Likewise.
7835 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7836 [USE_NSCD].
7837 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7838 (make_request): Use it.
7839 (cache_valid_p): New function.
7840 (__check_pf): Use it.
7841 * NEWS: Add item for --disable-nscd.
7842
07e51550
DL
78432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7844
7845 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7846 to support sed >= 4.2.1-20-ga9bf076.
7847 * configure: Regenerated.
7848
35a5b08b
RM
78492012-08-22 Roland McGrath <roland@hack.frob.com>
7850
7851 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7852 Conditionalize whole body on [IREL].
7853
8479f23a
JL
78542012-08-22 Jeff Law <law@redhat.com>
7855
7856 [BZ #14505]
7857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7858 if the family is PF_UNSPEC.
7859
48da0b21
MF
78602012-08-22 Mike Frysinger <vapier@gentoo.org>
7861
7862 * Makerules (lib-version): Rename from V.
7863 (install-lib-nosubdir): Change V to lib-version.
7864
15d0da8c
WS
78652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7866
7867 [BZ #14252]
7868 * powerpc32/power6/wcschr.c: New file.
7869 * powerpc32/power6/wcscpy.c: New file.
7870 * powerpc32/power6/wcsrchr.c: New file.
7871 * powerpc64/power6/wcschr.c: New file.
7872 * powerpc64/power6/wcscpy.c: New file.
7873 * powerpc64/power6/wcsrchr.c: New file.
7874
bcca0895
MK
78752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7876
7877 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7878 (two_way_short_needle): Use it.
5a4aaa33
RM
7879 * string/strstr.c (AVAILABLE1_USES_J): Define.
7880 * string/strcasestr.c: Likewise.
99677e57
MK
7881
7882 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7883 array references.
7884 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7885
400726de
MK
7886 [BZ #11607]
7887 * NEWS: Add an entry.
7888 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7889 define their defaults.
7890 (two_way_short_needle): Detect end-of-string on-the-fly.
7891 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7892 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7893 * string/bug-strcasestr1.c: New test.
7894 * string/Makefile: Run it.
7895
20a71f2c
MK
78962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7897
7898 [BZ #11607]
7899 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7900 the first character.
7901
21ad0558
RM
79022012-08-21 Roland McGrath <roland@hack.frob.com>
7903
7904 * csu/elf-init.c (__libc_csu_irel): Function removed.
7905 * csu/libc-start.c (apply_irel): New function.
7906 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7907
0e1d9911
JM
79082012-08-21 Joseph Myers <joseph@codesourcery.com>
7909
7910 * sysdeps/unix/sysv/linux/kernel-features.h
7911 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7912 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7913 <kernel-features.h>.
7914 [__NR_fadvise64_64]: Make code unconditional.
7915 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7916 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7917 !__NR_fadvise64_64)]: Likewise.
7918 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7919 !__NR_fadvise64_64))]: Likewise.
7920 [__NR_fadvise64]: Make code unconditional.
7921 [!__NR_fadvise64]: Remove conditional code.
7922 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7923 <kernel-features.h>.
7924 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7925 unconditional.
7926 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7927 conditional code.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7929 not include <kernel-features.h>.
7930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7931 unconditional.
7932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7933 conditional code.
7934 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7935 include <kernel-features.h>.
7936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7937 unconditional.
7938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7939 conditional code.
7940
14a50c9d
WS
79412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7942
7943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7944 slight instruction rearrangements per scrollpipe analysis.
7945 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7946
c0f4faf0
RM
79472012-08-20 Roland McGrath <roland@hack.frob.com>
7948
696da859
RM
7949 * manual/syslog.texi (syslog; vsyslog, closelog):
7950 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7951 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7952
c0f4faf0
RM
7953 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7954 DSOCAPS to match condition on defining it.
7955
348363b2
JM
79562012-08-20 Joseph Myers <joseph@codesourcery.com>
7957
a35cbf28
JM
7958 * sysdeps/unix/sysv/linux/kernel-features.h
7959 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7961 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7962 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7964 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7965 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7969
445f7ecd
JM
7970 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7971 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7972
348363b2
JM
7973 * sysdeps/unix/sysv/linux/kernel-features.h
7974 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7975 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7976 unconditional.
7977 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7978 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7979 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7980 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7981 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7982 Make code unconditional.
7983 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7984 (__mmap64) [!__NR_mmap2]: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7986 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7987 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7988 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7989 [__NR_mmap2]: Make code unconditional.
7990 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7991 (__mmap64) [!__NR_mmap2]: Likewise.
7992
bc5bc0e5
AK
79932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7994
7995 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7996
88d506de
AJ
79972012-08-18 Andreas Jaeger <aj@suse.de>
7998
7999 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8000
493387d2
MF
80012012-08-18 Mike Frysinger <vapier@gentoo.org>
8002
8003 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8004 * include/unistd.h (__have_sock_cloexec): Likewise.
8005 (__have_pipe2): Likewise.
8006 (__have_dup3): Likewise.
8007
a277af22
MF
80082012-08-18 Mike Frysinger <vapier@gentoo.org>
8009
8010 [BZ #9685]
8011 * include/unistd.h (__have_pipe2): Change define into an extern int.
8012 (__have_dup3): Likewise.
8013 * socket/have_sock_cloexec.c: Include fcntl.h.
8014 (__have_pipe2): New variable.
8015 (__have_dup3): Likewise.
8016
fdab8fd3
MF
80172012-08-17 Mike Frysinger <vapier@gentoo.org>
8018
8019 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8020
31035e80
MP
80212012-08-17 Marek Polacek <polacek@redhat.com>
8022
8023 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8024 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8025
3bd9e993
RM
80262012-08-17 Roland McGrath <roland@hack.frob.com>
8027
c91c505f
RM
8028 * configure.in: Add AC_SUBST for sysheaders.
8029 * configure: Regenerated.
8030 * config.make.in (sysheaders): New substituted variable.
8031
7c6f9d53
RM
8032 * sysdeps/unix/mkfifo.c: Moved ...
8033 * sysdeps/posix/mkfifo.c: ... here.
8034 * sysdeps/unix/mkfifoat.c: Moved ...
8035 * sysdeps/posix/mkfifoat.c: ... here.
8036
8037 * sysdeps/unix/utime.c: Moved ...
8038 * sysdeps/posix/utime.c: ... here.
8039
8040 * sysdeps/unix/time.c: Moved ...
8041 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8042 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8044
8045 * sysdeps/unix/nice.c: Moved ...
8046 * sysdeps/posix/nice.c: ... here.
8047
8048 * sysdeps/unix/alarm.c: Moved ...
8049 * sysdeps/posix/alarm.c: ... here.
8050
3bd9e993
RM
8051 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8052
d1f09384
JL
80532012-08-17 Jeff Law <law@redhat.com>
8054
8055 * intl/Makefile (codeset_mo): New variable.
8056 ($(codeset_mo)): New target.
8057 (tst-codeset.out): Depend on that. Remove explicit rule.
8058 (tst-gettext3.out, tst-gettext5.out): Likewise.
8059 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8060 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8061 * intl/tst-codeset.sh: Remove.
8062 * intl/tst-gettext3.sh: Likewise.
8063 * intl/tst-gettext5.sh: Likewise.
8064
2ae1ae5c
RM
80652012-08-17 Roland McGrath <roland@hack.frob.com>
8066
c31fdb83
RM
8067 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8068 * sysdeps/unix/syscalls.list: ... here.
8069
a0844057
RM
8070 * sysdeps/posix/getaddrinfo.c
8071 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8072 (gaiconf_init, gaiconf_reload): Use them.
8073 [!_STATBUF_ST_NSEC]
8074 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8075 Define using time_t rather than struct timespec.
8076
750c1f2a
RM
8077 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8078 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8079 Macros removed.
8080 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8081 [!NO_THREADS].
8082 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8083 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8084 Likewise.
8085
2ae1ae5c
RM
8086 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8087 __libc_cleanup_push argument.
8088
e66a42f5
RM
8089 * bits/param.h: New file.
8090 * misc/sys/param.h: New file.
8091 * include/sys/param.h: New file.
8092 * misc/Makefile (headers): Add bits/param.h.
8093 * sysdeps/generic/sys/param.h: File removed.
8094 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8095 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8096 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8097 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8098
b7c08a66
RM
8099 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8100 last change.
8101
b2e1c562
RM
8102 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8103 [_IO_MTSAFE_IO].
8104 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8105 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8106 New macros.
8107
c75ccd4c
RM
8108 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8109 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8110 rather than -D_IO_MTSAFE_IO conditionally.
8111 * stdio-common/Makefile (CPPFLAGS): Likewise.
8112 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8113 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8114 Use $(libio-mtsafe).
8115 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8116 of -D_IO_MTSAFE_IO.
8117 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8118 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8119 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8120 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8121 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8122 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8123 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8124 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8125 (CFLAGS-fread_u_chk.c): Likewise.
8126 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8127 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8128 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8129 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8130 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8131 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8132 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8133 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8134 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8135
8136 * libio/Makefile: Test [$(libc-reentrant) = yes]
8137 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8138
8139 * Makeconfig
8140 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8141 * sysdeps/pthread/configure: File removed.
8142 * sysdeps/pthread/Makeconfig: New file.
8143 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8144 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8145
d9195db8
GB
81462012-08-16 Gary Benson <gbenson@redhat.com>
8147
8148 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8149 unmapping the first object in a namespace.
8150
86466cd9
RM
81512012-08-16 Roland McGrath <roland@hack.frob.com>
8152
8153 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8154 (__internal_setnetgrent): ... this. Add internal_function to
8155 definition. Add libc_hidden_def.
8156 (setnetgrent): Update caller.
8157 (internal_endnetgrent): Renamed to ...
8158 (__internal_endnetgrent): ... this. Add internal_function to
8159 definition. Add libc_hidden_def.
8160 (endnetgrent): Update caller.
8161 (internal_getnetgrent_r): Renamed to ...
8162 (__internal_getnetgrent_r): ... this. Add internal_function to
8163 definition. Add libc_hidden_def.
8164 (__getnetgrent_r): Update caller.
8165 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8166
c3c8283c
JM
81672012-08-16 Joseph Myers <joseph@codesourcery.com>
8168
8169 * stdlib/longlong.h: Update from GCC.
8170
db1ee0a8
RM
81712012-08-16 Roland McGrath <roland@hack.frob.com>
8172
8173 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8174 on _QL, which is set by umul_ppmm but never used.
8175 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8176 variables, which are set by GMP macros but never used.
8177 * stdio-common/_itowa.c (_itowa): Likewise.
8178 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8179 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8180
30f69637
CD
81812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8182
8183 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8184 struct La_sh_regs is not constant.
8185 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8186 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8187 and struct La_sparc64_regs are not constant.
8188
93a78ac4
JM
81892012-08-16 Joseph Myers <joseph@codesourcery.com>
8190
8191 * sysdeps/unix/sysv/linux/kernel-features.h
8192 (__ASSUME_POSIX_TIMERS): Remove.
8193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8195 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8196 Make code unconditional.
8197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8198 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8199 Make code unconditional.
8200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8201 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8202 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8204 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8205 Make code unconditional.
8206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8207 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8208 (__libc_missing_posix_timers): Remove.
8209
dd924cd7
RM
82102012-08-15 Roland McGrath <roland@hack.frob.com>
8211
4b4f2771
RM
8212 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8213 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8214
601c888b
RM
8215 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8216
176790a7
RM
8217 * elf/dl-sym.c: Include <stdlib.h>.
8218
329bc018
RM
8219 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8220 constants, which avoids warnings in 32-bit builds.
8221
e04e272d
RM
8222 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8223 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8224
952bf94a
RM
8225 * misc/lseek.c: File moved to ...
8226 * io/lseek.c: ... here.
8227
7c99b50a
RM
8228 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8229
dd924cd7
RM
8230 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8231 shifting LEN more than 31 bits at once.
8232
b3f479a8
LD
82332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8234
8235 [BZ #14195]
8c4ae0d4
RM
8236 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8237 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8238 * string/test-strncasecmp.c (check1): Renamed to...
8239 (bz12205): ...this.
8240 (bz14195): Add new testcase for two empty input strings and N > 0.
8241 (test_main): Call new testcase, adapt for renamed function.
8242
9c55864e
AJ
82432012-08-15 Andreas Jaeger <aj@suse.de>
8244
8245 [BZ #14090]
8246 * crypt/md5test2.c: New test, based on test supplied by Serge
8247 Belyshev <belyshev@depni.sinp.msu.ru>.
8248 * crypt/Makefile (xtests): Add md5test-giant..
8249 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8250
02dcb6c5
PE
82512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8252
8253 [BZ #14090]
8254 * crypt/md5.c (md5_process_block): Don't assume the buffer
8255 length is less than 2**32.
8256 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8257 length is less than 2**64.
8258
a3f95dcc
RM
82592012-08-15 Roland McGrath <roland@hack.frob.com>
8260
be75d758
RM
8261 * string/str-two-way.h: Include <sys/param.h>.
8262 (MAX): Macro removed.
8263
7312ca90
RM
8264 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8265 Move #define and #undef of memmove to just before and after
8266 including <string.h>.
8267
9a0a5486
RM
8268 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8269 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8270 and after including <string.h>. Move declarations of
8271 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8272 to before #include "string/memmove.c".
8273
67cc348d
RM
8274 * include/dirent.h: Declare __getdirentries.
8275
a3f95dcc
RM
8276 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8277 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8278
ca98e171
MF
82792012-08-14 Mike Frysinger <vapier@gentoo.org>
8280
8281 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8282 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8283 * sysdeps/i386/configure: Regenerated.
8284 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8285 STABS_CURRENT_FILE, and STABS_FUN.
8286 (END): Remove call to STABS_FUN_END.
8287 (STABS_CURRENT_FILE1): Delete.
8288 (STABS_CURRENT_FILE): Likewise.
8289 (STABS_FUN): Likewise.
8290 (STABS_FUN_END): Likewise.
8291 (STABS_FUN2): Likewise.
8292 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8293 * sysdeps/x86_64/configure: Regenerated.
8294
5908bf46
RM
82952012-08-14 Roland McGrath <roland@hack.frob.com>
8296
8297 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8298 * elf/dl-lookup.c: Likewise.
5908bf46 8299
f2c05b9e
JM
83002012-08-14 Joseph Myers <joseph@codesourcery.com>
8301
8302 * sysdeps/unix/sysv/linux/kernel-features.h
8303 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8304 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8305 unconditionally.
8306 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8307 unconditionally.
8308 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8309 condition on __ASSUME_CLONE_THREAD_FLAGS.
8310
e11f5155
AJ
83112012-08-14 Andreas Jaeger <aj@suse.de>
8312
8313 * sysdeps/i386/fpu/libm-test-ulps: Update.
8314
51a9ba86
MK
83152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8316
2fdd4f78
AJ
8317 * include/atomic.h (atomic_exchange_and_add): Split into ...
8318 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8319 New atomic macros.
51a9ba86 8320
ba6cba9e
MT
83212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8322
8323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8324
42443a47
JL
83252012-08-13 Jeff Law <law@redhat.com>
8326
8327 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8328 null byte in the output string.
8329
121dce05
JM
83302012-08-10 Joseph Myers <joseph@codesourcery.com>
8331
8332 * sysdeps/unix/sysv/linux/kernel-features.h
8333 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8334 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8335 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8336 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8337 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8338 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8339 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8340
bf51f568
JL
83412012-08-09 Jeff Law <law@redhat.com>
8342
8343 [BZ #13939]
8344 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8345 When avoid_arena is set, don't retry in the that arena. Pick the
8346 next one, whatever it might be.
8347 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8348 (arena_lock): Pass in new parameter to arena_get2.
8349 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8350 arena_get2.
8351 (__libc_malloc): Unify retrying after main arena failure with
8352 __libc_memalign version.
8353 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8354
f85fa270
L
83552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 [BZ #14166]
8358 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8359 to __redirect_strstr.
8360 (__strstr_sse42): Use typeof __redirect_strstr.
8361 (__strstr_ia32): Likewise.
8362 (__libc_strstr): New prototype.
8363 (strstr): Renamed to ...
8364 (__libc_strstr): This.
8365 (strstr): New strong alias of __libc_strstr.
8366 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8367 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8368 __redirect_time.
8369 Include <time.h>.
8370 (__libc_time): New prototype.
8371 (time_ifunc): Replace time with __libc_time.
8372 (time): New strong alias and hidden definition of __libc_time.
8373 (__GI_time): Remove strong alias.
8374 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8375 Include <stddef.h>.
8376 (memmove): Redefined to __redirect_memmove.
8377 (__memmove_sse2): Use typeof __redirect_memmove.
8378 (__memmove_ssse3): Likewise.
8379 (__memmove_ssse3_back): Likewise.
8380 (__libc_memmove): New prototype.
8381 (memmove): Renamed to ...
8382 (__libc_memmove): This.
8383 (memmove): New strong alias of __libc_memmove.
8384
33b4a91e
MS
83852012-08-08 Mark Salter <msalter@redhat.com>
8386
8387 * elf/elf.h
8388 (R_MN10300_TLS_GD): Define.
8389 (R_MN10300_TLS_LD): Likewise.
8390 (R_MN10300_TLS_LDO): Likewise.
8391 (R_MN10300_TLS_GOTIE): Likewise.
8392 (R_MN10300_TLS_IE): Likewise.
8393 (R_MN10300_TLS_LE): Likewise.
8394 (R_MN10300_TLS_DTPMOD): Likewise.
8395 (R_MN10300_TLS_DTPOFF): Likewise.
8396 (R_MN10300_TLS_TPOFF): Likewise.
8397 (R_MN10300_SYM_DIFF): Likewise.
8398 (R_MN10300_ALIGN): Likewise.
8399 (R_MN10300_NUM): Update.
8400
b36137f1
JM
84012012-08-08 Joseph Myers <joseph@codesourcery.com>
8402
8403 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8404 Remove.
8405
cdd915fd
RM
84062012-08-08 Roland McGrath <roland@hack.frob.com>
8407
a2433aac
RM
8408 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8409
cdd915fd
RM
8410 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8411 sysdeps/unix -> sysdeps/posix move.
8412 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8413
bf9b740a
AM
84142012-08-07 Allan McRae <allan@archlinux.org>
8415
8416 [BZ #14303]
8417 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8418 (SUNOS_CPP): Likewise.
8419 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8420 not found.
8421 (open_input): Call CPP using execvp.
8422
93df14ee
JM
84232012-08-07 Joseph Myers <joseph@codesourcery.com>
8424
8425 * sysdeps/unix/sysv/linux/kernel-features.h
8426 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8427 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8428 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8429 (__ASSUME_WAITID_SYSCALL): Likewise.
8430 * sysdeps/unix/sysv/linux/dl-execstack.c
8431 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8432 code unconditional.
8433 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8434 conditional code.
8435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8436 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8437 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8438 code.
8439 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8440 unconditional.
8441 [__ASSUME_WAITID_SYSCALL]: Likewise.
8442 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8443
d34689de
RM
84442012-08-07 Roland McGrath <roland@hack.frob.com>
8445
a281decc
RM
8446 * sysdeps/unix/closedir.c: Renamed to ...
8447 * sysdeps/posix/closedir.c: ... here.
8448 * sysdeps/unix/dirfd.c: Renamed to ...
8449 * sysdeps/posix/dirfd.c: ... here.
8450 * sysdeps/unix/dirstream.h: Renamed to ...
8451 * sysdeps/posix/dirstream.h: ... here.
8452 * sysdeps/unix/fdopendir.c: Renamed to ...
8453 * sysdeps/posix/fdopendir.c: ... here.
8454 * sysdeps/unix/opendir.c: Renamed to ...
8455 * sysdeps/posix/opendir.c: ... here.
8456 * sysdeps/unix/readdir.c: Renamed to ...
8457 * sysdeps/posix/readdir.c: ... here.
8458 * sysdeps/unix/readdir_r.c: Renamed to ...
8459 * sysdeps/posix/readdir_r.c: ... here.
8460 * sysdeps/unix/rewinddir.c: Renamed to ...
8461 * sysdeps/posix/rewinddir.c: ... here.
8462 * sysdeps/unix/seekdir.c: Renamed to ...
8463 * sysdeps/posix/seekdir.c: ... here.
8464 * sysdeps/unix/telldir.c: Renamed to ...
8465 * sysdeps/posix/telldir.c: ... here.
8466 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8467 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8468 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8469 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8470
22895b47
RM
8471 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8472 * bits/fcntl.h: ... here.
8473
707a53b6
RM
8474 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8475 not 0.
8476 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8477 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8478 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8479 (struct flock): Move l_start, l_len to the beginning.
8480 Use __pid_t for l_pid.
8481 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8482 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8483 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8484 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8485 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8486 [__USE_LARGEFILE64] (struct flock64): New type.
8487 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8488
f0bd3e25
RM
8489 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8490 * bits/dirent.h: ... here.
8491
d34689de
RM
8492 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8493 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8494
6dad2c06
JM
84952012-08-07 Joseph Myers <joseph@codesourcery.com>
8496
8497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8498 Change from 2.6.0 to 2.6.16.
8499 * sysdeps/unix/sysv/linux/configure: Regenerated.
8500 * sysdeps/unix/sysv/linux/kernel-features.h
8501 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8502 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8503 version.
8504 (__ASSUME_UTIMES): Likewise.
8505 (__ASSUME_CLONE_STOPPED): Remove.
8506 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8507 architectures, not kernel version.
8508 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8509 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8510 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8511 (__ASSUME_WAITID_SYSCALL): Likewise.
8512 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8513 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8514 * README: State 2.6.16 as minimum Linux kernel version. Do not
8515 refer to older versions.
8516
03af9520
RM
85172012-08-06 Roland McGrath <roland@hack.frob.com>
8518
8e49df1d
RM
8519 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8520 Define alphasort64 as an alias.
8521 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8522 Define versionsort64 as an alias.
8523 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8524 Define scandir64 as an alias.
8525 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8526 Define scandirat64 as an alias.
8527 * dirent/alphasort64.c (alphasort64):
8528 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8529 * dirent/versionsort64.c: Likewise.
8530 * dirent/scandir64.c: Likewise.
8531 * dirent/scandirat64.c: Likewise.
8532 * sysdeps/wordsize-64/alphasort.c: File removed.
8533 * sysdeps/wordsize-64/alphasort64.c: File removed.
8534 * sysdeps/wordsize-64/scandir.c: File removed.
8535 * sysdeps/wordsize-64/scandir64.c: File removed.
8536 * sysdeps/wordsize-64/scandirat.c: File removed.
8537 * sysdeps/wordsize-64/scandirat64.c: File removed.
8538 * sysdeps/wordsize-64/versionsort.c: File removed.
8539 * sysdeps/wordsize-64/versionsort64.c: File removed.
8540 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8541 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8542 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8543 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8544 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8548
8549 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8551 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8553 [defined __arch64__ || defined __sparcv9]
8554 (__INO_T_MATCHES_INO64_T): New macro.
8555 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8556 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8557 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8558 * sysdeps/unix/sysv/linux/bits/dirent.h
8559 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8560 (_DIRENT_MATCHES_DIRENT64): New macro.
8561
03af9520
RM
8562 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8563 Define lockf64 as an alias.
8564 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8565 Define fseeko64 as an alias.
8566 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8567 Define ftello64 as an alias.
8568 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8569 Define _IO_fgetpos64 and fgetpos64 as aliases.
8570 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8571 Define _IO_fsetpos64 and fsetpos64 as aliases.
8572 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8573 Conditionalize body on this.
8574 * libio/fseeko64.c: Likewise.
8575 * libio/ftello64.c: Likewise.
8576 * libio/iofgetpos64.c: Likewise.
8577 * libio/iofsetpos64.c: Likewise.
8578 * sysdeps/wordsize-64/lockf.c: File removed.
8579 * sysdeps/wordsize-64/lockf64.c: File removed.
8580 * sysdeps/wordsize-64/fseeko.c: File removed.
8581 * sysdeps/wordsize-64/fseeko64.c: File removed.
8582 * sysdeps/wordsize-64/ftello.c: File removed.
8583 * sysdeps/wordsize-64/ftello64.c: File removed.
8584 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8585 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8586 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8587 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8595 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8597 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8598
8599 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8601 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8603 [defined __arch64__ || defined __sparcv9]
8604 (__OFF_T_MATCHES_OFF64_T): New macro.
8605 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8606 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8608 (__OFF_T_MATCHES_OFF64_T): New macro.
8609
c5757acd
L
86102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * stdlib/secure-getenv.c (__secure_getenv): Replace
8613 GLIBC_2_16 with GLIBC_2_17.
8614
3a31811e
L
86152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8619
faa2bccb
DM
86202012-08-03 David S. Miller <davem@davemloft.net>
8621
8622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8623
85fe1997
JM
86242012-08-03 Joseph Myers <joseph@codesourcery.com>
8625
8626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8627 Remove.
8628 (__ASSUME_CORRECT_SI_PID): Likewise.
8629 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8630 (__ASSUME_TMPFS_NAME): Likewise.
8631 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8632 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8633 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8634 (HAVE_AUX_SECURE): Make definition unconditional.
8635 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8636 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8637
4f75b7a0
RM
86382012-08-03 Roland McGrath <roland@hack.frob.com>
8639
8640 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8641 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8642 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8643 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8644 __eloop_threshold instead of SYMLOOP_MAX.
8645
8646 * sysdeps/generic/eloop-threshold.h: New file.
8647 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8648 of MAXSYMLINKS.
8649 * elf/chroot_canon.c (chroot_canon): Likewise.
8650
7aab07e4
JM
86512012-08-03 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #13717]
8654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8655 Change to 2.6.0 everywhere.
8656 * sysdeps/unix/sysv/linux/configure: Regenerated.
8657 * sysdeps/unix/sysv/linux/kernel-features.h
8658 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8659 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8660 kernel versions.
8661 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8662 (__ASSUME_FUTEX_REQUEUE): Remove.
8663 (__ASSUME_STATFS64): Define unconditionally.
8664 (__ASSUME_AT_SECURE): Likewise.
8665 (__ASSUME_CORRECT_SI_PID): Likewise.
8666 (__ASSUME_TGKILL): Define without depending on kernel version for
8667 i386.
8668 (__ASSUME_UTIMES): Likewise.
8669 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8670 kernel version.
8671 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8672 (__ASSUME_TMPFS_NAME): Likewise.
8673 * README: Update reference to Linux kernel versions.
8674
b67e9372
MP
86752012-08-02 Marek Polacek <polacek@redhat.com>
8676
1f529f7d 8677 [BZ# 14150]
b67e9372
MP
8678 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8679 libc_cv_asm_type_prefix with %.
8680 * configure: Regenerated.
d2441631
RM
8681 * include/libc-symbols.h: Remove comment about
8682 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8683 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8684 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8685 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8686 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8687 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8688 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8689 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8690 * elf/tst-unique2mod1.c: Likewise.
8691 * elf/tst-unique1mod2.c: Likewise.
8692 * elf/tst-unique1mod1.c: Likewise.
8693 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8694 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8695 Replace ASM_TYPE_DIRECTIVE with .type.
8696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8697 * sysdeps/i386/sysdep.h: Likewise.
8698 * sysdeps/x86_64/sysdep.h: Likewise.
8699 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8701 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8702 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8703 * sysdeps/powerpc/powerpc32/sysdep.h:
8704 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8705 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8706 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8707 * sysdeps/i386/fpu/e_powf.S: Likewise.
8708 * sysdeps/i386/fpu/e_expl.S: Likewise.
8709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8711 * sysdeps/i386/fpu/e_pow.S: Likewise.
8712 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8713 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8714 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8715 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8716 * sysdeps/i386/fpu/e_log2.S: Likewise.
8717 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8719 * sysdeps/i386/fpu/e_powl.S: Likewise.
8720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8721 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8722 * sysdeps/i386/fpu/e_logl.S: Likewise.
8723 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8728 * sysdeps/i386/fpu/e_log.S: Likewise.
8729 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8730 * sysdeps/i386/fpu/e_logf.S: Likewise.
8731 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8732 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8733 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8734 * sysdeps/i386/fpu/e_log10.S: Likewise.
8735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8740 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8741 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8742 * sysdeps/i386/i686/strtok.S: Likewise.
8743 * sysdeps/i386/i386-mcount.S: Likewise.
8744 * sysdeps/i386/strtok.S: Likewise.
8745 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8749 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8751 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8752 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8753 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8754 * sysdeps/x86_64/_mcount.S: Likewise.
8755 * sysdeps/x86_64/strtok.S: Likewise.
8756 * sysdeps/sh/_mcount.S: Likewise.
8757
2747bf9a
RM
87582012-08-01 Roland McGrath <roland@hack.frob.com>
8759
8760 * libio/iofopen.c: Include <fcntl.h>.
8761 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8762 (_IO_fopen64, fopen64): Define as aliases.
8763 * libio/iofopen64.c: Include <fcntl.h>.
8764 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8765 Conditionalize body on this.
8766 * sysdeps/wordsize-64/iofopen.c: File removed.
8767 * sysdeps/wordsize-64/iofopen64.c: File removed.
8768
3fb791b8
MP
87692012-08-01 Marek Polacek <polacek@redhat.com>
8770
8771 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8772 Use dlfcn directly instead of a variable.
8773 (binfmt-subdir): Do not define.
8774 (dlfcn): Likewise.
8775
a9f1039f
JM
87762012-08-01 Joseph Myers <joseph@codesourcery.com>
8777
23bddc06
JM
8778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8779 Remove all definitions.
8780 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8781 <kernel-features.h>.
8782 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8783 (miss_F_GETOWN_EX): Remove all definitions.
8784 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8785 macro definition.
8786 [!__ASSUME_FCNTL64]: Remove conditional code.
8787 [__ASSUME_FCNTL64]: Make code unconditional.
8788 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8789 <kernel-features.h>.
8790 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8791 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8792 (lockf64) [__NR_fcntl64]: Make code unconditional.
8793 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8794
a9f1039f
JM
8795 * sysdeps/unix/sysv/linux/kernel-features.h
8796 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8797 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8798 Make code unconditional.
8799 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8800 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8802 [__NR_vfork]: Make code unconditional.
8803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8806 [__NR_vfork]: Make code unconditional.
8807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8809
09c0ee5f
RM
88102012-08-01 Roland McGrath <roland@hack.frob.com>
8811
48aec5b9
RM
8812 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8813 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8814
cd97c966
RM
8815 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8816 Define mkstemp64 as an alias.
3f55550c
RM
8817 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8818 Define mkstemps64 as an alias.
cd97c966
RM
8819 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8820 Define mkostemp64 as an alias.
b8625cfc
RM
8821 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8822 Define mkostemps64 as an alias.
cd97c966
RM
8823 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8824 Conditionalize body on this.
8825 * misc/mkostemp64.c: Likewise.
b8625cfc 8826 * misc/mkostemps64.c: Likewise.
3f55550c 8827 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8828 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8829 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8830 * sysdeps/wordsize-64/mkostemp.c: File removed.
8831 * sysdeps/wordsize-64/mkstemp.c: File removed.
8832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8836
09c0ee5f
RM
8837 [BZ #14138]
8838 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8839 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8840 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8841 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8842
8843 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8844 compat_symbol macros from <shlib-compat.h> rather than the underlying
8845 default_symbol_version and symbol_version macros, so that DEFAULT
8846 lines in shlib-versions are respected.
8847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8848
7e66ee51
FW
88492012-08-01 Florian Weimer <fweimer@redhat.com>
8850
8851 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8852 Declare with warn_unused_result.
8853 (setgid, setregid, setegid, setresgid): Likewise.
8854 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8855 Likewise.
8856 * WUR-REPORT: Remove set*id functions.
8857
d2a54255
PT
88582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8859
8860 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8861
7ecdb005
RM
88622012-07-31 Roland McGrath <roland@hack.frob.com>
8863
789bd351
RM
8864 * include/sys/socket.h (__libc_accept, __libc_accept4):
8865 Add attribute_hidden.
8866 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8867
40ce302d
RM
8868 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8869 use of PTR_MANGLE.
8870 * inet/getnetgrent_r.c (setup): Likewise.
8871
7ecdb005
RM
8872 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8873
e2eabb2c
DM
88742012-07-31 David S. Miller <davem@davemloft.net>
8875
8876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8877
d0419dbf
JM
88782012-07-31 Joseph Myers <joseph@codesourcery.com>
8879
8880 [BZ #13629]
8881 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8882 value between 1.0 and 2.0 and smaller part has absolute value less
8883 than 1.0.
8884 * math/s_clog10.c (__clog10): Likewise.
8885 * math/s_clog10f.c (__clog10f): Likewise.
8886 * math/s_clog10l.c (__clog10l): Likewise.
8887 * math/s_clogf.c (__clogf): Likewise.
8888 * math/s_clogl.c (__clogl): Likewise.
8889 * math/libm-test.inc (clog_test): Add more tests.
8890 (clog10_test): Likewise.
8891 * sysdeps/i386/fpu/libm-test-ulps: Update.
8892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8893
2bc13872
FW
88942012-07-31 Florian Weimer <fweimer@redhat.com>
8895
8896 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8897 Exit with zero in case no suitable GID is found, and write a
8898 message to standard error.
8899
bea9b193
RM
89002012-07-30 Roland McGrath <roland@hack.frob.com>
8901
8902 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8903 rather than to 1.
8904 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8905 (MAXPATHLEN): Removed.
8906 (NOGROUP, NODEV): New macros.
8907 (setbit, clrbit, isset, isclr): New macros.
8908 (howmany, roundup, powerof2): New macros.
8909 (DEV_BSIZE): New macro.
8910
8911 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8912 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8913
8914 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8915 definition on [!__NO_LONG_DOUBLE_MATH].
8916
8917 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8918 PTR_MANGLE and PTR_DEMANGLE.
8919
8920 * socket/accept4.c (accept4): Rename to __libc_accept4.
8921 Define accept4 as a weak alias.
8922
8923 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8924 on [_DIRENT_HAVE_D_TYPE].
8925 * io/ftw.c (ftw_dir): Likewise.
8926
8927 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8928
8929 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8930
8931 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8932 Use the BSD numbers rather than the arbitrary ones we had.
8933 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8934 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8935 (SIGXCPU, SIGXFSZ): New macros.
8936 (_NSIG): Now 32.
8937
8938 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8939 initializer on [_LIBC_REENTRANT].
8940
8941 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8942 definitions inside [_POSIX_MAPPED_FILES].
8943
8944 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8945
8946 * dirent/opendir.c: Include <fcntl.h>.
8947
8948 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8949 (__libc_getspecific): Likewise.
8950 (__libc_key_create): Likewise.
8951
8952 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8953 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8954 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8955 (tmpfile64): Define as alias.
8956 * sysdeps/wordsize-64/tmpfile.c: File removed.
8957 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8960
8961 * stdio-common/vfscanf.c: Include <stdbool.h>.
8962 * nss/makedb.c: Likewise.
8963 * stdio-common/_i18n_number.h: Likewise.
8964 * argp/argp-help.c: Likewise.
8965 * posix/wordexp.c: Likewise.
8966 * sysdeps/posix/spawni.c: Likewise.
8967 * nss/nss_files/files-initgroups.c: Likewise.
8968 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8969 * nss/nss_files/files-initgroups.c: Likewise.
8970 * nss/nss_db/db-netgrp.c: Likewise.
8971 * nss/nss_db/db-initgroups.c: Likewise.
8972 * io/fchmodat.c: Include <sys/stat.h>.
8973
8974 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8975 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8976
8977 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8978 [HAVE_MMAP].
8979
8980 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8981 Add multiple inclusion protection.
8982
e5abc686
DM
89832012-07-27 David S. Miller <davem@davemloft.net>
8984
8985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8986
815e6fa3
GB
89872012-07-27 Gary Benson <gbenson@redhat.com>
8988
8989 [BZ #14298]
8990 * elf/rtld.c: Include <stap-probe.h>.
8991 (dl_main): Added static probes "init_start" and "init_complete".
8992 * elf/dl-load.c: Include <stap-probe.h>.
8993 (lose): Take new parameter "nsid".
8994 Added static probe "map_failed".
8995 (_dl_map_object_from_fd): Pass namespace id to lose.
8996 Added static probe "map_start".
8997 (open_verify): Pass namespace id to lose.
8998 * elf/dl-open.c: Include <stap-probe.h>.
8999 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9000 and "reloc_complete".
9001 * elf/dl-close.c: Include <stap-probe.h>.
9002 (_dl_close_worker): Added static probes "unmap_start" and
9003 "unmap_complete".
9004 * elf/rtld-debugger-interface.txt: New file documenting the above.
9005
9f98c16c
RM
90062012-07-26 Roland McGrath <roland@hack.frob.com>
9007
9008 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9009 rather than a string variable.
9010 * sunrpc/rpc_main.c (h_output): Likewise.
9011 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9012
f3c22df3
PT
90132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9014
9015 * inet/check_native.c: New file.
9016
3129cfc6
JM
90172012-07-26 Joseph Myers <joseph@codesourcery.com>
9018
da865e95
JM
9019 [BZ #13629]
9020 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9021 if larger part has absolute value 1.0.
9022 * math/s_clog10.c (__clog10): Likewise.
9023 * math/s_clog10f.c (__clog10f): Likewise.
9024 * math/s_clog10l.c (__clog10l): Likewise.
9025 * math/s_clogf.c (__clogf): Likewise.
9026 * math/s_clogl.c (__clogl): Likewise.
9027 * math/libm-test.inc (clog_test): Add more tests.
9028 (clog10_test): Likewise.
9029 * sysdeps/i386/fpu/libm-test-ulps: Update.
9030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9031
3129cfc6
JM
9032 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9033 (pltexit): Likewise.
9034 (La_regs): Likewise.
9035 (La_retval): Likewise.
9036 (int_retval): Likewise.
9037 Update #error for removed macros to refer only to definitions in
9038 tst-audit.h.
9039 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9040 macro.
9041 (pltexit): Likewise.
9042 (La_regs): Likewise.
9043 (La_retval): Likewise.
9044 (int_retval): Likewise.
9045 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9046 macro.
9047 (pltexit): Likewise.
9048 (La_regs): Likewise.
9049 (La_retval): Likewise.
9050 (int_retval): Likewise.
9051 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9052 macro.
9053 (pltexit): Likewise.
9054 (La_regs): Likewise.
9055 (La_retval): Likewise.
9056 (int_retval): Likewise.
9057 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9058 macro.
9059 (pltexit): Likewise.
9060 (La_regs): Likewise.
9061 (La_retval): Likewise.
9062 (int_retval): Likewise.
9063 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9064 macro.
9065 (pltexit): Likewise.
9066 (La_regs): Likewise.
9067 (La_retval): Likewise.
9068 (int_retval): Likewise.
9069 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9070 macro.
9071 (pltexit): Likewise.
9072 (La_regs): Likewise.
9073 (La_retval): Likewise.
9074 (int_retval): Likewise.
9075 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9076 macro definitions in tst-audit.h.
9077 * sysdeps/i386/tst-audit.h: New file.
9078 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9079 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9080 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9081 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9082 * sysdeps/sh/tst-audit.h: Likewise.
9083 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9084 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9085 * sysdeps/x86_64/tst-audit.h: Likewise.
9086
bfc07087
AJ
90872012-07-26 Andreas Jaeger <aj@suse.de>
9088
b1b2aaf8
AJ
9089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9090 ptrace.
9091
9092 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9093 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9094 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9095 PTRACE_O_MASK.
9096 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9097 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9098 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9099
bfc07087
AJ
9100 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9101 value.
9102
9103 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9104 _sigsys.
9105 (si_call_addr, si_syscall, si_arch): Define new macro.
9106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9107 _sigsys.
9108 (si_call_addr, si_syscall, si_arch): Define new marcro.
9109 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9110 _sigsys.
9111 (si_call_addr, si_syscall, si_arch): Define new macro.
9112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9113 _sigsys.
9114 (si_call_addr, si_syscall, si_arch): Define new macro.
9115
89b4b02f
JM
91162012-07-25 Joseph Myers <joseph@codesourcery.com>
9117
9118 [BZ #13717]
9119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9120 Change to 2.4.21 where previously 2.4.1.
9121 * sysdeps/unix/sysv/linux/configure: Regenerated.
9122 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9123 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9124 Linux kernel version.
9125 (__ASSUME_STD_AUXV): Remove.
9126 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9127 kernel version.
9128 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9129 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9130 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9131 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9132 (__ASSUME_NETLINK_SUPPORT): Likewise.
9133 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9134 (__no_netlink_support): Remove conditional definition.
9135 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9136 Remove.
9137 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9138 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9139 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9140 (if_nameindex_ioctl): Remove.
9141 (if_nameindex_netlink): Do not handle __no_netlink_support.
9142 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9143 code.
9144 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9145 Remove conditional code.
9146 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9147 code.
9148 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9149 unconditional.
9150 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9151 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9152 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9153 Remove.
9154 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9155 [!__ASSUME_STD_AUXV]: Remove conditional code.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9157 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9158 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9160 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9161 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9162 code.
9163 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9166 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9167 conditional code.
9168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9170 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9171 code.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9173 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9174 conditional code.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9176 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9177 code unconditional.
9178 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9179 conditional code.
9180 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9181 unconditional.
9182 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9183 conditional code.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9185 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9186 unconditional.
9187 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9188 conditional code.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9190 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9191 code unconditional.
9192 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9193 conditional code.
9194 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9195 unconditional.
9196 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9197 conditional code.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9199 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9200 code unconditional.
9201 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9202 conditional code.
9203 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9204 unconditional.
9205 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9206 conditional code.
9207
842a39cd
AS
92082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9209
9210 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9211 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9212 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9213 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9214 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9215 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9216 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9217 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9218 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9219 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9220 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9221 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9222 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9223 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9224 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9226 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9228 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9230 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9231 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9233
84b3fd84
FW
92342012-07-25 Florian Weimer <fweimer@redhat.com>
9235
9236 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9237 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9238 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9239 Introduce __libc_secure_getenv.
0c7936d5
FW
9240 * stdlib/Versions (2.17): Add secure_getenv
9241 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9242 * stdlib/secure-getenv.c: Rename __secure_getenv to
9243 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9244 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9245 * stdlib/tst-secure-getenv.c: New.
9246 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9247 * manual/startup.texi (Environment Access): Document
9248 secure_getenv.
84b3fd84
FW
9249 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9250 __libc_secure_getenv.
9251 * inet/ruserpass.c (ruserpass): Likewise.
9252 * malloc/mtrace.c (mtrace): Likewise.
9253 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9254 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9255 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9256 * sysdeps/posix/tempname.c: Likewise. Evaluate
9257 HAVE_SECURE_GETENV.
9258 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9259 __secure_getenv to __libc_secure_getenv.
84b3fd84 9260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9262 Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9264 Likewise.
9265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9272
56e49b71
JM
92732012-07-25 Joseph Myers <joseph@codesourcery.com>
9274
9275 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9276 (struct La_i86_retval): Likewise.
9277 (struct La_x86_64_regs): Likewise.
9278 (struct La_x86_64_retval): Likewise.
9279 (struct La_x32_regs): Likewise.
9280 (struct La_x32_retval): Likewise.
9281 (struct La_ppc32_regs): Likewise.
9282 (struct La_ppc32_retval): Likewise.
9283 (struct La_ppc64_regs): Likewise.
9284 (struct La_ppc64_retval): Likewise.
9285 (struct La_sh_regs): Likewise.
9286 (struct La_sh_retval): Likewise.
9287 (struct La_s390_32_regs): Likewise.
9288 (struct La_s390_32_retval): Likewise.
9289 (struct La_s390_64_regs): Likewise.
9290 (struct La_s390_64_retval): Likewise.
9291 (struct La_sparc32_regs): Likewise.
9292 (struct La_sparc32_retval): Likewise.
9293 (struct La_sparc64_regs): Likewise.
9294 (struct La_sparc64_retval): Likewise.
9295 (struct audit_ifaces): Remove architecture-specific pltenter and
9296 pltexit members.
9297 * sysdeps/i386/ldsodefs.h: New file.
9298 * sysdeps/powerpc/ldsodefs.h: Likewise.
9299 * sysdeps/s390/ldsodefs.h: Likewise.
9300 * sysdeps/sh/ldsodefs.h: Likewise.
9301 * sysdeps/sparc/ldsodefs.h: Likewise.
9302 * sysdeps/x86_64/ldsodefs.h: Likewise.
9303
354691b7
MP
93042012-07-25 Marek Polacek <polacek@redhat.com>
9305
9306 [BZ #6808]
9307 * math/libm-test.inc (yn_test): Add another test.
9308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9309 to ERANGE when the result is +-Inf.
9310 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9311 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9312 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9314
bf9e2071
JM
93152012-07-24 Joseph Myers <joseph@codesourcery.com>
9316
9317 * conform/data/time.h-data (NULL): Use macro-constant. Require
9318 equal to 0.
9319 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9320 clock_t.
9321 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9322
57633811
TS
93232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9324
9325 * configure.in <sysdeps resolving>: Correct printing
9326 Implies_before.
9327 * configure: Regenerate.
9328
c23c33b0
TS
93292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9330
9331 * math/w_ilogb.c: Include <limits.h>.
9332 * math/w_ilogbl.c: Likewise.
9333
b5982523
JM
93342012-07-20 Joseph Myers <joseph@codesourcery.com>
9335
9336 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9337 va_copy. Document allowing for unavailable va_copy only as
9338 pre-C99 compatibility.
9339 * manual/string.texi (Copying and Concatenation): Use va_copy
9340 instead of __va_copy in concat example.
9341
ac4ea442
PT
93422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9343
9344 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9345 (__sendto): Use create_address_port. Initialize APORT and deallocate
9346 it if not null.
9347
f98eafbd
PT
9348 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9349 with O_NOLINK passed to __file_name_lookup.
9350
898c7aab
PT
9351 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9352 with O_NOLINK passed to __file_name_lookup.
9353
0ced335a
PT
9354 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9355 negative N or less than NGIDS.
9356
b3404dbd
PT
9357 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9358 type to string_t. Set ERANGE as errno and return it if NAME is not big
9359 enough. Use memcpy instead of strncpy.
9360
0f48659e
JM
93612012-07-20 Joseph Myers <joseph@codesourcery.com>
9362
9363 * elf/Makefile (check-data): Remove.
9364 (localplt.data): New vpath directive.
9365 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9366 instead of $(check-data).
9367 * scripts/data/localplt-generic.data: Move to ...
9368 * sysdeps/generic/localplt.data: ... here.
9369 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9370 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9371 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9373 ... here.
9374 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9376 ... here.
9377 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9379 ... here.
9380 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9382 ... here.
9383 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9385 ... here.
9386 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9388 ... here.
9389
d37cbdaa
AZ
93902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9391
9392 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9393 PPC32 and PPC64 files.
9394 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9395 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9396
46f85fc2
AK
93972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9398
9399 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9400 __makecontext_ret to ...
9401 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9402 ... here and call exit if uc_link is NULL. New file.
9403 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9404 __makecontext_ret.S.
9405 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9406 __makecontext_ret to ...
9407 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9408 ... here and call exit if uc_link is NULL. New file.
9409 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9410 __makecontext_ret.S.
9411
08f43f9b
AK
94122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9413
9414 * elf/elf.h (R_390_IRELATIVE): New definition.
9415 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9416 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9417 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9419 (elf_machine_lazy_rel): Likewise.
9420 * sysdeps/s390/dl-irel.h: New file.
9421 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9422 * sysdeps/s390/s390-64/memset.S: New asm code.
9423 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9424 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9425 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9426 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9427 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9428 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9430 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9431 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9432 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9433 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9434 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9435 * sysdeps/s390/s390-32/memset.S: New asm code.
9436 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9437
3b05db33
MP
94382012-07-17 Marek Polacek <polacek@redhat.com>
9439
9440 [BZ #14349]
9441 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9442 * sysdeps/s390/s390-64/configure.in: Likewise.
9443 * sysdeps/sparc/configure.in: Likewise.
9444 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9445 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9446 * sysdeps/i386/configure.in: Likewise.
9447 * sysdeps/x86_64/configure.in: Likewise.
9448 * sysdeps/sh/configure.in: Likewise.
9449 * sysdeps/s390/s390-32/configure: Regenerated.
9450 * sysdeps/s390/s390-64/configure: Likewise.
9451 * sysdeps/x86_64/configure: Likewise.
9452 * sysdeps/sh/configure: Likewise.
9453 * sysdeps/powerpc/powerpc64/configure: Likewise.
9454 * sysdeps/powerpc/powerpc32/configure: Likewise.
9455 * sysdeps/sparc/configure: Likwise.
9456 * sysdeps/i386/configure: Likewise.
9457
a66877c6
MP
9458 * elf/dl-open.c: Comment fixes.
9459
cfc82fd8
JM
94602012-07-17 Joseph Myers <joseph@codesourcery.com>
9461
bd29910a
JM
9462 * Makefile [CXX] (check-data): Remove.
9463 [CXX] (c++-types.data): New vpath directive.
9464 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9465 vpath. Do not allow for C++ type data being missing.
9466 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9467 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9468 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9469 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9470 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9471 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9472 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9474 ... here.
9475 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9477 ... here.
9478 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9480 ... here.
9481 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9483 ... here.
9484 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9486 ... here.
9487 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9489 ... here.
9490 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9492 ... here.
9493 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9495
cfc82fd8
JM
9496 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9497 definitions to architecture-specific files.
9498 (TLS_IE): Likewise.
9499 (TLS_LD): Likewise.
9500 (TLS_GD): Likewise.
9501 * sysdeps/i386/tls-macros.h: New file.
9502 * sysdeps/powerpc/tls-macros.h: Likewise.
9503 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9504 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9505 * sysdeps/sh/tls-macros.h: Likewise.
9506 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9507 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9508 * sysdeps/x86_64/tls-macros.h: Likewise.
9509
f7db3170
TS
95102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9511
07cbfc23
TS
9512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9513 zero value for regular exit case.
9514
f7db3170
TS
9515 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9516 (__start_context): Preserve zero value for regular exit case.
9517
dc97c227
TS
95182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9519 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9520
9521 * manual/setjmp.texi (setcontext): Clarify normal process
9522 termination when uc_link is the null pointer.
9523 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9524 exit call.
9525
d0cd7d02
AS
95262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9527
9528 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9529 preprocessor. Test for each exception mask separately.
9530
dd318934
AJ
95312012-07-16 Andreas Jaeger <aj@suse.de>
9532
9533 * po/ru.po: Update from translation team.
9534
8048311a
JM
95352012-07-15 Joseph Myers <joseph@codesourcery.com>
9536
9537 * conform/data/string.h-data (NULL): Use macro-constant. Require
9538 equal to 0.
9539 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9540 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9541 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9542 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9544
b637d46e
AJ
95452012-07-13 Andreas Jaeger <aj@suse.de>
9546
9547 * po/fr.po: Update from translation team.
9548
541428fe
MP
95492012-07-12 Marek Polacek <polacek@redhat.com>
9550
9551 [BZ #14173]
9552 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9554 loop condition.
9555
ec332e94
JM
95562012-07-12 Joseph Myers <joseph@codesourcery.com>
9557
9558 [BZ #13717]
9559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9560 Change to 2.4.1 where previously 2.4.0.
9561 * sysdeps/unix/sysv/linux/configure: Regenerated.
9562 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9563 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9564 version.
9565 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9566 (__ASSUME_AT_CLKTCK): Remove.
9567 (__ASSUME_AT_PAGESIZE): Likewise.
9568 (__ASSUME_AT_XID): Likewise.
9569 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9570 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9571 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9572 unconditionally.
9573 (HAVE_AUX_PAGESIZE): Likewise.
9574 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9575 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9576 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9577
7b6e99be
JB
95782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9579
9580 [BZ #14307]
9581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9582 the temporary buffer used to invoke __gethostbyname2_r,
9583 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9584 host_data / struct gaih_addrtuple.
9585 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9586 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9587 header file nss/nsswitch.h.
9588 * nss/nsswitch.h (global scope): Add definition of implementation
9589 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9590 resolv/nss_dns/dns-host.c).
9591
608404eb
AJ
95922012-07-11 Andreas Jaeger <aj@suse.de>
9593
9594 * po/fr.po: Update from translation team.
9595
71220aca
AJ
9596 * po/sv.po: Update from translation team
9597 * po/fr.po: Another update from translation team.
9598
28cfe843
AZ
95992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9600
9601 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9602 for subnormals or multiply small sinh result by itself.
9603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9605
6b90f981
DM
96062012-07-11 David S. Miller <davem@davemloft.net>
9607
9608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9609
c6825772
AS
96102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9611
9612 [BZ #14347]
9613 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9614 (INTERNAL_MARK): Shift it here.
9615
7b8e0d49
MP
96162012-07-10 Marek Polacek <polacek@redhat.com>
9617
9618 [BZ #14151]
9619 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9620 libc_cv_asm_global_directive with .globl.
9621 * configure: Regenerated.
9622 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9623 with .globl.
9624 * sysdeps/i386/configure: Regenerated.
9625 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9626 with .globl.
9627 * sysdeps/x86_64/configure: Regenerated.
9628 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9629 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9630 * elf/tst-unique2mod2.c: Likewise.
9631 * elf/tst-unique2mod1.c: Likewise.
9632 * elf/tst-unique1mod2.c: Likewise.
9633 * elf/tst-unique1mod1.c: Likewise.
9634 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9635 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9636 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9637 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9638 * sysdeps/mach/sysdep.h: Likewise.
9639 * sysdeps/i386/sysdep.h: Likewise.
9640 * sysdeps/i386/i386-mcount.S: Likewise.
9641 * sysdeps/x86_64/_mcount.S: Likewise.
9642 * sysdeps/x86_64/sysdep.h: Likewise.
9643 * sysdeps/sh/_mcount.S: Likewise.
9644 * sysdeps/sh/sysdep.h: Likewise.
9645 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9646 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9649 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9652 * locale/localeinfo.h: Likewise.
9653 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9654 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9655
6c55cda3
RM
96562012-07-09 Roland McGrath <roland@hack.frob.com>
9657
9658 [BZ #14336]
9659 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9660 system".
9661 * manual/message.texi (The Uniforum approach): Likewise.
9662 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9663 (glibc iconv Implementation): Likewise.
9664
638a572e
JM
96652012-07-09 Joseph Myers <joseph@codesourcery.com>
9666
9667 [BZ #14337]
9668 * math/s_clog.c (__clog): Avoid scaling a value down where that
9669 could result in underflow.
9670 * math/s_clog10.c (__clog10): Likewise.
9671 * math/s_clog10f.c (__clog10f): Likewise.
9672 * math/s_clog10l.c (__clog10l): Likewise.
9673 * math/s_clogf.c (__clogf): Likewise.
9674 * math/s_clogl.c (__clogl): Likewise.
9675 * math/libm-test.inc (clog_test): Add more tests.
9676 (clog10_test): Likewise.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9679
261f4859
AS
96802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9681
0abaf3e4
AS
9682 [BZ #14283]
9683 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9684 by 7 not 8 to examine high bit of fractional part.
9685
261f4859
AS
9686 [BZ #14042]
9687 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9688 for call to __mcount_internal.
9689 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9690 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9691 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9692
f17ac40d
JM
96932012-07-06 Joseph Myers <joseph@codesourcery.com>
9694
9ad63c23
JM
9695 [BZ #14154]
9696 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9697 approximation for values within 0x1p-13f of an odd multiple of
9698 pi/4.
9699 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9700 exception. Add more tests.
9701 * sysdeps/i386/fpu/libm-test-ulps: Update.
9702
f17ac40d
JM
9703 [BZ #6778]
9704 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9705 inputs and return -1 for them. Do not check for +Inf in case not
9706 reachable for +Inf.
9707 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9708 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9709 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9710 and return -1 for them. Do not check for +Inf in case not
9711 reachable for +Inf.
9712 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9713 define.
9714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9715 and return -1 for them. Do not check for +Inf in case not
9716 reachable for +Inf.
9717 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9718 spurious underflow.
9719 * sysdeps/i386/fpu/libm-test-ulps: Update.
9720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9721
fb21f89b
MF
97222012-07-06 Mike Frysinger <vapier@gentoo.org>
9723
9724 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9725
cdfe2c5e
JM
97262012-07-05 Joseph Myers <joseph@codesourcery.com>
9727
9728 [BZ #14157]
9729 [BZ #14331]
9730 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9731 could result in spurious underflow. Scale down values above
9732 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9733 * math/s_csqrtf.c (__csqrtf): Likewise.
9734 * math/s_csqrtl.c (__csqrtl): Likewise.
9735 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9736 spurious underflow.
9737 * sysdeps/i386/fpu/libm-test-ulps: Update.
9738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9739
70d35b67
AS
97402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9741
704bc459
AS
9742 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9743 xopen-msg.sed.
9744 * catgets/xopen-msg.awk: New file.
9745 * catgets/xopen-msg.sed: Removed.
9746
70d35b67
AS
9747 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9748 po2text.sed.
9749 * intl/po2test.awk: New file.
9750 * intl/po2test.sed: Removed.
9751
ca61cf32
JM
97522012-07-04 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #14328]
9755 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9756 or multiply small sinh result by itself.
9757 * math/s_ctanf.c (__ctanf): Likewise.
9758 * math/s_ctanh.c (__ctanh): Likewise.
9759 * math/s_ctanhf.c (__ctanhf): Likewise.
9760 * math/s_ctanhl.c (__ctanhl): Likewise.
9761 * math/s_ctanl.c (__ctanl): Likewise.
9762 * math/libm-test.inc (ctan_test_tonearest): New function.
9763 (ctan_test_towardzero): Likewise.
9764 (ctan_test_downward): Likewise.
9765 (ctan_test_upward): Likewise.
9766 (ctanh_test_tonearest): Likewise.
9767 (ctanh_test_towardzero): Likewise.
9768 (ctanh_test_downward): Likewise.
9769 (ctanh_test_upward): Likewise.
9770 (main): Call these new functions.
9771 * sysdeps/i386/fpu/libm-test-ulps: Update.
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9773
ca48a46a
MF
97742012-07-03 Mike Frysinger <vapier@gentoo.org>
9775
9776 * .gitignore: Delete /ports entry.
9777
9d63d37d
AJ
97782012-07-03 Andreas Jaeger <aj@suse.de>
9779
9780 * po/bg.po: Update from translation team.
9781 * po/cs.po: Likewise.
9782 * po/de.po: Likewise.
9783 * po/hr.po: Likewise.
9784 * po/nl.pl: Likewise.
9785 * po/pl.po: Likewise.
9786 * po/vi.po: Likewise.
9787
370ca3d2
JM
97882012-07-03 Joseph Myers <joseph@codesourcery.com>
9789
95f5a9a8
JM
9790 * Makeconfig [!+link] (+link-before-libc): New variable.
9791 [!+link] (+link-after-libc): Likewise.
9792 [!+link] (+link-tests): Likewise.
9793 [!+link] (+link): Define in terms of $(+link-before-libc) and
9794 $(+link-after-libc).
9795 [!+link-static] (+link-static-before-libc): New variable.
9796 [!+link-static] (+link-static-after-libc): Likewise.
9797 [!+link-static] (+link-static-tests): Likewise.
9798 [!+link-static] (+link-static): Define in terms of
9799 $(+link-static-before-libc) and $(+link-static-after-libc).
9800 [build-shared] (link-libc-before-gnulib): New variable.
9801 [build-shared] (link-libc-tests): Likewise.
9802 [build-shared] (link-libc): Define in terms of
9803 $(link-libc-before-gnulib).
9804 [!build-shared] (link-libc-tests): New variable.
9805 (link-libc-static-tests): New variable.
9806 [!gnulib] (gnulib-arch): New variable.
9807 [!gnulib] (gnulib-tests): Likewise.
9808 [!gnulib] (static-gnulib-arch): Likewise.
9809 [!gnulib] (static-gnulib-tests): Likewise.
9810 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9811 Define with "=" instead of ":=".
9812 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9813 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9814 * Rules (binaries-all-notests): New variable.
9815 (binaries-all-tests): Likewise.
9816 (binaries-static-notests): Likewise.
9817 (binaries-static-tests): Likewise.
9818 (binaries-all): Define using $(binaries-all-notests) and
9819 $(binaries-all-tests).
9820 (binaries-static): Define using $(binaries-static-notests) and
9821 $(binaries-static-tests).
9822 (binaries-shared-tests): New variable.
9823 (binaries-shared-notests): Likewise.
9824 (binaries-shared): Remove variable.
9825 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9826 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9827 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9828 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9829 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9830 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9831 * elf/Makefile (sln-modules): New variable.
9832 (extra-objs): Add $(sln-modules:=.o).
9833 (ldconfig-modules): Add static-stubs.
9834 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9835 * elf/static-stubs.c: New file.
9836
7a845b2c
JM
9837 [BZ #14283]
9838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9839 by 7 not 8 to examine high bit of fractional part. Use volatile
9840 variables when splitting into final array of floats if
9841 __FLT_EVAL_METHOD__ != 0.
9842 * math/libm-test.inc (cos_test): Add another test.
9843 (sin_test): Likewise.
9844 * sysdeps/i386/fpu/libm-test-ulps: Update.
9845
e2283f38
JM
9846 [BZ #14273]
9847 * math/libm-test.inc (cosh_test): Add more tests.
9848
370ca3d2
JM
9849 * version.h (RELEASE): Set to "development".
9850 (VERSION): Set to "2.16.90".
9851
ee9247c3
CD
98522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9853
9854 * NEWS: Update copyright. Remove last-updated date.
9855 Mention math library bug fixes and timezone data changes.
9856 * README: Mention GNU/Hurd, x32, and HPPA support status.
9857
4648c381
TS
98582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9859
9860 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9861
aac78a43
AJ
98622012-06-27 Andreas Jaeger <aj@suse.de>
9863
9864 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9865
ed3dbfad
AJ
98662012-06-25 Andreas Jaeger <aj@suse.de>
9867
9868 * sysdeps/s390/fpu/libm-test-ulps: Update.
9869
4d0ee855
AS
98702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9871 Thomas Schwinge <thomas@codesourcery.com>
9872
9873 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9874 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9876 fanotify_mark.
9877
af1bce34
TS
98782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9879
a9fa33ba
TS
9880 * sysdeps/mach/start.c: Remove file.
9881 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9882 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9883 * sysdeps/sh/init-first.c: Likewise.
9884
58f902b8
TS
9885 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9886 registers for frame unwinding purposes, add CFI directives.
9887 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9888 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9889 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9890 Likewise.
9891
1518f58b
TS
9892 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9893 __fortify_fail returning.
9894 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9895
db9b5059
TS
9896 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9897 sysdeps/sh/____longjmp_chk.S.
9898 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9899 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9900 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9901 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9902
967705fe
TS
9903 * sysdeps/sh/abort-instr.h: New file.
9904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9905 process in case exit returns.
9906
a9def8c4
TS
9907 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9908 initialize the GOT register before use.
9909
2a649725
TS
9910 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9911 calculation of ARGC > 4.
9912
af1bce34
TS
9913 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9914 meaningful names to some local labels.
9915
d230f50a
KK
99162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9917 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9918
9919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9920 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9921 (__arch_compare_and_exchange_val_16_acq): Likewise.
9922 (__arch_compare_and_exchange_val_32_acq): Likewise.
9923 (atomic_exchange_and_add): Fix gUSA sequence.
9924 (atomic_add): Likewise.
9925 (atomic_add_negative): Likewise.
9926 (atomic_add_zero): Likewise.
9927 (atomic_bit_test_set): Likewise.
9928
0479b305
AS
99292012-06-22 Andreas Schwab <schwab@redhat.com>
9930
9931 [BZ #13579]
9932 * include/link.h (struct link_map): Add l_free_initfini.
9933 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9934 l_initfini.
9935 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9936 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9937 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9938 set.
9939
0e3933b9
CD
99402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9941
9942 * configure.in: Use AC_LANG_SOURCE.
9943 * configure: Regenerate.
9944
4248b1b1
RM
99452012-06-22 Roland McGrath <roland@hack.frob.com>
9946
9947 * configure.in (libc_cv_localstatedir): New substituted variable.
9948 * configure: Regenerated.
9949 * config.make.in (localstatedir): New variable, substituted from
9950 libc_cv_localstatedir.
9951 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9952 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9953 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9954 * sysdeps/gnu/configure: Regenerated.
9955
006dd861
JL
99562012-06-21 Jeff Law <law@redhat.com>
9957
9958 [BZ #14277]
9959 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9960 free. Simplify list management for _LIBC case.
9961
79662d42
JM
99622012-06-21 Joseph Myers <joseph@codesourcery.com>
9963
b7abb4bf
JM
9964 [BZ #14273]
9965 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9966 Clear sign bit of 64-bit integer value before comparing against
9967 overflow value.
9968
79662d42
JM
9969 * sysdeps/mach/configure: Regenerated.
9970
1f150908
L
99712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 [BZ #14278]
9974 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9975
28363bbf
JL
99762012-06-21 Jeff Law <law@redhat.com>
9977
9978 [BZ #13882]
9979 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9980 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9982 * elf/dl-open.c (dl_open_worker): Likewise.
9983
09615db4
CD
99842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9985
9986 * scripts/list-sources.sh: Scan PORTS for translations.
9987 * po/libc.pot: Regenerated.
9988
2174c6dd
AJ
99892012-06-21 Andreas Jaeger <aj@suse.de>
9990
9991 [BZ #12194]
9992 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9993 warning.
9994 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9995 * bits/byteswap-16.h (__bswap_16): Likewise.
9996 * bits/byteswap.h (__bswap_constant_16): Likewise.
9997
3ee947b1
L
99982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9999
10000 [BZ #14117]
a2f34833
L
10001 * sysdeps/i386/fpu_control.h: Removed.
10002 * sysdeps/x86_64/fpu_control.h: Moved to ...
10003 * sysdeps/x86/fpu_control.h: Here.
10004
3ee947b1
L
10005 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10006 (_FPU_SETCW): Likewise.
10007
ed1825f8
L
100082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10009
25f1282a
L
10010 [BZ #14117]
10011 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10012 * sysdeps/x86/fpu/bits/mathinline.h: This.
10013 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10014
ed1825f8
L
10015 [BZ #14050]
10016 [BZ #14117]
10017 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10018 functions if __x86_64__ is defined.
10019
36d54b74
CLT
100202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10021
10022 * string/endian.h: Add !__ASSEMBLER__ condition for including
10023 conversion interfaces.
10024
10285c21
JM
100252012-06-15 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #14241]
10028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10029 of ABS(x) in calculating zero to negative powers other than odd
10030 integers.
10031 * math/libm-test.inc (pow_test): Add more tests.
10032
06c5abbd
AJ
100332012-06-15 Andreas Jaeger <aj@suse.de>
10034
10035 * manual/contrib.texi (Contributors): Update entry of Liubov
10036 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10037 Machado Filho.
10038
a3aeac40
CH
100392012-06-15 Cyril Hrubis <metan@ucw.cz>
10040
10041 * string/string.h: Add __wur to GNU version of strerror_r.
10042
49bdf4c1
L
100432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10044
10045 [BZ #14229]
10046 * string/Makefile (tests): Add tst-strtok_r.
10047 * string/tst-strtok_r.c: New file.
10048 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10049 RAX_LP/RDX_LP on SAVE_PTR.
10050
834f9b8d
RM
100512012-06-14 Roland McGrath <roland@hack.frob.com>
10052
10053 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10054
75fa1921
JM
100552012-06-14 Joseph Myers <joseph@codesourcery.com>
10056
10057 * libm_test.inc (csqrt_test): Allow more spurious underflow
10058 exceptions.
10059 (j0_test): Likewise.
10060 (j1_test): Likewise.
10061 (y0_test): Likewise.
10062 (y1_test): Likewise.
10063
771766df
CD
100642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10065
10066 * po/Makefile (libc.pot): Use UTF-8 charset.
10067
ceb9e56b
PP
100682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10069
10070 [BZ #14210]
10071 Suppress sign-conversion warning from FD_SET.
10072 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10073 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10074 not unsigned long int.
10075 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10076
ddb28975
L
100772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 [BZ #14050]
10080 [BZ #14117]
10081 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10082 __extern_always_inline instead of __extern_inline.
10083 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10084 (__signbit): Likewise.
10085 (__signbitl): Support C++ namespace.
10086 (lrintf): New inline function.
10087 (lrint): Likewise.
10088 (llrintf): Likewise.
10089 (llrint): Likewise.
10090 (fmaxf): Likewise.
10091 (fmax): Likewise.
10092 (fminf): Likewise.
10093 (fmin): Likewise.
10094 (rint): Likewise.
10095 (rintf): Likewise.
10096 (ceil): Likewise.
10097 (ceilf): Likewise.
10098 (floor): Likewise.
10099 (floorf): Likewise.
10100 (nearbyint): Likewise.
10101 (nearbyintf): Likewise.
10102
d7b4fb26
TS
101032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10104
10105 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10106 non-default versions.
10107
eb55f5c2
RM
101082012-06-11 Roland McGrath <roland@hack.frob.com>
10109
10110 [BZ #14218]
10111 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10112
366af02c
TS
101132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10114
99ff6e5c
TS
10115 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10116 (FE_UPWARD, FE_DOWNWARD): Don't define.
10117 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10119
366af02c
TS
10120 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10121 reading it.
10122 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10124
793ea851
KK
101252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10126
10127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10129 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10130 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10131
a728a38f
L
101322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 [BZ #14117]
c08010c7
L
10135 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10136 * sysdeps/i386/fpu/Implies: New file.
10137 * sysdeps/x86_64/fpu/Implies: Likewise.
10138 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10139 * sysdeps/x86/fpu/bits/fenv.h: This.
10140
a728a38f
L
10141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10142 __SSE_MATH__.
10143
6e230d11
SP
101442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
10146 [BZ #14134]
10147 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10148 character 0xffff that matches the last element of the
10149 conversion table.
10150
1b671feb
AZ
101512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10152
10153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10154 fmodl commit.
10155
6043738b
AZ
101562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157
10158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10159 values higher than 25.6283.
10160
34ae0b32
AZ
101612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10162
10163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10164 subnormal exponent extraction and add some __builtin_expect.
10165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10166 Fix for subnormal mantissa calculation.
10167
1214ec8f
MF
101682012-06-04 Mike Frysinger <vapier@gentoo.org>
10169
10170 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10171 cpu2 is -1 and errno is not ENOSYS.
10172
f3d1f93c
L
101732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 [BZ #14117]
0e4a3cd7
L
10176 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10177 * sysdeps/x86/bits/string.h: This.
10178 * sysdeps/x86_64/bits/string.h: Removed.
10179
6704c645
L
10180 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10181 if not compiling for x86-64, but compiling for >= i486.
10182
48495318
L
10183 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10184 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10185
14adcbfc
L
10186 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10187 New macro from Linux kernel 3.4.0.
10188 (FP_XSTATE_MAGIC2): Likewise.
10189 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10190 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10191 (struct _fpx_sw_bytes): New struct.
10192 (struct _xsave_hdr): Likewise.
10193 (struct _ymmh_state): Likewise.
10194 (struct _xstate): Likewise.
10195
68e408ab
L
10196 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10197 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10199 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10200 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10201 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10202
f3d1f93c
L
10203 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10205 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10206 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10207 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10208 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10209
d9dc34cd
TMQMF
102102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10211
10212 [BZ #13743]
10213 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10214 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10215 (sysdep_headers): Include sys/platform/ppc.h.
10216 * sysdeps/powerpc/test-gettimebase.c: Test for
10217 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10218 * manual/Makefile (appendices): Include platform.texi.
10219 * manual/contrib.texi (Contributors): Update @node pointers.
10220 * manual/maint.texi (Maintenance): Likewise.
10221 (Platform): New node.
10222 * manual/platform.texi: New file. Document the new features.
10223
4af3879c
SP
102242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10225 Jakub Jelinek <jakub@redhat.com>
10226
10227 [BZ #14188]
10228 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10229 where __builtin_expect is unavailable.
10230
2fd6ff13
DM
102312012-06-03 David S. Miller <davem@davemloft.net>
10232
10233 * stdlib/longlong.h: Updated from GCC.
10234
173f7220
AS
102352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10236
10237 [BZ #14042]
10238 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10239 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10240 __mcount_internal.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10242 (GLIBC_2.16): Likewise.
10243
f34a1c6f
L
102442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10247
88a4576f
JM
102482012-06-01 Joseph Myers <joseph@codesourcery.com>
10249
ea32bcdd
JM
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10251 (default-abi): New variable.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10253 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10254 variable.
10255 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10256 Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10258 Likewise.
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10260 Likewise.
10261
88a4576f
JM
10262 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10263 definition. Document in comment.
10264
402fe938
DM
102652012-06-01 David S. Miller <davem@davemloft.net>
10266
10267 * stdlib/longlong.h: Updated from GCC.
10268
3553723f
L
102692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 [BZ #14117]
3bd872c4
L
10272 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10273 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10274 sys/debugreg.h sys/io.h here.
10275 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10276 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10277 sys/io.h.
10278 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10279 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10280 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10281 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10282 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10283 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10284
3553723f
L
10285 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10286 Define only if __x86_64__ is defined.
10287
4842e4fe
JM
102882012-06-01 Joseph Myers <joseph@codesourcery.com>
10289
c5bfe3d5
JM
10290 [BZ #14048]
10291 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10292 Use int64_t for variable i.
10293 * math/libm-test.inc (fmod_test): Add more tests.
10294
4842e4fe
JM
10295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10296 z computation is not scheduled after fetestexcept.
10297 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10298 Use math_force_eval instead of asm to ensure calculation scheduled
10299 before exception test.
10300 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10301 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10302
efb73488
AJ
103032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10304
10305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10306 computation is not scheduled after fetestexcept.
10307
29bcce7c
L
103082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10309
10310 [BZ #14117]
10311 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10312 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10313
73a68f94
AZ
103142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10315
10316 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10318
67b6df78
L
103192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10320
edf2933a 10321 [BZ #14117]
ebc64a18
L
10322 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10323 <bits/wordsize.h>.
10324 (__WCHAR_MIN): Support __WORDSIZE == 64.
10325 (__WCHAR_MAX): Likewise.
10326
edf2933a
L
10327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10328 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10329
57c6cf40
L
10330 [BZ #14183]
10331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10332 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10333
67b6df78 10334 [BZ #14117]
8eb6281e
L
10335 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10336 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10337
aac639f4
L
10338 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10339 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10340
67b6df78
L
10341 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10342 Defined to 1 if __x86_64__ isn't defined.
10343 (_STAT_VER_LINUX_OLD): New.
10344 (st_atime): Remove duplicate.
10345 (st_mtime): Likewise.
10346 (st_ctime): Likewise.
10347
1c2cfe81
DM
103482012-05-31 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10351 entries.
10352
5be8418c
AS
103532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10354
e7725326
AS
10355 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10356 gen-libm-test.pl.
10357
5be8418c
AS
10358 [BZ #14132]
10359 * elf/dl-reloc.c: Include <_itoa.h>.
10360 (_dl_reloc_bad_type): Remove use of INTUSE.
10361 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10362 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10363 * stdio-common/psiginfo.c (psiginfo): Likewise.
10364 * stdio-common/psignal.c (psignal): Likewise.
10365 * string/strsignal.c (strsignal): Likewise.
10366 * include/signal.h (_sys_siglist): Declare hidden proto.
10367 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10368 INTVARDEF with libc_hidden_data_def.
10369 * stdio-common/itoa-udigits.c: Likewise.
10370 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10371 (_itoa_lower_digits_internal): Remove declaration.
10372 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10373 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10374 (_sys_sigabbrev_internal): Remove aliases.
10375 (_sys_siglist): Define hidden alias.
10376
507352f1
MT
103772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10378
10379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10380 bits/sysctl.h.
10381
42bbb1c3
L
103822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 [BZ #14117]
6bd784b6
L
10385 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10386 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10387
8bca20f0
L
10388 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10389 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10390 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10391 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10393 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10394
f9e890a9
L
10395 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10397 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10398
471101a1
L
10399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10400 with __addr.
10401 (insw): Likewise.
10402 (insl): Likewise.
10403 (outsb): Likewise.
10404 (outsw): Likewise.
10405 (outsl): Likewise.
10406
6451c862
L
10407 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10408 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10409 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10410
a254b8c9
L
10411 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10412 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10413 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10414 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10415 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10416 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10417
b8dfdd92
L
10418 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10419 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10420
578cd270
L
10421 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10422 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10423
de662f5f
L
10424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10425 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10427
25653439
L
10428 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10429 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10430 to ...
10431 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10432
6bad24a0
L
10433 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10434 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10435 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10436
42bbb1c3
L
10437 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10438 for x86-64.
10439 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10440
2d10d547
JM
104412012-05-31 Joseph Myers <joseph@codesourcery.com>
10442
10443 * math/math.h (M_El): Use two more decimal places.
10444 (M_LOG2El): Likewise.
10445 (M_LOG10El): Likewise.
10446 (M_LN2l): Likewise.
10447 (M_LN10l): Likewise.
10448 (M_PIl): Likewise.
10449 (M_PI_2l): Likewise.
10450 (M_PI_4l): Likewise.
10451 (M_1_PIl): Likewise.
10452 (M_2_PIl): Likewise.
10453 (M_2_SQRTPIl): Likewise.
10454 (M_SQRT2l): Likewise.
10455 (M_SQRT1_2l): Likewise.
10456
f230c29b
DM
104572012-05-31 David S. Miller <davem@davemloft.net>
10458
10459 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10460 values between float registers.
10461 * sysdeps/sparc/sparc64/memset.S: Likewise.
10462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10463
fed806c3
MF
104642012-05-31 Mike Frysinger <vapier@gentoo.org>
10465
10466 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10467 -D_FORTIFY_SOURCE=1.
10468 (CPPFLAGS-tst-longjmp_chk.c): Define.
10469 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10470 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10471 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10472 CFLAGS-tst-wchar-h.c.
10473
30917259
MP
104742012-05-31 Marek Polacek <polacek@redhat.com>
10475
10476 [BZ #14132]
10477 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10478 __endmntent_internal): Remove declaration.
10479 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10480 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10481 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10482
1c58d5dc
DM
104832012-05-30 David S. Miller <davem@davemloft.net>
10484
10485 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10486 (___Q_simulate_exceptions): Use real FP ops rather than writing
10487 into the %fsr.
10488 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10489 Likewise.
10490
7dc00e0d
L
104912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 [BZ #14117]
0bd53985
L
10494 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10495 * sysdeps/x86/bits/xtitypes.h: This.
10496
3a257e66
L
10497 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10498 * sysdeps/x86/bits/wordsize.h: This.
10499
62f62904
L
10500 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10501 * sysdeps/x86/bits/huge_vall.h: This.
10502
404fe9d9
L
10503 * sysdeps/i386/bits/select.h: Removed.
10504 * sysdeps/x86_64/bits/select.h: Renamed to ...
10505 * sysdeps/x86/bits/select.h: This.
10506
d48d0446
L
10507 * sysdeps/i386/bits/setjmp.h: Removed.
10508 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10509 * sysdeps/x86/bits/setjmp.h: This.
10510
7dc00e0d
L
10511 * sysdeps/i386/bits/mathdef.h: Removed.
10512 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10513 * sysdeps/x86/bits/mathdef.h: This.
10514
03277f8f
AS
105152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10516
10517 [BZ #14132]
10518 * include/sys/socket.h (__connect_internal)
10519 (__libc_sa_len_internal): Remove declaration.
10520 (__connect, __libc_sa_len): Declare hidden_proto.
10521 (SA_LEN): Remove use of INTUSE.
10522 * socket/connect.c: Add libc_hidden_def.
10523 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10524 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10525 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10526 alias.
10527 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10529 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10530 of adding _internal alias.
10531
13764867
L
105322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 [BZ #14117]
6bd97696
L
10535 * sysdeps/i386/bits/link.h: Removed.
10536 * sysdeps/i386/bits/linkmap.h: Likewise.
10537 * sysdeps/x86_64/bits/link.h: Renamed to ...
10538 * sysdeps/x86/bits/link.h: This.
10539 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10540 * sysdeps/x86/bits/linkmap.h: This.
10541
f726f0bb
L
10542 * sysdeps/i386/bits/endian.h: Removed.
10543 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10544 * sysdeps/x86/bits/endian.h: This.
10545
13764867
L
10546 * sysdeps/i386/bits/byteswap.h: Removed.
10547 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10548 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10549 * sysdeps/x86/bits/byteswap.h: This.
10550 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10551 * sysdeps/x86/bits/byteswap-16.h: This.
10552 * sysdeps/i386/Implies: Add x86.
10553 * sysdeps/x86_64/Implies: Likewise.
10554
ae251b0b
DM
105552012-05-30 David S. Miller <davem@davemloft.net>
10556
10557 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10558 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10560 (FP_TRAPPING_EXCEPTIONS): Define.
10561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10562 (FP_TRAPPING_EXCEPTIONS): Define.
10563 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10564 subnormals only when inexact has been signalled or underflow
10565 exceptions are enabled.
10566 (_FP_PACK_CANONICAL): Likewise.
10567
d5c90867
L
105682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10569
10570 [BZ #14183]
10571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10572 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10573
63f1549e
RH
105742012-05-30 Richard Henderson <rth@twiddle.net>
10575
8d8f2279
RH
10576 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10577 with #ifndef NOT_IN_libc.
10578
63f1549e
RH
10579 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10580 marked to avoid plt entry.
10581
0ab0291b
L
105822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10583
10584 [BZ #14112]
10585 * Makeconfig (default-abi): New macro.
10586 (abi-includes): Likewise.
10587 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10588 $(abi-$(default-abi)-lib-soname) for soname if defined.
10589 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10590 abi-variants.
10591 * Makefile (installed-stubs): Likewise.
10592 * include/stubs-biarch.h: Removed.
10593 * scripts/lib-names.awk: Only handle one library at a time.
10594 * scripts/soversions.awk: Remove WORDSIZE support.
10595 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10596 entries.
10597 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10598 Removed.
10599 (syscall-list-default-condition): Likewise.
10600 (syscall-list-default-condition): Likewise.
10601 (syscall-list-includes): Likewise.
10602 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10603 syscall-list-* with abi-*. Handle undefined abi-variants.
10604 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10605 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10606 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10607 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10608 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10609 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10610 Removed.
10611 (syscall-list-32-options): Likewise.
10612 (syscall-list-32-condition): Likewise.
10613 (syscall-list-64-options): Likewise.
10614 (syscall-list-64-condition): Likewise.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10616 macro.
10617 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10618 Renamed to ...
10619 (abi-*): This.
10620 (abi-64-ld-soname): New macro.
10621 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10623 Renamed to ...
10624 (abi-*): This.
10625 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10626 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10627
4da0431d
JM
106282012-05-30 Joseph Myers <joseph@codesourcery.com>
10629
3a85279c
JM
10630 * sysdeps/unix/sysv/linux/kernel-features.h
10631 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10632 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10633 include <kernel-features.h>.
10634 [!__NR_ftruncate64]: Remove conditional code.
10635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10636 [__NR_ftruncate64]: Make code unconditional.
10637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10638 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10639 include <kernel-features.h>.
10640 [!__NR_ftruncate64]: Remove conditional code.
10641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10642 [__NR_ftruncate64]: Make code unconditional.
10643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10645 include <kernel-features.h>.
10646 [!__NR_ftruncate64]: Remove conditional code.
10647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10648 [__NR_ftruncate64]: Make code unconditional.
10649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10651 include <kernel-features.h>.
10652 [!__NR_ftruncate64]: Remove conditional code.
10653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10654 [__NR_ftruncate64]: Make code unconditional.
10655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10656
4da0431d
JM
10657 * configure.in (libc_cv_fpie): Weaken to a compile test using
10658 LIBC_TRY_CC_OPTION.
10659 * configure: Regenerated.
10660
11ef492c
AK
106612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10662
10663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10667 Refreshed.
10668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10674 Refreshed.
10675
d66ef399
DM
106762012-05-27 David S. Miller <davem@davemloft.net>
10677
10678 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10679 (___Q_zero): New.
10680 (__Q_simulate_exceptions): Return void. Change to simulate
10681 exceptions by writing into the %fsr.
10682 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10683 (__Qp_handle_exceptions): Likewise.
10684 (numbers): Delete.
10685 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10686 __Qp_handle_exceptions.
10687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10688 __Qp_handle_exceptions.
10689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10690 as unused and give dummy FP_RND_NEAREST initializer.
10691 (FP_INHIBIT_RESULTS): Define.
10692 (___Q_simulate_exceptions): Update declaration.
10693 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10694 formatting.
10695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10696 as unused and give dummy FP_RND_NEAREST initializer.
10697 (__Qp_handle_exceptions): Update declaration.
10698 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10699 formatting.
10700
04fb54b5
TS
107012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10702
10703 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10704 the temporary FPU control word.
10705 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10706 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10707 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10708 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10709 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10710 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10711 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10712 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10713 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10714 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10715 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10716
3f99608f
KK
107172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10718
10719 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10720 fields.
10721
65a4de4e
CLT
107222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10723
10724 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10725 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10726 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10727 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10728 Likewise.
10729 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10730 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10731 Likewise.
10732
15749d40
UD
107332012-05-27 Ulrich Drepper <drepper@gmail.com>
10734
10735 * po/h.po: Update from translation team.
10736
25dbcb27
AS
107372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10738
3d3f8e55
AS
10739 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10740
25dbcb27
AS
10741 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10742 handling of denormals.
10743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10744 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10745 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10750 Likewise.
10751
7ad47a80 107522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10753
10754 [BZ #14152]
10755 * math/libm-test.inc (fma_test): Don't always expect underflow
10756 exception.
10757
9c6ea9fa
SP
107582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10759
10760 [BZ #12416]
10761 * elf/tst-execstack.c: Include stackinfo.h.
10762 (do_test): Adjust test case to ensure that pthread_getattr_np
10763 behaviour remains the same after marking stack executable.
10764
a8239222
JM
107652012-05-25 Joseph Myers <joseph@codesourcery.com>
10766
10767 * sysdeps/unix/sysv/linux/kernel-features.h
10768 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10769 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10770 kernel-features.h.
10771 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10772 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10773 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10774 kernel-features.h.
10775 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10776 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10777
918b5606
L
107782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10779
10780 * configure.in: Define the default includes to being none.
10781 * configure: Regenerated.
10782
3a097cc7
RM
107832012-05-25 Roland McGrath <roland@hack.frob.com>
10784
8422c9a5
RM
10785 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10786 * sysdeps/x86_64/setjmp.S: Likewise.
10787 * sysdeps/i386/bsd-setjmp.S: Likewise.
10788 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10789 * sysdeps/i386/setjmp.S: Likewise.
10790 * sysdeps/i386/__longjmp.S: Likewise.
10791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10792 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10793
3a097cc7
RM
10794 * include/stap-probe.h: New file.
10795 * configure.in: Handle --enable-systemtap.
10796 * configure: Regenerated.
10797 * config.h.in (USE_STAP_PROBE): New #undef.
10798 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10799 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10800 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10801
21708942
JM
108022012-05-25 Joseph Myers <joseph@codesourcery.com>
10803
10804 [BZ #13717]
10805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10806 to 2.4.0 where earlier.
10807 * sysdeps/unix/sysv/linux/configure: Regenerated.
10808 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10809 <kernel-features.h>.
10810 [__ASSUME_32BITUIDS]: Make code unconditional.
10811 [!__ASSUME_32BITUIDS]: Remove conditional code.
10812 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10813 <kernel-features.h>.
10814 [__ASSUME_32BITUIDS]: Make code unconditional.
10815 [!__ASSUME_32BITUIDS]: Remove conditional code.
10816 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10817 [__ASSUME_32BITUIDS]: Make code unconditional.
10818 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10819 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10820 <kernel-features.h>.
10821 [__ASSUME_32BITUIDS]: Make code unconditional.
10822 [!__ASSUME_32BITUIDS]: Remove conditional code.
10823 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10824 <kernel-features.h>.
10825 [__ASSUME_32BITUIDS]: Make code unconditional.
10826 [!__ASSUME_32BITUIDS]: Remove conditional code.
10827 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10828 <kernel-features.h>.
10829 [__ASSUME_32BITUIDS]: Make code unconditional.
10830 [!__ASSUME_32BITUIDS]: Remove conditional code.
10831 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10832 <kernel-features.h>.
10833 [__ASSUME_32BITUIDS]: Make code unconditional.
10834 [!__ASSUME_32BITUIDS]: Remove conditional code.
10835 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10836 <kernel-features.h>.
10837 [__ASSUME_32BITUIDS]: Make code unconditional.
10838 [!__ASSUME_32BITUIDS]: Remove conditional code.
10839 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10840 <kernel-features.h>.
10841 [__ASSUME_32BITUIDS]: Make code unconditional.
10842 [!__ASSUME_32BITUIDS]: Remove conditional code.
10843 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10844 <kernel-features.h>.
10845 [__ASSUME_32BITUIDS]: Make code unconditional.
10846 [!__ASSUME_32BITUIDS]: Remove conditional code.
10847 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10848 <kernel-features.h>.
10849 [__ASSUME_32BITUIDS]: Make code unconditional.
10850 [!__ASSUME_32BITUIDS]: Remove conditional code.
10851 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10852 <kernel-features.h>.
10853 [__ASSUME_32BITUIDS]: Make code unconditional.
10854 [!__ASSUME_32BITUIDS]: Remove conditional code.
10855 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10856 <kernel-features.h>.
10857 [__ASSUME_32BITUIDS]: Make code unconditional.
10858 [!__ASSUME_32BITUIDS]: Remove conditional code.
10859 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10860 <kernel-features.h>.
10861 [__NR_setresgid] (__setresgid): Do not declare.
10862 [__ASSUME_32BITUIDS]: Make code unconditional.
10863 [!__ASSUME_32BITUIDS]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10865 <kernel-features.h>.
10866 [__NR_setresuid] (__setresuid): Do not declare.
10867 [__ASSUME_32BITUIDS]: Make code unconditional.
10868 [!__ASSUME_32BITUIDS]: Remove conditional code.
10869 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10870 <kernel-features.h>.
10871 [__ASSUME_32BITUIDS]: Make code unconditional.
10872 [!__ASSUME_32BITUIDS]: Remove conditional code.
10873 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10874 <kernel-features.h>.
10875 [__ASSUME_32BITUIDS]: Make code unconditional.
10876 [!__ASSUME_32BITUIDS]: Remove conditional code.
10877 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10878 <kernel-features.h>.
10879 [__ASSUME_32BITUIDS]: Make code unconditional.
10880 [!__ASSUME_32BITUIDS]: Remove conditional code.
10881 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10882 <kernel-features.h>.
10883 [__ASSUME_32BITUIDS]: Make code unconditional.
10884 [!__ASSUME_32BITUIDS]: Remove conditional code.
10885 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10886 <kernel-features.h>.
10887 [__ASSUME_32BITUIDS]: Make code unconditional.
10888 [!__ASSUME_32BITUIDS]: Remove conditional code.
10889 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10890 <kernel-features.h>.
10891 [__ASSUME_32BITUIDS]: Make code unconditional.
10892 [!__ASSUME_32BITUIDS]: Remove conditional code.
10893 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10894 <kernel-features.h>.
10895 [__ASSUME_32BITUIDS]: Make code unconditional.
10896 [!__ASSUME_32BITUIDS]: Remove conditional code.
10897 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10898 <kernel-features.h>.
10899 [__ASSUME_32BITUIDS]: Make code unconditional.
10900 [!__ASSUME_32BITUIDS]: Remove conditional code.
10901 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10902 <kernel-features.h>.
10903 [__ASSUME_32BITUIDS]: Make code unconditional.
10904 [!__ASSUME_32BITUIDS]: Remove conditional code.
10905 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10906 <kernel-features.h>.
10907 [__ASSUME_32BITUIDS]: Make code unconditional.
10908 [!__ASSUME_32BITUIDS]: Remove conditional code.
10909 * sysdeps/unix/sysv/linux/kernel-features.h
10910 (__ASSUME_SETRESUID_SYSCALL): Remove.
10911 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10912 (__ASSUME_32BITUIDS): Likewise.
10913 (__ASSUME_LDT_WORKS): Likewise.
10914 (__ASSUME_O_DIRECTORY): Likewise.
10915 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10916 architecture but not kernel version.
10917 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10918 (__ASSUME_MMAP2_SYSCALL): Likewise.
10919 (__ASSUME_STAT64_SYSCALL): Likewise.
10920 (__ASSUME_IPC64): Likewise.
10921 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10922 <kernel-features.h>.
10923 [__ASSUME_32BITUIDS]: Make code unconditional.
10924 [!__ASSUME_32BITUIDS]: Remove conditional code.
10925 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10926 <kernel-features.h>.
10927 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10928 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10929 132096]: Remove conditional code.
10930 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10932 <kernel-features.h>.
10933 [__ASSUME_32BITUIDS]: Make code unconditional.
10934 [!__ASSUME_32BITUIDS]: Remove conditional code.
10935 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10936 <kernel-features.h>.
10937 [__ASSUME_32BITUIDS]: Make code unconditional.
10938 [!__ASSUME_32BITUIDS]: Remove conditional code.
10939 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10940 <kernel-features.h>.
10941 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10942 unconditional.
10943 (__setresgid): Do not declare.
10944 [__ASSUME_32BITUIDS]: Make code unconditional.
10945 [!__ASSUME_32BITUIDS]: Remove conditional code.
10946 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10947 <kernel-features.h>.
10948 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10949 unconditional.
10950 (__setresuid): Do not declare.
10951 [__ASSUME_32BITUIDS]: Make code unconditional.
10952 [!__ASSUME_32BITUIDS]: Remove conditional code.
10953 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10954 <kernel-features.h>.
10955 [__ASSUME_32BITUIDS]: Make code unconditional.
10956 [!__ASSUME_32BITUIDS]: Remove conditional code.
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10958 <kernel-features.h>.
10959 [__ASSUME_32BITUIDS]: Make code unconditional.
10960 [!__ASSUME_32BITUIDS]: Remove conditional code.
10961
a386f1cc
RH
109622012-05-25 Richard Henderson <rth@twiddle.net>
10963
10964 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10965 dl_hwcap to ifunc resolver.
10966 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10967 elf_ifunc_invoke.
10968 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10969 dl_hwcap to ifunc resolver.
10970 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10971
b6550497
JM
109722012-05-24 Joseph Myers <joseph@codesourcery.com>
10973
10974 [BZ #14153]
10975 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10976 for |x| <= 2**-26, not 2**-57.
10977 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10978 exception.
10979
b0bc23a1
JL
109802012-05-24 Jeff Law <law@redhat.com>
10981
10982 * stdio-common/Makefile (tests): Add bug25.
10983 * stdio-common/bug25.c: New test.
10984
347c92e9
L
109852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10986
10987 [BZ #13576]
10988 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10989 multiple of MALLOC_ALIGNMENT in size.
10990 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10991
6bcc8b3f
JM
109922012-05-24 Joseph Myers <joseph@codesourcery.com>
10993
10994 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10995 Require >= 256.
10996 (FILENAME_MAX): Use macro-int-constant.
10997 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10998 (_IOFBF): Use macro-int-constant.
10999 (_IOLBF): Likewise.
11000 (_IONBF): Likewise.
11001 (SEEK_CUR): Likewise.
11002 (SEEK_END): Likewise.
11003 (SEEK_SET): Likewise.
11004 (TMP_MAX): Likewise.
11005 (EOF): Use macro-int-constant. Require < 0.
11006 (NULL): Use macro-constant. Require == 0.
11007 (stdin): Require type to be FILE *.
11008 (stdout): Likewise.
11009 (stderr): Likewise.
11010 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11011 macro-int-constant.
11012 (EXIT_SUCCESS): Likewise.
11013 (NULL): Use macro-constant. Require == 0.
11014 (RAND_MAX): Use macro-int-constant.
11015 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11016 [C99-based standards] (strtof): Require function.
11017 [C99-based standards] (strtold): Likewise.
11018 [C99-based standards] (strtoll): Likewise.
11019 [C99-based standards] (strtoull): Likewise.
11020 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11021 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11022 [ISO || ISO99 || ISO11] (math.h): Likewise.
11023 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11024 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11026
d18ea0c5
AS
110272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11028
11029 [BZ #14132]
56d25bb8
AS
11030 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11031 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11032 * intl/dgettext.c (DCGETTEXT): Likewise.
11033 * intl/gettext.c (DCGETTEXT): Likewise.
11034 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11035 * posix/regex_internal.h (gettext): Likewise.
11036 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11037 Remove declaration.
11038 * include/argz.h (__argz_count_internal)
11039 (__argz_stringify_internal): Remove declaration.
11040 (__argz_count, __argz_stringify): Declare hidden proto.
11041 * intl/dcgettext.c: Remove use of INTDEF.
11042 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11043 * string/argz-stringify.c: Likewise.
11044 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11045 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11046 Declare hidden proto.
d18ea0c5
AS
11047 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11048 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11049 Declare hidden proto.
11050 * include/stdio.h (__asprintf_internal): Don't declare.
11051 (__asprintf): Don't define as macro. Declare hidden proto.
11052 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11053 (__fsetlocking): Declare hidden proto.
11054 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11055 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11056 hidden proto.
11057 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11058 (_IO_setlinebuf): Remove use of INTUSE.
11059 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11060 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11061 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11062 Remove declaration.
11063 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11064 (_IO_do_flush): Remove use of INTUSE.
11065 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11066 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11067 (_IO_adjust_column, _IO_least_wmarker)
11068 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11069 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11070 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11071 (_IO_default_doallocate, _IO_wdefault_doallocate)
11072 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11073 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11074 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11075 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11076 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11077 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11078 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11079 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11080 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11081 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11082 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11083 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11084 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11085 proto.
11086 (_IO_flush_all_internal, _IO_adjust_column_internal)
11087 (_IO_default_uflow_internal, _IO_default_finish_internal)
11088 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11089 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11090 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11091 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11092 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11093 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11094 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11095 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11096 (_IO_file_close_internal, _IO_file_close_it_internal)
11097 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11098 (_IO_file_init_internal, _IO_file_attach_internal)
11099 (_IO_file_fopen_internal, _IO_file_read_internal)
11100 (_IO_file_sync_internal, _IO_file_seek_internal)
11101 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11102 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11103 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11104 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11105 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11106 (_IO_list_all_internal, _IO_link_in_internal)
11107 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11108 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11109 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11110 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11111 (_IO_do_write_internal, _IO_padn_internal)
11112 (_IO_getline_info_internal, _IO_getline_internal)
11113 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11114 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11115 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11116 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11117 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11118 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11119 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11120 with libc_hidden_ver, remove use of INTUSE.
11121 * libio/genops.c: Likewise.
11122 * libio/freopen.c: Likewise.
11123 * libio/freopen64.c: Likewise.
11124 * libio/iofclose.c: Likewise.
11125 * libio/iofdopen.c: Likewise.
11126 * libio/iofflush.c: Likewise.
11127 * libio/iofflush_u.c: Likewise.
11128 * libio/iofgets.c: Likewise.
11129 * libio/iofgets_u.c: Likewise.
11130 * libio/iofopen.c: Likewise.
11131 * libio/iofopncook.c: Likewise.
11132 * libio/iofread.c: Likewise.
11133 * libio/iofread_u.c: Likewise.
11134 * libio/ioftell.c: Likewise.
11135 * libio/iofwrite.c: Likewise.
11136 * libio/iogetline.c: Likewise.
11137 * libio/iogets.c: Likewise.
11138 * libio/iogetwline.c: Likewise.
11139 * libio/iopadn.c: Likewise.
11140 * libio/iopopen.c: Likewise.
11141 * libio/ioseekoff.c: Likewise.
11142 * libio/ioseekpos.c: Likewise.
11143 * libio/iosetbuffer.c: Likewise.
11144 * libio/iosetvbuf.c: Likewise.
11145 * libio/ioungetc.c: Likewise.
11146 * libio/ioungetwc.c: Likewise.
11147 * libio/iovdprintf.c: Likewise.
11148 * libio/iovsprintf.c: Likewise.
11149 * libio/iovsscanf.c: Likewise.
11150 * libio/memstream.c: Likewise.
11151 * libio/obprintf.c: Likewise.
11152 * libio/oldfileops.c: Likewise.
11153 * libio/oldiofclose.c: Likewise.
11154 * libio/oldiofdopen.c: Likewise.
11155 * libio/oldiofopen.c: Likewise.
11156 * libio/oldiopopen.c: Likewise.
11157 * libio/oldstdfiles.c: Likewise.
11158 * libio/putc.c: Likewise.
11159 * libio/setbuf.c: Likewise.
11160 * libio/setlinebuf.c: Likewise.
11161 * libio/stdfiles.c: Likewise.
11162 * libio/strops.c: Likewise.
11163 * libio/vasprintf.c: Likewise.
11164 * libio/vscanf.c: Likewise.
11165 * libio/vsnprintf.c: Likewise.
11166 * libio/vswprintf.c: Likewise.
11167 * libio/wfiledoalloc.c: Likewise.
11168 * libio/wfileops.c: Likewise.
11169 * libio/wgenops.c: Likewise.
11170 * libio/wmemstream.c: Likewise.
11171 * libio/wstrops.c: Likewise.
11172 * libio/__fpurge.c: Likewise.
11173 * libio/__fsetlocking.c: Likewise.
11174 * assert/assert.c: Likewise.
11175 * debug/fgets_chk.c: Likewise.
11176 * debug/fgets_u_chk.c: Likewise.
11177 * debug/fread_chk.c: Likewise.
11178 * debug/fread_u_chk.c: Likewise.
11179 * debug/gets_chk.c: Likewise.
11180 * debug/obprintf_chk.c: Likewise.
11181 * debug/vasprintf_chk.c: Likewise.
11182 * debug/vdprintf_chk.c: Likewise.
11183 * debug/vsnprintf_chk.c: Likewise.
11184 * debug/vsprintf_chk.c: Likewise.
11185 * malloc/mtrace.c: Likewise.
11186 * misc/error.c: Likewise.
11187 * misc/syslog.c: Likewise.
11188 * stdio-common/asprintf.c: Likewise.
11189 * stdio-common/fxprintf.c: Likewise.
11190 * stdio-common/getw.c: Likewise.
11191 * stdio-common/isoc99_fscanf.c: Likewise.
11192 * stdio-common/isoc99_scanf.c: Likewise.
11193 * stdio-common/isoc99_vfscanf.c: Likewise.
11194 * stdio-common/isoc99_vscanf.c: Likewise.
11195 * stdio-common/isoc99_vsscanf.c: Likewise.
11196 * stdio-common/printf-prs.c: Likewise.
11197 * stdio-common/printf_fp.c: Likewise.
11198 * stdio-common/printf_fphex.c: Likewise.
11199 * stdio-common/printf_size.c: Likewise.
11200 * stdio-common/putw.c: Likewise.
11201 * stdio-common/scanf.c: Likewise.
11202 * stdio-common/sprintf.c: Likewise.
11203 * stdio-common/tmpfile.c: Likewise.
11204 * stdio-common/vfprintf.c: Likewise.
11205 * stdio-common/vfscanf.c: Likewise.
11206 * stdlib/strfmon_l.c: Likewise.
11207 * sunrpc/openchild.c: Likewise.
11208 * sunrpc/xdr_stdio.c: Likewise.
11209 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11210 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11211
d6c33fda
RM
112122012-05-24 Roland McGrath <roland@hack.frob.com>
11213
c1487492
RM
11214 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11215
11216 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11217 in the third column, to generate for the shared library an IFUNC
11218 that uses _dl_vdso_vsym.
11219 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11220 * Makeconfig (object-suffixes-noshared): New variable.
11221
11222 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11223 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11224 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11225 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11226
d6c33fda
RM
11227 [BZ #14132]
11228 * include/sys/time.h (__gettimeofday): Remove macro.
11229 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11230 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11231 Remove INTDEF.
11232 (__gettimeofday): Add libc_hidden_def.
11233 (gettimeofday): Add libc_hidden_weak.
11234 * sysdeps/mach/gettimeofday.c: Likewise.
11235 * sysdeps/posix/gettimeofday.c: Likewise.
11236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11237 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11239 (__gettimeofday_internal): Remove strong_alias.
11240 (__gettimeofday): Add libc_hidden_def.
11241 (gettimeofday): Add libc_hidden_weak.
11242 * sysdeps/unix/syscalls.list (gettimeofday):
11243 Remove __gettimeofday_internal alias.
11244
b5a2bbe6
L
112452012-05-24 Daniel Jacobowitz <drow@false.org>
11246 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 [BZ #12495]
11249 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11250 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11251 (largebin_index_32_big): New.
11252 (largebin_index): Use it for 16-byte alignment.
11253 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11254 correction with front_misalign.
11255
cfba4fda
L
112562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11257
7f907421
L
11258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11260 Likewise.
11261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11262 Likewise.
11263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11264 Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11266 Likewise.
11267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11268 Likewise.
11269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11270 Likewise.
11271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11272 Likewise.
11273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11274 Likewise.
11275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11276 Likewise.
11277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11278 Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11280 Likewise.
11281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11282 Likewise.
11283
cfba4fda
L
11284 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11285 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11286
80bad0cc
JM
112872012-05-24 Joseph Myers <joseph@codesourcery.com>
11288
7a25eb06
JM
11289 [BZ #10846]
11290 [BZ #14036]
11291 * math/libm-test.inc (exp_test): Add test from bug 14036.
11292 (pow_test): Add test from bug 10846.
11293
795405f9
JM
11294 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11295 and other flags.
11296 (special_function): Do not include flags in test name.
11297 (parse_args): Likewise.
11298 * sysdeps/i386/fpu/libm-test-ulps: Update.
11299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11300 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11303
80bad0cc
JM
11304 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11305 exceptions.
11306 * math/libm-test.inc ("Philosophy"): Update comment about
11307 exception testing.
11308 (UNDERFLOW_EXCEPTION): New macro.
11309 (UNDERFLOW_EXCEPTION_OK): Likewise.
11310 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11311 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11312 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11313 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11314 (INVALID_EXCEPTION_OK): Update value.
11315 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11316 (OVERFLOW_EXCEPTION_OK): Likewise.
11317 (IGNORE_ZERO_INF_SIGN): Likewise.
11318 (test_exceptions): Handle underflow exceptions.
11319 (acos_test): Update for underflow exception expectations.
11320 (cexp_test): Likewise.
11321 (clog_test): Likewise.
11322 (clog10_test): Likewise.
11323 (csqrt_test): Likewise.
11324 (ctan_test): Likewise.
11325 (ctanh_test): Likewise.
11326 (exp_test): Likewise.
11327 (exp10_test): Likewise.
11328 (exp2_test): Likewise.
11329 (expm1_test): Likewise.
11330 (fma_test): Likewise.
11331 (j0_test): Likewise.
11332 (jn_test): Likewise.
11333 (nexttoward_test): Likewise.
11334 (pow_test): Likewise.
11335 (scalbn_test): Likewise.
11336 (scalbln_test): Likewise.
11337 (tan_test): Likewise.
11338 (y1_test): Likewise.
11339 * sysdeps/i386/fpu/libm-test-ulps: Update.
11340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11341
9e0e3d0b
DM
113422012-05-23 David S. Miller <davem@davemloft.net>
11343
11344 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11345 (__libc_sigaction): Remove unused local variables.
11346
ccd0a08f
L
113472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11350
62bdf9a6
PE
113512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11352
f8591f80
PE
11353 mktime: avoid signed integer overflow
11354 * time/mktime.c (__mktime_internal): Do not mishandle the case
11355 where diff == INT_MIN.
11356
94c7d826
PE
11357 mktime: simplify computation of average
11358 * time/mktime.c (ranged_convert): Use new time_t_avg function
11359 instead of rolling our own (probably-slower) code.
11360
ce73d683
PE
11361 mktime: do not assume signed right shift propagates sign bit
11362 * time/mktime.c (isdst_differ): New static function.
11363 (__mktime_internal): No need to normalize tm_isdst now.
11364 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11365 tm_isdst values.
11366
72a22e59
PE
11367 mktime: merge another wrapv change from gnulib
11368 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11369 from some compilers.
11370
68605433
PE
11371 mktime: remove incorrect attempt at unusual arithmetics
11372 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11373 The code didn't really work on such machines anyway.
11374 (TYPE_MINIMUM): Assume two's complement.
11375 (twos_complement_arithmetic): Verify that long_int and time_t
11376 are two's complement (or unsigned, in the latter case).
11377
03cf7fe3
PE
11378 mktime: check signed shifts on long_int and time_t, too
11379 * time/mktime.c (SHR): Check that shifts work as desired
11380 on the types long_int and time_t too, as SHR is used on
11381 such types.
11382
f04dfbc2
PE
11383 mktime: do not assume 'long' is wide enough
11384 * time/mktime.c (verify): Move decl up.
11385 (long_int): New type.
11386 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11387 to remove assumption in the code that 'long' is wide enough to
11388 store year values. This assumption is not true on x32 and on
11389 some non-glibc platforms.
11390
62bdf9a6
PE
11391 mktime: merge wrapv change from gnulib
11392 * time/mktime.c (WRAPV): New macro.
11393 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11394 (guess_time_tm, __mktime_internal): Do not assume that signed
11395 integer overflow wraps around; modern compilers generate code
11396 where this assumption is no longer valid.
11397
5e292e4f
L
113982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11399
11400 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11401 Replace "jmp L(pseudo_end)" with "ret".
11402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11403 Likewise.
11404
8caf8c87
AJ
114052012-05-23 Andreas Jaeger <aj@suse.de>
11406
11407 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11408 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11409
1a09dc56
AJ
114102012-05-23 Andreas Jaeger <aj@suse.de>
11411 Maximilian Attems <max@stro.at>
11412
11413 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11414 New macros.
11415
1c87aba0
L
114162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11419 code so that pseudo_end is just ret and the stack pointer is
11420 correct also for static library in error case.
11421
40e45bd5
JM
114222012-05-23 Joseph Myers <joseph@codesourcery.com>
11423
c2670533
JM
11424 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11425 move to syscalls.list.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11430
40e45bd5
JM
11431 * manual/install.texi (Running make install): Do not mention Linux
11432 kernel version for which pt_chown is not needed.
11433 (Linux): Do not mention problems with nscd with 2.0 kernels.
11434 * INSTALL: Regenerated.
11435
be08eda5
AJ
114362012-05-23 Andreas Jaeger <aj@suse.de>
11437
11438 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11439 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11440 macro.
11441 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11442 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11443 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11444 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11445 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11446 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11451 * sysdeps/unix/sysv/linux/bits/in.h
11452 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11453
a6a056bb
RM
114542012-05-22 Roland McGrath <roland@hack.frob.com>
11455
11456 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11457 (PREPARE_VERSION): Just use assert instead, it will be elided
11458 under [NDEBUG] anyway.
11459
c9009328
L
114602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/unix/sysv/linux/Makefile: Include
11463 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11464 (sysdep_routines): Remove sysctl.
c9009328
L
11465 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11466 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11467 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11469 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11470
73338355
AJ
114712012-05-22 Andreas Jaeger <aj@suse.de>
11472
11473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11474 that pseudo_end is just ret and the stack pointer is correct also
11475 for static library in error case.
11476
d44638b0
PP
114772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11478
11479 [BZ #14122]
11480 * nss/nsswitch.c (defconfig_entries): New variable.
11481 (__nss_database_lookup): Don't leak defconfig entries.
11482 (nss_parse_service_list): Don't leak on error paths.
11483 (free_database_entries): New function.
11484 (free_defconfig): New function.
11485 (free_mem): Move common code to free_database_entries.
11486
31a39bd8
L
114872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11488
da0331a8
L
11489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11490 Add arch_prctl.
11491 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11492
31a39bd8
L
11493 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11494 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11496 New macro.
11497 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11498 (INTERNAL_SYSCALL_TYPES): Likewise.
11499 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11500 (LOAD_REGS_TYPES_[1-6]): Likewise.
11501 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11502 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11503
45470df3
AZ
115042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11507 copysignl for GLIBC_2_0.
11508 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11509 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11511 logbl for GLIBC_2_0.
11512 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11513 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11514
98a61bcb
L
115152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11516
a4f6e481
L
11517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11518 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11519
f63d5db6
L
11520 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11521 Use "neg %eax".
11522
98a61bcb
L
11523 * time/mktime.c: Update copyright years.
11524
95770f14
PE
115252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11526
6226efbd
PE
11527 mktime: merge comment-quoting-style change from gnulib
11528 * time/mktime.c: Quote 'like this' in comments.
11529 The GNU coding standards suggest that we no longer quote `like this',
11530 as "`" and "'" are typically rendered asymmetrically nowadays.
11531 The typical gnulib style is to quote 'like this' when quoting
11532 code, and "like this" when quoting English.
11533
b99e4f78
PE
11534 * time/mktime.c (compile-command): Add "-I.".
11535
643e01e6
PE
11536 mktime: merge mktime-internal.h change from gnulib
11537 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11538
2554247d
PE
11539 mktime: merge time_r change from gnulib
11540 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11541
826dd0ab
PE
11542 mktime: merge DEBUG change from gnulib
11543 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11544 case system <time.h> has a #define.
11545
bd83aabe
PE
11546 mktime: merge <sys/types.h> change from gnulib
11547 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11548 since <time.t> is now guaranteed to define time_t.
11549
95770f14
PE
11550 mktime: merge HAVE_CONFIG_H change from gnulib
11551 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11552
5e1a27a9
L
115532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11554
0e44a77e
L
11555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11556 Use "neg %eax".
11557
5e1a27a9
L
11558 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11559 __rlim_t cast.
11560 (struct rusage): Use anonymous union to pad each field to
11561 __syscall_slong_t.
11562
46259bec
DM
115632012-05-21 David S. Miller <davem@davemloft.net>
11564
11565 * Makefules (o-iterator): Remove .s cases.
11566 (compile-command.s): Delete.
11567 (COMPILE.s): Delete.
11568 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11569
59f0c22e
JM
115702012-05-21 Joseph Myers <joseph@codesourcery.com>
11571
11572 * configure.in (libc_cv_predef_stack_protector): Only consider
11573 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11574 * configure: Regenerated.
11575
20c07380
L
115762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11577
bbb3154b
L
11578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11579 New macro. Use R*LP on int and pointer.
11580 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11581 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11582 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11583 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11584
20c07380
L
11585 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11586 [__WORDSIZE_TIME64_COMPAT32] instead of
11587 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11588 (struct utmp): Likewise.
11589 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11590 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11591 Renamed to ...
11592 (__WORDSIZE_TIME64_COMPAT32): This.
11593 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11594 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11595 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11596 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11597 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11598 (__WORDSIZE_TIME64_COMPAT32): New macro.
11599
d8d1017e
AJ
116002012-05-21 Andreas Jaeger <aj@suse.de>
11601
11602 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11603 only if [SHARED]. Add prototype for __wcschr_ia32.
11604
6c7fb145
RM
116052012-05-21 Roland McGrath <roland@hack.frob.com>
11606
11607 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11608 of %rbp unmolested in the jmp_buf while mangling the low bits.
11609 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11610 unmolested high bits of %rbp while demangling the low bits.
11611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11612
66274218
AJ
116132012-05-21 Andreas Jaeger <aj@suse.de>
11614
07c58f8f
AJ
11615 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11616 * sunrpc/svc_simple.c: Use it for registerrpc.
11617 * sunrpc/xcrypt.c: Use it for passwd2des.
11618
66274218
AJ
11619 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11620
61f65140
L
116212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11622
11623 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11624 Don't define if [__SYSCALL_WORDSIZE != 32].
11625 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11626 New macro.
11627
5fefb436
AJ
116282012-05-21 Bruno Haible <bruno@clisp.org>
11629 Andreas Jaeger <aj@suse.de>
11630
11631 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11632 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11633 inptr and inend for must_buffer_ch.
11634 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11635 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11636 * stdio-common/Makefile (tests): Remove bug15.
11637 (bug15-ENV): Remove macro.
11638 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11639 anymore.
11640
d8e272ab
AJ
116412012-05-19 Andreas Jaeger <aj@suse.de>
11642 Roland McGrath <roland@hack.frob.com>
11643
11644 * manual/contrib.texi: Completely rewritten. It contains now an
11645 alphabetical list of contributors and their contributions.
11646
4a56a162
RH
116472012-05-21 Richard Henderson <rth@twiddle.net>
11648
11649 * misc/getauxval.c (__getauxval): Use unsigned long int.
11650 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11651 (getauxval): Use unsigned long int.
11652
d024d23c
L
116532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11654
11655 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11656
cbc00a03
RM
116572012-05-21 Roland McGrath <roland@hack.frob.com>
11658
11659 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11660 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11661 __alignof__ (long double).
11662
478143fa
AZ
116632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11664
11665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11666
c7683a6d
RH
116672012-05-20 Richard Henderson <rth@twiddle.net>
11668
11669 * misc/getauxval.c: New file.
11670 * misc/sys/auxv.h: New file.
11671 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11672 (routines): Add getauxval.
11673 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11674 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11675 * elf/dl-sysdep.c (_dl_auxv): Remove.
11676 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11677 * elf/dl-support.c (_dl_auxv): New variable.
11678 (_dl_aux_init): Initialize it.
11679 * manual/startup.texi (Auxiliary Vector): New node.
11680 * sysdeps/generic/bits/hwcap.h: New file.
11681 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11682 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11683 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11684 * sysdeps/sparc/sysdep.h: ... here. Include it.
11685 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11688 Update.
c7683a6d
RH
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11697
a6f1845d
AZ
116982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11699
11700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11701
cbcbe830
DM
117022012-05-19 David S. Miller <davem@davemloft.net>
11703
11704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11705
e0b16cc2
JM
117062012-05-19 Joseph Myers <joseph@codesourcery.com>
11707
11708 [BZ #14123]
11709 * math/s_ccosh.c: Include <float.h>
11710 (__ccosh): Avoid internal overflow calculating sinh and cosh
11711 values before multiplying by sin and cos values.
11712 * math/s_ccoshf.c: Likewise.
11713 * math/s_ccoshl.c: Likewise.
11714 * math/s_csin.c: Likewise.
11715 * math/s_csinf.c: Likewise.
11716 * math/s_csinl.c: Likewise.
11717 * math/s_csinh.c: Likewise.
11718 * math/s_csinhf.c: Likewise.
11719 * math/s_csinhl.c: Likewise.
11720 * math/libm-test.inc (ccos_test): Add more tests.
11721 (ccosh_test): Likewise.
11722 (csin_test): Likewise.
11723 (csinh_test): Likewise.
11724 * sysdeps/i386/fpu/libm-test-ulps: Update.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11726
6ad13e08
L
117272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11728
f66f0ce8
L
11729 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11730 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11731
6ad13e08
L
11732 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11733
b1d072a7
JM
117342012-05-19 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11737 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11738 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11739 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11740 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11741 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11742 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11743 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11744 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11745 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11746 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11747 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11748 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11749 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11750 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11751 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11752 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11753 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11754 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11755 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11756 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11757 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11758 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11759 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11760 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11761 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11762 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11763 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11764 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11765 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11766 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11767
9eae47cb
AJ
117682012-05-18 Andreas Jaeger <aj@suse.de>
11769
11770 * csu/.gitignore: Delete.
11771
bb07f69f
L
117722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11773
11774 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11775 (timex): Use __syscall_slong_t.
11776
e6bdb741
AJ
117772012-05-18 Andreas Jaeger <aj@suse.de>
11778 Carlos O'Donell <carlos_odonell@mentor.com>
11779
11780 * manual/install.texi (Configuring and compiling): Update
11781 description about files modified in the source directory.
d6c33fda 11782 * INSTALL: Regenerated.
e6bdb741 11783
1b74487e
L
117842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11785
11786 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11787 value. Use "or" to set return value to -1.
11788 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11789 negate return value.
11790
a88b64b9
TMQMF
117912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11792
11793 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11794 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11795 failure if the compiler has Graphite support disabled.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11797 Likewise.
11798 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11799 CFLAGS-memmove.c): Likewise.
11800 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11801 Likewise.
11802
3707636e
L
118032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11804
610b8622
L
11805 * sysdeps/x86_64/x32/_itoa.h: New file.
11806
7cd195df
L
11807 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11808 getdents system call only if kernel and user dirents have the
11809 same d_ino and d_off.
11810
94b07d20
L
11811 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11812 LLONG_MAX != LONG_MAX.
11813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11814 (_fitoa_word): Likewise.
11815
18298070
L
11816 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11817 years.
11818 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11821
553c7ea4
L
11822 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11823 include <bits/wordsize.h>. Check __x86_64__ instead of
11824 __WORDSIZE.
11825 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11826 if __x86_64__ is defined. Use anonymous union on fpstate.
11827
3707636e
L
11828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11829 anonymous union.
11830
b53ef01a
AS
118312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11832
37fb1dc0
AS
11833 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11834 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11835 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11836 Refer to _rtld_local_ro instead of _rtld_global_ro.
11837 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11838 Likewise.
11839 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11840 Likewise.
11841 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11842 Likewise.
11843 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11844 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11845 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11846
b53ef01a
AS
11847 * sysdeps/powerpc/powerpc32/dl-machine.c
11848 (__elf_machine_runtime_setup) [PROF]: Don't reference
11849 _dl_prof_resolve.
11850
7a185db2
AJ
118512012-05-18 Andreas Jaeger <aj@suse.de>
11852
11853 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11854 function only available for GCCs before 3.4 since GCC 3.4
11855 introduced a builtin.
11856 (lrint): Likewise.
11857 (llrintf): Likewise.
11858 (llrint): Likewise.
11859 (fmaxf): Likewise.
11860 (fmax): Likewise.
11861 (fminf): Likewise.
11862 (fmin): Likewise.
11863 (rint): Likewise.
11864 (rintf): Likewise.
11865 (nearbyint): Likewise.
11866 (nearbyintf): Likewise.
11867 (ceil): Likewise.
11868 (ceilf): Likewise.
11869 (floor): Likewise.
11870 (floorf): Likewise.
11871
3e5aef87
L
118722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11873
428bd707
L
11874 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11875 on both fields and cast pointer to __syscall_ulong_t.
11876
3e5aef87
L
11877 * bits/types.h (__fsword_t): New type.
11878 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11879 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11881 (__FSWORD_T_TYPE): Likewise.
11882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11883 (__FSWORD_T_TYPE): Likewise.
11884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11885 (__FSWORD_T_TYPE): Likewise.
11886 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11887 (__FSWORD_T_TYPE): Likewise.
11888 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11889 __SWORD_TYPE with __fsword_t.
11890 (statfs64): Likewise.
11891
1ba7c3dc
DM
118922012-05-17 David S. Miller <davem@davemloft.net>
11893
11894 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11895
59910343
AJ
118962012-05-17 Andreas Jaeger <aj@suse.de>
11897
11898 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11899 warning.
11900
2e4c1e9e
L
119012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11904
de7f5ce7
AJ
119052012-05-17 Andreas Jaeger <aj@suse.de>
11906
11907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11908 when it is used.
11909
286abc3d
CM
119102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11911
11912 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11913
477cc68e
L
119142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11915
11916 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11917 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11918
1a0994f5
CD
119192012-05-17 Andreas Jaeger <aj@suse.de>
11920 Carlos O'Donell <carlos_odonell@mentor.com>
11921
11922 [BZ #14059]
11923 * sysdeps/x86_64/multiarch/init-arch.h
11924 (bit_YMM_Usable): Rename to...
11925 (bit_AVX_Usable): ... this.
11926 (bit_FMA4_Usable): New macro.
11927 (bit_XMM_state): New macro.
11928 (bit_YMM_state): New macro.
11929 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11930 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11931 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11932 (CPUID_OSXSAVE): New macro.
11933 (CPUID_AVX): New macro.
11934 (CPUID_FMA4): New macro.
11935 (index_YMM_Usable): Rename to...
11936 (index_AVX_Usable): ... this.
11937 (HAS_AVX): Use HAS_ARCH_FEATURE.
11938 (HAS_FMA4): Likewise.
11939 (HAS_YMM_USABLE): Remove.
11940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11941 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11942 are present.
11943 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11944 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11945 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11946 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11947 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11948
0af797de
CM
119492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11950
11951 * math/libm-test.c: Support platforms without multiple rounding modes.
11952 * math/bug-nextafter.c: Support platforms without FP exceptions.
11953 * math/bug-nexttoward.c: Likewise.
11954 * math/test-fenv.c: Likewise.
11955 * math/test-misc.c: Likewise.
11956 * stdlib/bug-getcontext.c: Likewise.
11957
e39745ff
AJ
119582012-05-17 Andreas Jaeger <aj@suse.de>
11959
11960 * manual/examples/search.c (critter_cmp): Change signature to
11961 avoid warnings.
11962 * manual/string.texi (Collation Functions): Likewise.
11963
48970aba
L
119642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11965
11966 * bits/types.h: Fold copyright years.
11967 * bits/typesizes.h: Likewise.
11968 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11972 * time/time.h: Likewise.
11973
bedee953
PP
119742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11975
11976 [BZ #208]
11977 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11978 in instead of returning them. Return void.
11979 (__libc_mallinfo): Accumulate over all arenas.
11980 (__malloc_stats): Adjust for change in int_mallinfo interface.
11981
61653dfb
RM
119822012-05-16 Roland McGrath <roland@hack.frob.com>
11983
30b99d79
RM
11984 [BZ #10375]
11985 * configure.in (NM): Add AC_CHECK_TOOL for it.
11986 (libc_extra_cflags): New substituted variable.
11987 Check for -fstack-protector being used implicitly.
11988 * configure: Regenerated.
11989 * config.make.in (config-extra-cflags): New variable,
11990 gets @libc_extra_cflags@.
11991 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11992
61653dfb
RM
11993 [BZ #10375]
11994 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11995 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11996 * configure: Regenerated.
11997 * config.make.in (CPPUNDEFS): New substituted variable.
11998 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11999 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12000 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12001
661768bb
L
120022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12003
12004 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12005 (mq_attr): Use __syscall_slong_t.
12006
d4261567
L
120072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12010 Check __x86_64__ instead of __WORDSIZE.
12011 (_STAT_VER_LINUX): Likewise.
12012 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12013 __syscall_ulong_t and __syscall_slong_t.
12014 (stat64): Likewise.
12015
cf3ff365
L
120162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12019
76cf3e4d
L
120202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12021
12022 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12023
a637753a
L
120242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12025
12026 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12027 __syscall_ulong_t.
12028
d5e05119
L
12029 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12030 include <bits/wordsize.h>. Check __x86_64__ instead of
12031 __WORDSIZE.
12032 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12033 defined.
12034 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12035
f62ee380
L
12036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12037 include <bits/wordsize.h>. Check __x86_64__ instead of
12038 __WORDSIZE.
12039 (user_regs_struct): Use "__extension__ unsigned long long"
12040 instead of "unsigned long" if __x86_64__ is defined.
12041 (user): Likewise. Pad after pointer field if __ILP32__ is
12042 defined.
12043
4e124ced
JM
120442012-05-16 Joseph Myers <joseph@codesourcery.com>
12045
6a3951a0
JM
12046 * configure.in (makeinfo): Require version 4.5 or later. Allow
12047 versions 5 to 9.
12048 * configure: Regenerated.
12049 * manual/install.texi (texinfo): Increase version requirement to
12050 4.5 or later.
12051 * INSTALL: Regenerated.
12052
4e124ced
JM
12053 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12054
953ca31a
L
120552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12056
12057 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12058
617aca05
L
12059 * sysdeps/x86_64/x32/ffs.c: New file.
12060
5762f7ae
L
12061 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12062 __syscall_ulong_t.
12063 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12064 defined. Use __syscall_ulong_t.
12065 (shminfo): Use __syscall_ulong_t.
12066 (shm_info): Likewise.
12067
a26b6856
L
12068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12069 __syscall_ulong_t.
12070
cb2b9ef7
L
12071 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12072 <bits/wordsize.h>.
12073 (msgqnum_t): Use __syscall_ulong_t.
12074 (msglen_t): Likewise.
12075 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12076 __syscall_ulong_t.
12077
34683bb0
L
12078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12079 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12080
84a68786
L
12081 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12082
48baa5f1
L
12083 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12084 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12085
180be88b
L
12086 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12087 __syscall_slong_t.
12088
5e90c8ad
L
12089 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12090 include <bits/wordsize.h>. Check __x86_64__ instead of
12091 __WORDSIZE.
12092
23dfb58b
L
12093 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12094 "unsigned long long int" if __x86_64__ is defined.
12095 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12096
ce5d54b0
L
12097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12099 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12100
13dc9eac
L
12101 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12102 <stdint.h>.
12103 (GET_PC): Cast to uintptr_t first.
12104 (GET_FRAME): Likewise.
12105 (GET_STACK): Likewise.
12106
a7895d15
L
12107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12108 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12110 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12112 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12113 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12115 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12117 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12119 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12121 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12122 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12123 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12125 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12126 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12127 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12129 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12131 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12135 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12136
656416c9
AS
121372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12138
5bd66283
AS
12139 * Makerules (+depfiles): Also collect depfiles from .oS in
12140 $(extra-objs).
12141 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12142 .oS, $(libnldbl-routines)).
12143
656416c9
AS
12144 * Makerules (native-compile-mkdep-flags): Define.
12145 * sunrpc/Makefile (extra-objs): Add $(addprefix
12146 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12147 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12148 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12149 calling $(make-target-directory).
12150
a46f2169
L
121512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12152
12153 * bits/types.h (__snseconds_t): Removed.
12154 * time/time.h (struct timespec): Replace __snseconds_t with
12155 __syscall_slong_t.
12156 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12157 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12158 Likewise.
12159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12160 (__SNSECONDS_T_TYPE): Likewise.
12161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12162 (__SNSECONDS_T_TYPE): Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12164 (__SNSECONDS_T_TYPE): Likewise.
12165
6af6528b
L
121662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12167
12168 * sysdeps/mach/hurd/bits/typesizes.h
12169 (__SYSCALL_SLONG_TYPE): New macro.
12170 (__SYSCALL_ULONG_TYPE): Likewise.
12171
de986b56
L
121722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12173
12174 * bits/types.h (__syscall_slong_t): New type.
12175 (__syscall_ulong_t): Likewise.
12176
12177 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12178 (__SYSCALL_ULONG_TYPE): Likewise.
12179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12180 (__SYSCALL_SLONG_TYPE): Likewise.
12181 (__SYSCALL_ULONG_TYPE): Likewise.
12182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12183 (__SYSCALL_SLONG_TYPE): Likewise.
12184 (__SYSCALL_ULONG_TYPE): Likewise.
12185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12186 (__SYSCALL_SLONG_TYPE): Likewise.
12187 (__SYSCALL_ULONG_TYPE): Likewise.
12188
85736dc7
L
121892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12190
12191 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12192 Add sigaltstack-offsets.sym.
12193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12194 <sigaltstack-offsets.h>.
12195 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12196 longjmp_msg pointer.
12197 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12198 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12199 signal stack.
12200 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12201
cc03b296
JM
122022012-05-15 Joseph Myers <joseph@codesourcery.com>
12203
a9538892
JM
12204 * elf/stackguard-macros.h: Remove file.
12205 * sysdeps/generic/stackguard-macros.h: New file.
12206 * sysdeps/i386/stackguard-macros.h: Likewise.
12207 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12208 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12209 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12210 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12211 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12212 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12213 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12214 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12215 <elf/stackguard-macros.h>.
12216
cc03b296
JM
12217 [BZ #14109]
12218 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12219 __aligned__ in attribute.
12220 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12221 (gregset_t): Likewise.
12222
93171016
L
122232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12224
12225 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12226 * sysdeps/x86_64/64/Implies-after: Here. New file.
12227 * sysdeps/x86_64/x32/Implies-after: New file.
12228
d86813a0
L
122292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12232 and access return value for _dl_profile_fixup. Use R10_LP to
12233 load frame size.
12234
2953ec75
L
122352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12236
12237 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12238
3b550e9e
L
122392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12242 * sysdeps/x86_64/x32/sysdep.h: New file.
12243
eda41706
L
122442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12247 * sysdeps/x86_64/setjmp.S: Likewise.
12248
9ea01d93
AZ
122492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12250
12251 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12253 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12255 remove unused global constant.
12256
02a91938
CM
122572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12258
12259 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12260 include of <not-cancel.h>.
12261
6540185f
RM
122622012-05-15 Roland McGrath <roland@hack.frob.com>
12263
12264 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12265
509072a0
AJ
122662012-05-15 Jeff Law <law@redhat.com>
12267 Andreas Jaeger <aj@suse.de>
12268
12269 [BZ #13594]
12270 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12271 out from...
12272 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12273 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12274 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12275 code changing __hst_map_handle.map.
12276
ba75122d
RM
122772012-05-15 Roland McGrath <roland@hack.frob.com>
12278
12279 * configure.in (sysnames): Look for Implies-before and Implies-after
12280 files.
12281 * configure: Regenerated.
12282
890d8bd8
L
122832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12284
12285 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12286 8-byte data alignment with LP_SIZE alignment.
12287
f6ee6623
L
122882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12291 into R10_LP.
12292
ea2626f6
L
122932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12294
12295 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12296
085f715e
L
122972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12300 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12302 Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12304
be8498fc
L
123052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12306
12307 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12308 (stackinfo_sub_sp): Likewise.
12309
70bc83b9
L
123102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12313 RAX_LP.
12314
9bc0b730
L
123152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12318 into R*_LP.
12319
6d2850e7
L
123202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12323 sizes into R*_LP.
12324
3cb84561
L
123252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12328
54e2ed81
L
123292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12332 into R11_LP and load __x86_64_shared_cache_size_half into
12333 R8_LP.
12334
8a17f349
L
123352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12338 R8_LP.
12339
777b1eea
AZ
123402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12341
12342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12343 logb for POWER7.
12344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12345 logbf for POWER7.
12346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12347 logbl for POWER7.
12348 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12349 powerpc32/power7/fpu/s_logb.c via #include.
12350 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12351 powerpc32/power7/fpu/s_logbf.c via #include.
12352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12353 powerpc32/power7/fpu/s_logbl.c via #include.
12354
d20d4ac2
JM
123552012-05-15 Joseph Myers <joseph@codesourcery.com>
12356
12357 * README.libm: Remove file.
12358
6cdef1ab
L
123592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12362 count for x32. Use R*_LP and omit operand-size suffix.
12363
0b254d8f
L
123642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12367 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12368 * sysdeps/x86_64/x32/shlib-versions: New file.
12369
ceb809dc
RM
123702012-05-14 Roland McGrath <roland@hack.frob.com>
12371
12372 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12373 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12374 Use _dl_fatal_printf instead.
12375
37f1abd4
JM
123762012-05-14 Joseph Myers <joseph@codesourcery.com>
12377
12378 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12379 set if not set by the user. Do not allow for being unset.
12380 * sysdeps/unix/sysv/linux/configure: Regenerated.
12381
11de3a33
L
123822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12385 the `q' suffix from lea and replace .quad with ASM_ADDR.
12386
e02f153a
L
123872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12388
12389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12390 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12391 instead of $17.
12392 (PTR_DEMANGLE): Likewise.
12393
520ae0fd
L
123942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12397 (LP_OP): Likewise.
12398 (ASM_ADDR): Likewise.
12399 (RAX_LP): Likewise.
12400 (RBP_LP): Likewise.
12401 (RBX_LP): Likewise.
12402 (RCX_LP): Likewise.
12403 (RDI_LP): Likewise.
12404 (RSI_LP): Likewise.
12405 (RSP_LP): Likewise.
12406 (R8_LP): Likewise.
12407 (R9_LP): Likewise.
12408 (R10_LP): Likewise.
12409 (R10_LP): Likewise.
12410 (R11_LP): Likewise.
12411 (R12_LP): Likewise.
12412 (R13_LP): Likewise.
12413 (R14_LP): Likewise.
12414 (R15_LP): Likewise.
12415
b985be81
L
124162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12417
12418 * sysdeps/x86_64/x32/dl-machine.h: New file.
12419
6a4888ff
AJ
124202012-05-14 Andreas Jaeger <aj@suse.de>
12421
12422 * manual/Makefile (subdir): Remove export of subdir.
12423 (all): Remove target.
12424 (.PHONY): Remove all from list.
12425 (mkinstalldirs): Remove.
12426 (.PHONY): Remove installdirs from list.
12427 ($(inst_infodir)/libc.info): Use make-target-directory.
12428 (installdirs): Remove.
12429 (subdir_%): Remove.
12430 (glibc-targets): Remove.
12431 (lib): Remove.
12432 (stubs): Remove.
12433 ($(objpfx)stubs ../po/manual.pot): Remove.
12434 ($(objpfx)stamp%): Remove.
12435 (make-target-directory): Remove.
12436 (subdir_install): Remove.
12437 (routines): Remove.
12438 (aux): Remove.
12439 (sources): Remove.
12440 (objects): Remove.
12441 (headers): Remove.
12442
12443 [BZ #13750]
12444 * manual/.gitignore: Remove, it's not needed anymore.
12445 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12446 all files in it.
12447 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12448 directory.
12449 (texis): Renamed to $(objpfx)texis.
12450 (texis-path): New, contains path to generated files.
12451 (chapters.%): Use texis-path for complete path, add extra argument
12452 libc-texinfo.sh.
12453 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12454 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12455 (summary,texi, stamp-summary): Use complete path of
12456 files. Generate files in build dir.
12457 (dir-add.texi): Build in build dir.
12458 (libm-err.texi,stamp-libm-err): Likewise.
12459 (version.texi, stamp-version): Likewise.
12460 (.%c.texi): Likewise.
12461 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12462 (mostlyclean): Remove target.
12463 (realclean): Remove target.
12464 (generated): Add new variable with contents from mostlyclean and
12465 realclean, remove entries duplicated in common-mostlyclean, add
12466 stamp-libm-err and stamp-version.
12467 (generated-dirs): Add libc directory.
12468 ($(inst_infodir)/libc.info): Install files from build dir.
12469
12470 * manual/install.texi (Configuring and compiling): Adjust since
12471 the info files are not part of the tar ball anymore.
12472
7ac77294
AJ
124732012-05-14 Andreas Jaeger <aj@suse.de>
12474
12475 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12476 variable.
12477
ffb7875d
JM
124782012-05-14 Joseph Myers <joseph@codesourcery.com>
12479
12480 [BZ #13717]
12481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12482 to 2.2.0 where earlier.
12483 * sysdeps/unix/sysv/linux/configure: Regenerated.
12484 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12485 Remove conditional code.
12486 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12487 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12488 Remove conditional code.
12489 [!__NR_lchown]: Likewise.
12490 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12491 [__NR_lchown]: Likewise.
12492 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12493 comment referencing __ASSUME_LCHOWN_SYSCALL.
12494 * sysdeps/unix/sysv/linux/i386/sigaction.c
12495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12497 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12498 Remove conditional code.
12499 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12500 (__protocol_available): Remove #if 0 code.
12501 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12502 conditional code.
12503 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12504 * sysdeps/unix/sysv/linux/kernel-features.h
12505 (__ASSUME_GETCWD_SYSCALL): Don't define.
12506 (__ASSUME_REALTIME_SIGNALS): Likewise.
12507 (__ASSUME_PREAD_SYSCALL): Likewise.
12508 (__ASSUME_PWRITE_SYSCALL): Likewise.
12509 (__ASSUME_POLL_SYSCALL): Likewise.
12510 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12511 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12512 non-SPARC.
12513 (__ASSUME_SIOCGIFNAME): Don't define.
12514 (__ASSUME_MSG_NOSIGNAL): Likewise.
12515 (__ASSUME_SENDFILE): Define unconditionally.
12516 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12517 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12518 conditional code.
12519 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12520 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12521 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12522 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12523 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12524 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12525 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12550 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12551 Remove conditional code.
12552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12553 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12554 Remove conditional code.
12555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12556 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12557 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12558 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12559 Remove conditional code.
12560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12561 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12562 Remove conditional code.
12563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12564 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12565 Remove conditional code.
12566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12567 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12568 Remove conditional code.
12569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12570 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12571 Remove conditional code.
12572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12573 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12576 * sysdeps/unix/sysv/linux/sigaction.c
12577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12579 * sysdeps/unix/sysv/linux/sigpending.c
12580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12582 * sysdeps/unix/sysv/linux/sigprocmask.c
12583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12585 * sysdeps/unix/sysv/linux/sigsuspend.c
12586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12589 (__libc_missing_rt_sigs): Remove.
12590 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12591 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12592 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12593 Remove conditional code.
12594 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12595 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12596 return 1.
12597 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12598 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12599 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12600 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12601
1bfb7291
AJ
126022012-05-14 Andreas Jaeger <aj@suse.de>
12603
caae5a81
AJ
12604 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12605 it's not used in glibc.
12606 (__coshm1): Likewise.
12607 (__acosh1p): Likewise.
12608 (__sgn): Likewise.
12609
1bfb7291
AJ
12610 * manual/string.texi (Copying and Concatenation): Add missing
12611 variable in concat example.
12612 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12613
c044d724
L
126142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12615
144c5467 12616 [BZ #14103]
c044d724
L
12617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12618 __builtin_clzl with __builtin_clzll.
12619
2523c62b
L
126202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12621
12622 [BZ #14104]
12623 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12624 libc_freeres_ptr.
12625
d7bb4c42
LD
126262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12627
12628 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12629 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12630 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12632
9dc4e1fb
MF
126332012-05-14 Mike Frysinger <vapier@gentoo.org>
12634
12635 * NEWS: Update ia64 info.
12636
c7df0112
AS
126372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12638
12639 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12640 used as bcopy.
12641
dc70356c
TS
126422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12643
12644 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12645 * sysdeps/unix/syscalls.list (dup3): Likewise.
12646 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12647 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12648
9fb1a21f
L
126492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12650
12651 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12652 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12653
4822a2a5
L
126542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12657 thread pointer.
12658 (TLS_IE): Use mov/add instead of movq/addq to load thread
12659 pointer.
12660 (TLS_GD_PREFIX): New.
12661 (TLS_GD): Use it.
12662
842b81d6
DM
126632012-05-11 David S. Miller <davem@davemloft.net>
12664
12665 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12666 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12667 (_FPU_SETCW): Likewise.
12668
1cf463cd
L
126692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12672 is 32-byte aligned.
12673
60cc4a18
AS
126742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 [BZ #11837]
12677 * iconvdata/gb18030.c: Update tables.
12678 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12679 characters specially.
12680 (BODY for TO_LOOP): Add encoding of missing ranges.
12681
febb44a4
TS
126822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12683
12684 [BZ #13673]
12685 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12686 * sysdeps/mach/hurd/dup3.c: Likewise.
12687 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12688 * sysdeps/powerpc/memmove.c:: Likewise.
12689
0a10fb9e
L
126902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12691
12692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12693 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12694
df8a552f
L
126952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12696
12697 * elf/elf.h (R_X86_64_RELATIVE64): New.
12698 (R_X86_64_NUM): Updated.
12699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12700 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12701 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12702 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12703 tst-quad1pie tst-quad2pie
12704 (modules-names): Add tst-quadmod1 tst-quadmod2.
12705 ($(objpfx)tst-quad1): New dependency.
12706 ($(objpfx)tst-quad2): Likewise.
12707 ($(objpfx)tst-quad1pie): Likewise.
12708 ($(objpfx)tst-quad2pie): Likewise.
12709 * sysdeps/x86_64/tst-quad1.c: New file.
12710 * sysdeps/x86_64/tst-quad1pie.c: New file.
12711 * sysdeps/x86_64/tst-quad2.c: Likewise.
12712 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12713 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12714 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12715 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12716 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12717
f34d6f84
ST
127182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12719
f42d41d1
ST
12720 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12721 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12722 * streams/stropts.h (t_scalar_t): Define type.
12723
3c3571fc
ST
12724 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12725 (_PATH_PRESERVE): Set to "/var/lib".
12726 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12727
61f06bd3
ST
12728 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12729 instead of int.
12730
918d4d71
ST
12731 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12732 if __dir_mkfile succeeded.
12733
f34d6f84
ST
12734 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12735 checking for _hurd_dtablesize. Unlock it right after having
12736 finished _hurd_dtable allocation.
12737
10589b4a
TS
127382012-05-10 Thomas Schwinge <thomas@schwinge.name>
12739
674cdbc7
TS
12740 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12741 * sysdeps/mach/hurd/configure: Regenerated.
12742 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12743 special-casing to...
12744 * sysdeps/gnu/configure.in: ... this new file.
12745 * sysdeps/unix/sysv/linux/configure: Regenerated.
12746 * sysdeps/gnu/configure: New generated file.
12747
8e41b99f
TS
12748 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12749 for Linux: use nsec instead of usec, as well as:
12750 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12751 members of type struct timespec.
12752 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12753 New macros.
12754 (struct stat64): Likewise.
12755 (_STATBUF_ST_NSEC): New macro.
12756 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12757
10589b4a
TS
12758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12759 __strtoul_internal rather than strtoul.
12760
63643c85
PT
127612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12762
12763 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12764 and reject them.
12765
3faebe6a
ST
127662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12767
12768 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12769 which preserves existing values.
12770 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12771
c6474b07
PT
127722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12773
12774 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12775 TIMEOUT values. Return EINVAL for NFDS values either negative or
12776 greater than FD_SETSIZE.
12777
1043890b
ST
127782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12779
12780 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12781 allocated, call __vm_protect to finish enabling the existing space, and
12782 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12783 allocate the remainder.
12784
37ed8b9b
PT
127852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12786
12787 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12788 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12789
db653660
ST
127902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12791
37ed8b9b
PT
12792 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12793 sysdeps/mach/hurd/readlink.c.
b29d4053 12794
db653660
ST
12795 * posix/tst-sysconf.c (posix_options): Only use
12796 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12797 _POSIX_SYNCHRONIZED_IO when they are defined
12798 * sysdeps/mach/hurd/bits/posix_opt.h:
12799 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12800 (_XOPEN_REALTIME): Undefine macro.
12801 (_XOPEN_REALTIME_THREADS): Undefine macro.
12802 (_XOPEN_SHM): Undefine macro.
12803 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12804 macro to -1.
12805 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12806 macro to -1.
12807 (_POSIX_ASYNC_IO): Undefine macro.
12808 (_POSIX_PRIORITIZED_IO): Undefine macro.
12809 (_POSIX_SPIN_LOCKS): Define macro to -1.
12810
ee16e894
ST
12811 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12812 SA_NODEFER, SA_RESETHAND.
12813 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12814 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12815 F_DUPFD_CLOEXEC.
12816
6103ae3b
TS
128172012-05-10 Thomas Schwinge <thomas@schwinge.name>
12818
12819 * elf/Makefile (pldd-modules): Define unconditionally.
12820
80b4e5f3
TS
128212012-05-10 Thomas Schwinge <thomas@schwinge.name>
12822
12823 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12824
edadcbd6
ST
128252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12826
12827 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12828 Return ENOENT when name is empty.
12829 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12830
80694780
TS
128312012-05-10 Thomas Schwinge <thomas@schwinge.name>
12832
1792c087
TS
12833 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12834
80694780
TS
12835 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12836
6b645f0d
ST
128372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12838
80694780
TS
12839 Fix mlock in all cases except non-readable pages.
12840 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12841 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12842
6b645f0d
ST
12843 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12844 (__mkdir): When path is `/', just fail with EEXIST.
12845 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12846
e468f8a3
TS
128472012-05-10 Thomas Schwinge <thomas@schwinge.name>
12848
12849 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12850 <sys/uio.h> (for writev).
12851 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12852 and <sys/param.h> (for MIN).
12853
a4186cff
PT
128542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12855
12856 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12857 REQUESTED_TIME. Properly set the remaining time and return EINTR
12858 if interrupted.
12859
510bbf14
TS
128602012-05-10 Thomas Schwinge <thomas@schwinge.name>
12861
12862 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12863 Depend on against $(link-rpcuserlibs).
12864
5d5722e8
ST
128652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12866
a4186cff
PT
12867 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12868 (__libc_stack_end): Do not use attribute_relro.
12869 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12870 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12871 to libthread-provided value.
a4186cff
PT
12872 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12873 attribute_relro.
5d5722e8 12874
37233df9
TS
128752012-05-10 Thomas Schwinge <thomas@schwinge.name>
12876
be971a2b
TS
12877 [BZ #3748]
12878 * bits/libc-lock.h (__libc_once_get): New macro.
12879 * sysdeps/mach/bits/libc-lock.h: Likewise.
12880 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12882 instead of using implementation details.
12883
37233df9
TS
12884 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12885 * libio/freopen.c: Likewise.
12886 * libio/freopen64.c: Likewise.
12887 * misc/syslog.c: Likewise.
12888 * nscd/connections.c: Likewise.
12889 * nscd/netgroupcache.c: Likewise.
12890 * sysdeps/posix/getcwd.c: Likewise.
12891
38de94a5
RM
128922012-05-10 Roland McGrath <roland@hack.frob.com>
12893
12894 * math/w_ilogbf.c: Add #include <limits.h>.
12895
67530489
ST
128962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12897
a4186cff 12898 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12899 path instead of returning without unlocking.
12900
67530489
ST
12901 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12902 immediate-write ioctls.
12903 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12904
5aa3a74a
TS
129052012-05-10 Thomas Schwinge <thomas@schwinge.name>
12906
18bad2ae
TS
12907 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12908 __builtin_frame_address instead of making assumptions about the
12909 location of the return address relative to DATA. Force early load of
12910 the return address.
12911 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12912 __builtin_frame_address.
12913
5aa3a74a
TS
12914 dup3 for GNU Hurd.
12915 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12916 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12917 implement dup3 and do some further code clean-ups.
12918 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12920
ecd0de9a
ST
129212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12922
cd9fa985
ST
12923 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12924
a4186cff
PT
12925 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12926 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12927 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12928 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12929 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12930 d->port.lock.
802ca5a5 12931
a4186cff
PT
12932 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12933 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12934 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12935
bcf55240
TS
129362012-05-10 Thomas Schwinge <thomas@schwinge.name>
12937
6960eb42
TS
12938 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12939 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12940 definitions.
12941
eb43375f
TS
12942 accept4 for GNU Hurd.
12943 * include/sys/socket.h (__libc_accept4): New prototype.
12944 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12945 to implement __libc_accept4.
12946 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12947 __libc_accept4.
12948 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12949
bcf55240
TS
12950 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12951 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12952 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12953 signal-defines.sym.
12954
6178c55b
ST
129552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12956
a4186cff 12957 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12958
6f080c2f
TS
129592012-05-10 Thomas Schwinge <thomas@schwinge.name>
12960
12961 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12962 assertion on O_CLOEXEC flag.
12963 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12964 * hurd/intern-fd.c: Likewise.
12965 * hurd/port2fd.c: Likewise.
12966
bcfe3a54
ST
129672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12968
12969 [BZ #3906]
12970 * bits/in.h (IPV6_PKTINFO): Define new macro.
12971 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12972
89c9aa49
AZ
129732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12974
12975 [BZ #13954]
12976 [BZ #13955]
12977 [BZ #13956]
12978 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12980 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12981 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12983 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12984 * math/libm-test.inc (logb_test) : Additional logb tests.
12985
021db4be
AJ
129862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12987 Andreas Jaeger <aj@suse.de>
12988
12989 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12990 * configure: Regenerated.
12991 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12992 * config.make.in (link-obsolete-rpc): New substituted variable.
12993 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12994 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12995 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12996 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12997 so that libc.a contains the symbols.
12998 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12999 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13000 * sunrpc/auth_none.c: Likewise.
13001 * sunrpc/auth_unix.c: Likewise.
13002 * sunrpc/authdes_prot.c: Likewise.
13003 * sunrpc/authuxprot.c: Likewise.
13004 * sunrpc/clnt_gen.c: Likewise.
13005 * sunrpc/clnt_perr.c: Likewise.
13006 * sunrpc/clnt_raw.c: Likewise.
13007 * sunrpc/clnt_simp.c: Likewise.
13008 * sunrpc/clnt_tcp.c: Likewise.
13009 * sunrpc/clnt_udp.c: Likewise.
13010 * sunrpc/clnt_unix.c: Likewise.
13011 * sunrpc/des_crypt.c: Likewise.
13012 * sunrpc/des_soft.c: Likewise.
13013 * sunrpc/get_myaddr.c: Likewise.
13014 * sunrpc/key_call.c: Likewise.
13015 * sunrpc/key_prot.c: Likewise.
13016 * sunrpc/netname.c: Likewise.
13017 * sunrpc/pm_getmaps.c: Likewise.
13018 * sunrpc/pm_getport.c: Likewise.
13019 * sunrpc/pmap_clnt.c: Likewise.
13020 * sunrpc/pmap_prot.c: Likewise.
13021 * sunrpc/pmap_prot2.c: Likewise.
13022 * sunrpc/pmap_rmt.c: Likewise.
13023 * sunrpc/publickey.c: Likewise.
13024 * sunrpc/rpc_cmsg.c: Likewise.
13025 * sunrpc/rpc_common.c: Likewise.
13026 * sunrpc/rpc_dtable.c: Likewise.
13027 * sunrpc/rpc_prot.c: Likewise.
13028 * sunrpc/rpc_thread.c: Likewise.
13029 * sunrpc/rtime.c: Likewise.
13030 * sunrpc/svc.c: Likewise.
13031 * sunrpc/svc_auth.c: Likewise.
13032 * sunrpc/svc_raw.c: Likewise.
13033 * sunrpc/svc_run.c: Likewise.
13034 * sunrpc/svc_tcp.c: Likewise.
13035 * sunrpc/svc_udp.c: Likewise.
13036 * sunrpc/svc_unix.c: Likewise.
13037 * sunrpc/svcauth_des.c: Likewise.
13038 * sunrpc/xcrypt.c: Likewise.
13039 * sunrpc/xdr.c: Likewise.
13040 * sunrpc/xdr_array.c: Likewise.
13041 * sunrpc/xdr_float.c: Likewise.
13042 * sunrpc/xdr_intXX_t.c: Likewise.
13043 * sunrpc/xdr_mem.c: Likewise.
13044 * sunrpc/xdr_rec.c: Likewise.
13045 * sunrpc/xdr_ref.c: Likewise.
13046 * sunrpc/xdr_sizeof.c: Likewise.
13047 * sunrpc/xdr_stdio.c: Likewise.
13048
b5c086a2
RM
130492012-05-10 Roland McGrath <roland@hack.frob.com>
13050
13051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13052 change. Update copyright years.
13053
6d74dd09
JM
130542012-05-10 Joseph Myers <joseph@codesourcery.com>
13055
13056 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13057
28e72501
MK
130582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13059 Joseph Myers <joseph@codesourcery.com>
13060 Paul Pluzhnikov <ppluzhnikov@google.com>
13061
13062 [BZ #14012]
13063 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13064 requiring rpcgen.
13065 [cross-compiling] (extra-libs): Likewise.
13066 [cross-compiling] (extra-libs-others): Likewise.
13067 [cross-compiling] (librpcsvc-routines): Likewise.
13068 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13069 [cross-compiling] (omit-deps): Likewise.
13070 (sunrpc-CPPFLAGS): New variable.
13071 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13072 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13073 (cross-rpcgen-objs): New variable.
13074 (extra-objs): Append $(cross-rpcgen-objs).
13075 ($(cross-rpcgen-objs)): New rule.
13076 ($(objpfx)cross-rpcgen): Likewise.
13077 (rpcgen-cmd): Define to use $(built-program-file). Expand
13078 comment.
13079 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13080 ($(objpfx)x%.stmp): Likewise.
13081 * sunrpc/proto.h [IS_IN_build] (_): Define.
13082 [IS_IN_build] (_libc_intl_domainname): Likewise.
13083
c8c59454
L
130842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13087 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13088 and R_X86_64_TPOFF64.
13089
6f27cd16
JM
130902012-05-10 Joseph Myers <joseph@codesourcery.com>
13091
13092 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13093 sysdeps/unix/sysv/syscalls.list.
13094 (stime): Likewise.
13095 (utime): Likewise.
13096 * sysdeps/unix/sysv/syscalls.list: Remove file.
13097
02467e1c
PE
130982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13099
13100 [BZ #3440]
13101 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13102 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13103 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13104 (__LC_IDENTIFICATION): Make these macros useful in #if
13105 expressions, as required by C99.
13106
da392631
AS
131072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13108
13109 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13110 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13111 after this.
13112
8115f29b
L
131132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13114
13115 * stdlib/longlong.h: Updated from GCC.
13116
bdd74070
AJ
131172012-05-09 Andreas Jaeger <aj@suse.de>
13118
edfe0dbe
AJ
13119 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13120 default is first entry.
13121 (run_mode): Set type.
13122 (main): Remove informal message about syslog.
13123 (options): Fix typo.
13124
bcfe3a54
ST
13125 [BZ #14053]
13126 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13127 to asm.
bcfe3a54
ST
13128 (lrint): Likewise.
13129 (llrintf): Likewise.
13130 (llrint): Likewise.
13131 (rint): Likewise.
13132 (rintf): Likewise.
13133 (nearbyint): Likewise.
13134 (nearbyintf): Likewise.
bdd74070 13135
91d8d69e
AJ
131362012-05-09 Andreas Jaeger <aj@suse.de>
13137 Pedro Alves <palves@redhat.com>
13138
13139 * nscd/nscd.c (run_mode): Use enum.
13140 (main): Cleanup coding style issue.
13141
bb90b80b
AJ
131422012-05-09 Alexandre Oliva <aoliva@redhat.com>
13143 Andreas Jaeger <aj@suse.de>
13144
bcfe3a54
ST
13145 * nscd/nscd.c (go_background): Replaced with...
13146 (run_mode): ... this.
bb90b80b 13147 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13148 (options): Add -F --foreground.
13149 (main): Implement it.
13150 (parse_opt): Parse it.
bb90b80b 13151
1a4b75a1
AJ
131522012-05-09 Andreas Jaeger <aj@suse.de>
13153
13154 [BZ #14083]
13155 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13156 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13157 -Wconversion warning.
13158 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13159 Likewise.
13160
b1cc2472
JM
131612012-05-09 Joseph Myers <joseph@codesourcery.com>
13162
13163 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13164 == 0.
13165 (LC_ALL): Use macro-int-constant.
13166 (LC_COLLATE): Likewise.
13167 (LC_CTYPE): Likewise.
13168 (LC_MESSAGES): Likewise.
13169 (LC_MONETARY): Likewise.
13170 (LC_NUMERIC): Likewise.
13171 (LC_TIME): Likewise.
13172 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13173 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13175 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13176 Specify type.
13177 [C99-based standards] (float_t): Expect type.
13178 [C99-based standards] (double_t): Expect type.
13179 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13180 type.
13181 [C99-based standards] (HUGE_VALL): Likewise.
13182 [C99-based standards] (INFINITY): Likewise.
13183 [C99-based standards] (NAN): Likewise.
13184 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13185 [C99-based standards] (FP_NAN): Likewise.
13186 [C99-based standards] (FP_NORMAL): Likewise.
13187 [C99-based standards] (FP_SUBNORMAL): Likewise.
13188 [C99-based standards] (FP_ZERO): Likewise.
13189 [C99-based standards] (FP_FAST_FMA): Use
13190 optional-macro-int-constant. Specify type. Require == 1.
13191 [C99-based standards] (FP_FAST_FMAF): Likewise.
13192 [C99-based standards] (FP_FAST_FMAL): Likewise.
13193 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13194 [C99-based standards] (FP_ILOGBNAN): Likewise.
13195 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13196 Specify type.
13197 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13198 [C99-based standards] (math_errhandling): Specify type.
13199 [ISO99 || ISO11] (signgam): Do not allow.
13200 [non-C99-based standards] (copysignf): Do not allow.
13201 [non-C99-based standards] (exp2f): Likewise.
13202 [non-C99-based standards] (log2f): Likewise.
13203 [non-C99-based standards] (modff): Allow.
13204 [non-C99-based standards] (erff): Do not allow.
13205 [non-C99-based standards] (erfcf): Likewise.
13206 [non-C99-based standards] (gammaf): Likewise.
13207 [non-C99-based standards] (hypotf): Likewise.
13208 [non-C99-based standards] (j0f): Likewise.
13209 [non-C99-based standards] (j1f): Likewise.
13210 [non-C99-based standards] (jnf): Likewise.
13211 [non-C99-based standards] (lgammaf): Likewise.
13212 [non-C99-based standards] (tgammaf): Likewise.
13213 [non-C99-based standards] (y0f): Likewise.
13214 [non-C99-based standards] (y1f): Likewise.
13215 [non-C99-based standards] (ynf): Likewise.
13216 [non-C99-based standards] (isnanf): Likewise.
13217 [non-C99-based standards] (acoshf): Likewise.
13218 [non-C99-based standards] (asinhf): Likewise.
13219 [non-C99-based standards] (atanhf): Likewise.
13220 [non-C99-based standards] (cbrtf): Likewise.
13221 [non-C99-based standards] (expm1f): Likewise.
13222 [non-C99-based standards] (ilogbf): Likewise.
13223 [non-C99-based standards] (log1pf): Likewise.
13224 [non-C99-based standards] (logbf): Likewise.
13225 [non-C99-based standards] (nextafterf): Likewise.
13226 [non-C99-based standards] (remainderf): Likewise.
13227 [non-C99-based standards] (rintf): Likewise.
13228 [non-C99-based standards] (scalbf): Likewise.
13229 [non-C99-based standards] (copysignl): Likewise.
13230 [non-C99-based standards] (exp2l): Likewise.
13231 [non-C99-based standards] (log2l): Likewise.
13232 [non-C99-based standards] (modfl): Allow.
13233 [non-C99-based standards] (erfl): Do not allow.
13234 [non-C99-based standards] (erfcl): Likewise.
13235 [non-C99-based standards] (gammal): Likewise.
13236 [non-C99-based standards] (hypotl): Likewise.
13237 [non-C99-based standards] (j0l): Likewise.
13238 [non-C99-based standards] (j1l): Likewise.
13239 [non-C99-based standards] (jnl): Likewise.
13240 [non-C99-based standards] (lgammal): Likewise.
13241 [non-C99-based standards] (tgammal): Likewise.
13242 [non-C99-based standards] (y0l): Likewise.
13243 [non-C99-based standards] (y1l): Likewise.
13244 [non-C99-based standards] (ynl): Likewise.
13245 [non-C99-based standards] (isnanl): Likewise.
13246 [non-C99-based standards] (acoshl): Likewise.
13247 [non-C99-based standards] (asinhl): Likewise.
13248 [non-C99-based standards] (atanhl): Likewise.
13249 [non-C99-based standards] (cbrtl): Likewise.
13250 [non-C99-based standards] (expm1l): Likewise.
13251 [non-C99-based standards] (ilogbl): Likewise.
13252 [non-C99-based standards] (log1pl): Likewise.
13253 [non-C99-based standards] (logbl): Likewise.
13254 [non-C99-based standards] (nextafterl): Likewise.
13255 [non-C99-based standards] (remainderl): Likewise.
13256 [non-C99-based standards] (rintl): Likewise.
13257 [non-C99-based standards] (scalbl): Likewise.
13258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13259 [non-C99-based standards] (FP_*): Do not allow.
13260 [C99-based standards] (FP_*): Change to
13261 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13262 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13263 allow.
13264 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13265 (SIG_ERR): Likewise.
13266 [X/Open-based standards] (SIG_HOLD): Likewise.
13267 (SIG_IGN): Likewise.
13268 (SIGABRT): Use macro-int-constant. Specify type. Require
13269 positive value.
13270 (SIGFPE): Likewise.
13271 (SIGILL): Likewise.
13272 (SIGINT): Likewise.
13273 (SIGSEGV): Likewise.
13274 (SIGTER): Likewise.
13275 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13276 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13277 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13278 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13279 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13280 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13281 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13282 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13283 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13284 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13285 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13286 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13287 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13288 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13289 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13290 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13291 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13292 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13293 [X/Open-based standards] (SIGTRAP): Likewise.
13294 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13295 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13296 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13297 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13298 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13299 allow.
13300
b9f1922d
IW
133012012-05-08 Ian Wienand <ianw@vmware.com>
13302
13303 [BZ #14080]
13304 * time/tzset.c (__tzset_parse_tz): Update default rules for
13305 daylight time changes in the Energy Policy Act of 2005.
13306
1db86e88
AJ
133072012-05-09 Andreas Jaeger <aj@suse.de>
13308
13309 [BZ #13983]
13310 * elf/ldconfig.c (parse_conf): Change string to make clear that
13311 ldconfig only issued a warning if ld.so.conf does not exist.
13312
dee4a4e3
DM
133132012-05-08 David S. Miller <davem@davemloft.net>
13314
ee0db190
DM
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13316 movxtod instead of popping the value on the stack.
13317
dee4a4e3
DM
13318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13319
6a43ec98
CD
133202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13321
13322 * config.h.in: Add HAVE_ARM_PCS_VFP.
13323
05c2c961
RMG
133242012-05-08 Roland Mc Grath <roland@hack.frob.com>
13325
bcfe3a54
ST
13326 [BZ #13979]
13327 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13328 checking but the checks are disabled for any reason.
05c2c961 13329
4b30f61a
L
133302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13331
13332 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13333 and ELF64_R_TYPE with ELFW(R_TYPE).
13334
eee2bc67
JM
133352012-05-08 Joseph Myers <joseph@codesourcery.com>
13336
7ea5391a
JM
13337 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13338 (ulimit): Likewise.
13339
eee2bc67
JM
13340 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13341 (settimeofday): Likewise.
13342
abb66a67
MF
133432012-05-08 Mike Frysinger <vapier@gentoo.org>
13344
13345 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13346 a struct th_u2 inside the union, and move tu_block/tu_code into
13347 a new th_u3 union of tu_block/tu_code inside of that. Move
13348 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13349 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13350 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13351 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13352 (th_stuff): Change to th_u1.tu_stuff.
13353 (th_data): Define.
13354 (th_msg): Change to th_u1.th_u2.tu_data.
13355
7f18b530
DM
133562012-05-07 David S. Miller <davem@davemloft.net>
13357
05760585
DM
13358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13359
7f18b530
DM
13360 [BZ #14074]
13361 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13362 (SETUP_PIC_REG): Use it.
13363 (SETUP_PIC_REG_LEAF): Use it.
13364
495fd99f
JM
133652012-05-07 Joseph Myers <joseph@codesourcery.com>
13366
13367 [BZ #13885]
13368 [BZ #13923]
13369 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13370 USE_AS_EXPM1L.
13371 (EXPL_FINITE): Likewise.
13372 (FLDLOG): Likewise.
13373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13374 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13375 e_expl.S.
13376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13377 USE_AS_EXPM1L.
13378 (EXPL_FINITE): Likewise.
13379 (FLDLOG): Likewise.
13380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13381 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13382 e_expl.S.
13383 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13384 test of -max_value argument for long double.
13385 * sysdeps/i386/fpu/libm-test-ulps: Update.
13386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13387
6693d694
DM
133882012-05-06 David S. Miller <davem@davemloft.net>
13389
13390 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13391 quad soft-float symbols whose references which are compiler
13392 generated.
13393 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13394
6c23e11c
JM
133952012-05-06 Joseph Myers <joseph@codesourcery.com>
13396
d8b82cad
JM
13397 [BZ #13884]
13398 [BZ #13914]
13399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13400 USE_AS_EXP10L.
13401 (EXPL_FINITE): Likewise.
13402 (FLDLOG): Likewise.
13403 (c0): Likewise.
13404 (c1): Likewise.
13405 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13406 Adjust comments for base varying.
13407 (__expl_finite): Change alias to EXPL_FINITE.
13408 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13409 e_expl.S.
13410 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13411 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13413 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13414 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13415 USE_AS_EXP10L.
13416 (EXPL_FINITE): Likewise.
13417 (FLDLOG): Likewise.
13418 (c0): Likewise.
13419 (c1): Likewise.
13420 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13421 Adjust comments for base varying.
13422 (__expl_finite): Change alias to EXPL_FINITE.
13423 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13424 tests for bugs.
13425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13426
6c23e11c
JM
13427 [BZ #14064]
13428 * math/libm-test.inc (check_float_internal): Correct ulp
13429 calculation for subnormal expected results.
13430
29ba805c
AJ
134312012-05-06 Andreas Jaeger <aj@suse.de>
13432
13433 * Makeconfig (+math-flags): New, set to -frounding-math.
13434 (+cflags): Add +math-flags so that all of glibc gets compiled with
13435 it.
13436
13437 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13438
7b17aeda
JM
134392012-05-05 Joseph Myers <joseph@codesourcery.com>
13440
5779f134
JM
13441 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13442 Disable one test.
13443
41498f4d
JM
13444 [BZ #13787]
13445 [BZ #13922]
13446 [BZ #14036]
13447 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13448 (__ieee754_expl): Allow for and saturate large arguments.
13449 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13450 (u_threshold): Likewise.
13451 (__exp): Call __ieee754_exp before checking for overflow and
13452 underflow.
13453 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13454 (u_threshold): Likewise.
13455 (__expf): Call __ieee754_expf before checking for overflow and
13456 underflow.
13457 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13458 (u_threshold): Likewise.
13459 (__expl): Call __ieee754_expl before checking for overflow and
13460 underflow.
13461 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13462 (__ieee754_expl): Allow for and saturate large arguments.
13463 * math/libm-test.inc (exp_test): Add another test. Do not allow
13464 missing overflow exception on overflow.
13465 (expm1_test): Do not allow missing overflow exception on overflow.
13466
6698b8bf
JM
13467 * sysdeps/i386/fpu/e_expl.c: Move to ...
13468 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13469 rather than using inline asm.
13470 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13471 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13472 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13473
7b17aeda
JM
13474 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13475 (nice): Likewise.
13476 (poll): Likewise.
13477 (signal): Likewise.
13478 (time): Likewise.
13479 (times): Likewise.
13480
f7c85819
JM
134812012-05-04 Joseph Myers <joseph@codesourcery.com>
13482
13483 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13484 sysdeps/unix/common/syscalls.list.
13485 (fchmod): Likewise.
13486 (fchown): Likewise.
13487 (ftruncate): Likewise.
13488 (getrusage): Likewise.
13489 (gettimeofday): Likewise.
13490 (setpgid): Likewise.
13491 (setregid): Likewise.
13492 (setreuid): Likewise.
13493 (sigaction): Likewise.
13494 (truncate): Likewise.
13495 (vhangup): Likewise.
13496 * sysdeps/unix/common/syscalls.list: Remove file.
13497 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13498 * sysdeps/unix/sysv/linux/Implies: Likewise.
13499
336270d0
L
135002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13504 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13505 Moved to ...
13506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13507 Here.
13508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13509 to ...
13510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13512 to ...
13513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13514 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13515 to ...
13516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13518 to ...
13519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13520 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13521 to ...
13522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13523 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13524 to ...
13525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13526 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13527 to ...
13528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13529 Here.
13530 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13531 to ...
13532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13533 Here.
13534 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13535 to ...
13536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13537 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13538 Moved to ...
13539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13540 Here.
13541 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13542 to ...
13543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13544
d128e450
JM
135452012-05-04 Joseph Myers <joseph@codesourcery.com>
13546
fa8ee516
JM
13547 * sysdeps/unix/common/bits/dirent.h: Remove file.
13548 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13549
d128e450
JM
13550 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13551 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13552 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13553 * sysdeps/unix/bsd/isatty.c: Likewise.
13554 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13555 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13556 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13557
ff8faaf0 135582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13559
62881be4 13560 [BZ #13563]
31dc8730
AZ
13561 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13562 long double comparison inaccuracies.
13563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13565
6fef930c
AS
135662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13567
13568 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13570
8f203e6c
JM
135712012-05-04 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #14049]
13574 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13575 nonzero digits before rounding a hex value.
13576 * stdlib/tst-strtod.c (tests): Add another test.
13577
5197d9c2
AK
135782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13579
13580 * sysdeps/s390/fpu/libm-test-ulps: Update.
13581
f0c1dedf
AJ
135822012-05-03 Andreas Jaeger <aj@suse.de>
13583
13584 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13585 does not get optimized out.
13586 (malloc_opt_barrier): New.
13587
a65ef2ae 135882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13589 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13590
2b942cb7 13591 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13592 intermediate file deletion.
2b942cb7 13593 (generated): Add .symlist files.
a65ef2ae 13594
54b71e02
JM
135952012-05-03 Joseph Myers <joseph@codesourcery.com>
13596
13597 [BZ #13775]
13598 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13599 Redirect under this condition.
13600 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13601 [__USE_GNU] (__dprintf_chk): Not under this condition.
13602 [__USE_GNU] (__vdprintf_chk): Likewise.
13603 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13604 under this condition.
13605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13606 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13607 [__USE_XOPEN2K8] (vdprintf): Likewise.
13608 [__USE_GNU] (__dprintf_chk): Not under this condition.
13609 [__USE_GNU] (__vdprintf_chk): Likewise.
13610 [__USE_GNU] (dprintf): Likewise.
13611 [__USE_GNU] (vdprintf): Likewise.
13612
d3dfcc41
RM
136132012-05-03 Roland McGrath <roland@hack.frob.com>
13614
13615 * elf/Makefile (common-generated): Set this instead of generated for
13616 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13617 $(all-built-dso)-derived lists.
13618
7ac30cc5
AJ
136192012-05-03 Andreas Jaeger <aj@suse.de>
13620
0c51e550
AJ
13621 * sysdeps/i386/fpu/libm-test-ulps: Update.
13622
7ac30cc5
AJ
13623 * FAQ: Removed.
13624 * FAQ.in: Likewise.
13625 * scripts/gen-FAQ.pl: Likewise.
13626 * manual/install.texi (Installation): Point to online location of
13627 FAQ.
13628 * Makefile (files-for-dist): Remove FAQ.
13629 (FAQ): Remove.
13630
d4c2917f
AM
136312012-05-02 Allan McRae <allan@archlinux.org>
13632
13633 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13634 (LDFLAGS-reldepmod5.so): Likewise.
13635 (LDFLAGS-reldep6mod1.so): Likewise.
13636 (LDFLAGS-reldep6mod4.so): Likewise.
13637 (LDFLAGS-reldep8mod3.so): Likewise.
13638 (LDFLAGS-unload4mod1.so): Likewise.
13639 (LDFLAGS-unload4mod2.so): Likewise.
13640 (LDFLAGS-tst-initorder): Likewise.
13641 (LDFLAGS-tst-initordera2.so): Likewise.
13642 (LDFLAGS-tst-initordera3.so): Likewise.
13643 (LDFLAGS-tst-initordera4.so): Likewise.
13644 (LDFLAGS-tst-initorderb2.so): Likewise.
13645 (LDFLAGS-noload): Likewise.
13646 (LDFLAGS-next): Likewise.
13647 (LDFLAGS-order2mod1.so): Likewise.
13648 (LDFLAGS-order2mod2.so): Likewise.
13649 (LDFLAGS-tst-initorder2): Likewise.
13650 (LDFLAGS-tst-initorder2a.so): Likewise.
13651 (LDFLAGS-tst-initorder2b.so): Likewise.
13652 (LDFLAGS-tst-initorder2c.so): Likewise.
13653 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13654
d77f993f
DM
136552012-05-02 David S. Miller <davem@davemloft.net>
13656
13657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13658
171a70b4
PP
136592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13660
13661 [BZ #14055]
13662 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13663
0be196ad
AJ
136642012-05-02 Andreas Jaeger <aj@suse.de>
13665
13666 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13667 since we manipulate rounding mode.
13668 (CPPFLAGS-test-idouble.c): Likewise.
13669 (CPPFLAGS-test-ifloat.c): Likewise.
13670 (CFLAGS-test-ldouble.c): Likewise.
13671 (CFLAGS-test-double.c): Likewise.
13672 (CFLAGS-test-float.c): Likewise.
13673 (CFLAGS-test-misc.c): Likewise.
13674 (CFLAGS-test-test-fenv.c): Likewise.
13675
4f9d04aa
AZ
136762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13677
2b942cb7
RM
13678 [BZ #2550]
13679 [BZ #2570]
13680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13681 comparisons to determine direction to adjust input.
4f9d04aa 13682
82a79e7d
RM
136832012-05-01 Roland McGrath <roland@hack.frob.com>
13684
f5a01ca9
RM
13685 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13686 output to the target.
13687
90fe4186
RM
13688 * scripts/localplt.awk: New file.
13689 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13690 (check-localplt-CFLAGS): Variable removed.
13691 ($(all-built-dso:=.jmprel)): New static pattern rule.
13692 (generated): Add those targets.
13693 (localplt-built-dso): New variable.
13694 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13695
13696 * elf/check-localplt.c: File removed.
13697
82397ed6
RM
13698 * scripts/check-execstack.awk: New file.
13699 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13700 (check-execstack-CFLAGS): Variable removed.
13701 ($(objpfx)check-execstack.h): Target removed.
13702 ($(objpfx)execstack-default): New target.
13703 (generated): Add that instead of check-execstack.h.
13704 ($(all-built-dso:=.phdr)): New static pattern rule.
13705 (generated): Add those targets.
13706 * elf/check-execstack.c: File removed.
13707
82a79e7d
RM
13708 * scripts/check-textrel.awk: New file.
13709 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13710 (check-textrel-CFLAGS): Variable removed.
13711 (all-built-dso): Use := to define.o
13712 ($(all-built-dso:=.dyn)): New static pattern rule.
13713 (generated): Add those targets.
13714 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13715 * config.make.in (READELF): New substituted variable.
13716 * elf/check-textrel.c: File removed.
13717
62fde54f 137182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13719
615605c9
JM
13720 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13721 allow.
13722 * conform/data/ctype.h-data [C99-based standards] (isblank):
13723 Expect function.
13724 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13725 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13727 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13728 Specify type. Require positive value.
13729 (EILSEQ): Likewise.
13730 (ERANGE): Likewise.
13731 [ISO || POSIX] (EILSEQ): Do not expect.
13732 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13733 Specify type. Require positive value.
13734 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13735 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13736 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13737 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13738 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13739 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13740 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13741 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13742 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13743 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13744 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13746 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13747 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13748 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13749 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13750 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13751 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13752 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13753 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13755 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13756 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13757 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13758 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13759 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13760 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13761 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13764 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13770 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13771 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13772 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13773 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13774 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13775 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13780 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13781 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13782 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13785 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13786 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13787 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13788 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13789 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13790 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13791 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13792 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13793 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13794 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13795 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13796 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13797 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13798 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13799 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13800 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13801 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13802 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13803 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13804 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13805 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13806 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13807 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13808 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13809 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13810 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13811 Require >= 2.
13812 (FLT_ROUNDS): Expect as macro, not constant.
13813 (FLT_MANT_DIG): Use macro-int-constant.
13814 (DBL_MANT_DIG): Likewise.
13815 (LDBL_MANT_DIG): Likewise.
13816 (FLT_DIG): Likewise.
13817 (DBL_DIG): Likewise.
13818 (LDBL_DIG): Likewise.
13819 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13820 (DBL_MIN_EXP): Likewise.
13821 (LDBL_MIN_EXP): Likewise.
13822 (FLT_MAX_EXP): Use macro-int-constant.
13823 (DBL_MAX_EXP): Likewise.
13824 (LDBL_MAX_EXP): Likewise.
13825 (FLT_MAX_10_EXP): Likewise.
13826 (DBL_MAX_10_EXP): Likewise.
13827 (LDBL_MAX_10_EXP): Likewise.
13828 (FLT_MAX): Use macro-constant.
13829 (DBL_MAX): Likewise.
13830 (LDBL_MAX): Likewise.
13831 (FLT_EPSILON): Use macro-constant. Give upper bound.
13832 (DBL_EPSILON): Likewise.
13833 (LDBL_EPSILON): Likewise.
13834 (FLT_MIN): Likewise.
13835 (DBL_MIN): Likewise.
13836 (LDBL_MIN): Likewise.
13837 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13838 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13839 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13840 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13841 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13842 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13843 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13844 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13845 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13846 [ISO11] (FLT_TRUE_MIN): Likewise.
13847 [ISO11] (LDBL_TRUE_MIN): Likewise.
13848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13849 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13850 (SCHAR_MIN): Use macro-int-constant. Specify type.
13851 (SCHAR_MAX): Likewise.
13852 (UCHAR_MAX): Likewise.
13853 (CHAR_MIN): Likewise.
13854 (CHAR_MAX): Likewise.
13855 (MB_LEN_MAX): Use macro-int-constant.
13856 (SHRT_MIN): Use macro-int-constant. Specify type.
13857 (SHRT_MAX): Likewise.
13858 (USHRT_MAX): Likewise.
13859 (INT_MAX): Likewise.
13860 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13861 bound negative.
13862 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13863 bound with "U".
13864 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13865 bound with "L".
13866 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13867 bound negative. Suffix upper bound with "L".
13868 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13869 bound with "UL".
13870 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13871 Specify type.
13872 [C99-based standards] (LLONG_MAX): Likewise.
13873 [C99-based standards] (ULLONG_MAX): Likewise.
13874 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13875 == 0.
13876 [ISO11] (max_align_t): Require type.
13877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13878
c9140a62
JM
13879 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13880 from $CFLAGS, without defining away __attribute__ calls.
13881 (checknamespace): Use $CFLAGS_namespace.
13882
9af0bf29
JM
13883 * conform/conformtest.pl (@keywords): Only include C99 keywords
13884 for standards based on C99 or C11.
13885
343222a2
JM
13886 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13887 Disable tests.
13888 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13889 UNIX98]: Likewise.
13890
661f8cf0
JM
13891 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13892 usability of symbols in #if.
13893
ee74b9cb
JM
13894 * conform/conformtest.pl: If macro or constant types start
13895 "promoted:", expect the symbol to be of the following type
13896 promoted by the integer promotions.
62fde54f 13897
aafc49b3
JM
13898 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13899 in one place. Also handle "macro-constant".
13900
fefdf574
JM
13901 * conform/conformtest.pl: Only accept expected macro values with
13902 "==". Parse all "macro" lines in one place.
13903 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13904
f2d922fe
JM
13905 * conform/conformtest.pl: Handle braced types on "constant" lines
13906 instead of handling "typed-constant".
13907 * conform/data/signal.h-data: Use "constant" instead of
13908 "typed-constant".
13909
d22956c9
JM
13910 * conform/conformtest.pl: Handle "optional-" at start of lines in
13911 one place rather than duplicating several cases. Handle each
13912 format of "macro" line with initial "optional-".
13913
028e2e38
JM
13914 * conform/conformtest.pl: Only accept expected constant or
13915 optional-constant values with "==". Parse all "constant" lines in
13916 one place. Parse all "optional-constant" lines in one place.
13917 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13918 * conform/data/fmtmsg.h-data: Likewise.
13919 * conform/data/netinet/in.h-data: Likewise.
13920 * conform/data/tar.h-data: Likewise.
13921 * conform/data/limits.h-data: Use "==" form on "constant" and
13922 "optional-constant" lines.
13923
1b8f2850
JM
13924 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13925 Use -std=c99 for XOPEN2K.
13926 (@knownproblems): Remove.
13927 (newtoken): Don't check %isknown.
13928
a05a144b
JM
13929 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13930 Do not expect macro.
13931 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13932 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13933 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13934 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13935 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13936 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13937 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13938 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13939 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13940 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13941 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13942 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13943 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13944 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13945 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13946 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13947 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13948 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13949 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13950 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13951 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13952 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13954 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13955 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13956 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13957 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13958 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13959 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13960 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13961 [XPG3] (acosh): Likewise.
13962 [XPG3] (asinh): Likewise.
13963 [XPG3] (atanh): Likewise.
13964 [XPG3] (cbrt): Likewise.
13965 [XPG3] (expm1): Likewise.
13966 [XPG3] (ilogb): Likewise.
13967 [XPG3] (log1p): Likewise.
13968 [XPG3] (logb): Likewise.
13969 [XPG3] (nextafter): Likewise.
13970 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13971 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13972 [XPG3] (remainder): Likewise.
13973 [XPG3] (rint): Likewise.
13974 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13975 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13976 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13977 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13978 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13979 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13980 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13981 [UNIX98 || XOPEN2K] (scalb): Expect.
13982 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13983 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13984 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13985 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13986 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13987 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13988 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13989 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13990 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13991 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13992 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13993 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13994 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13995 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13996 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13997 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13998 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13999 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14000 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14001 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14002 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14003 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14004 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14005 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14006 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14007 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14008 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14009 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14010 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14011 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14012 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14013 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14014 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14015 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14016 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14017 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14018 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14019 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14020 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14021 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14022 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14023 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14024 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14025 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14026 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14027 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14028 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14029 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14030 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14031 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14032 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14033 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14034 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14035 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14036 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14037 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14039 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14040 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14041 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14042 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14043 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14044 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14045 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14046 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14047 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14048 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14049 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14050 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14051 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14052 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14053 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14054 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14055 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14056 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14057 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14058 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14059 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14060 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14061 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14062 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14063 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14064 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14065 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14066 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14067 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14068 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14069 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14070 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14071 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14072 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14073 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14074 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14075 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14076 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14077 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14078 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14079 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14080 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14081 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14082 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14083 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14084 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14085 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14086 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14087 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14088 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14089 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14090 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14091 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14092 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14093 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14094 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14095 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14096 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14097 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14098 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14099 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14100 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14101 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14102 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14103 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14104 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14105 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14106 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14107 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14108 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14109 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14110 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14111 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14112 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14113 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14114 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14115 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14116 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14117 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14118 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14119
73c5ebe3
JM
14120 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14121 _XOPEN_SOURCE_EXTENDED for XPG4.
14122
39c33b6c
JM
14123 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14124
62fde54f
JM
14125 * Makeconfig (localtime): Remove variable.
14126 (inst_localtime-file): Likewise.
14127
0741d64c
AS
141282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14131 Update.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14133 Update.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14135 Update.
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14137 Update.
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14139 Update.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14141 Update.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14143 Update.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14145 Update.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14147 Update.
14148
7cb029ee
JM
141492012-05-01 Joseph Myers <joseph@codesourcery.com>
14150
14151 [BZ #2550]
14152 [BZ #2570]
14153 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14154 comparisons to determine direction to adjust input.
14155 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14156 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14158 Likewise.
14159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14160 Likewise.
14161 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14162 Likewise.
14163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14165 Likewise.
14166 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14167 Likewise.
14168 * math/libm-test.inc (nexttoward_test): Add more tests.
14169
412bd966
AS
141702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14171
14172 [BZ #14040]
14173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14174 in version GLIBC_2.1, not GLIBC_2.0.
14175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14176 Likewise.
14177
9568c0c2
JM
141782012-04-30 Joseph Myers <joseph@codesourcery.com>
14179
adfbc8ac
JM
14180 [BZ #13942]
14181 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14182 (1 - x) * (1 + x).
14183 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14184 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14185 * math/libm-test.inc (acos_test): Add more tests.
14186 (asin_test): Likewise.
14187 * sysdeps/i386/fpu/libm-test-ulps: Update.
14188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189
5ba3cc69
JM
14190 [BZ #14034]
14191 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14192 of square root.
14193 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14194 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14195 * math/libm-test.inc (acos_test_tonearest): New function.
14196 (acos_test_towardzero): Likewise.
14197 (acos_test_downward): Likewise.
14198 (acos_test_upward): Likewise.
14199 (asin_test_tonearest): Likewise.
14200 (asin_test_towardzero): Likewise.
14201 (asin_test_downward): Likewise.
14202 (asin_test_upward): Likewise.
14203 (main): Call the new functions.
14204 * sysdeps/i386/fpu/libm-test-ulps: Update.
14205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14206
9568c0c2
JM
14207 [BZ #13884]
14208 [BZ #13924]
14209 * math/e_exp10.c: Include <float.h>.
14210 (__ieee754_exp10): Handle underflow here rather than multiplying
14211 large negative argument by M_LN10.
14212 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14213 of __ieee754_expf.
14214 * math/e_exp10l.c: Include <float.h>.
14215 (__ieee754_exp10l): Handle underflow here rather than multiplying
14216 large negative argument by M_LN10l.
14217 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14218 spurious overflow exception on underflow.
14219
5ac3ea17
MP
142202012-04-29 Marek Polacek <polacek@redhat.com>
14221
14222 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14223 (__fortify_function): New macro.
14224 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14225 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14226 __extern_always_inline.
14227 * libio/bits/stdio2.h: Likewise.
14228 * libio/bits/stdio.h: Likewise.
14229 * string/string.h: Likewise.
14230 * string/bits/string3.h: Likewise.
14231 * include/stdio.h: Likewise.
14232 * stdlib/bits/stdlib.h: Likewise.
14233 * stdlib/stdlib.h: Likewise.
14234 * rt/bits/mqueue2.h: Likewise.
14235 * rt/mqueue.h: Likewise.
14236 * posix/bits/unistd.h: Likewise.
14237 * posix/unistd.h: Likewise.
14238 * io/bits/poll2.h: Likewise.
14239 * io/bits/fcntl2.h: Likewise.
14240 * io/fcntl.h: Likewise.
14241 * io/sys/poll.h: Likewise.
14242 * misc/bits/syslog.h: Likewise.
14243 * misc/bits/syslog-ldbl.h: Likewise.
14244 * misc/sys/syslog.h: Likewise.
14245 * socket/bits/socket2.h: Likewise.
14246 * socket/sys/socket.h: Likewise.
14247 * debug/tst-chk1.c: Likewise.
14248 * wcsmbs/bits/wchar2.h: Likewise.
14249 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14250 * wcsmbs/wchar.h: Likewise.
14251
ecf0ebfb
AJ
142522012-04-29 Andreas Jaeger <aj@suse.de>
14253
14254 * Makerules (tests): Remove enable-check-abi protection.
14255 (check-abi-warn): Remove.
14256 (check-abi-%): Remove check-abi-warn usage.
14257
14258 * configure.in: Remove check-abi configure option.
14259 * configure: Regenerated.
14260 * config.make.in (enable-check-abi): Remove.
14261
6d5c57fa
AS
142622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14263
24c5d07e 14264 [BZ #14033]
ded5180a
AS
14265 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14266 double functions to double *_finite functions.
14267
7e0d315d
AS
14268 [BZ #13941]
14269 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14270 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14271 LDBL_MIN_EXP.
14272 * stdio-common/Makefile (tests): Add tst-sprintf3.
14273 * stdio-common/tst-sprintf3.c: New file.
14274
6d5c57fa
AS
14275 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14276 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14277
0749ff8b
JM
142782012-04-28 Joseph Myers <joseph@codesourcery.com>
14279
14280 * conform/conformtest.pl: Remove duplicate typed-constant
14281 handling.
14282
8dbd5d7b
DM
142832012-04-28 David S. Miller <davem@davemloft.net>
14284
14285 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14286 (check-abi-%): Remove AWK script prerequisite and explicit
14287 abilist directory.
14288 (check-abi): Rewrite to just diff the symlist with the abilist.
14289 (config-tls, config-abi-config): Delete, no longer used.
14290 (update-abi-%): Remove AWK script and explicit abilist directory.
14291 (update-abi): Rewrite to simply compare and conditionally copy the
14292 symlist and the sysdep abilist file. Remove update-abi-config
14293 checks.
14294 * abilist/ld.abilist: Remove.
14295 * abilist/libBrokenLocale.abilist: Remove.
14296 * abilist/libanl.abilist: Remove.
14297 * abilist/libcrypt.abilist: Remove.
14298 * abilist/libdl.abilist: Remove.
14299 * abilist/librt.abilist: Remove.
14300 * abilist/libthread_db.abilist: Remove.
14301 * abilist/libutil.abilist: Remove.
14302 * scripts/extract-abilist.awk: Remove.
14303 * scripts/merge-abilist.awk: Remove.
14304 * sysdeps/generic/libcidn.abilist: New file.
14305 * sysdeps/generic/libnss_compat.abilist: New file.
14306 * sysdeps/generic/libnss_db.abilist: New file.
14307 * sysdeps/generic/libnss_dns.abilist: New file.
14308 * sysdeps/generic/libnss_files.abilist: New file.
14309 * sysdeps/generic/libnss_hesiod.abilist: New file.
14310 * sysdeps/generic/libnss_nis.abilist: New file.
14311 * sysdeps/generic/libnss_nisplus.abilist: New file.
14312 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14313 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14314 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14315 file.
14316 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14317 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14318 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14319 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14320 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14321 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14322 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14323 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14324 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14325 file.
14326 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14327 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14328 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14329 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14330 file.
14331 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14332 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14333 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14334 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14336 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14337 file.
14338 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14339 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14340 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14341 file.
14342 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14344 New file.
14345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14346 New file.
14347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14348 New file.
14349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14350 New file.
14351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14352 New file.
14353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14354 New file.
14355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14356 New file.
14357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14358 New file.
14359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14360 New file.
14361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14362 New file.
14363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14364 New file.
14365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14366 New file.
14367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14368 New file.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14370 file.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14372 New file.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14374 New file.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14376 file.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14378 New file.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14380 New file.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14382 file.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14384 New file.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14386 New file.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14388 New file.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14390 New file.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14392 New file.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14394 New file.
14395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14397 file.
14398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14399 New file.
14400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14401 file.
14402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14403 file.
14404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14405 file.
14406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14407 file.
14408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14409 file.
14410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14411 New file.
14412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14413 file.
14414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14415 file.
14416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14417 New file.
14418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14419 file.
14420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14422 file.
14423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14424 New file.
14425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14426 file.
14427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14428 file.
14429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14430 file.
14431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14432 file.
14433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14434 file.
14435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14436 New file.
14437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14438 file.
14439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14440 file.
14441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14442 New file.
14443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14444 file.
14445 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14446 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14447 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14448 file.
14449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14450 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14451 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14452 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14453 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14454 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14455 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14456 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14457 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14458 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14461 file.
14462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14463 New file.
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14465 file.
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14467 file.
14468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14469 file.
14470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14471 file.
14472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14473 file.
14474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14475 New file.
14476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14477 New file.
14478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14479 file.
14480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14481 New file.
14482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14483 file.
14484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14486 file.
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14488 New file.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14490 file.
14491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14492 file.
14493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14494 file.
14495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14496 file.
14497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14498 file.
14499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14500 New file.
14501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14502 New file.
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14504 file.
14505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14506 New file.
14507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14508 file.
14509
41d73a1b
JM
145102012-04-28 Joseph Myers <joseph@codesourcery.com>
14511
14512 * conform/conformtest.pl: Fix typo in handling typed-constant from
14513 allow-header.
14514
28aeeda4
JM
145152012-04-27 Joseph Myers <joseph@codesourcery.com>
14516
adae8f5e
JM
14517 * README: Cut down references to pre-2.6 Linux kernels and
14518 Linuxthreads. Update lists of configurations in libc and ports
14519 and sort alphabetically. Say "or newer" with Linux kernel version
14520 requirements.
14521
28aeeda4
JM
14522 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14523
a462cb63
RA
145242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14525
14526 [BZ #887]
14527 * math/libm-test.inc (logb_test_downward): New test to expose
14528 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14529 rounding mode.
14530
6ad3493e
JM
145312012-04-27 Joseph Myers <joseph@codesourcery.com>
14532
14533 [BZ #14027]
14534 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14535 to be done.
14536 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14537 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14538
2ce4f015
JM
145392012-04-26 Joseph Myers <joseph@codesourcery.com>
14540
5aeb141a
JM
14541 * sysdeps/unix/i386/brk.S: Remove file.
14542 * sysdeps/unix/i386/dl-brk.S: Likewise.
14543 * sysdeps/unix/i386/pipe.S: Likewise.
14544 * sysdeps/unix/i386/sigreturn.S: Likewise.
14545 * sysdeps/unix/i386/syscall.S: Likewise.
14546 * sysdeps/unix/i386/vfork.S: Likewise.
14547 * sysdeps/unix/i386/wait.S: Likewise.
14548
7143acae
JM
14549 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14550 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14551
2ce4f015
JM
14552 * configure.in (arm*-none*): Do not allow without
14553 --enable-hacker-mode.
14554 (netbsd*): Remove case setting base_os.
14555 (386bsd*): Likewise.
14556 (freebsd*): Likewise.
14557 (bsdi*): Likewise.
14558 (osf*): Likewise.
14559 (sunos*): Likewise.
14560 (ultrix*): Likewise.
14561 (newsos*): Likewise.
14562 (dynix*): Likewise.
14563 (*bsd*): Likewise.
14564 (sysv*): Likewise.
14565 (isc*): Likewise.
14566 (esix*): Likewise.
14567 (sco*): Likewise.
14568 (minix*): Likewise.
14569 (irix4*): Likewise.
14570 (irix6*): Likewise.
14571 (solaris[2-9]*): Likewise.
14572 (none): Likewise.
14573 * configure: Regenerated.
14574
0ac229c8
AZ
145752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14576
14577 [BZ #11521]
14578 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14579 overflow or cancellation in calculating denominator.
14580 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14582 down expression to avoid unexpected rounding in newer GCCs.
14583 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14584
33f244f4
DM
145852012-04-26 David S. Miller <davem@davemloft.net>
14586
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14588 long-double compat symbols.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14602
cfa1f3e8
DM
146032012-04-25 David S. Miller <davem@davemloft.net>
14604
14605 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14606 HWCAP_* values only after the memory barriers have been defined.
14607 (atomic_full_barrier): Define.
14608 (atomic_read_barrier): Define.
14609 (atomic_write_barrier): Define.
14610
6e236b92
SP
146112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14612
14613 * shlib-versions: Add libgcc_s version information.
14614 * sysdeps/generic/libgcc_s.h: Remove.
14615 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14616 libgcc_s.h.
14617 * sysdeps/gnu/unwind-resume.c: Likewise.
14618 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14619
aab39a09
DM
146202012-04-25 David S. Miller <davem@davemloft.net>
14621
14622 * sysdeps/unix/sparc/brk.S: Delete.
14623 * sysdeps/unix/sparc/dl-brk.S: Delete.
14624 * sysdeps/unix/sparc/pipe.S: Delete.
14625 * sysdeps/unix/sparc/sysdep.S: Delete.
14626 * sysdeps/unix/sparc/sysdep.h: Delete.
14627 * sysdeps/unix/sparc/vfork.S: Delete.
14628 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14629 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14631 ret_ERRVAL, r0, r1, MOVE): Define.
14632 (JUMPTARGET): Remove.
14633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14634 sysdeps/unix/sparc/sysdep.h
14635 (ENTRY, END): Remove.
14636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14637
a3cc4f48
JM
146382012-04-25 Joseph Myers <joseph@codesourcery.com>
14639
2ed8cda2
JM
14640 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14641 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14642 -DIS_IN_build.
14643
35d76d59
JM
14644 * timezone/README: Update upstream location and email address for
14645 tzcode and tzdata.
14646 * timezone/zdump.c: Update from tzcode 2012b.
14647 * timezone/zic.c: Likewise.
14648
a3cc4f48
JM
14649 * configure.in (libc_cv_as_needed): Remove test.
14650 * configure: Regenerated.
14651 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14652 conditional definition.
14653 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14654 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14655 * config.make.in (have-as-needed): Remove variable.
14656
ceab42c3
SP
146572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14658 Paul Pluzhnikov <ppluzhnikov@google.com>
14659
14660 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14661 strings correctly.
14662
3ce2865f
CLT
146632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14664
14665 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14666 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14667 * sysdeps/sh/strlen.S: Likewise.
14668
f37e0d68
JM
146692012-04-24 Joseph Myers <joseph@codesourcery.com>
14670
ae186e9a
JM
14671 * sysdeps/unix/fork.S: Remove file.
14672 * sysdeps/unix/i386/fork.S: Likewise.
14673 * sysdeps/unix/sparc/fork.S: Likewise.
14674
b96914af
JM
14675 * sysdeps/unix/system.c: Remove file.
14676 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14677
f37e0d68
JM
14678 * sysdeps/unix/getegid.S: Remove file.
14679 * sysdeps/unix/geteuid.S: Likewise.
14680
87ef29ca
RM
146812012-04-24 Roland McGrath <roland@hack.frob.com>
14682
83bcd236
RM
14683 * scripts/check-localplt.awk: New file.
14684 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14685 of diff.
14686 * scripts/data/localplt-generic.data: Add a comment.
14687
87ef29ca
RM
14688 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14689 NODE when __dir_mkfile failed.
14690 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14691 Reported by Ludovic Courtès <ludo@gnu.org>.
14692
e5a6e567
AJ
146932012-04-24 Andreas Jaeger <aj@suse.de>
14694
14695 * Makerules (common-clean): Also remove gen-as-const-headers
14696 files.
14697
c1820385
JM
146982012-04-24 Joseph Myers <joseph@codesourcery.com>
14699
14700 * Makerules (native-compile): Do not change working directory for
14701 build. Use $(OUTPUT_OPTION) in command.
14702 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14703
94e02fc4
AZ
147042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14705
14706 [BZ #13886]
14707 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14708 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14709 * math/libm-test.inc (floor_test): Add more tests.
14710 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14711
3a533ca3
JM
147122012-04-24 Joseph Myers <joseph@codesourcery.com>
14713
940ab4b3
JM
14714 * sysdeps/unix/getdents.c: Remove file.
14715 * sysdeps/unix/sysv/getdents.c: Likewise.
14716 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14717
90e037bd
JM
14718 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14719 sysdeps/unix/mman/syscalls.list.
14720 (mmap): Likewise.
14721 (mprotect): Likewise.
14722 (msync): Likewise.
14723 (munmap): Likewise.
14724 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14725 * sysdeps/unix/mman/syscalls.list: Remove.
14726 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14727
3a533ca3
JM
14728 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14729 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14730 * configure: Regenerated.
14731 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14732 $(libgcc_s_suffix).
14733 * config.make.in (libgcc_s_suffix): Remove variable.
14734
1ad743de
JM
147352012-04-23 Joseph Myers <joseph@codesourcery.com>
14736
4ad451e2
JM
14737 * sysdeps/unix/sysv/gethostname.c: Move to ...
14738 * sysdeps/posix/gethostname.c: ... here.
14739
5e37ce39
JM
14740 * sysdeps/unix/execve.S: Remove file.
14741
1ad743de
JM
14742 * sysdeps/unix/_exit.S: Remove file.
14743
4e681b5b
AJ
147442012-04-23 Andreas Jaeger <aj@suse.de>
14745
14746 [BZ #13739]
14747 * manual/Makefile: Remove make dist support, there's no
14748 need for a stand-alone documentation tar ball.
14749 (TEXI2DVI): Define always, it's not in Makeconfig.
14750 (dist): Removed.
14751 (tar-it): Removed.
14752 (edition): Removed.
14753 (glibc-doc-$(edition).tar): Removed
14754 (%.Z): Removed.
14755 (%.gz): Removed.
14756 (%.uu): Removed.
14757 (ETAGS): Remove, it's in Makeconfig.
14758 (move-if-change): Remove, it's in Makeconfig.
14759
38686a03 147602012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14761
14762 [BZ #13970]
14763 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14764 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14765 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14766 (strtod_l, strtof_l, strtold_l): Remove __wur.
14767 It is not necessarily an error to ignore strtol's return value.
14768 One can reliably look at the stored endptr to decide whether
14769 the number had valid syntax.
14770
7c0616fa
AJ
147712012-04-21 Andreas Jaeger <aj@suse.de>
14772
803cb6b7 14773 [BZ #13739]
7c0616fa
AJ
14774 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14775
b0fe253f
JM
147762012-04-21 Joseph Myers <joseph@codesourcery.com>
14777
14778 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14779 * sysdeps/unix/sysv/Versions: Remove file.
14780
8280f22d
MT
147812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14782
14783 [BZ #13927]
14784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14785
75ce411f 147862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14787
14788 [BZ #7064]
14789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14790 version from __vm86.
14791
097d59fa
JM
147922012-04-20 Joseph Myers <joseph@codesourcery.com>
14793
a90f3bcb
JM
14794 * sysdeps/unix/common/lxstat.c: Remove file.
14795 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14796
edc7ea78
JM
14797 * sysdeps/unix/sysv/Makefile: Remove file.
14798
cb78c221
JM
14799 * sysdeps/unix/sysv/direct.h: Remove file.
14800
efa6a45f
JM
14801 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14802 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14803 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14804 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14805 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14806 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14807 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14808
9c9f2d0c
JM
14809 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14810
4541c83b
JM
14811 * sysdeps/unix/xmknod.c: Remove file.
14812 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14813
f5d153a0
JM
14814 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14815
aa746595
JM
14816 * sysdeps/unix/sysv/i386/time.S: Remove file.
14817
cce5905e
JM
14818 * sysdeps/unix/fxstat.c: Remove file.
14819 * sysdeps/unix/xstat.c: Likewise.
14820 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14821
37fa3841
JM
14822 * sysdeps/unix/sysv/sigaction.c: Remove file.
14823
ff1962a3
JM
14824 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14825 (sysdep_headers): Remove variable.
14826 [termio.h not in sysdep_headers] (generated): Likewise.
14827 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14828 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14829 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14830 * sysdeps/unix/sysv/tcflow.c: Likewise.
14831 * sysdeps/unix/sysv/tcflush.c: Likewise.
14832 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14833 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14834 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14835 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14836 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14837
e7740d31
JM
14838 * sysdeps/unix/siglist.c: Remove file.
14839
ee06f18b
JM
14840 * sysdeps/unix/getppid.S: Remove file.
14841
097d59fa
JM
14842 * sysdeps/unix/mkdir.c: Remove file.
14843 * sysdeps/unix/rmdir.c: Likewise.
14844
ff3d51ec
AS
148452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14846
14847 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14848 ERR_MAX value.
14849 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14850 errlist-compat value.
14851
50f81fd7
DM
148522012-04-18 David S. Miller <davem@davemloft.net>
14853
14854 * sysdeps/generic/memcopy.h (reg_char): Delete.
14855 * debug/strcat_chk.c: Use char, not reg_char.
14856 * debug/strcpy_chk.c: Likewise.
14857 * debug/strncat_chk.c: Likewise.
14858 * debug/strncpy_chk.c: Likewise.
14859 * string/memchr.c: Likewise.
14860 * string/memrchr.c: Likewise.
14861 * string/rawmemchr.c: Likewise.
14862 * string/strcat.c: Likewise.
14863 * string/strchr.c: Likewise.
14864 * string/strchrnul.c: Likewise.
14865 * string/strcmp.c: Likewise.
14866 * string/strcpy.c: Likewise.
14867 * string/strncat.c: Likewise.
14868 * string/strncmp.c: Likewise.
14869 * string/strncpy.c: Likewise.
14870
8ff41c46
WS
148712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14872
14873 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14874 __builtin_memcopy is called when src and dest ranges are known to not
14875 overlap.
14876
6b652f46
WS
148772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14878
14879 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14880 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14881 fwd_align_merge macro call.
14882 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14883 bwd_align_merge macro call.
14884 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14885
b282631e
WS
148862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14887
14888 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14889 bwd_align_merge macros.
14890 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14891 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14893
95aa737c
DM
148942012-04-18 David S. Miller <davem@davemloft.net>
14895
14896 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14897
7a99a614
AJ
148982012-04-18 Andreas Jaeger <aj@suse.de>
14899
14900 [BZ# 6794]
14901 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14902 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14904
14905 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14906 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14907 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14908
14909 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14910 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14911 Adjust for changed ldbl-128 files.
14912
14913 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14914 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14915 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14916
e5270c23
DM
149172012-04-17 David S. Miller <davem@davemloft.net>
14918
14919 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14920
fb5e92c9
AS
149212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14922
14923 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14924 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14925 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14926 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14928 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14929
76da7265
AZ
149302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14931
14932 [BZ #6794]
14933 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14934 * math/libm-test.inc: Add ilogb errno and exception tests.
14935 * math/w_ilogb.c: New file: ilogb wrapper.
14936 * math/w_ilogbf.c: New file: ilogbf wrapper.
14937 * math/w_ilogbl.c: New file: ilogbl wrapper.
14938 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14939 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14940 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14941 exception being thrown with 0.0 as argument.
14942 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14943 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14944 exception being thrown with 0.0 as argument.
14945 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14946 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14947 exception being thrown with 0.0 as argument.
14948 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14949 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14950 exception being thrown with 0.0 as argument.
14951 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14952 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14953 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14954 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14956 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14957 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14958 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14959 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14960
0396e69d
PB
149612012-04-17 Petr Baudis <pasky@ucw.cz>
14962
14963 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14964 with altivec.
14965
750b5926
MP
149662012-04-16 Marek Polacek <polacek@redhat.com>
14967
14968 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14969
751728a1
MP
149702012-04-16 Marek Polacek <polacek@redhat.com>
14971
14972 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14973 operands of fdivp instruction.
14974
34a27407
L
149752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14976
14977 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14978 * elf/tst-auditmod3b.c: Likewise.
14979 * elf/tst-auditmod4b.c: Likewise.
14980 * elf/tst-auditmod5b.c: Likewise.
14981 * elf/tst-auditmod6b.c: Likewise.
14982 * elf/tst-auditmod6c.c: Likewise.
14983 * elf/tst-auditmod7b.c: Likewise.
14984 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14985 * sysdeps/x86_64/preconfigure.in: Likewise.
14986 * sysdeps/x86_64/preconfigure: Regenerated.
14987
7e73e17d
L
149882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14989
14990 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14991 __ILP32__.
14992
c7a6ab72
AB
149932012-04-13 Antoine Balestrat <merkil33@gmail.com>
14994
14995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14996 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14997
a9e8e0e0
CL
149982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14999
15000 [BZ #13973]
15001 * locale/iso-639.def: Fix gl language name. Spotted by
15002 Yaron Shahrabani.
15003
ec98af7d
RM
150042012-04-12 Roland McGrath <roland@hack.frob.com>
15005
15006 [BZ #2074]
15007 * libio/libio.h (__io_write_fn): Update comment.
15008
247c3ede
PB
150092012-04-12 Petr Baudis <pasky@ucw.cz>
15010
15011 [BZ #2074]
15012 * stdio.texi (Hook Functions): The user provided writer function
15013 is not allowed to return -1.
15014
55939d6d
DM
150152012-04-11 David S. Miller <davem@davemloft.net>
15016
15017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15018
90020f5a
MF
150192012-04-11 Mike Frysinger <vapier@gentoo.org>
15020
15021 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15022 Add a leading slash to rtkaio.
15023
288f9098
JM
150242012-04-11 Jim Meyering <meyering@redhat.com>
15025
90020f5a
MF
15026 [BZ #11959]
15027 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15028 It is not necessarily an error to ignore fwrite's return
15029 value. One can reliably use ferror to test for errors after
15030 the fact.
288f9098 15031
4be2b570
L
150322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15033
15034 * bits/types.h (__snseconds_t): New type.
15035 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15036
15037 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15039 (__SNSECONDS_T_TYPE): Likewise.
15040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15041 (__SNSECONDS_T_TYPE): Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15043 (__SNSECONDS_T_TYPE): Likewise.
15044
288f9098 150452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15046
15047 [BZ #2636]
15048 * manual/time.texi (Processor Time): Return type of times is
15049 elapsed real time since an arbitrary point in the past.
15050 (CPU Time): Move CLK_TCK from here...
15051 (Processor Time): ...to here. Correct description.
15052 * manual/conf.texi (Constants for Sysconf): Correct description of
15053 _SC_CLK_TCK.
15054
d7dd4413
DM
150552012-04-10 David S. Miller <davem@davemloft.net>
15056
15057 [BZ #13967]
15058 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15059 where the is a gap between DT_REL(A) and DT_JMPREL.
15060
b46068fc
L
150612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15062
15063 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15064 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15065 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15066
73d65cc3
SP
150672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15068
15069 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15070 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15071 (dl_main): Handle --inhibit-cache.
15072 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15073 _dl_inhibit_cache.
15074 * elf/dl-load.c (_dl_map_object): Use it.
15075 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15076
bcc8d661
JM
150772012-04-09 Joseph Myers <joseph@codesourcery.com>
15078
8f9a2fae
JM
15079 [BZ #13872]
15080 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15081 (__ieee754_powl): Saturate large exponents rather than testing for
15082 overflow of y*log2(x).
15083 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15084 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15085 exceptions.
15086
bcc8d661
JM
15087 [BZ #11521]
15088 * math/s_ctan.c: Include <float.h>.
15089 (__ctan): Avoid internal overflow or cancellation in calculating
15090 denominator.
15091 * math/s_ctanf.c: Likewise.
15092 * math/s_ctanl.c: Likewise.
15093 * math/s_ctanh.c: Likewise.
15094 * math/s_ctanhf.c: Likewise.
15095 * math/s_ctanhl.c: Likewise.
15096 * math/libm-test.inc (ctan_test): Add more tests.
15097 (ctanh_test): Likewise.
15098 * sysdeps/i386/fpu/libm-test-ulps: Update.
15099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15100
823fbbb4
AJ
151012012-04-09 Andreas Jaeger <aj@suse.de>
15102
03879793
AJ
15103 [BZ #6894]
15104 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15105 is an optional BSD extension.
15106
823fbbb4
AJ
15107 [BZ #10254]
15108 * manual/stdio.texi (Opening Streams): Document additional fopen
15109 parameters.
15110
8de131cb
RM
151112012-04-09 Roland McGrath <roland@hack.frob.com>
15112
15113 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15114 %eax without telling the compiler.
15115
c0ed9d7d
CD
151162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15117
15118 [BZ # 13963]
15119 * manual/install.texi: Use sourceware.org.
15120
c483f6b4
JM
151212012-04-09 Joseph Myers <joseph@codesourcery.com>
15122
d7dd9453
JM
15123 [BZ #13873]
15124 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15125 (__ieee754_pow): Generate overflow and underflow using huge*huge
15126 and tiny*tiny rather than just returning constant infinity or zero
15127 for large exponents.
15128 * math/libm-test.inc (pow_test): Require overflow exceptions for
15129 applicable cases of large exponents.
15130
c483f6b4
JM
15131 [BZ #706]
15132 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15133 (__ieee754_pow): Use iterative multiplication algorithm only for
15134 integer exponents with absolute value below 1024. Check for odd
15135 integer exponents when using algorithm for real exponents.
15136 * math/libm-test.inc (pow_test): Add more tests.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15138
d2de7579
JM
151392012-04-08 Joseph Myers <joseph@codesourcery.com>
15140
15141 [BZ #13705]
15142 * math/libm-test.inc (exp_test): Do not allow overflow exception
15143 on underflow test.
15144
f77f1232
AJ
151452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15146
15147 [BZ #13705]
15148 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15149 instead of __kernel_standard_f.
15150
3884932b
MF
151512012-04-08 Mike Frysinger <vapier@gentoo.org>
15152
15153 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15154 * sysdeps/x86_64/memset_chk.S: Likewise.
15155
54472e9c
AJ
151562012-04-08 Andreas Jaeger <aj@suse.de>
15157
6ab0fbfc
AJ
15158 [BZ #10153]
15159 * manual/startup.texi (Environment Access): Describe return value
15160 for putenv and setenv.
15161
61efba8c
AJ
15162 [BZ #6895]
15163 * manual/filesys.texi (Directory Entries): Add description for
15164 DT_LNK.
15165
95c3f29a
AJ
15166 [BZ #6890]
15167 * manual/filesys.texi (Directory Entries): Clarify that it's file
15168 system not operating system in the description of DT_UNKNOWN.
15169
54472e9c
AJ
15170 [BZ #6578]
15171 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15172
624254b1
SC
151732012-04-08 Stephen Compall <s11@member.fsf.org>
15174
15175 [BZ #6649]
15176 * manual/llio.texi (Opening and Closing Files): Add cross
15177 reference to explain mode argument.
15178
1e4920e0
MF
151792012-04-07 Mike Frysinger <vapier@gentoo.org>
15180
15181 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15182 * sysdeps/x86_64/memset_chk.S: Likewise.
15183
5ed848f3
DM
151842012-04-07 David S. Miller <davem@davemloft.net>
15185
15186 * elf/elf.h (R_SPARC_WDISP10): Define.
15187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15188 R_SPARC_SIZE32.
15189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15190 R_SPARC_SIZE64 and R_SPARC_H34.
15191
96154cd8
CD
151922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15193
15194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15195 conditions and remove no longer applicable assertion.
15196
9904dc47
L
151972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15198
15199 * bits/byteswap.h: Include <features.h>.
15200 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15201 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15202
f8887d0a
L
152032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15204
15205 * bits/byteswap.h (__bswap_16): Removed.
15206 Include <bits/byteswap-16.h> to get __bswap_16.
15207 * sysdeps/i386/bits/byteswap.h: Likewise.
15208 * sysdeps/s390/bits/byteswap.h: Likewise.
15209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15210 * bits/byteswap-16.h: New file.
15211 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15212 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15213 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15214 * string/Makefile (headers): Add bits/byteswap-16.h.
15215
62470f60
PP
152162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15217
15218 [BZ #13895]
15219 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15220 extra indirection.
15221 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15222 * nss/tst-nss-static.c: New.
15223
4dad7bab
RM
152242012-04-06 Robert Millan <rmh@gnu.org>
15225
15226 [BZ #6486]
15227 * manual/llio.texi (File Position Primitive): lseek
15228 refers to WHENCE when it really means OFFSET.
15229
e9142a17
AJ
152302012-04-06 Andreas Jaeger <aj@suse.de>
15231
2c040eff
AJ
15232 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15233 strncmp declarations.
15234
e9142a17
AJ
15235 * abilist/libc.abilist: Add __poll and __ppoll.
15236
ff9f1c5f
DM
152372012-04-05 David S. Miller <davem@davemloft.net>
15238
dcd2ae90
DM
15239 * scripts/check-local-headers.sh: Accept a host triplet in the
15240 path matched by the exclude regexp.
15241
993eb054
DM
15242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15243 definition.
15244 * sysdeps/powerpc/powerpc32/dl-machine.h
15245 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15246 * sysdeps/s390/s390-32/dl-machine.h
15247 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15248 * sysdeps/sparc/sparc32/dl-machine.h
15249 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15250 * sysdeps/sparc/sparc64/dl-machine.h
15251 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15252
ff9f1c5f
DM
15253 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15254 lazy binding.
48e2e132 15255 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15256 undefined symbol errors.
15257
48e2e132 15258 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15259 DT_NEEDED entries.
15260
e80d6f94
MM
152612012-04-05 Michael Matz <matz@suse.de>
15262
15263 [BZ #13592]
15264 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15265
349fa79f
AJ
152662012-04-05 Andreas Jaeger <aj@suse.de>
15267
15268 [BZ #13908]
15269 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15270 comment.
15271
f402708f
KK
152722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15273
15274 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15275 which ROUND is no valid rounding mode.
15276
2ecccfc9
KK
152772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15278
15279 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15280 read again.
15281 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15282
8a53f50f
KK
152832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15284
15285 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15286 an exception using FPU order intentionally.
15287
152882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15289
15290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15291 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15292 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15293 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15294
d653abb7
SJ
152952012-04-05 Simon Josefsson <simon@josefsson.org>
15296
15297 [BZ #12340]
15298 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15299 EINVAL when BUFLEN is too smal.
15300
c3b1bf7d
TS
153012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15302
15303 [BZ #13553]
15304 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15305 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15306
b1aa60f3
AJ
153072012-04-03 Andreas Jaeger <aj@suse.de>
15308
c3b1bf7d 15309 [BZ #13938]
67f60a26
AJ
15310 * manual/setjmp.texi (System V contexts): Fix sentence.
15311
b1aa60f3
AJ
15312 [BZ #13926]
15313 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15314 New macro for this case.
15315 [!__GNUC__] (__bswap_64): New inline function for this case.
15316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15317 * bits/byteswap.h: Likewise.
15318 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15319 ull, guard with __GLIBC_HAVE_LONG_LONG.
15320
15321 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15322 __GLIBC_HAVE_LONG_LONG.
15323
15324 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15325 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15326
39c59c35
TMQMF
153272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15328
15329 [BZ #13691]
15330 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15331 inptr and inend, rather than using last_ch.
15332
135ffda8
DM
153332012-04-02 David S. Miller <davem@davemloft.net>
15334
15335 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15336 * stdio-common/printf-parse.h (read_int): Change return type to
15337 'int', return -1 on INT_MAX overflow.
15338 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15339 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15340 overflows INT_MAX. Check for overflow of in-format-string precision
15341 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15342 SIZE_MAX not INT_MAX for integer overflow test.
15343 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15344 skip the construct in the format string but do not record anything.
15345 * stdio-common/bug22.c: Adjust to test both width/prevision
15346 INT_MAX overflow as well as total length INT_MAX overflow. Check
15347 explicitly for proper errno values.
15348
228c019e
TS
153492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15350
302cadd3
TS
15351 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15352 CHAR_MAX.
15353 * string/test-strcmp.c [! WIDE]: Likewise.
15354 * time/tst-mktime2.c: Likewise for INT_MAX.
15355 * string/test-string.h: #include <sys/param.h> for MIN.
15356
228c019e
TS
15357 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15358 * sysdeps/i386/init-first.c (init): Likewise.
15359 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15360 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15361 * sysdeps/sh/init-first.c (init): Likewise.
15362
cfa633f5
UD
153632012-04-01 Ulrich Drepper <drepper@gmail.com>
15364
15365 * po/ru.po: Update from translation team.
d1635ef8 15366 * po/vi.po: Likewise.
cfa633f5 15367
6cd0a5ea
SP
153682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
15370 * resolv/nss_dns/dns-host.c: Merge copyright years.
15371
4b43400f
LD
153722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15373
15374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15375 Optimize memcpy with prefetch if
15376 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15377 src, dst pointers have unequal 16 byte alignments.
15378
48c41d04
SP
153792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15380
15381 [BZ #13928]
15382 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15383 from a CNAME entry and return the minimum ttl for the query.
15384 (gaih_getanswer_slice): Likewise.
15385
b8dc394d
JL
153862012-03-30 Jeff Law <law@redhat.com>
15387
15388 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15389 due to long keys.
15390 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15391 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15392
2f5a5ed0
JL
15393 * resolv/nss_dns/dns-host.c: Update copyright year.
15394
1d39e359
UD
153952012-03-30 Ulrich Drepper <drepper@gmail.com>
15396
c030f70c 15397 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15398 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15399
1d39e359
UD
15400 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15401 comments for sendmmsg.
15402
154032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15404
15405 [BZ #13691]
15406 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15407 with only 1 character between 0x0041 and 0x01b0.
15408 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15409 * wcsmbs/tst-mbsnrtowcs.c: New file.
15410
20fde227
DM
154112012-03-29 David S. Miller <davem@davemloft.net>
15412
15413 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15414 small copies by hand.
15415
984a4237
JL
154162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15417
15418 [BZ #13761]
15419 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15420 _nss_compat_initgroups_dyn): Fall back to malloc/free
15421 for large group memberships.
15422
18c9d62b
DM
154232012-03-28 David S. Miller <davem@davemloft.net>
15424
88d85d4f
DM
15425 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15426 that branches into memcpy.
15427 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15429 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15430 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15432 bits.
15433 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15434 implementation too.
15435 * sysdeps/sparc/mempcpy.S: New file.
15436
e5aa83e1
DM
15437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15438 the IFUNC routine in the libc case.
15439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15440
88570753
DM
15441 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15442 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15443 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15444 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15445 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15446 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15447 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15448 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15449
249d7567
DM
15450 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15451 loop to 256 bytes instead of 64 bytes and fix test signedness.
15452
18c9d62b
DM
15453 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15454 * sysdeps/sparc/sparc32/Makefile: rather than here...
15455 * sysdeps/sparc/sparc64/Makefile: and here.
15456
05f3d1f6
UD
154572012-03-28 Ulrich Drepper <drepper@gmail.com>
15458
15459 * malloc/mallocbug.c: Avoid warnings about unused variables.
15460
86ae07a8
JL
154612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15462
15463 [BZ #13760]
15464 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15465 in the right place. Discard and retry query if response is
15466 larger than input buffer size.
15467
41bf21a1
JM
154682012-03-28 Joseph Myers <joseph@codesourcery.com>
15469
d6270972
JM
15470 [BZ #369]
15471 [BZ #2678]
15472 [BZ #3866]
15473 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15474 x for large integer exponent.
15475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15477 sign of result as needed afterwards.
15478 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15479 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15480 result for underflowing pow the same as for overflow.
15481 (__kernel_standard_l): Handle powl overflow and underflow here
15482 rather than calling __kernel_standard.
15483 * math/libm-test.inc (pow_test): Add more tests.
15484
414fca03 15485 [BZ #3868]
41bf21a1
JM
15486 [BZ #13879]
15487 [BZ #13910]
15488 [BZ #13911]
15489 [BZ #13912]
15490 [BZ #13913]
15491 [BZ #13915]
15492 [BZ #13916]
15493 [BZ #13917]
15494 [BZ #13918]
15495 [BZ #13919]
15496 [BZ #13920]
15497 [BZ #13921]
15498 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15499 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15500 (__kernel_standard_l): New function.
15501 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15502 __kernel_standard.
15503 * math/w_acosl.c (__acosl): Likewise.
15504 * math/w_asinl.c (__asinl): Likewise.
15505 * math/w_atan2l.c (__atan2l): Likewise.
15506 * math/w_atanhl.c (__atanhl): Likewise.
15507 * math/w_coshl.c (__coshl): Likewise.
15508 * math/w_exp10l.c (__exp10l): Likewise.
15509 * math/w_exp2l.c (__exp2l): Likewise.
15510 * math/w_fmodl.c (__fmodl): Likewise.
15511 * math/w_hypotl.c (__hypotl): Likewise.
15512 * math/w_j0l.c (__j0l, __y0l): Likewise.
15513 * math/w_j1l.c (__j1l, __y1l): Likewise.
15514 * math/w_jnl.c (__jnl, __ynl): Likewise.
15515 * math/w_lgammal.c (__lgammal): Likewise.
15516 * math/w_log10l.c (__log10l): Likewise.
15517 * math/w_log2l.c (__log2l): Likewise.
15518 * math/w_logl.c (__logl): Likewise.
15519 * math/w_powl.c (__powl): Likewise.
15520 * math/w_remainderl.c (__remainderl): Likewise.
15521 * math/w_scalbl.c (sysv_scalbl): Likewise.
15522 * math/w_sinhl.c (__sinhl): Likewise.
15523 * math/w_sqrtl.c (__sqrtl): Likewise.
15524 * math/w_tgammal.c (__tgammal): Likewise.
15525 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15526 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15527 * math/libm-test.inc (acos_test): Add more tests.
15528 (acosh_test): Likewise.
15529 (asin_test): Likewise.
15530 (atanh_test): Likewise.
15531 (exp_test): Likewise.
15532 (exp10_test): Likewise.
15533 (exp2_test): Likewise.
15534 (expm1_test): Likewise.
15535 (lgamma_test): Likewise.
15536 (log_test): Likewise.
15537 (log10_test): Likewise.
15538 (log1p_test): Likewise.
15539 (log2_test): Likewise.
15540 (pow_test): Do not allow some spurious overflow exceptions.
15541 (sqrt_test): Add more tests.
15542 (tgamma_test): Likewise.
15543 (y0_test): Likewise.
15544 (y1_test): Likewise.
15545 (yn_test): Likewise.
15546
dd62fda6
AB
155472012-03-27 Anton Blanchard <anton@samba.org>
15548
15549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15550 MAP_HUGETLB.
15551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15552 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15554
1e3cdfda
AJ
155552012-03-27 David S. Miller <davem@davemloft.net>
15556
b855ab85
DM
15557 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15558
1e3cdfda
AJ
15559 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15560 have-as-vis3 check.
15561
155622012-03-27 Andreas Jaeger <aj@suse.de>
15563
15564 * sysdeps/x86_64/elf/configure.in: Moved to ...
15565 * sysdeps/x86_64/configure.in: ... here.
15566 * sysdeps/x86_64/elf/start.S: Moved to ...
15567 * sysdeps/x86_64/start.S: ... here.
15568 * sysdeps/x86_64/elf/configure: Delete.
15569
15570 * sysdeps/x86_64/configure.in: Merge contents from
15571 sysdeps/i386/configure.in (without i686 check).
15572
15573 * sysdeps/i386/elf/Versions: Merge into ...
15574 * sysdeps/i386/Versions: ... this.
15575 * sysdeps/i386/elf/Versions: Delete file.
15576 * sysdeps/i386/elf/start.S: Moved to ...
15577 * sysdeps/i386/start.S: ...here.
15578 * sysdeps/i386/elf/configure.in: Merge into...
15579 * sysdeps/i386/configure.in: ...here.
15580 * sysdeps/i386/elf/configure.in: Delete file.
15581 * sysdeps/i386/elf/configure: Delete file.
15582
15583 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15584 * debug/backtracesyms.c: ... here.
15585 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15586 * debug/backtracesymsfd.c: ... here.
15587 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15588 * sysdeps/generic/ifunc-sel.h: ... here.
15589
15590 * sysdeps/unix/i386/start.c: Delete file.
15591 * sysdeps/unix/sparc/start.c: Delete file.
15592 * sysdeps/unix/start.c: Delete file.
15593
15594 * sysdeps/sh/elf/configure.in: Moved to ...
15595 * sysdeps/sh/configure.in: ... here.
15596 * sysdeps/sh/elf/start.S: Moved to ...
15597 * sysdeps/sh/start.S: ... here.
15598 * sysdeps/sh/elf/configure: Delete file.
15599
15600 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15601 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15602 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15603 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15604 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15605 * sysdeps/powerpc/powerpc64/start.S: here.
15606 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15607 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15608 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15609 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15610 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15611
15612 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15613 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15614 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15615 * sysdeps/powerpc/powerpc32/start.S: ... here.
15616 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15617 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15618 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15619
15620 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15621 * sysdeps/powerpc/ifunc-sel.h: ... here.
15622 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15623 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15624
15625 * sysdeps/sparc/elf/configure.in: Moved to ...
15626 * sysdeps/sparc/configure.in: ... here.
15627 * sysdeps/sparc/elf/configure: Delete file.
15628 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15629 * sysdeps/sparc/sparc32/start.S: ... here.
15630 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15631 * sysdeps/sparc/sparc64/start.S: ... here.
15632 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15633 * sysdeps/sparc/sparc32/Makefile: ... this.
15634 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15635 * sysdeps/sparc/sparc64/Makefile: ... this.
15636
15637 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15638 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15639 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15640 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15641 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15642 * sysdeps/s390/s390-32/setjmp.S: ... here.
15643 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15644 * sysdeps/s390/s390-32/configure.in: ... here.
15645 * sysdeps/s390/s390-32/elf/configure: Delete file.
15646 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15647 * sysdeps/s390/s390-32/start.S: ... here.
15648
15649 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15650 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15651 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15652 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15653 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15654 * sysdeps/s390/s390-64/setjmp.S: ... here.
15655 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15656 * sysdeps/s390/s390-64/configure.in: ... here
15657 * sysdeps/s390/s390-64/elf/configure: Delete file.
15658 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15659 * sysdeps/s390/s390-64/start.S: ... here.
15660 * sysdeps/s390/s390-64/elf/configure: Delete.
15661
15662 * configure.in: Remove support for elf directories in sysdeps.
15663
15664 * configure: Regenerated.
15665 * sysdeps/i386/configure: Regenerated.
15666 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15667 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15668 * sysdeps/s390/s390-32/configure: Regenerated.
15669 * sysdeps/s390/s390-64/configure: Regenerated.
15670 * sysdeps/sh/configure: Regenerated.
15671 * sysdeps/sparc/configure: Regenerated.
15672 * sysdeps/x86_64/configure: Regenerated.
15673
a3f61311
AS
156742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15675
c876e002
AS
15676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15677
a3f61311
AS
15678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15679 denormal result into account.
15680
ac4c54f0
RM
156812012-03-25 Roland McGrath <roland@hack.frob.com>
15682
15683 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15684 Reported by Allan McRae <allan@archlinux.org>.
15685
6a9b9c02
JL
156862012-03-23 Jeff Law <law@redhat.com>
15687
15688 * nss/getnssent.c (__nss_getent): Fix typo.
15689
4c42a0c1
DM
156902012-03-23 David S. Miller <davem@davemloft.net>
15691
15692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15693
1532c7ac
L
156942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15695
15696 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15697 to pad to uint64_t for each field.
15698 (dl_tls_index): Replace unsigned long with uint64_t.
15699
3ff42526
PP
157002012-03-23 Daniel Jacobowitz <dmj@google.com>
15701 Paul Pluzhnikov <ppluzhnikov@google.com>
15702
15703 [BZ #6528]
15704 * grp/Makefile (otherlibs): Don't set it.
15705 * inet/Makefile (otherlibs): Likewise.
15706 * login/Makefile (otherlibs): Likewise.
15707 * nscd/Makefile (otherlibs): Likewise.
15708 * posix/Makefile (otherlibs): Likewise.
15709 * pwd/Makefile (otherlibs): Likewise.
15710 * rt/Makefile (otherlibs): Likewise.
15711 * sunrpc/Makefile (otherlibs): Likewise.
15712 * nss/Makefile (otherlibs): Likewise.
15713 Add libnss_files to routines and static-only-routines.
15714 ($(objpfx)getent): Remove rule.
15715 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15716 static-only-routines.
15717
7c69cd14
JM
157182012-03-22 Joseph Myers <joseph@codesourcery.com>
15719
15720 [BZ #13892]
15721 * math/s_cexp.c: Include <float.h>.
15722 (__cexp): Handle exp result overflowing not necessarily
15723 overflowing both real and imaginary parts of result.
15724 * math/s_cexpf.c: Likewise.
15725 * math/s_cexpl.c: Likewise.
15726 * math/libm-test.inc (cexp_test): Add more tests.
15727 * sysdeps/i386/fpu/libm-test-ulps: Update.
15728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15729
81b035fe
L
157302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15731
15732 * include/link.h (ELFW): New macro.
15733 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15734 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15735
1da7940c
L
157362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15737
15738 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15739 with uint64_t.
15740
b749dbb9
L
157412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15742
15743 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15744 declaration.
15745 (struct La_x32_retval): Likewise.
15746
2ff87f3f
L
157472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15748
15749 * sysdeps/x86_64/preconfigure.in: New file.
15750 * sysdeps/x86_64/preconfigure: New generated file.
15751
c0df8e69
JM
157522012-03-22 Joseph Myers <joseph@codesourcery.com>
15753
48e44791
JM
15754 [BZ #13824]
15755 * math/e_exp2l.c: Include <float.h>.
15756 (__ieee754_exp2l): Handle overflow and underflow cases
15757 separately. Only pass fractional part of argument to
15758 __ieee754_expl.
15759 * math/libm-test.inc (exp2_test): Add more tests.
15760
c0df8e69
JM
15761 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15762 negating x to take absolute value.
15763 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15764 Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15767 Likewise.
15768 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15769 computing low part if x was negated.
15770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15771
c8e43ba7
L
157722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15773
15774 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15775 la_x32_gnu_pltexit.
15776 (pltexit): Cast int_retval to ptrdiff_t.
15777 * elf/tst-auditmod3b.c: Likewise.
15778 * elf/tst-auditmod4b.c: Likewise.
15779 * elf/tst-auditmod5b.c: Likewise.
15780 * elf/tst-auditmod6b.c: Likewise.
15781 * elf/tst-auditmod6c.c: Likewise.
15782 * elf/tst-auditmod7b.c: Likewise.
15783
15784 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15785 and x32_gnu_pltexit.
15786
15787 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15788 __ELF_NATIVE_CLASS.
15789 (La_x32_regs): New macro.
15790 (La_x32_retval): Likewise.
15791 (la_x32_gnu_pltenter): New function prototype.
15792 (la_x32_gnu_pltexit): Likewise.
15793
7998fa78
AS
157942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15795
dcb33988
AS
15796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15797 exponent.
15798
233fc563
AS
15799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15800
7998fa78
AS
15801 * configure.in (libc_cv_cc_nofma): Check for option to disable
15802 generation of FMA instructions.
15803 * configure: Regenerate.
15804 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15805 * sysdeps/ieee754/dbl-64/Makefile: New file.
15806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15807 Remove brandred-fma4.
15808 (CFLAGS-brandred-fma4.c): Remove.
15809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15811 define.
15812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15813 define.
15814
8e95c99a
L
158152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15818 LLONG_MAX != LONG_MAX.
15819 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15820 (_fitoa_word): Likewise.
15821 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15822 LLONG_MAX != LONG_MAX.
15823 * stdio-common/_itowa.h: Include <_itoa.h>.
15824 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15825 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15826 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15827 only if not defined.
15828 (_ITOA_WORD_TYPE): Likewise.
15829 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15830 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15831
6f4db457
DM
158322012-03-21 David S. Miller <davem@davemloft.net>
15833
15834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15835
7785fe5a
L
158362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15837
15838 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15839 of x86_64 when setting libc_cv_slibdir, libdir and
15840 libc_cv_localedir.
15841 * sysdeps/unix/sysv/linux/configure: Regenerated.
15842
4535cd55
JM
158432012-03-21 Joseph Myers <joseph@codesourcery.com>
15844
15845 * manual/lang.texi (Old Varargs): Remove section.
15846 (How Variadic): Update menu.
15847 (va_start): Do not mention varargs.h.
15848
17228132
TS
158492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15850 Joseph Myers <joseph@codesourcery.com>
15851
15852 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15853 link test.
15854 * configure: Regenerated.
15855
8149f976
TS
158562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15857
05f3d1f6
UD
15858 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15859 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15860 conformtest.pl
8149f976 15861
1a4ac776
JM
158622012-03-21 Joseph Myers <joseph@codesourcery.com>
15863
be22ce65
JM
15864 * NOTES: Remove.
15865 * Makefile (files-for-dist): Remove NOTES.
15866 (NOTES): Remove rule.
15867 * README: Don't refer to NOTES.
15868 * manual/creature.texi: Don't include macros.texi.
15869 * manual/intro.texi (creature.texi): Remove comment referring to
15870 NOTES.
15871
40b601fb
JM
15872 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15873 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15874 * configure: Regenerated.
15875 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15876 LIBC_TRY_CC_OPTION.
15877 (libc_cv_as_i686): Likewise.
15878 (libc_cv_cc_avx): Likewise.
15879 (libc_cv_cc_sse2avx): Likewise.
15880 (libc_cv_cc_fma4): Likewise.
15881 (libc_cv_cc_novzeroupper): Likewise.
15882 * sysdeps/i386/configure: Regenerated.
15883
1a4ac776
JM
15884 [BZ #13883]
15885 * sysdeps/i386/fpu/s_cexp.S: Remove.
15886 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15888 * math/libm-test.inc (cexp_test): Add more tests.
15889 * sysdeps/i386/fpu/libm-test-ulps: Update.
15890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15891
a458e7fe
AM
158922012-03-21 Allan McRae <allan@archlinux.org>
15893
15894 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15895
0cb7efc5
JM
158962012-03-21 Joseph Myers <joseph@codesourcery.com>
15897
15898 [BZ #13871]
15899 * math/w_exp2.c: Do not include <float.h>.
15900 (o_threshold, u_threshold): Remove.
15901 (__exp2): Calculate result before checking finiteness and calling
15902 __kernel_standard.
15903 * math/w_exp2f.c: Likewise.
15904 * math/w_exp2l.c: Likewise.
15905 * math/libm-test.inc (exp2_test): Require overflow exception for
15906 1e6 input.
2460d3aa
JM
15907
15908 [BZ #3866]
15909 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15910 range of signed 64-bit integers before using fistpll. Remove
15911 checks for whether integers fit in mantissa bits.
15912 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15913 the range of signed 32-bit integers before using fistpl. Remove
15914 checks for whether integers fit in mantissa bits.
15915 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15916 (__ieee754_powl): Test for y outside the range of signed 64-bit
15917 integers before using fistpll. Reduce 64-bit values to 63-bit
15918 ones as needed.
15919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15920 divide-by-zero is raised for zero to large negative powers.
15921 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15922 (__ieee754_powl): Test for y outside the range of signed 64-bit
15923 integers before using fistpll. Reduce 64-bit values to 63-bit
15924 ones as needed.
15925 * math/libm-test.inc (pow_test): Add more tests.
15926
eb96ffb0
L
159272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15928
15929 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15930 <stdio-common/_itoa.h>.
15931 * debug/segfault.c: Likewise.
15932 * elf/dl-cache.c: Likewise.
15933 * elf/dl-minimal.c: Likewise.
15934 * elf/dl-misc.c: Likewise.
15935 * elf/dl-sysdep.c: Likewise.
15936 * elf/dl-version.c: Likewise.
15937 * elf/rtld.c: Likewise.
15938 * hurd/hurdsock.c: Likewise.
15939 * hurd/lookup-retry.c: Likewise.
15940 * malloc/malloc.c: Likewise.
15941 * malloc/mtrace.c: Likewise.
15942 * nscd/nscd_getgr_r.c: Likewise.
15943 * nscd/nscd_getpw_r.c: Likewise.
15944 * nscd/nscd_getserv_r.c: Likewise.
15945 * posix/getopt_init.c: Likewise.
15946 * posix/wordexp.c: Likewise.
15947 * stdio-common/_itoa.c: Likewise.
15948 * stdio-common/printf_fphex.c: Likewise.
15949 * stdio-common/vfprintf.c: Likewise.
15950 * string/_strerror.c: Likewise.
15951 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15952 * sysdeps/i386/i686/hp-timing.h: Likewise.
15953 * sysdeps/mach/_strerror.c: Likewise.
15954 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15955 * sysdeps/mach/hurd/sethostid.c: Likewise.
15956 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15957 * sysdeps/mach/xpg-strerror.c: Likewise.
15958 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15959 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15960 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15961 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15963 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15964 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15965 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15966 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15967 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15968 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15969 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15970 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15971 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15972 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15973 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15974 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15975 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15976 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15977 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15978 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15979
15980 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15981
15982 * stdio-common/_itoa.h: Moved to ...
15983 * sysdeps/generic/_itoa.h: Here.
15984
15985 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15986
15987 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15988 instead of "_itoa.h" and "_itowa.h".
15989 * stdio-common/vfprintf.: Likewise.
15990
d1af992d
L
159912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15994 <bits/wordsize.h>.
15995 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15996 (__signbit): Likwise.
15997 (llrintf): Likwise.
15998 (llrint): Likwise.
15999
114883e0
L
160002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16003 __WORDSIZE != 64.
16004
c135cc1b
JM
160052012-03-20 Joseph Myers <joseph@codesourcery.com>
16006
16007 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16008 OVERFLOW_EXCEPTION_OK.
16009 * math/libm-test.inc ("Philosophy"): Update comment about
16010 exception testing.
16011 (OVERFLOW_EXCEPTION): Define.
16012 (OVERFLOW_EXCEPTION_OK): Likewise.
16013 (INVALID_EXCEPTION_OK): Renumber.
16014 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16015 (IGNORE_ZERO_INF_SIGN): Likewise.
16016 (test_exceptions): Handle FE_OVERFLOW.
16017 (exp10_test): Expect overflow exceptions.
16018 (exp2_test): Likewise.
16019 (expm1_test): Likewise.
16020 (nextafter_test): Likewise.
16021 (pow_test): Likewise.
16022 (scalbn_test): Likewise.
16023 (scalbln_test): Likewise.
16024
95443d88
L
160252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16026
16027 * sysdeps/x86_64/bits/atomic.h
16028 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16029 64bit integer.
16030 (atomic_exchange_acq): Likewise.
16031 (__arch_exchange_and_add_body): Likewise.
16032 (__arch_add_body): Likewise.
16033 (atomic_add_negative): Likewise.
16034 (atomic_add_zero): Likewise.
16035
490df6c4
L
160362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16037
c2722551 16038 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16039 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16040
5e52b189
L
160412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16044 Check __x86_64__ instead of __WORDSIZE.
16045
a9879d4c
L
160462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16049
5df98260
DM
160502012-03-19 David S. Miller <davem@davemloft.net>
16051
e1497744
DM
16052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16053
5df98260
DM
16054 * sysdeps/sparc/fpu/fenv_private.h: New file.
16055 * sysdeps/sparc/fpu/math_private.h: Use it.
16056 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16057 Remove.
16058 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16059 (libc_feholdexcept_setroundl): Remove.
16060 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16061 Remove.
16062 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16063 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16064
b4c35121
L
160652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16066
16067 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16068 int64_t instead of long int.
16069 (INSERT_WORDS64): Likwise.
16070
56965fd7
L
160712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16074 _Unwind_GetCFA return to _Unwind_Ptr first.
16075
83d1aec8
JM
160762012-03-19 Joseph Myers <joseph@codesourcery.com>
16077
1897ad44
JM
16078 [BZ #13629]
16079 * math/s_clog.c: Include <float.h>.
16080 (__clog): Scale large or subnormal inputs.
16081 * math/s_clogf.c: Likewise.
16082 * math/s_clogl.c: Likewise.
16083 * math/s_clog10.c: Include <float.h>.
16084 (M_LOG10_2): Define.
16085 (__clog10): Scale large or subnormal inputs.
16086 * math/s_clog10f.c: Likewise.
16087 * math/s_clog10l.c: Likewise.
16088 * math/libm-test.inc (clog_test): Add more tests.
16089 (clog10_test): Likewise.
16090 * sysdeps/i386/fpu/libm-test-ulps: Update.
16091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16092
7726d6a9
JM
16093 [BZ #11451]
16094 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16095 x and y.
16096 * math/libm-test.inc (atan2_test): Add another test.
16097
83d1aec8
JM
16098 * Makerules (common-objdir-compile): Remove.
16099 * sysdeps/unix/Makefile (config-generated): Do not add
16100 $(unix-generated) to variable.
16101 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16102 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16103 Remove rule.
16104 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16105 Likewise.
16106 [generic bits/local_lim.h] (before-compile): Do not append to
16107 variable.
16108 [generic bits/local_lim.h] (common-generated): Likewise.
16109 [generic sys/param.h] (before-compile): Do not append to variable.
16110 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16111 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16112 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16113 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16114 include.
16115 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16116 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16117 [generic sys/param.h] ($(addprefix
16118 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16119 [generic sys/param.h] (common-generated): Do not append to
16120 variable.
16121 [generic sys/param.h] (sysdep_headers): Likewise.
16122 [generic bits/errno.h] (before-compile): Do not append to
16123 variable.
16124 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16125 rule.
16126 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16127 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16128 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16129 [generic bits/errno.h] (common-generated): Do not append to
16130 variable.
16131 [generic bits/ioctls.h] (before-compile): Do not append to
16132 variable.
16133 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16134 rule.
16135 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16136 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16137 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16138 rule.
16139 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16140 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16141 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16142 [generic bits/ioctls.h] (common-generated): Do not append to
16143 variable.
16144 [generic sys/syscall.h] (syscall.h): Remove variable.
16145 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16146 rule.
16147 [generic sys/syscall.h] (before-compile): Do not append to
16148 variable.
16149 [generic sys/syscall.h] (common-generated): Likewise.
16150 * sysdeps/unix/errnos-tmpl.c: Remove file.
16151 * sysdeps/unix/errnos.awk: Likewise.
16152 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16153 * sysdeps/unix/ioctls.awk: Likewise.
16154 * sysdeps/unix/mk-local_lim.c: Likewise.
16155 * sysdeps/unix/snarf-ioctls: Likewise.
16156
4851a949
RH
161572012-03-19 Richard Henderson <rth@twiddle.net>
16158
bd37f2ee
RH
16159 * sysdeps/i386/fpu/fenv_private.h: New file.
16160 * sysdeps/i386/fpu/math_private.h: Use it.
16161 (math_opt_barrier, math_force_eval): Remove.
16162 (libc_feholdexcept_setround_53bit): Remove.
16163 (libc_feupdateenv_53bit): Remove.
16164 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16165 (math_opt_barrier, math_force_eval): Remove.
16166 (libc_feholdexcept): Remove.
16167 (libc_feholdexcept_setround): Remove.
16168 (libc_fetestexcept, libc_fesetenv): Remove.
16169 (libc_feupdateenv_test): Remove.
16170 (libc_feupdateenv, libc_feholdsetround): Remove.
16171 (libc_feresetround): Remove.
16172
d0adc922
RH
16173 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16174 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16175
0fe0f1f8
RH
16176 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16177 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16178 (libc_feupdateenv_testl): New.
16179 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16180 (libc_feupdateenv_testf): New.
16181 (libc_feupdateenv): Use libc_feupdateenv_test.
16182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16184
eb92c487
RH
16185 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16186 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16187 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16188 (libc_feresetround_noex): New.
16189 (libc_feresetround_noexf): New.
16190 (libc_feresetround_noexl): New.
16191 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16192 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16193 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16194 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16195 SET_RESTORE_ROUND.
16196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16198 (__cos): Likewise.
16199 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16201 SET_RESTORE_ROUND_NOEX.
16202 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16203 SET_RESTORE_ROUND_NOEXF.
16204 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16205 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16206 (libc_feholdsetroundf): New.
16207 (libc_feresetround, libc_feresetroundf): New.
16208
7d2e8012
RH
16209 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16210 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16211 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16212
b4dabbb4
RH
16213 * sysdeps/generic/math_private.h: Include <fenv.h>.
16214 (default_libc_feholdexcept): New.
16215 (default_libc_feholdexcept_setround): New.
16216 (default_libc_fesetenv, default_libc_feupdateenv): New.
16217 (libc_feholdexcept): Only define if undefined.
16218 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16219 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16220 (libc_feholdexcept_setroundl): Likewise.
16221 (libc_feholdexcept_setround_53bit): Likewise.
16222 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16223 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16224 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16225 (libc_feupdateenv_53bit): Likewise.
16226 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16227 (libc_feholdexcept): Convert from macro to inline function.
16228 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16229 (libc_fesetenv, libc_feupdateenv): Likewise.
16230
4851a949
RH
16231 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16232 not previously defined.
16233 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16234 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16235 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16236 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16237 * sysdeps/ieee754/flt-32/math_private.h: New file.
16238 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16239 math_private.h below SET_FLOAT_WORD.
16240 (__isnan, __isinf_ns, __finite): Remove.
16241 (__isnanf, __isinf_nsf, __finitef): Remove.
16242
e79d442e
AS
162432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16244
16245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16246
90b80344
DM
162472012-03-17 David S. Miller <davem@davemloft.net>
16248
16249 [BZ #6471]
16250 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16251 for 2.16.
16252
edc21804
DM
162532012-03-16 David S. Miller <davem@davemloft.net>
16254
77e927af
DM
16255 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16256 warnings.
16257
374976dd
DM
16258 [BZ #6471]
16259 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16260 properly.
16261 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16262 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16263 sysdep_routines when subdir is sysvipc.
16264 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16265 __getshmlba helper.
16266
edc21804
DM
16267 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16268
473c3ef3
L
162692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16270
16271 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16272 [__LP64__].
16273
eb0f39b6
L
162742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16277 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16278 (__lround): Renamed to ...
16279 (__llround): This. Replace long int with long long int.
16280 Define lround functions as aliases of llround functions.
16281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16282
6b6cd74b
L
162832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16284
16285 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16286 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16287 adresses to uintptr_t. Replace "long int" and "unsigned long
16288 int" with "greg_t" on va_arg.
16289
f1a77b01
L
162902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16291
16292 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16293 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16294
16295 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16296 Move e_machine check before EI_CLASS check. Handle x32
16297 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16298 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16299 SKIP_EM_IA_64 and include
16300 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16301
16302 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16303 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16304 (add_system_dir): New macro.
16305
16306 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16307 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16308
11b90b9f
JM
163092012-03-16 Joseph Myers <joseph@codesourcery.com>
16310
c36e1d23
JM
16311 [BZ #2551]
16312 [BZ #2552]
16313 [BZ #2553]
16314 [BZ #2554]
16315 [BZ #2562]
16316 [BZ #2563]
16317 [BZ #2565]
16318 [BZ #2566]
16319 [BZ #2576]
16320 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16321 (y0): Likewise.
16322 * math/w_j0f.c (j0f): Likewise.
16323 (y0f): Likewise.
16324 * math/w_j0l.c (__j0l): Likewise.
16325 (__y0l): Likewise.
16326 * math/w_j1.c (j1): Likewise.
16327 (y1): Likewise.
16328 * math/w_j1f.c (j1f): Likewise.
16329 (y1f): Likewise.
16330 * math/w_j1l.c (__j1l): Likewise.
16331 (__y1l): Likewise.
16332 * math/w_jn.c (jn): Likewise.
16333 (yn): Likewise.
16334 * math/w_jnf.c (jnf): Likewise.
16335 (ynf): Likewise.
16336 * math/w_jnl.c (__jnl): Likewise.
16337 (__ynl): Likewise.
16338 * math/libm-test.inc (j0_test): Add more tests.
16339 (j1_test): Likewise.
16340 (jn_test): Likewise. Add trailing semicolon to existing test.
16341 (y0_test): Likewise.
16342 (y1_test): Likewise.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
11b90b9f
JM
16346 [BZ #13851]
16347 [BZ #13854]
16348 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16349 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16350 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16352 (__tanl): Set errno for infinite argument.
16353 * sysdeps/i386/fpu/mptan.c: Remove.
16354 * sysdeps/i386/fpu/s_tan.S: Likewise.
16355 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16356 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16357 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16358 * math/libm-test.inc (tan_test): Add more tests and enable more
16359 tests for double and long double.
16360 * sysdeps/i386/fpu/libm-test-ulps: Update.
16361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16362
6a1bd2a1
JK
163632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16364
16365 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16366 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16367
10a803e0
RM
163682012-03-16 Roland McGrath <roland@hack.frob.com>
16369
16370 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16371 * configure.in: Use it for both main tree and add-ons.
16372 * configure: Regenerated.
16373
f196c7f7
L
163742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16375
16376 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16377
8848d99d
JM
163782012-03-16 Joseph Myers <joseph@codesourcery.com>
16379
96cbe7f4
JM
16380 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16381 in comment.
16382
8848d99d
JM
16383 [BZ #13851]
16384 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16385 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16389 infinite argument.
16390 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16392 != 0 for prec == 2.
16393 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16394 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16395 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16396 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16397 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16398 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16399 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16400 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16401 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16402 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16403 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16404 * math/libm-test.inc (cos_test): Add more tests and enable more
16405 tests for long double.
16406 (sin_test): Likewise.
16407 (sincos_test): Likewise.
16408 * sysdeps/i386/fpu/libm-test-ulps: Update.
16409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410
dd7f4703
DM
164112012-03-16 David S. Miller <davem@davemloft.net>
16412
16413 * sysdeps/sparc/fpu/math_private.h: New file.
16414
006f1daa
DM
164152012-03-15 David S. Miller <davem@davemloft.net>
16416
c0c83bc8
DM
16417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16418 file.
e6a62e18 16419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16421 file.
e6a62e18
DM
16422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16427 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16428 sysdep routines.
16429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16430
88cb87d9
DM
16431 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16432 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16433
006f1daa 16434 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16436 sparc-ifunc.h
006f1daa 16437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16439 Likewise.
16440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16441 Likewise.
006f1daa
DM
16442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16446 Likewise.
006f1daa
DM
16447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16452 Likewise.
16453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16454 Likewise.
006f1daa
DM
16455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16479
11e0098e
AS
164802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16481
16482 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16483 scaling.
16484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16485
e85b09d0
AJ
164862012-03-15 Andreas Jaeger <aj@suse.de>
16487
16488 [BZ #13852]
16489 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16490 ieee754/flt-32 implementation for sin, cos and sincos.
16491 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16492 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16493 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16494 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16495 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16496 ieee754/flt-32 implementation for tan.
16497
16498 * math/libm-test.inc (cos_test): Enable some large input tests for
16499 float as well
16500 (sin_test): Likewise.
16501 (sincos_test): Likewise.
16502 (tan_test): Add tests for large input.
16503
16504 * sysdeps/i386/fpu/libm-test-ulps: Update.
16505
81c64153
AJ
165062012-03-15 Andreas Jaeger <aj@suse.de>
16507
16508 [BZ #13658]
16509 * math/libm-test.inc (cos_test): Add more test cases.
16510 (sin_test): Likewise.
16511 (sincos_test): Likewise.
16512
7bbfa5c6
AJ
165132012-03-15 Andreas Jaeger <aj@suse.de>
16514
16515 [BZ #13837]
16516 * math/libm-test.inc (cos_test): Add a test case for large input
16517 value.
16518 (sin_test): Likewise.
16519 (sincos_test): Likewise.
16520
165212012-03-15 Andreas Jaeger <aj@suse.de>,
16522 Joseph Myers <joseph@codesourcery.com>
16523
16524 [BZ #13658]
0671f479 16525 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16526 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16527 * sysdeps/i386/fpu/branred.c: Likewise.
16528 * sysdeps/i386/fpu/dosincos.c: Likewise.
16529 * sysdeps/i386/fpu/mpa.c: Likewise.
16530 * sysdeps/i386/fpu/s_cos.S: Likewise.
16531 * sysdeps/i386/fpu/s_sin.S: Likewise.
16532 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16533 * sysdeps/i386/fpu/sincos32.c: Likewise.
16534
16535 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16536 Define.
16537 (libc_feupdateenv_53bit): Define.
16538 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16539 Define.
16540 (libc_feupdateenv_53bit): Define.
16541
16542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16543 53 bit (without extend i386 double precision).
16544
16545 * math/libm-test.inc (sincos_test): Add tests for large input.
16546 (sin): Likewise.
16547 (cos): Likewise.
16548
16549 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16550
9cad04ea
AS
165512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16552
16553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16554
f7062b9a
DM
165552012-03-15 David S. Miller <davem@davemloft.net>
16556
16557 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16558 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16559 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16560 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16573 file.
f7062b9a 16574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16576 file.
f7062b9a 16577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16579 file.
f7062b9a 16580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16582 file.
f7062b9a
DM
16583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16585 fmin/fmax sysdep routines.
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16587
7bd951ff
DM
165882012-03-14 David S. Miller <davem@davemloft.net>
16589
559398ab
DM
16590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16619 routines.
16620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16621 file.
559398ab 16622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16624 file.
559398ab 16625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16627 file.
559398ab 16628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16630 file.
559398ab 16631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16633 file.
559398ab 16634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16636 file.
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16638 file.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16640 file.
16641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16642 file.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16644 New file.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16646 file.
16647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16648 file.
559398ab 16649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16651 file.
559398ab 16652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16654 file.
559398ab 16655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16657 file.
559398ab 16658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16660 VIS3 routines.
559398ab
DM
16661
16662 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16663 New file.
16664
5a1c1e32
DM
16665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16666
eae47a36
DM
16667 * sysdeps/sparc/configure.in: New file.
16668 * sysdeps/sparc/configure: Generate.
16669 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16670 * configure: Regenerate.
16671 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16672 * config.make.in (have-as-vis3): New.
16673 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16674 available use -Av9d instead of -Av9a.
16675 * sysdeps/sparc/sparc64/Makefile: Likewise.
16676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16678 New file.
16679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16680 file.
16681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16682 New file.
16683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16684 file.
eae47a36
DM
16685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16690
c0c83bc8
DM
16691 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16692 fzeros/fnegs to load 0x80000000 into a float register instead of
16693 using the stack.
7bd951ff
DM
16694 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16695
bd951ccb
JM
166962012-03-14 Joseph Myers <joseph@codesourcery.com>
16697
16698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16699 bits/syscall.h.
16700 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16701 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16702 ($(inst_includedir)/bits/syscall.h): Remove rule.
16703 ($(objpfx)bits/syscall.d): Include instead of
16704 $(objpfx)syscall-list.d.
16705 (generated): Change syscall-list.h and syscall-list.d to
16706 bits/syscall.h and bits/syscall.d.
16707
bb4e6db2
RM
167082012-03-14 Roland McGrath <roland@hack.frob.com>
16709
16710 [BZ #13846]
16711 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16712
aa4a2ae1
JM
167132012-03-14 Joseph Myers <joseph@codesourcery.com>
16714
e456826d
JM
16715 [BZ #13841]
16716 * math/s_csqrt.c: Include <float.h>.
16717 (__csqrt): Scale large or subnormal inputs.
16718 * math/s_csqrtf.c: Likewise.
16719 * math/s_csqrtl.c: Likewise.
16720 * math/libm-test.inc (csqrt_test): Add more tests.
16721 * sysdeps/i386/fpu/libm-test-ulps: Update.
16722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16723
aa4a2ae1
JM
16724 [BZ #13840]
16725 * math/libm-test.inc (hypot_test): Add more tests.
16726
7c10fd35
DM
167272012-03-13 David S. Miller <davem@davemloft.net>
16728
16729 [BZ #13840]
16730 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16731 double-precision for the calculation instead of scaling.
16732
f453b98b
JM
167332012-03-13 Joseph Myers <joseph@codesourcery.com>
16734
16735 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16736 manipulate bits before adding and subtracting TWO52[sx].
16737 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16739 Likewise.
16740 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16741
09a3453f
DM
167422012-03-13 David S. Miller <davem@davemloft.net>
16743
8e59da90
DM
16744 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16745 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16747 rtld-global-offsets.h
16748 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16749
2a8ab7f2
DM
16750 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16751 large parameters.
16752
10f62770
DM
16753 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16754
5f0bdb18
DM
16755 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16756 'err' in the ifdef scope in which it is actually used.
16757
09a3453f
DM
16758 * nss/nss_db/db-init.c: Include string.h
16759
b4b2eb5e
DM
167602012-03-12 David S. Miller <davem@davemloft.net>
16761
98bb2f1c
DM
16762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16763 masking out of the most significant byte of random value used.
16764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16765 Fix coding style in previous change.
16766
b4b2eb5e
DM
16767 * sysdeps/unix/sysv/linux/kernel-features.h
16768 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16769 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16770 expression.
16771 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16772 later.
16773
6e226b09
DM
167742012-03-11 David S. Miller <davem@davemloft.net>
16775
a1bcbd40
DM
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16777 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16779 for 'resultvar' otherwise things get truncated on 64-bit.
16780
cb9d6174
DM
16781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16782 Fix masking out of the most significant byte of random value used.
16783
6e226b09
DM
16784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16785
058c132d
AS
167862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16787
16788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16789
2d2cd515
DM
167902012-03-09 David S. Miller <davem@davemloft.net>
16791
16792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16793 variables with appropriate CPP guards.
16794 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16795 frame pointer, not the stack pointer. Correct layout comments. Fix test
16796 on resulting framesize and the management of the outregs buffer for pltexit.
16797 Preserve floating point return values across _dl_call_pltexit call.
16798 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16799 framesize and the management of the outregs buffer for pltexit.
16800 Preserve floating point return values across _dl_call_pltexit
16801 call.
16802 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16803 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16804 (print_exit): Fix format string for return register value.
16805
9a07f9d0
JM
168062012-03-10 Joseph Myers <joseph@codesourcery.com>
16807
16808 * sunrpc/Makefile (others): Add rpcgen.
16809 ($(objpfx)rpcgen): Remove special build rule and dependency on
16810 libc.
16811 * sunrpc/rpcgen.c: New file.
16812
547b5e30
PE
168132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16814
c524201a
PE
16815 [BZ #13673]
16816 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16817 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16818 * sysdeps/i386/crti.S: Likewise.
16819 * sysdeps/i386/crtn.S: Likewise.
16820 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16821 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16822 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16823 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16824 * sysdeps/sh/crti.S: Likewise.
16825 * sysdeps/sh/crtn.S: Likewise.
16826 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16827
7b6235f2
PE
16828 [BZ #13673]
16829 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16830 with URL.
16831 * locale/programs/locfile-kw.gperf: Likewise.
16832 * locale/programs/charmap-kw.h: Regenerated.
16833 * locale/programs/locfile-kw.h: Likewise.
16834
547b5e30
PE
16835 [BZ #13673]
16836 * intl/plural.y: Replace FSF snail mail address with URL.
16837 * intl/plural.c: Regenerated.
16838
5f0a5dae
RH
168392012-03-09 Richard Henderson <rth@twiddle.net>
16840
16841 * include/math_private.h: Remove file.
16842 * math/math_private.h: Move file ...
16843 * sysdeps/generic/math_private.h: ... here.
16844
b8c03620
RH
16845 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16846 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16847 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16848
4e234f5d 16849 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16850 and <math_private.h>.
16851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16856 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16857 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16859 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16874 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16875 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16889 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16891 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16892 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16894 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16895 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16897 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16898 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16899 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16902 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16903 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16904 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16905 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16906 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16908 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16909 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16910 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16911 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16912 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16915 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16922 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16938 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16939 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16940 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16941 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16942 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16943 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16944 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16945 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16946 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16947 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16948 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16949 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16950 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16951 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16952 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16953 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16955 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16956 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16957 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16958 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16959 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16960 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16961 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16962 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16963 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16964 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16965 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16966 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16967 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16968 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16969 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16972 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16973 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16974 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16976 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16977 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16978 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16979 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16980 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16981 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16982 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16983 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16984 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16985 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16987 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16988 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16989 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16993 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16994 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16995 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16996 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16997 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16998 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16999 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17000 * sysdeps/ieee754/k_standard.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17114 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17116 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17117 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17119 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17120 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17123 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17126 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17127 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17128 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17130 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17131 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17132 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17133 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17142 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17145 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17147 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17148 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17149 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17150 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17151 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17156 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17157 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17161 * sysdeps/ieee754/s_lib_version.c: Likewise.
17162 * sysdeps/ieee754/s_matherr.c: Likewise.
17163 * sysdeps/ieee754/s_signgam.c: Likewise.
17164 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17165 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17166 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17167 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17168 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17169 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17170 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17171 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17172 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17173 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17174 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17175 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17176 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17177 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17178 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17179 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17180 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17181 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17182 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17183 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17185
1991fa03
JM
171862012-03-09 Joseph Myers <joseph@codesourcery.com>
17187
17188 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17189 * sunrpc/rpc_main.c: Likewise.
17190 * sunrpc/rpc_svcout.c: Likewise.
17191
60d6f5a6
DM
171922012-03-09 David S. Miller <davem@davemloft.net>
17193
17194 * include/math_private.h: New file.
17195
4962050e
JM
171962012-03-09 Joseph Myers <joseph@codesourcery.com>
17197
02a6f887
JM
17198 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17199 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17200 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17201 from <bits/socket_type.h>.
17202 (enum __socket_type): Don't define here.
17203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17205 bits/socket_type.h.
17206
c6e013c1
JM
17207 [BZ #13566]
17208 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17209 checking __USE_GNU.
17210
4962050e
JM
17211 * Makerules ($(inst_includedir)/%.h): New rule.
17212 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17213 (install-others): Remove variable setting.
17214 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17215
38842f45
RH
172162012-03-08 Richard Henderson <rth@twiddle.net>
17217
67bb6da6
RH
17218 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17219 from macro to inline function; merge with the
17220 !__LIBC_INTERNAL_MATH_INLINES version.
17221 (__ieee754_sqrtf): Likewise.
17222
15194b4b
RH
17223 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17224 to inline function.
17225 (__rintf, __floor, __floorf): Likewise.
17226
64e21ede
RH
17227 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17228 macro to inline function.
17229 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17230
38842f45
RH
17231 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17232 not <math/math_private.h>.
17233
c64bf5fe
DM
172342012-03-08 David S. Miller <davem@davemloft.net>
17235
17236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17237 copyright year.
17238 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17239
82d86f28
TS
172402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17241
17242 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17243 normalization.
17244 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17245 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17246
aea5d727
UD
172472012-03-08 Ulrich Drepper <drepper@gmail.com>
17248
17249 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17250 be defined individually, they must be defined as a block. Define
17251 S for printing a string instead of hidint the different by using a
17252 macro for adding the 'l'.
17253 * stdio-common/tst-fphex-wide.c: Adjust.
17254
70bca0a3
MP
172552012-03-07 Marek Polacek <polacek@redhat.com>
17256
17257 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17258
65b81130
MP
172592012-03-08 Marek Polacek <polacek@redhat.com>
17260
17261 [BZ #13806]
17262 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17263 * stdio-common/tst-fphex.c: Define a few macros to make the
17264 test reusable. Use them.
17265 * stdio-common/tst-fphex-wide.c: New file.
17266
07037eeb
JM
172672012-03-08 Joseph Myers <joseph@codesourcery.com>
17268
a7a93d50
JM
17269 [BZ #6911]
17270 * manual/macros.texi (gnusystems): New macro.
17271 (nongnusystems): Likewise.
17272 (gnulinuxhurdsystems): Likewise.
17273 (gnuhurdsystems): Likewise..
17274 (gnulinuxsystems): Likewise.
17275 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17276 variants of the GNU system, not "GNU system".
17277 * manual/conf.texi: Likewise.
17278 * manual/errno.texi: Likewise. Update example of errno macro
17279 expansion.
17280 * manual/filesys.texi: Likewise.
17281 (getumask): Document as specific to GNU/Hurd.
17282 * manual/install.texi: Likewise. Reword some references to
17283 GNU/Linux.
17284 * manual/intro.texi: Likewise.
17285 * manual/io.texi: Likewise.
17286 (File Name Portability): Detail which constraints are inapplicable
17287 to all GNU systems and which are only inapplicable to GNU/Hurd.
17288 * manual/job.texi: Likewise.
17289 * manual/llio.texi: Likewise.
17290 (O_NOCTTY): Document as present on GNU/Linux.
17291 * manual/maint.texi: Likewise.
17292 * manual/memory.texi: Likewise.
17293 * manual/pattern.texi: Likewise.
17294 * manual/pipe.texi: Likewise.
17295 * manual/process.texi: Likewise.
17296 * manual/resource.texi: Likewise.
17297 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17298 child on GNU/Hurd.
17299 * manual/setjmp.texi: Likewise.
17300 * manual/signal.texi: Likewise.
17301 * manual/startup.texi: Likewise.
17302 * manual/stdio.texi: Likewise.
17303 * manual/terminal.texi: Likewise.
17304 (ONLCR): Document as POSIX.
17305 (OXTABS): Document availability on GNU/Linux as XTABS.
17306 (ONOEOT): Document availability separately from other bits.
17307 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17308 * manual/time.texi: Likewise.
17309 * manual/users.texi: Likewise.
17310 * INSTALL: Regenerated.
17311 * sysdeps/gnu/errlist.c: Regenerated.
17312
07037eeb
JM
17313 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17314 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17315 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17316 puts.
17317 * configure: Regenerated.
17318
d1d3431a
JM
173192012-03-07 Joseph Myers <joseph@codesourcery.com>
17320
af6a1e37
JM
17321 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17322 default includes instead of AC_HEADER_CHECK.
17323 * sysdeps/i386/configure: Regenerated.
17324
d1d3431a
JM
17325 [BZ #10716]
17326 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17327 * math/s_cacoshf.c (__cacoshf): Likewise.
17328 * math/s_cacoshl.c (__cacoshl): Likewise.
17329 * math/s_casinh.c (__casinh): Set signs of result from argument.
17330 * math/s_casinhf.c (__casinhf): Likewise.
17331 * math/s_casinhl.c (__casinhl): Likewise.
17332 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17333 (casinh_test): Add more tests.
17334 * sysdeps/i386/fpu/libm-test-ulps: Update.
17335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17336
482ff4da
UD
173372012-03-07 Ulrich Drepper <drepper@gmail.com>
17338
872fda05
UD
17339 * po/zh_TW.po: Update from translation team.
17340
a4300c7a
UD
17341 * login/Makefile (distribute): Remove variable.
17342 * catgets/Makefile: Likewise.
17343 * mach/Makefile: Likewise.
17344 * malloc/Makefile: Likewise.
17345 * misc/Makefile: Likewise.
17346 * iconv/Makefile: Likewise.
17347 * nscd/Makefile: Likewise.
17348 * hurd/Makefile: Likewise.
17349 * manual/Makefile: Likewise.
17350 * locale/Makefile: Likewise.
17351 * intl/Makefile: Likewise.
17352 * conform/Makefile: Likewise.
17353 * nss/Makefile: Likewise.
17354 * time/Makefile: Likewise.
17355 * soft-fp/Makefile: Likewise.
17356 * dirent/Makefile: Likewise.
17357 * gmon/Makefile: Likewise.
17358 * po/Makefile: Likewise.
17359 * rt/Makefile: Likewise.
17360 * socket/Makefile: Likewise.
17361 * math/Makefile: Likewise.
17362 * signal/Makefile: Likewise.
17363 * debug/Makefile: Likewise.
17364 * elf/Makefile: Likewise.
17365 * timezone/Makefile: Likewise.
17366 * stdlib/Makefile: Likewise.
17367 * iconvdata/Makefile: Likewise.
17368 * sunrpc/Makefile: Likewise.
17369 * io/Makefile: Likewise.
17370 * argp/Makefile: Likewise.
17371 * inet/Makefile: Likewise.
17372 * hesiod/Makefile: Likewise.
17373 * grp/Makefile: Likewise.
17374 * csu/Makefile: Likewise.
17375 * wctype/Makefile: Likewise.
17376 * crypt/Makefile: Likewise.
17377 * libio/Makefile: Likewise.
17378 * string/Makefile: Likewise.
17379 * nis/Makefile: Likewise.
17380 * resolv/Makefile: Likewise.
17381 * stdio-common/Makefile: Likewise.
17382 * wcsmbs/Makefile: Likewise.
17383 * dlfcn/Makefile: Likewise.
17384 * posix/Makefile: Likewise.
17385
3b7c4e74 17386 [BZ #6959]
482ff4da
UD
17387 * timezone/Makefile: Don't install timezone files, just the programs
17388 and scripts.
17389
f72ed77d
UD
173902012-03-06 Ulrich Drepper <drepper@gmail.com>
17391
a000466f
UD
17392 * nss/databases.def: Add missing gshadow entry.
17393
f72ed77d
UD
17394 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17395
a53b7a4e
MP
173962012-03-06 Marek Polacek <polacek@redhat.com>
17397
17398 [BZ #13726]
17399 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17400 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17401 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17402 * stdio-common/tst-long-dbl-fphex.c: New file.
17403
e9258400
DM
174042012-03-06 David S. Miller <davem@davemloft.net>
17405
17406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17407 (set_obp_int): New function.
17408 (get_obp_int): New function.
17409 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17411 Avoid unused variable warnings on 'val' and use builtin_expect.
17412 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17413 __builtin_expect.
e9258400
DM
17414 (INLINE_CLONE_SYSCALL): Likewise.
17415
3bd2c723
DM
174162012-03-05 David S. Miller <davem@davemloft.net>
17417
17418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17419
bbb78d03
AS
174202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17421
884c5db4
AS
17422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17423
bbb78d03
AS
17424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17425 only for |x| >= 40.
17426 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17427
1c9f702a 174282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17429
17430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17431 Replace gettimeofday with __vdso_gettimeofday.
17432
7be16f82
RM
17433 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17434 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17435 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17436
17437 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17438 time with __vdso_time.
17439
ed58a00f
JM
174402012-03-05 Joseph Myers <joseph@codesourcery.com>
17441
17442 * manual/lang.texi (size_t): Note types to which size_t may be
17443 equivalent with the GNU C Library, but do not describe when
17444 differences between them are significant.
17445
30ee4ced
AJ
174462012-03-05 Andreas Jaeger <aj@suse.de>
17447
17448 * sysdeps/i386/fpu/libm-test-ulps: Update.
17449
b7cd39e8
JM
174502012-03-05 Joseph Myers <joseph@codesourcery.com>
17451
17452 [BZ #3976]
17453 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17454 (__ieee754_pow): Save and restore rounding mode and use
17455 round-to-nearest for main computations.
17456 * math/libm-test.inc (pow_test_tonearest): New function.
17457 (pow_test_towardzero): Likewise.
17458 (pow_test_downward): Likewise.
17459 (pow_test_upward): Likewise.
17460 (main): Call the new functions.
17461 * sysdeps/i386/fpu/libm-test-ulps: Update.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17463
17464 [BZ #3976]
17465 * math/libm-test.inc (cosh_test_tonearest): New function.
17466 (cosh_test_towardzero): Likewise.
17467 (cosh_test_downward): Likewise.
17468 (cosh_test_upward): Likewise.
17469 (sinh_test_tonearest): Likewise.
17470 (sinh_test_towardzero): Likewise.
17471 (sinh_test_downward): Likewise.
17472 (sinh_test_upward): Likewise.
17473 (main): Call the new functions.
17474 * sysdeps/i386/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17476
6c6a98c9
TV
174772012-03-05 Tom de Vries <tom@codesourcery.com>
17478
17479 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17480 default stack guard is set in last bytes.
17481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17482
21bb2d2e 174832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17484
21bb2d2e 17485 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17486
21bb2d2e
AJ
17487 [BZ #13656]
17488 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17489 possibly allocate from heap instead of stack.
17490 * stdio-common/bug-vfprintf-nargs.c: New file.
17491 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17492
c6922934
AS
174932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17494
17495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17496
bc957d53
MP
174972012-03-03 Marek Polacek <polacek@redhat.com>
17498
17499 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17500 * math/math_private.h: Likewise.
17501 * stdlib/tst-strtod.c: Likewise.
17502 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17503 * sysdeps/x86_64/bits/atomic.h: Likewise.
17504
6358490d
DM
175052012-03-02 David S. Miller <davem@davemloft.net>
17506
17507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17511 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17512 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17513 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17514 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17515
01ae168d
RM
175162012-03-02 Roland McGrath <roland@hack.frob.com>
17517
d9a17c07
RM
17518 [BZ #13792]
17519 * manual/examples/README: New file, says the example source files
17520 can be used under GPL>=2.
17521 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17522 line containing just "*/".
17523 * manual/examples/add.c: Add copyright header (GPL>=2).
17524 * manual/examples/argp-ex1.c: Likewise.
17525 * manual/examples/argp-ex2.c: Likewise.
17526 * manual/examples/argp-ex3.c: Likewise.
17527 * manual/examples/argp-ex4.c: Likewise.
17528 * manual/examples/atexit.c: Likewise.
17529 * manual/examples/db.c: Likewise.
17530 * manual/examples/dir.c: Likewise.
17531 * manual/examples/dir2.c: Likewise.
17532 * manual/examples/execinfo.c: Likewise.
17533 * manual/examples/filecli.c: Likewise.
17534 * manual/examples/filesrv.c: Likewise.
17535 * manual/examples/fmtmsgexpl.c: Likewise.
17536 * manual/examples/genpass.c: Likewise.
17537 * manual/examples/inetcli.c: Likewise.
17538 * manual/examples/inetsrv.c: Likewise.
17539 * manual/examples/isockad.c: Likewise.
17540 * manual/examples/longopt.c: Likewise.
17541 * manual/examples/memopen.c: Likewise.
17542 * manual/examples/memstrm.c: Likewise.
17543 * manual/examples/mkfsock.c: Likewise.
17544 * manual/examples/mkisock.c: Likewise.
17545 * manual/examples/mygetpass.c: Likewise.
17546 * manual/examples/pipe.c: Likewise.
17547 * manual/examples/popen.c: Likewise.
17548 * manual/examples/rprintf.c: Likewise.
17549 * manual/examples/search.c: Likewise.
17550 * manual/examples/select.c: Likewise.
17551 * manual/examples/setjmp.c: Likewise.
17552 * manual/examples/sigh1.c: Likewise.
17553 * manual/examples/sigusr.c: Likewise.
17554 * manual/examples/stpcpy.c: Likewise.
17555 * manual/examples/strdupa.c: Likewise.
17556 * manual/examples/strftim.c: Likewise.
17557 * manual/examples/strncat.c: Likewise.
17558 * manual/examples/subopt.c: Likewise.
17559 * manual/examples/swapcontext.c: Likewise.
17560 * manual/examples/termios.c: Likewise.
17561 * manual/examples/testopt.c: Likewise.
17562 * manual/examples/testpass.c: Likewise.
17563 * manual/examples/timeval_subtract.c: Likewise.
17564
01ae168d
RM
17565 [BZ #13792]
17566 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17567 function to ...
17568 * manual/timeval_subtract.c.texi: ... here, new file.
17569
49efa33d
DM
175702012-03-02 David S. Miller <davem@davemloft.net>
17571
17572 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17573
28afd92d
JM
175742012-03-02 Joseph Myers <joseph@codesourcery.com>
17575
804360ed
JM
17576 [BZ #3976]
17577 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17578 (__sin): Save and restore rounding mode and use round-to-nearest
17579 for all computations.
17580 (__cos): Save and restore rounding mode and use round-to-nearest
17581 for all computations.
17582 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17583 <fenv.h>.
17584 (tan): Save and restore rounding mode and use round-to-nearest for
17585 all computations.
17586 * math/libm-test.inc (cos_test_tonearest): New function.
17587 (cos_test_towardzero): Likewise.
17588 (cos_test_downward): Likewise.
17589 (cos_test_upward): Likewise.
17590 (sin_test_tonearest): Likewise.
17591 (sin_test_towardzero): Likewise.
17592 (sin_test_downward): Likewise.
17593 (sin_test_upward): Likewise.
17594 (tan_test_tonearest): Likewise.
17595 (tan_test_towardzero): Likewise.
17596 (tan_test_downward): Likewise.
17597 (tan_test_upward): Likewise.
17598 (main): Call the new functions.
17599 * sysdeps/i386/fpu/libm-test-ulps: Update.
17600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17601
a6d06d7b
JM
17602 [BZ #10135]
17603 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17604 small n, then large n, before computing and testing k+n.
17605 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17607 Likewise.
17608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17609 Likewise.
17610 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17611 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17617 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17618 * math/libm-test.inc (scalbn_test): Add more tests.
17619 (scalbln_test): Likewise.
17620
07e12bb3
JM
17621 * manual/filesys.texi (mode_t): Describe constraints on size and
17622 signedness, not exact equivalence to a particular type.
17623 (ino_t): Likewise.
17624 (ino64_t): Likewise.
17625 (dev_t): Likewise.
17626 (nlink_t): Likewise.
17627 (blkcnt_t): Likewise.
17628 (blkcnt64_t): Likewise.
17629 * manual/llio.texi (off_t): Likewise.
17630
28afd92d
JM
17631 [BZ #3976]
17632 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17633 (__ieee754_exp): Save and restore rounding mode and use
17634 round-to-nearest for all computations.
17635 * math/libm-test.inc (exp_test_tonearest): New function.
17636 (exp_test_towardzero): Likewise.
17637 (exp_test_downward): Likewise.
17638 (exp_test_upward): Likewise.
17639 (main): Call the new functions.
17640 * sysdeps/i386/fpu/libm-test-ulps: Update.
17641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17642
b1eeb65d
CD
176432012-03-01 Chris Demetriou <cgd@google.com>
17644
17645 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17646 have predictable order.
17647
53362a4b
DM
176482012-03-01 David S. Miller <davem@davemloft.net>
17649
3c969083
DM
17650 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17651
759707de
DM
17652 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17653 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17654 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17655 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17656
dfdb8ff2
DM
17657 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17658 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17659 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17661 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17662 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17664 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17665 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17666
ead89f96
DM
17667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17668
7f66bd07
DM
17669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17670 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17671 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17672
53362a4b
DM
17673 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17674 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17675 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17676 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17677 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17680 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17681 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17682 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17683 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17684 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17686 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17689 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17690 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17691 * sysdeps/sparc/elf/configure: Regenerated.
17692
7b1902cb
JM
176932012-03-01 Joseph Myers <joseph@codesourcery.com>
17694
bec039bc
JM
17695 * configure.in (AS, LD): Require binutils 2.20 or later.
17696 * configure: Regenerated.
17697 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17698 as required minimum version.
17699 * INSTALL: Regenerated.
17700
7b1902cb
JM
17701 [BZ #2541]
17702 [BZ #4108]
17703 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17704 before squaring exponent.
17705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17706 bottom long double and 27 bits of top long double before squaring
17707 exponent.
17708 * math/libm-test.inc (erfc_test): Add more tests.
17709 * sysdeps/i386/fpu/libm-test-ulps: Update.
17710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17712
f775c276
KT
177132012-03-01 Kai Tietz <ktietz@redhat.com>
17714
17715 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17716 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17717 containing bit-fields.
17718 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17719 * soft-fp/single.h (_FP_UNION_S): Likewise.
17720 * soft-fp/double.h (_FP_UNION_D): Likewise.
17721
5b8a4d4a
JM
177222012-02-29 Joseph Myers <joseph@codesourcery.com>
17723
0bab47b6
JM
17724 [BZ #13786]
17725 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17726 not include ../strcmp.S.
17727 [USE_AS_STRNCASECMP_L]: Likewise.
17728 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17729 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17730 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17731 (__strncasecmp_l_ia32): Define as alias to
17732 __strncasecmp_l_nonascii.
17733
0fcad3e2
JM
17734 [BZ #5794]
17735 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17736 * sysdeps/i386/fpu/libm-test-ulps: Update.
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17738
5b8a4d4a
JM
17739 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17741
8fdceb2e
JL
177422012-02-29 Jeff Law <law@redhat.com>
17743
17744 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17745 out of bounds read.
17746
1f393a11
MP
177472012-02-29 Marek Polacek <polacek@redhat.com>
17748
17749 [BZ #13706]
17750 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17751 * elf/Makefile: Add rules to run tst-unused-dep.out.
17752
8847f037
DM
177532012-02-28 David S. Miller <davem@davemloft.net>
17754
17755 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17756 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17759 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17760 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17761
169d7f11
JM
177622012-02-29 Joseph Myers <joseph@codesourcery.com>
17763
17764 * math/libm-test.inc (llround_test): Move one test from
17765 lround_test. Use TEST_f_L in moved test.
17766 (lround_test): Move misplaced test to llround_test. Add testcase
17767 from bug 2561.
17768
39adf059
UD
177692012-02-28 Ulrich Drepper <drepper@gmail.com>
17770
17771 * sysdeps/x86_64/fpu/e_expf.S: New file.
17772 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17773
71b5d1c5
SB
177742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17775
17776 [BZ #13637]
17777 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17778 of remain_len that may cause incomplete multi-byte character and
17779 false match.
17780 * posix/bug-regex33.c: New file.
17781 * posix/Makefile (tests): Add bug-regex33.
17782
1f77f049
JM
177832012-02-28 Joseph Myers <joseph@codesourcery.com>
17784
17785 * manual/macros.texi: New file.
17786 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17787 * manual/libc.texinfo: Include macros.texi.
17788 * manual/creatute.texi: Likewise.
17789 * manual/install.texi: Likewise.
17790 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17791 @glibcadj{} in references to the GNU C Library.
17792 * manual/charset.texi: Likewise.
17793 * manual/conf.texi: Likewise.
17794 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17795 when not using those macros.
17796 * manual/creature.texi: Likewise.
17797 * manual/crypt.texi: Likewise.
17798 * manual/errno.texi: Likewise.
17799 * manual/filesys.texi: Likewise.
17800 * manual/header.texi: Likewise.
17801 * manual/install.texi: Likewise.
17802 * manual/intro.texi: Likewise.
17803 * manual/io.texi: Likewise.
17804 * manual/job.texi: Likewise.
17805 * manual/lang.texi: Likewise.
17806 * manual/libc.texiinfo: Likewise.
17807 * manual/llio.texi: Likewise.
17808 * manual/locale.texi: Likewise.
17809 * manual/maint.texi: Likewise.
17810 * manual/math.texi: Likewise.
17811 * manual/memory.texi: Likewise.
17812 * manual/message.texi: Likewise.
17813 * manual/nss.texi: Likewise.
17814 * manual/pattern.texi: Likewise.
17815 * manual/process.texi: Likewise.
17816 * manual/resource.texi: Likewise.
17817 * manual/search.texi: Likewise.
17818 * manual/setjmp.texi: Likewise.
17819 * manual/signal.texi: Likewise.
17820 * manual/socket.texi: Likewise.
17821 * manual/startup.texi: Likewise.
17822 * manual/stdio.texi: Likewise.
17823 * manual/string.texi: Likewise.
17824 * manual/sysinfo.texi: Likewise.
17825 * manual/syslog.texi: Likewise.
17826 * manual/terminal.texi: Likewise.
17827 * manual/time.texi: Likewise.
17828 * manual/users.texi: Likewise.
17829 * INSTALL: Regenerated.
17830 * NOTES: Regenerated.
d40c5d54 17831 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17832
450bf206
AS
178332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17834
17835 * include/dirent.h: Include <dirstream.h> before
17836 <dirent/dirent.h>.
17837
741a235b
DM
178382012-02-28 David S. Miller <davem@davemloft.net>
17839
17840 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17841 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17842 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17843 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17844
d6b5aa58
DM
178452012-02-27 David S. Miller <davem@davemloft.net>
17846
1aff59a3
DM
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17849 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17851
d6b5aa58
DM
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17853 frame pointer instead of stack pointer relative arg slot.
17854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17855 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17856 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17857
433f48bf
CD
178582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17859
17860 [BZ #3992]
17861 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17862
d674b76d
DM
178632012-02-27 David S. Miller <davem@davemloft.net>
17864
17865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17869 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17870 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17871 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17872 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17873
0e7727f7
JM
178742012-02-27 Joseph Myers <joseph@codesourcery.com>
17875
17876 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17877 later. Allow versions 5-9.
43be4ca2 17878 * configure: Regenerated.
0e7727f7
JM
17879 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17880 required minimum version and 4.6 as recommended version. Do not
17881 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17882 * INSTALL: Regenerated.
0e7727f7 17883
a78bc654
DM
178842012-02-27 David S. Miller <davem@davemloft.net>
17885
428d5830
DM
17886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17890 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17891 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17892 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17893 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17894
a78bc654
DM
17895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17896 manipulate bits before adding and subtracting TWO112[sx].
17897 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17898
4579f81c
RM
178992012-02-27 Roland McGrath <roland@hack.frob.com>
17900
36c8acb4
RM
17901 [BZ #13775]
17902 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17903 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17904 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17905 being in POSIX, because they are in 1003.1-2008.
17906
84ad622b
RM
17907 * rt/tst-aio.c: Include <fcntl.h>.
17908 * rt/tst-aio7.c: Likewise.
17909 * rt/tst-aio64.c: Likewise.
17910
4579f81c
RM
17911 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17912
abd923db
JM
179132012-02-27 Joseph Myers <joseph@codesourcery.com>
17914
17915 * manual/install.texi (--with-headers): Describe headers as
17916 interface headers, not private headers.
17917 (Specific advice for GNU/Linux systems): Describe use of headers
17918 from "make headers_install", not private headers from older
17919 kernels.
43be4ca2 17920 * INSTALL: Regenerated.
abd923db
JM
17921 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17922 Change to 2.6.19.
17923 * sysdeps/unix/sysv/linux/configure: Regenerated.
17924
6664049b
JM
17925 * manual/llio.texi (fclean): Remove documentation.
17926
bb8b6697
JM
17927 * manual/Makefile (libc-texi-generated): New variable. Include
17928 version.texi.
17929 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17930 $(libc-texi-generated), not duplicated list of files.
17931 (version.texi, stamp-version): New rules.
17932 (realclean): Remove $(libc-texi-generated), not individual files
17933 from that list. Do not remove dir-add.texinfo.
17934 * manual/libc.texinfo: Comment out uses of edition numbers and
17935 references to printed manual. Remove last-updated dates.
17936 (EDITION): Comment out.
17937 (ISBN): Likewise.
17938 (VERSION, UPDATED): Remove.
17939 (version.texi): Include.
17940
12e5c3b9
AS
179412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17942
17943 * sysdeps/posix/spawni.c: Include <signal.h>.
17944 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17945 * sysdeps/pthread/aio_fsync.c: Likewise.
17946
4efeffc1 179472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17948
ba63ba08
UD
17949 * conform/Makefile (tests): Run only when not cross-compiling and
17950 when fast-check is not defined.
17951
d94a4670
UD
17952 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17953 * conform/data/limits.h-data: Fixes for POSIX2008.
17954 * conform/run-conformtest.sh: Run all tests.
17955 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17956 headers.
17957 * include/bits/dlfcn.h: Likewise.
17958 * include/langinfo.h: Likewise.
17959 * include/monetary.h: Likewise.
17960 * include/sys/poll.h: Likewise.
17961
17962 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17963 for __USE_GNU.
17964 * posix/spawn.h: Define __need_sigset_t.
17965 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17966 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17967 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17968 to get sigevent_t only.
17969 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17970 only for __USE_GNU.
17971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17972 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17973 process_vm_writev only for __USE_GNU.
17974 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17975
17976 * conform/Makefile: For now ignore errors from run-conformtest.
17977 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17978 POSIX to avoid namespace pollution. Don't prepend headers.
17979 * conform/data/aio.h-data: Fixes for POSIX testing.
17980 * conform/data/fcntl.h-data: Likewise.
17981 * conform/data/glob.h-data: Likewise.
17982 * conform/data/grp.h-data: Likewise.
17983 * conform/data/pthread.h-data: Likewise.
17984 * conform/data/pwd.h-data: Likewise.
17985 * conform/data/signal.h-data: Likewise.
17986 * conform/data/spawn.h-data: Likewise.
17987 * conform/data/stdio.h-data: Likewise.
17988 * conform/data/stdlib.h-data: Likewise.
17989 * conform/data/stropts.h-data: Likewise.
17990 * conform/data/sys/mman.h-data: Likewise.
17991 * conform/data/sys/stat.h-data: Likewise.
17992 * conform/data/sys/types.h-data: Likewise.
17993 * conform/data/sys/wait.h-data: Likewise.
17994 * conform/data/time.h-data: Likewise.
17995 * conform/data/unistd.h-data: Likewise.
17996 * conform/data/utime.h-data: Likewise.
17997
17998 * io/sys/stat.h: fchmod was always in POSIX.
17999 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18000 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18001 * rt/aio.h: Define __need_timespec before including <time.h>.
18002 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18003 struct. Add forward declaration of pthread_attr_t and use it in
18004 sigevent.
18005 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18007 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18008 always remove CLK_TCK definition.
18009
c20105c3
AS
180102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18011
18012 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18013
7a270350
UD
180142012-02-25 Ulrich Drepper <drepper@gmail.com>
18015
31341567
UD
18016 * conform/run-conformtest.sh: New file.
18017 * conform/Makefile: Run run-conformtest for tests.
18018 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18019 support.
18020
18021 * conform/data/uchar.h-data: New file.
18022 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18023 * conform/data/arpa/inet.h-data: Likewise.
18024 * conform/data/assert.h-data: Likewise.
18025 * conform/data/complex.h-data: Likewise.
18026 * conform/data/cpio.h-data: Likewise.
18027 * conform/data/ctype.h-data: Likewise.
18028 * conform/data/dirent.h-data: Likewise.
18029 * conform/data/dlfcn.h-data: Likewise.
18030 * conform/data/errno.h-data: Likewise.
18031 * conform/data/fcntl.h-data: Likewise.
18032 * conform/data/float.h-data: Likewise.
18033 * conform/data/fmtmsg.h-data: Likewise.
18034 * conform/data/fnmatch.h-data: Likewise.
18035 * conform/data/ftw.h-data: Likewise.
18036 * conform/data/glob.h-data: Likewise.
18037 * conform/data/grp.h-data: Likewise.
18038 * conform/data/iconv.h-data: Likewise.
18039 * conform/data/inttypes.h-data: Likewise.
18040 * conform/data/langinfo.h-data: Likewise.
18041 * conform/data/libgen.h-data: Likewise.
18042 * conform/data/limits.h-data: Likewise.
18043 * conform/data/locale.h-data: Likewise.
18044 * conform/data/math.h-data: Likewise.
18045 * conform/data/monetary.h-data: Likewise.
18046 * conform/data/mqueue.h-data: Likewise.
18047 * conform/data/ndbm.h-data: Likewise.
18048 * conform/data/net/if.h-data: Likewise.
18049 * conform/data/netdb.h-data: Likewise.
18050 * conform/data/netinet/in.h-data: Likewise.
18051 * conform/data/nl_types.h-data: Likewise.
18052 * conform/data/poll.h-data: Likewise.
18053 * conform/data/pthread.h-data: Likewise.
18054 * conform/data/pwd.h-data: Likewise.
18055 * conform/data/regex.h-data: Likewise.
18056 * conform/data/sched.h-data: Likewise.
18057 * conform/data/search.h-data: Likewise.
18058 * conform/data/semaphore.h-data: Likewise.
18059 * conform/data/setjmp.h-data: Likewise.
18060 * conform/data/signal.h-data: Likewise.
18061 * conform/data/spawn.h-data: Likewise.
18062 * conform/data/stdarg.h-data: Likewise.
18063 * conform/data/stdio.h-data: Likewise.
18064 * conform/data/stdlib.h-data: Likewise.
18065 * conform/data/string.h-data: Likewise.
18066 * conform/data/strings.h-data: Likewise.
18067 * conform/data/stropts.h-data: Likewise.
18068 * conform/data/sys/ipc.h-data: Likewise.
18069 * conform/data/sys/mman.h-data: Likewise.
18070 * conform/data/sys/msg.h-data: Likewise.
18071 * conform/data/sys/resource.h-data: Likewise.
18072 * conform/data/sys/select.h-data: Likewise.
18073 * conform/data/sys/sem.h-data: Likewise.
18074 * conform/data/sys/shm.h-data: Likewise.
18075 * conform/data/sys/socket.h-data: Likewise.
18076 * conform/data/sys/stat.h-data: Likewise.
18077 * conform/data/sys/statvfs.h-data: Likewise.
18078 * conform/data/sys/time.h-data: Likewise.
18079 * conform/data/sys/timeb.h-data: Likewise.
18080 * conform/data/sys/times.h-data: Likewise.
18081 * conform/data/sys/types.h-data: Likewise.
18082 * conform/data/sys/uio.h-data: Likewise.
18083 * conform/data/sys/un.h-data: Likewise.
18084 * conform/data/sys/utsname.h-data: Likewise.
18085 * conform/data/sys/wait.h-data: Likewise.
18086 * conform/data/syslog.h-data: Likewise.
18087 * conform/data/tar.h-data: Likewise.
18088 * conform/data/termios.h-data: Likewise.
18089 * conform/data/utime.h-data: Likewise.
18090 * conform/data/utmpx.h-data: Likewise.
18091 * conform/data/varargs.h-data: Likewise.
18092 * conform/data/wchar.h-data: Likewise.
18093 * conform/data/wctype.h-data: Likewise.
18094 * conform/data/wordexp.h-data: Likewise.
18095
18096 * include/stropts.h: New file.
18097 * include/uchar.h: New file.
18098 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18099 * include/assert.h: Likewise.
18100 * include/ctype.h: Likewise.
18101 * include/dirent.h: Likewise.
18102 * include/dlfcn.h: Likewise.
18103 * include/fcntl.h: Likewise.
18104 * include/fnmatch.h: Likewise.
18105 * include/glob.h: Likewise.
18106 * include/grp.h: Likewise.
18107 * include/libio.h: Likewise.
18108 * include/locale.h: Likewise.
18109 * include/math.h: Likewise.
18110 * include/net/if.h: Likewise.
18111 * include/netdb.h: Likewise.
18112 * include/netinet/in.h: Likewise.
18113 * include/pthread.h: Likewise.
18114 * include/pwd.h: Likewise.
18115 * include/regex.h: Likewise.
18116 * include/sched.h: Likewise.
18117 * include/search.h: Likewise.
18118 * include/setjmp.h: Likewise.
18119 * include/signal.h: Likewise.
18120 * include/stdio.h: Likewise.
18121 * include/stdlib.h: Likewise.
18122 * include/string.h: Likewise.
18123 * include/sys/cdefs.h: Likewise.
18124 * include/sys/mman.h: Likewise.
18125 * include/sys/msg.h: Likewise.
18126 * include/sys/resource.h: Likewise.
18127 * include/sys/select.h: Likewise.
18128 * include/sys/socket.h: Likewise.
18129 * include/sys/stat.h: Likewise.
18130 * include/sys/statvfs.h: Likewise.
18131 * include/sys/time.h: Likewise.
18132 * include/sys/times.h: Likewise.
18133 * include/sys/uio.h: Likewise.
18134 * include/sys/utsname.h: Likewise.
18135 * include/sys/wait.h: Likewise.
18136 * include/termios.h: Likewise.
18137 * include/time.h: Likewise.
18138 * include/ulimit.h: Likewise.
18139 * include/unistd.h: Likewise.
18140 * include/utime.h: Likewise.
18141 * include/wchar.h: Likewise.
18142 * include/wctype.h: Likewise.
18143 * include/wordexp.h: Likewise.
18144
18145 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18146
7a270350
UD
18147 * time/time.h: TIME_UTC must be a macro.
18148 Make timespec_get available for ISO C11 only as well.
18149
7724defc
UD
181502012-02-24 Ulrich Drepper <drepper@gmail.com>
18151
18152 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18153 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18154
6b1d1d46
JM
181552012-02-24 Joseph Myers <joseph@codesourcery.com>
18156
18157 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18158
0f8bbd69
JM
181592012-02-24 Joseph Myers <joseph@codesourcery.com>
18160
18161 * manual/texinfo.tex: Update to version 2012-01-19.16.
18162
66ab80bc
JM
181632012-02-24 Joseph Myers <joseph@codesourcery.com>
18164
18165 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18166
74981cc5
RM
181672012-02-24 Roland McGrath <roland@hack.frob.com>
18168
ee968201
RM
18169 [BZ #13738]
18170 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18171 * manual/fdl-1.3.texi: New file.
18172 * manual/fdl-1.1.texi: File removed.
18173
74981cc5
RM
18174 [BZ #13738]
18175 * manual/libc.texinfo (FDL_VERSION): New @set.
18176 Use it for mention of FDL in cover text.
18177 (Documentation License): Use it in @include file name.
18178
7bb764bc
JM
181792012-02-22 Joseph Myers <joseph@codesourcery.com>
18180 Roland McGrath <roland@hack.frob.com>
18181
18182 [BZ #5461]
18183 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18184 not LONG_LONG_MAX and LONG_LONG_MIN.
18185 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18186 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18187 name.
18188 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18189
6cbeae47
JM
181902012-02-22 Joseph Myers <joseph@codesourcery.com>
18191
18192 [BZ #2547]
18193 [BZ #11365]
18194 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18195 manipulate bits before adding and subtracting TWO23[sx].
18196 * math/libm-test.inc (nearbyint_test): Add more tests.
18197
fe45ce09
JM
181982012-02-22 Joseph Myers <joseph@codesourcery.com>
18199
18200 [BZ #2548]
18201 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18202 bits before adding and subtracting TWO23[sx].
18203 * math/libm-test.inc (rint_test): Add more tests.
18204 (rint_test_tonearest): Likewise.
18205 (rint_test_towardzero): Likewise.
18206 (rint_test_downward): Likewise.
18207 (rint_test_upward: Likewise.
18208
ff3b3d82
JM
182092012-02-22 Joseph Myers <joseph@codesourcery.com>
18210
18211 [BZ #10110]
18212 * include/stdc-predef.h: New file. Extracted from features.h.
18213 * include/features.h: Include stdc-predef.h.
18214 * Makefile (headers): Add stdc-predef.h.
18215 * CONFORMANCE (Compiler limitations): Update.
18216
ef0aab35
JM
182172012-02-22 Joseph Myers <joseph@codesourcery.com>
18218
18219 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18220
58639409
DM
182212012-02-21 David S. Miller <davem@davemloft.net>
18222
18223 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18224 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18225
c0e70b25
DM
182262012-02-20 David S. Miller <davem@davemloft.net>
18227
18228 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18229 using a normal save/restore sequence, rather than allocating a
18230 dummy stack frame just to store a frame pointer and restore.
18231 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18232
fb06851d
JM
182332012-02-21 Joseph Myers <joseph@codesourcery.com>
18234
18235 * manual/install.texi: Fix stray word in line-wrapped comment.
18236
7a8b71c3
DM
182372012-02-20 David S. Miller <davem@davemloft.net>
18238
d510c123
DM
18239 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18240 both binutils and gcc support GOTDATA.
18241
0722d7c2
DM
18242 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18243 "rd %pc" in the PIC register setup sequences.
18244
3d2b3019
DM
18245 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18246 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18247 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18248 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18249 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18251 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18254 (SYSCALL_ERROR_HANDLER): Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18256 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18258 (SYSCALL_ERROR_HANDLER): Likewise.
18259
c80098a9
DM
18260 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18261 (HAVE_GCC_GOTDATA): New.
18262 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18263 relocation support in both binutils and gcc.
18264 * sysdeps/sparc/elf/configure: Regenerate.
18265
3a2545a0
DM
18266 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18267 * sysdeps/sparc/sparc32/elf/configure: Delete.
18268 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18269 * sysdeps/sparc/sparc64/elf/configure: Delete.
18270 * sysdeps/sparc/elf/configure.in: New file.
18271 * sysdeps/sparc/elf/configure: Generate.
18272
7a8b71c3
DM
18273 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18274 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18275 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18276 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18277 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18278
f1e86fca
JM
182792012-02-21 Joseph Myers <joseph@codesourcery.com>
18280
18281 * manual/install.texi: Do not mention specific glibc version
18282 numbers.
18283 * manual/libc.texinfo (VERSION, UPDATED): Update.
18284 (@copying): Use @copyright{} and range of years.
18285
0e7dfaef
JM
182862012-02-21 Joseph Myers <joseph@codesourcery.com>
18287
18288 [BZ #13695]
18289 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18290 [crti.S not in sysdirs] (generated): Do not append.
18291 [crti.S not in sysdirs] (omit-deps): Likewise.
18292 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18293 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18294 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18295 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18296 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18297 Likewise.
18298 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18299 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18300 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18301 * csu/defs.awk: Remove file.
18302 * sysdeps/generic/initfini.c: Likewise.
18303 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18304 variable.
18305 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18306 Likewise.
18307
599af3ca
JM
183082012-02-20 Joseph Myers <joseph@codesourcery.com>
18309
18310 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18311 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18312 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18315 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18316 <bits/epoll.h>.
18317 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18318 (__EPOLL_PACKED): Define to empty if not defined by
18319 <bits/epoll.h>.
18320 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18322 bits/epoll.h.
18323
0e499750
JM
183242012-02-20 Joseph Myers <joseph@codesourcery.com>
18325
18326 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18327 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18329 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18330 <bits/timerfd.h>.
18331 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18333 bits/timerfd.h.
18334
5ad91f6e
JM
183352012-02-20 Joseph Myers <joseph@codesourcery.com>
18336
18337 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18338 in C locale.
18339 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18340 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18341 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18343
06b99b02
AJ
183442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18345
18346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18348
7638c0fd
AS
183492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18350
18351 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18352 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18353 defined.
18354 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18355 Likewise.
18356 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18357 entry for 2.16.
18358
92221550
AJ
183592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18360
18361 * math/w_acos.c: Use non-signaling floating-point comparisons.
18362 * math/w_acosf.c: Likewise.
18363 * math/w_acosh.c: Likewise.
18364 * math/w_acoshf.c: Likewise.
18365 * math/w_acoshl.c: Likewise.
18366 * math/w_acosl.c: Likewise.
18367 * math/w_asin.c: Likewise.
18368 * math/w_asinf.c: Likewise.
18369 * math/w_asinl.c: Likewise.
18370 * math/w_atanh.c: Likewise.
18371 * math/w_atanhf.c: Likewise.
18372 * math/w_atanhl.c: Likewise.
18373 * math/w_exp2.c: Likewise.
18374 * math/w_exp2f.c: Likewise.
18375 * math/w_exp2l.c: Likewise.
18376 * math/w_j0.c: Likewise.
18377 * math/w_j0f.c: Likewise.
18378 * math/w_j0l.c: Likewise.
18379 * math/w_j1.c: Likewise.
18380 * math/w_j1f.c: Likewise.
18381 * math/w_j1l.c: Likewise.
18382 * math/w_jn.c: Likewise.
18383 * math/w_jnf.c: Likewise.
18384 * math/w_log.c: Likewise.
18385 * math/w_log10.c: Likewise.
18386 * math/w_log10f.c: Likewise.
18387 * math/w_log10l.c: Likewise.
18388 * math/w_log2.c: Likewise.
18389 * math/w_log2f.c: Likewise.
18390 * math/w_log2l.c: Likewise.
18391 * math/w_logf.c: Likewise.
18392 * math/w_logl.c: Likewise.
18393 * math/w_sqrt.c: Likewise.
18394 * math/w_sqrtf.c: Likewise.
18395 * math/w_sqrtl.c: Likewise.
18396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18397 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18399 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18401
ebaf36eb
JM
184022012-02-19 Joseph Myers <joseph@codesourcery.com>
18403
18404 [BZ #9739]
18405 * manual/string.texi (strnlen): Use correct parameter name in
18406 equivalent expression.
18407
71c254a6
JM
184082012-02-19 Joseph Myers <joseph@codesourcery.com>
18409
18410 [BZ #11174]
18411 * manual/users.texi (seteuid): Consistently use neweuid for
18412 argument name.
18413
16d2c631
JM
184142012-02-19 Joseph Myers <joseph@codesourcery.com>
18415
18416 [BZ #13704]
18417 * manual/nss.texi (Services in the NSS configuration): Correct
18418 list of services in example configuration file.
18419
cd837b09
NB
184202012-02-19 Nick Bowler <nbowler@draconx.ca>
18421
18422 [BZ #11322]
18423 * manual/arith.texi: Remove statements about negative zero
18424 behaving identically to zero.
18425
02c4bbad
JM
184262012-02-18 Joseph Myers <joseph@codesourcery.com>
18427
18428 [BZ #5993]
18429 * manual/install.texi: Do not document upgrading from libc5.
18430
366842e7
JM
184312012-02-18 Joseph Myers <joseph@codesourcery.com>
18432
18433 [BZ #4596]
18434 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18435
dd54084d
DM
184362012-02-18 David S. Miller <davem@davemloft.net>
18437
18438 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18439 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18440 %o7 across the call.
18441 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18442 instead.
18443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18444 SETUP_PIC_REG_LEAF.
18445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18446 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18447 * sysdeps/sparc/crtn.S: Likewise.
18448
2bcc53a3
UD
184492012-02-17 Ulrich Drepper <drepper@gmail.com>
18450
18451 * aout/Makefile: Remove.
18452
09c093b5
RK
184532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18454
18455 [BZ #13058]
18456 * manual/examples/argp-ex1.c (main): Format definition in GNU
18457 style.
18458 * manual/examples/argp-ex2.c (main): Likewise.
18459 * manual/examples/argp-ex3.c (main): Likewise.
18460 * manual/examples/argp-ex4.c (main): Likewise.
18461 * manual/examples/longopt.c (main): Use new-style prototype
18462 definition.
18463 * manual/examples/strncat.c (main): Specify return type and use
18464 (void) for arguments.
18465 * manual/examples/subopt.c (main): Use char **argv argument.
18466
2ee633a2
JM
184672012-02-17 Joseph Myers <joseph@codesourcery.com>
18468
18469 [BZ #5077]
18470 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18471 rounding modes.
18472
0520adde
FB
184732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18474
18475 [BZ #6907]
18476 * manual/string.texi (strchr): Change when strchrnul is
18477 recommended.
18478
3f4081cd
DGM
184792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18480
18481 [BZ #174]
18482 * manual/locale.texi (setlocale): Document LOCPATH.
18483
d1b10e78
JM
184842012-02-17 Joseph Myers <joseph@codesourcery.com>
18485
18486 [BZ #10210]
18487 * manual/process.texi (execle): Move @dots{} before last argument.
18488
79c6869c
PB
184892012-02-17 Paul Bolle <pebolle@tiscali.nl>
18490
18491 [BZ #12047]
18492 * manual/charset.texi (Generic Charset Conversion): Fix typo
18493 (LC_TYPE -> LC_CTYPE).
18494
cc6e48bc
NB
184952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18496
18497 [BZ #5805]
18498 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18499 (scalbnf): Likewise.
18500 (scalbnl): Likewise.
18501 (scalbln): Likewise.
18502 (scalblnf): Likewise.
18503 (scalblnl): Likewise.
18504 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18505 (vwarnx): Likewise.
18506 (verr): Likewise.
18507 (verrx): Likewise.
18508 * manual/filesys.texi (telldir): Use braces around return type.
18509 * manual/llio.texi (mmap): Add space after comma.
18510 (mmap64): Likewise.
18511 * manual/math.texi (jn): Use @var{} on parameter names.
18512 (jnf): Likewise.
18513 (jnl): Likewise.
18514 (yn): Likewise.
18515 (ynf): Likewise.
18516 (ynl): Likewise.
18517 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18518 line.
18519 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18520 "...".
18521 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18522 (sched_get_priority_max): Likewise.
18523 * manual/signal.texi (sigvec): Add space after comma.
18524 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18525 names.
18526 (if_indextoname): Likewise.
18527 (if_freenameindex): Likewise.
18528 (sendto): Use ',' instead of '.' in prototype.
18529 * manual/startup.texi (syscall): Use @dots{} instead of literal
18530 "...".
18531 * manual/stdio.texi (__fpending): Separate initial words of
18532 paragraph from @deftypefun line.
18533 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18534 "...".
18535 (vsyslog): Use @var{} on parameter names.
18536 * manual/terminal.texi (stty): Use @var{} on parameter names.
18537 * manual/users.texi (getutmp): Use @var{} on parameter names.
18538 (getutmpx): Likewise.
18539
5b23062f
JM
185402012-02-17 Joseph Myers <joseph@codesourcery.com>
18541
18542 [BZ #6884]
18543 * manual/stdio.texi (fopen): Fix typos in description of
18544 ",ccs=STRING".
18545
8dee4833
AJ
185462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18547
18548 [BZ #4026]
18549 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18550 get clock_id definition.
18551
9078ce93
TS
185522012-02-17 Thomas Schwinge <thomas@schwinge.name>
18553
18554 [BZ #4822]
18555 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18556 (madvise): Cast every argument to void on its own.
18557
3835c55f
JM
185582012-02-17 Joseph Myers <joseph@codesourcery.com>
18559
18560 [BZ #9902]
18561 * manual/startup.texi (Exit Status): Fix typo.
18562
35c47e37
JM
185632012-02-17 Joseph Myers <joseph@codesourcery.com>
18564
18565 [BZ #10140]
18566 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18567 * manual/examples/argp-ex2.c: Likewise.
18568 * manual/examples/argp-ex3.c: Likewise.
18569
e3b69ca7
RH
185702012-02-16 Richard Henderson <rth@redhat.com>
18571
18572 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18573 * sysdeps/s390/s390-32/initfini.c: Remove.
18574 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18575 * sysdeps/s390/s390-64/initfini.c: Remove.
18576
df83af67
KK
185772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18578
18579 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18580 compiler output for sysdeps/generic/initfini.c.
18581 * sysdeps/sh/elf/initfini.c: Remove file.
18582
f63f3380
DM
185832012-02-16 David S. Miller <davem@davemloft.net>
18584
fb59b3a4
DM
18585 [BZ #11494]
18586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18587
f63f3380
DM
18588 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18589 * sysdeps/sparc/crti.S: New file.
18590 * sysdeps/sparc/crtn.S: New file.
18591 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18592 * sysdeps/sparc/sparc64/Makefile: Likewise.
18593
df6a4a4a
MF
185942012-02-15 Mike Frysinger <vapier@gentoo.org>
18595
6dd8f3dc 18596 [BZ #3335]
df6a4a4a
MF
18597 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18598
1cac7236
RM
185992012-02-15 Roland McGrath <roland@hack.frob.com>
18600
d2c736f8
RM
18601 [BZ #4822]
18602 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18603
1cac7236
RM
18604 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18605 (write, read, close): Likewise.
18606 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18607
8e475601
JM
186082012-02-15 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18611 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18612 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18613 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18614 <bits/signalfd.h>.
18615 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18617 bits/signalfd.h.
18618
ed656b40
MP
186192012-02-14 Marek Polacek <polacek@redhat.com>
18620
18621 * sysdeps/x86_64/crti.S: New file.
18622 * sysdeps/x86_64/crtn.S: New file.
18623 * sysdeps/x86_64/elf/initfini.c: Remove file.
18624
2a979d3a
JM
186252012-02-13 Joseph Myers <joseph@codesourcery.com>
18626
18627 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18628 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18630 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18631 <bits/inotify.h>.
18632 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18634 bits/inotify.h.
18635
2a418ac3
JM
186362012-02-13 Joseph Myers <joseph@codesourcery.com>
18637
18638 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18639 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18640 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18641 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18642 <bits/eventfd.h>.
18643 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18645 bits/eventfd.h.
18646
fb779be7
TS
186472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18648
e19e83c5
RM
18649 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18650 __feraiseexcept instead of feraiseexcept.
7c35ffed 18651
fb779be7
TS
18652 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18653 nanosleep invocations.
18654 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18655 strings, and add error checking for a nanosleep invocations.
18656
59ba27a6
PE
186572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18658
18659 Replace FSF snail mail address with URLs, as per GNU coding standards.
18660 Most of the snail mail addresses were wrong anyway, and omitting
18661 them makes the source code easier to maintain. Almost all of the
18662 changes are to license notices and to locale LC_IDENTIFICATION
18663 addresses, except for this one:
18664 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18665 not its snail mail address.
18666
57b957eb
RH
186672012-02-09 Richard Henderson <rth@twiddle.net>
18668
af850b1c
RH
18669 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18670 of kernel-features.h.
18671
57b957eb
RH
18672 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18673
6b73181a
MP
186742012-02-08 Marek Polacek <polacek@redhat.com>
18675
18676 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18677 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18678 * sysdeps/gnu/_G_config.h: Likewise.
18679 * sysdeps/generic/_G_config.h: Likewise.
18680
26ecc33a
AS
186812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18682
6c6dbc63
AS
18683 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18684 tests.
18685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18686
e216c012
AS
18687 * sysdeps/powerpc/powerpc32/crti.S: New file.
18688 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18689 * sysdeps/powerpc/powerpc64/crti.S: New file.
18690 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18691
26ecc33a
AS
18692 * Makeconfig (have-initfini): Don't set.
18693 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18694 * configure.in (nopic_initfini): Don't substitute.
18695 * config.h.in (HAVE_INITFINI): Don't #undef.
18696 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18697 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18698
3add8e13
JM
186992012-02-08 Joseph Myers <joseph@codesourcery.com>
18700
18701 Support crti.S and crtn.S provided directly by architectures.
18702 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18703 [crti.S in sysdirs] (omit-deps): Likewise.
18704 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18705 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18706 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18707 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18708 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18709 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18710 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18711 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18712 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18713 compiler output for sysdeps/generic/initfini.c.
18714 * sysdeps/i386/elf/Makefile: Remove file.
18715 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18716
a22f12b4
MP
187172012-02-07 Marek Polacek <polacek@redhat.com>
18718
18719 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18720 * sysdeps/gnu/_G_config.h: Likewise.
18721 * sysdeps/mach/hurd/_G_config.h: Likewise.
18722
148cf100
MP
187232012-02-07 Marek Polacek <polacek@redhat.com>
18724
18725 * math/Makefile (tests): Add tst-CMPLX2.
18726 * math/tst-CMPLX2.c: New file.
18727
cfdc0dd7
AS
187282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18729
84ba42c4
AS
18730 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18731
cfdc0dd7
AS
18732 * math/libm-test.inc (jn_test): Add missing L suffix.
18733
622c86f4
MP
187342012-02-06 Marek Polacek <polacek@redhat.com>
18735
18736 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18737 * sysdeps/i386/fpu/e_powf.S: Likewise.
18738 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18739 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18740 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18741 * sysdeps/i386/fpu/e_pow.S: Likewise.
18742 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18744 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18745 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18746 * sysdeps/i386/fpu/e_log2.S: Likewise.
18747 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18749 * sysdeps/i386/fpu/e_powl.S: Likewise.
18750 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18751 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18752 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18753 * sysdeps/i386/fpu/e_logl.S: Likewise.
18754 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18755 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18756 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18757 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18758 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18759 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18760 * sysdeps/i386/fpu/e_log.S: Likewise.
18761 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18763 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18764 * sysdeps/i386/fpu/e_logf.S: Likewise.
18765 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18766 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18767 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18768 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18769 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18770 * sysdeps/i386/fpu/e_log10.S: Likewise.
18771 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18772 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18773 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18774 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18775 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18776 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18777 * sysdeps/i386/asm-syntax.h: Likewise.
18778 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18779 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18780 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18781 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18782 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18783 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18784 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18785 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18787 * sysdeps/powerpc/sysdep.h: Likewise.
18788 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18789 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18790
d4a54ac6
JM
187912012-02-06 Joseph Myers <joseph@codesourcery.com>
18792
18793 [BZ #411]
18794 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18795
314054ea
JM
187962012-02-06 Joseph Myers <joseph@codesourcery.com>
18797
18798 * sysdeps/i386/sysdep.h: Include <features.h>.
18799 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18800 version.
18801
d8e0ca50
JM
188022012-02-05 Joseph Myers <joseph@codesourcery.com>
18803
18804 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18805 Define.
18806 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18807 LOAD_PIC_REG_STR.
18808
b1da7dd9
JM
188092012-02-03 Joseph Myers <joseph@codesourcery.com>
18810
18811 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18812 (SETUP_PIC_REG): Use GET_PC_THUNK.
18813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18814 macro.
18815
9a1d9254
JM
188162012-02-03 Joseph Myers <joseph@codesourcery.com>
18817
18818 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18819 for non-PIC compilation.
18820 (SETUP_PIC_REG): Add .p2align directive.
18821 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18822 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18823 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18824 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18826 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18827 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18829 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18830 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18831 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18832 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18833 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18834 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18835 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18836 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18839 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18841 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18843 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18844 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18847 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18848 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18849 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18850 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18851 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18856 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18858 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18859 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18860 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18861 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18862
65dc3b75
JM
188632012-02-03 Joseph Myers <joseph@codesourcery.com>
18864
18865 * math/tst-CMPLX.c: Include <stdio.h>.
18866
d55bf177
JM
188672012-01-31 Joseph Myers <joseph@codesourcery.com>
18868
18869 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18870 float.
18871 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18872 * sysdeps/sparc/bits/mathdef.h: Likewise.
18873
69db4f8f
MP
188742012-01-31 Marek Polacek <polacek@redhat.com>
18875
18876 * libio/libio.h: Don't define _PARAMS.
18877 * locale/programs/config.h: Don't define PARAMS.
18878 * stdlib/strtol_l.c: Likewise.
18879 (__strtol_l): Remove PARAMS from the prototype.
18880
41b81892
UD
188812012-01-31 Ulrich Drepper <drepper@gmail.com>
18882
3b49edc0
UD
18883 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18884 names. Just use the correct names. Remove unnecessary wrapper
18885 functions.
18886 * malloc/arena.c: Likewise.
18887 * malloc/hooks.c: Likewise.
18888
41b81892
UD
18889 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18890 ARENA_TEST says not to. Simplify test for creation of a new arena.
18891 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18892
27a25b6e
UD
188932012-01-30 Ulrich Drepper <drepper@gmail.com>
18894
18895 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18896 into tail calls.
18897 (update_get_addr): New function.
18898 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18899 GET_ADDR_MODULE parameter.
18900
c8a89e7d
JM
189012012-01-30 Joseph Myers <joseph@codesourcery.com>
18902
18903 * crypt/cert.c: Remove __STDC__ conditionals.
18904 * crypt/crypt-entry.c: Likewise.
18905 * crypt/crypt_util.c: Likewise.
18906 * libio/filedoalloc.c: Likewise.
18907 * libio/fileops.c: Likewise.
18908 * libio/genops.c: Likewise.
18909 * libio/iofclose.c: Likewise.
18910 * libio/iofdopen.c: Likewise.
18911 * libio/iofopen.c: Likewise.
18912 * libio/iofopen64.c: Likewise.
18913 * libio/iogetdelim.c: Likewise.
18914 * libio/iopopen.c: Likewise.
18915 * libio/obprintf.c: Likewise.
18916 * libio/oldfileops.c: Likewise.
18917 * libio/oldiofclose.c: Likewise.
18918 * libio/oldiofdopen.c: Likewise.
18919 * libio/oldiofopen.c: Likewise.
18920 * libio/oldiopopen.c: Likewise.
18921 * libio/wfiledoalloc.c: Likewise.
18922 * libio/wgenops.c: Likewise.
18923 * locale/programs/xmalloc.c: Likewise.
18924 * misc/syslog.c: Likewise.
18925 * stdio-common/xbug.c: Likewise.
18926 * string/memchr.c: Likewise.
18927 * string/memcmp.c: Likewise.
18928 * string/memrchr.c: Likewise.
18929 * string/rawmemchr.c: Likewise.
18930 * sysdeps/posix/getcwd.c: Likewise.
18931 * time/strftime_l.c: Likewise.
18932
3b100462
JM
189332012-01-30 Joseph Myers <joseph@codesourcery.com>
18934
18935 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18936 * config.make.in (config-cflags-sse2avx): Define.
18937 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18938 Fix typo.
18939
607998af
CM
189402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18941
18942 * scripts/config.guess: Update from upstream config git repository.
18943 * scripts/config.sub: Likewise.
18944
3601428f
CM
189452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18946
3ac8b282
CM
18947 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18948 (EM_NUM): Update.
18949 (R_TILEPRO_*, R_TILEGX_*): New macros.
18950
e034841e
CM
18951 * scripts/firstversions.awk: Fix bug in version range handling.
18952
540d7568
CM
18953 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18954
3601428f
CM
18955 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18956
463de862
CM
18957 * include/sys/epoll.h: New file.
18958 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18959 libc_hidden_def.
18960
73139a76
UD
189612012-01-28 Ulrich Drepper <drepper@gmail.com>
18962
96bc5b45
UD
18963 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18964 Avoid unnecessary __WORDSIZE == 64 test.
18965 (fmaxf): Use VEX format if possible.
18966 (fmax): Likewise.
18967 (fminf): Likewise.
18968 (fmin): Likewise.
18969
56f6f6a2
UD
18970 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18971 * math/math_private.h: Remove libc_fegetround* and
18972 libc_fesetround*.
18973 * sysdeps/i386/configure.in: Check for -msse2avx.
18974 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18975 also if SSE2AVX is defined.
18976 Remove libc_fegetround* and libc_fesetround*.
18977 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18978 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18979 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18980 of HAS_YMM_USABLE.
18981 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18982 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18983 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18984 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18986
73139a76
UD
18987 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18988
d73f93a4
AZ
189892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18990
18991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18992 size is not set.
18993 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18994
6ee65ed6
UD
189952012-01-27 Ulrich Drepper <drepper@gmail.com>
18996
18997 [BZ #13618]
18998 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18999 relocation.
19000 * Makeconfig (libm): Define.
19001 * elf/Makefile: Add rules to build and run tst-relsort1.
19002 * elf/tst-relsort1.c: New file.
19003 * elf/tst-relsort1mod1.c: New file.
19004 * elf/tst-relsort1mod2.c: New file.
19005
8db21882
JM
190062012-01-27 Joseph Myers <joseph@codesourcery.com>
19007
19008 * math/s_ldexp.c: Remove __STDC__ conditionals.
19009 * math/s_ldexpf.c: Likewise.
19010 * math/s_ldexpl.c: Likewise.
19011 * math/s_nextafter.c: Likewise.
19012 * math/s_nexttowardf.c: Likewise.
19013 * math/s_significand.c: Likewise.
19014 * math/s_significandf.c: Likewise.
19015 * math/s_significandl.c: Likewise.
19016 * math/w_jnl.c: Likewise.
19017 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19018 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19019 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19020 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19021 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19038 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19039 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19040 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19041 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19042 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19045 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19047 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19049 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19050 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19052 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19053 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19054 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19055 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19057 * sysdeps/ieee754/k_standard.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19119 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19124 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19132 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19133 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19137 * sysdeps/ieee754/s_matherr.c: Likewise.
19138 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19139 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19140 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19142
965a54a4
JM
191432012-01-26 Joseph Myers <joseph@codesourcery.com>
19144
19145 * crypt/md5.h: Remove __STDC__ conditionals.
19146 * libio/libioP.h: Likewise.
19147 * locale/programs/config.h: Likewise.
19148 * sysdeps/generic/sysdep.h: Likewise.
19149 * sysdeps/i386/asm-syntax.h: Likewise.
19150 * sysdeps/s390/asm-syntax.h: Likewise.
19151 * sysdeps/unix/sysdep.h: Likewise.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19154
7071ad79
JM
191552012-01-26 Joseph Myers <joseph@codesourcery.com>
19156
19157 * libio/libio.h: Remove __STDC__ conditionals.
19158 * malloc/obstack.h: Likewise.
19159 * math/complex.h: Likewise.
19160 * math/math.h: Likewise.
19161 * sysdeps/generic/_G_config.h: Likewise.
19162 * sysdeps/gnu/_G_config.h: Likewise.
19163 * sysdeps/mach/hurd/_G_config.h: Likewise.
19164 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19165 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19166 * sysdeps/sparc/bits/mathdef.h: Likewise.
19167
afc5ed09
UD
191682012-01-26 Ulrich Drepper <drepper@gmail.com>
19169
19170 [BZ #13583]
19171 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19172 Clean up HAS_* macros.
afc5ed09 19173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19174 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19175 possible.
19176 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19177 HAS_AVX.
19178 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19179 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19180 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19183
bdb6de1d
JM
191842012-01-25 Joseph Myers <joseph@codesourcery.com>
19185
19186 * elf/tst-unique3.cc (gets): Remove declaration.
19187 * elf/tst-unique3lib.cc (gets): Likewise.
19188 * elf/tst-unique3lib2.cc (gets): Likewise.
19189 * elf/tst-unique4.cc (gets): Likewise.
19190
b15549e6
UD
191912012-01-24 Ulrich Drepper <drepper@gmail.com>
19192
19193 * include/stdio.h: Add C++ protection. Add gets declarations and
19194 definitions.
19195 * debug/tst-chk1.c: Don't declare gets here.
19196 * stdio-common/tst-gets.c: Likewise.
19197
a037381f
JM
191982012-01-24 Joseph Myers <joseph@codesourcery.com>
19199
19200 * posix/glob: Remove directory.
19201
f1d4aa75
JM
192022012-01-24 Joseph Myers <joseph@codesourcery.com>
19203
19204 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19205
81c0c964
PT
192062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19207
19208 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19209 of the non-standard EPFNOSUPPORT.
19210
0ea698ae
ST
192112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19212
19213 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19214 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19215 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19216
d220b117
UD
192172012-01-21 Ulrich Drepper <drepper@gmail.com>
19218
19219 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19220
3e1aa84e
UD
192212012-01-20 Ulrich Drepper <drepper@gmail.com>
19222
19223 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19224 transient errors.
19225 * nscd/grpcache.c (cache_addgr): Likewise.
19226 * nscd/hstcache.c (cache_addhst): Likewise.
19227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19228 * nscd/pwdcache.c (cache_addpw): Likewise.
19229 * nscd/servicescache.c (cache_addserv): Likewise.
19230
400aa020
UD
192312012-01-16 Ulrich Drepper <drepper@gmail.com>
19232
d77e7869
UD
19233 * malloc/malloc.c: Various cleanups.
19234 * malloc/hooks.c: Likewise.
19235
400aa020
UD
19236 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19237 * stdlib/bug-fmtmsg1.c: New file.
19238
19239 * stdlib/fmtmsg.c (init): Add missing unlock.
19240 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19241
e0a309cf
MP
192422012-01-12 Marek Polacek <polacek@redhat.com>
19243
19244 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19245 and _GNU_SOURCE.
19246
929d11c7
WS
192472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19248
19249 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19250 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19251 macro to ensure uniqueness of label name.
19252 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19253 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19254
41d0e869
UD
192552012-01-11 Ulrich Drepper <drepper@gmail.com>
19256
0cc5ed3b
UD
19257 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19258
41d0e869
UD
19259 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19260 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19261 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19263
a47a831a
UD
192642012-01-10 Ulrich Drepper <drepper@gmail.com>
19265
daa891c0
UD
19266 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19267
19268 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19269 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19271
e58ef0f2
UD
19272 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19273
a47a831a 19274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19275 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19276 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19278
19279 * math/bits/math-finite.h: Add ldexp support.
19280
a0bfc9c7
MP
192812012-01-10 Marek Polacek <polacek@redhat.com>
19282
19283 * locale/programs/localedef.h (show_archive_content): Add noreturn
19284 attribute.
19285
d6e97a1d
UD
192862012-01-09 Ulrich Drepper <drepper@gmail.com>
19287
19288 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19289
d5835c26
UD
192902012-01-08 Ulrich Drepper <drepper@gmail.com>
19291
e5f484c6
UD
19292 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19293
d5835c26
UD
19294 * io/Makefile (headers): Add bits/poll2.h.
19295
d1f741e9
WS
192962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19297
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19299 typo #include statement.
19300
ec09c1c4
UD
193012012-01-08 Ulrich Drepper <drepper@gmail.com>
19302
19303 * include/sys/cdefs.h: Define __attribute_alloc_size.
19304 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19305 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19306 * elf/pldd.c: Likewise.
19307 * iconv/iconv_charmap.c: Likewise.
19308 * iconv/iconvconfig.c: Likewise.
19309 * iconv/strtab.c: Likewise.
19310 * locale/programs/locale.c: Likewise.
19311 * locale/programs/localedef.h: Likewise.
19312 * locale/programs/simple-hash.c: Likewise.
19313 * nscd/nscd.h: Likewise.
19314 * nss/makedb.c: Likewise.
19315 * sysdeps/generic/ldconfig.h: Likewise.
19316 * locale/programs/localedef.c: Remove xmalloc prototype.
19317 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19318
20b38e03
PP
193192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19320
19321 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19322 appropriate.
19323
a0da5fe1
UD
193242012-01-08 Ulrich Drepper <drepper@gmail.com>
19325
1d5a644a 19326 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19327 * math/tst-CMPLX.c: New file.
1d5a644a 19328
8784a6db
UD
19329 * math/complex.h (CMPLXL): Fix typo.
19330
d9a216c0
UD
19331 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19332 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19333 GLIBC_2.16.
19334 * debug/tst-chk1.c: Add poll and ppoll tests.
19335 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19336 * include/sys/poll.h: Add hidden proto for ppoll.
19337 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19338 * sysdeps/mach/hurd/ppoll.c: Likewise.
19339 * io/ppoll.c: Likewise.
19340 * debug/poll_chk.c: New file.
19341 * debug/ppoll_chk.c: New file.
19342 * include/bits/poll2.h: New file.
19343 * io/bits/poll2.h: New file.
19344
ac097f5c
UD
19345 [BZ #1350]
19346 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19347
2119dcfa
UD
19348 * configure.in: static is always set to yes. Remove.
19349 * config.make.in: Don't set build-static.
19350 * Makeconfig: Remove use of build-static.
19351 * dlfcn/Makefile: Likewise.
19352 * elf/Makefile: Likewise.
19353 * math/Makefile: Likewise.
19354 * misc/Makefile: Likewise.
19355 * nptl/Makefile: Likewise.
19356 * sysdeps/mach/hurd/Makefile: Likewise.
19357
121766a9
UD
19358 * configure.in: PWD_P is not used anymore.
19359 * config.make.in: Remove PWD_P entry.
19360
51a1d39c 19361 * configure.in: Remove last remnants of RANLIB.
8720d066 19362 No need to check for signed size_t anymore.
215f4bdc
UD
19363 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19364 and IA-64.
3857022a 19365 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19366 * aclocal.m4: Likewise.
19367
d3ed7225
UD
19368 * wcsmbs/mbrtoc16.c: Implement using towc function.
19369 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19370 * wcsmbs/wcsmbsload.c: Likewise.
19371 * iconv/gconv_simple.c: Likewise.
19372 * iconv/gconv_int.h: Likewise.
19373 * iconv/gconv_builtin.h: Likewise.
19374 * iconv/iconv_prog.c: Remove CHAR16 handling.
19375
19376 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19377
19378 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19379
a0da5fe1
UD
19380 * configure.in: Remove --with-elf and --enable-bounded options.
19381 Dont set base_machine for ia64. More non-ELF conditions removed.
19382 Remove testing and setting of leading underscore information.
19383 * config.make.in (build-bounded): Set to no.
19384 * config.h.in: Remove NO_UNDERSCORES entry.
19385 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19386 them.
19387 * csu/start.c: Remove !NO_UNDERSCORE code.
19388 * locale/localeinfo.h: Likewise.
19389 * sysdeps/generic/machine-gmon.h: Likewise.
19390 * sysdeps/generic/sysdep.h: Likewise.
19391 * sysdeps/i386/sysdep.h: Likewise.
19392 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19393 * sysdeps/mach/sysdep.h: Likewise.
19394 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19396 * sysdeps/sh/sysdep.h: Likewise.
19397 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19398 * sysdeps/unix/i386/sysdep.S: Likewise.
19399 * sysdeps/unix/sparc/start.c: Likewise.
19400 * sysdeps/unix/sparc/sysdep.S: Likewise.
19401 * sysdeps/unix/sparc/sysdep.h: Likewise.
19402 * sysdeps/unix/start.c: Likewise.
19403 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19404 * sysdeps/x86_64/sysdep.h: Likewise.
19405
df78418a
UD
194062012-01-07 Ulrich Drepper <drepper@gmail.com>
19407
a784e502
UD
19408 [BZ #13553]
19409 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19410 for non-gcc.
19411 * argp/argp-fmtstream.h: Use const instead __const.
19412 * argp/argp.h: Likewise.
19413 * assert/assert.h: Likewise.
19414 * bits/fenv.h: Likewise.
19415 * bits/sched.h: Likewise.
19416 * bits/sigset.h: Likewise.
19417 * bits/sigthread.h: Likewise.
19418 * catgets/nl_types.h: Likewise.
19419 * conform/data/pthread.h-data: Likewise.
19420 * crypt/crypt-private.h: Likewise.
19421 * crypt/crypt.h: Likewise.
19422 * crypt/crypt_util.c: Likewise.
19423 * ctype/ctype.h: Likewise.
19424 * debug/execinfo.h: Likewise.
19425 * debug/mbsnrtowcs_chk.c: Likewise.
19426 * debug/mbsrtowcs_chk.c: Likewise.
19427 * debug/wcsnrtombs_chk.c: Likewise.
19428 * debug/wcsrtombs_chk.c: Likewise.
19429 * debug/wcstombs_chk.c: Likewise.
19430 * dirent/dirent.h: Likewise.
19431 * dlfcn/dlfcn.h: Likewise.
19432 * elf/neededtest4.c: Likewise.
19433 * grp/grp.h: Likewise.
19434 * gshadow/gshadow.h: Likewise.
19435 * iconv/gconv.h: Likewise.
19436 * iconv/gconv_int.h: Likewise.
19437 * iconv/gconv_simple.c: Likewise.
19438 * iconv/iconv.h: Likewise.
19439 * iconv/loop.c: Likewise.
19440 * iconv/skeleton.c: Likewise.
19441 * include/aio.h: Likewise.
19442 * include/aliases.h: Likewise.
19443 * include/argz.h: Likewise.
19444 * include/arpa/inet.h: Likewise.
19445 * include/assert.h: Likewise.
19446 * include/dirent.h: Likewise.
19447 * include/dlfcn.h: Likewise.
19448 * include/execinfo.h: Likewise.
19449 * include/fcntl.h: Likewise.
19450 * include/fenv.h: Likewise.
19451 * include/glob.h: Likewise.
19452 * include/grp.h: Likewise.
19453 * include/libintl.h: Likewise.
19454 * include/mntent.h: Likewise.
19455 * include/netdb.h: Likewise.
19456 * include/pwd.h: Likewise.
19457 * include/rpc/netdb.h: Likewise.
19458 * include/sched.h: Likewise.
19459 * include/search.h: Likewise.
19460 * include/shadow.h: Likewise.
19461 * include/signal.h: Likewise.
19462 * include/stdio.h: Likewise.
19463 * include/stdlib.h: Likewise.
19464 * include/string.h: Likewise.
19465 * include/sys/socket.h: Likewise.
19466 * include/sys/stat.h: Likewise.
19467 * include/sys/statfs.h: Likewise.
19468 * include/sys/statvfs.h: Likewise.
19469 * include/sys/syslog.h: Likewise.
19470 * include/sys/time.h: Likewise.
19471 * include/sys/uio.h: Likewise.
19472 * include/time.h: Likewise.
19473 * include/unistd.h: Likewise.
19474 * include/utmp.h: Likewise.
19475 * include/wchar.h: Likewise.
19476 * include/wctype.h: Likewise.
19477 * inet/aliases.h: Likewise.
19478 * inet/arpa/inet.h: Likewise.
19479 * inet/netinet/ether.h: Likewise.
19480 * inet/netinet/in.h: Likewise.
19481 * intl/libintl.h: Likewise.
19482 * io/bits/fcntl2.h: Likewise.
19483 * io/fcntl.h: Likewise.
19484 * io/ftw.h: Likewise.
19485 * io/sys/poll.h: Likewise.
19486 * io/sys/stat.h: Likewise.
19487 * io/sys/statfs.h: Likewise.
19488 * io/sys/statvfs.h: Likewise.
19489 * io/utime.h: Likewise.
19490 * libio/bits/stdio.h: Likewise.
19491 * libio/bits/stdio2.h: Likewise.
19492 * libio/libio.h: Likewise.
19493 * libio/libioP.h: Likewise.
19494 * libio/stdio.h: Likewise.
19495 * locale/lc-ctype.c: Likewise.
19496 * locale/locale.h: Likewise.
19497 * login/utmp.h: Likewise.
19498 * malloc/arena.c: Likewise.
19499 * malloc/malloc.c: Likewise.
19500 * malloc/malloc.h: Likewise.
19501 * malloc/mcheck.c: Likewise.
19502 * malloc/mtrace.c: Likewise.
19503 * math/bits/mathcalls.h: Likewise.
19504 * math/fenv.h: Likewise.
19505 * math/math_private.h: Likewise.
19506 * misc/bits/error.h: Likewise.
19507 * misc/bits/syslog.h: Likewise.
19508 * misc/err.h: Likewise.
19509 * misc/error.h: Likewise.
19510 * misc/fstab.h: Likewise.
19511 * misc/mntent.h: Likewise.
19512 * misc/regexp.h: Likewise.
19513 * misc/search.h: Likewise.
19514 * misc/sgtty.h: Likewise.
19515 * misc/sys/mman.h: Likewise.
19516 * misc/sys/syslog.h: Likewise.
19517 * misc/sys/uio.h: Likewise.
19518 * misc/sys/xattr.h: Likewise.
19519 * misc/ttyent.h: Likewise.
19520 * nis/rpcsvc/ypclnt.h: Likewise.
19521 * nss/nss.h: Likewise.
19522 * posix/bits/unistd.h: Likewise.
19523 * posix/fnmatch.h: Likewise.
19524 * posix/glob.h: Likewise.
19525 * posix/sched.h: Likewise.
19526 * posix/spawn.h: Likewise.
19527 * posix/sys/wait.h: Likewise.
19528 * posix/unistd.h: Likewise.
19529 * posix/wordexp.h: Likewise.
19530 * pwd/pwd.h: Likewise.
19531 * resolv/netdb.h: Likewise.
19532 * resource/sys/resource.h: Likewise.
19533 * rt/aio.h: Likewise.
19534 * rt/bits/mqueue2.h: Likewise.
19535 * rt/mqueue.h: Likewise.
19536 * shadow/shadow.h: Likewise.
19537 * signal/signal.h: Likewise.
19538 * socket/send.c: Likewise.
19539 * socket/sendto.c: Likewise.
19540 * socket/sys/socket.h: Likewise.
19541 * stdio-common/printf.h: Likewise.
19542 * stdlib/bits/stdlib.h: Likewise.
19543 * stdlib/fmtmsg.h: Likewise.
19544 * stdlib/monetary.h: Likewise.
19545 * stdlib/stdlib.h: Likewise.
19546 * stdlib/ucontext.h: Likewise.
19547 * streams/stropts.h: Likewise.
19548 * string/argz.h: Likewise.
19549 * string/bits/string2.h: Likewise.
19550 * string/string.h: Likewise.
19551 * string/strings.h: Likewise.
19552 * sunrpc/rpc/auth.h: Likewise.
19553 * sunrpc/rpc/auth_des.h: Likewise.
19554 * sunrpc/rpc/clnt.h: Likewise.
19555 * sunrpc/rpc/netdb.h: Likewise.
19556 * sunrpc/rpc/pmap_clnt.h: Likewise.
19557 * sunrpc/rpc/xdr.h: Likewise.
19558 * sysdeps/generic/inttypes.h: Likewise.
19559 * sysdeps/generic/net/if.h: Likewise.
19560 * sysdeps/generic/sys/swap.h: Likewise.
19561 * sysdeps/gnu/net/if.h: Likewise.
19562 * sysdeps/gnu/utmpx.h: Likewise.
19563 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19564 * sysdeps/i386/i486/bits/string.h: Likewise.
19565 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19566 * sysdeps/s390/bits/string.h: Likewise.
19567 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19568 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19569 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19570 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19571 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19572 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19573 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19574 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19575 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19576 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19577 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19578 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19579 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19580 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19581 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19582 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19586 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19588 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19589 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19590 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19591 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19592 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19595 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19596 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19597 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19598 * sysvipc/sys/ipc.h: Likewise.
19599 * sysvipc/sys/msg.h: Likewise.
19600 * sysvipc/sys/sem.h: Likewise.
19601 * sysvipc/sys/shm.h: Likewise.
19602 * termios/termios.h: Likewise.
19603 * time/sys/time.h: Likewise.
19604 * time/time.h: Likewise.
19605 * wcsmbs/bits/wchar2.h: Likewise.
19606 * wcsmbs/uchar.h: Likewise.
19607 * wcsmbs/wchar.h: Likewise.
19608 * wctype/wctype.h: Likewise.
19609
0269750c
UD
19610 [BZ #13551]
19611 * Makeconfig: Remove all but ELF support including AIX support.
19612 * Makerules: Likewise.
19613 * config.h.in: Likewise.
19614 * config.make.in: Likewise.
19615 * configure: Likewise.
19616 * configure.in: Likewise.
19617 * csu/Makefile: Likewise.
19618 * csu/version.c: Likewise.
19619 * debug/Makefile: Likewise.
19620 * dlfcn/Makefile: Likewise.
19621 * elf/Makefile: Likewise.
19622 * extra-lib.mk: Likewise.
19623 * iconv/Makefile: Likewise.
19624 * include/libc-symbols.h: Likewise.
19625 * include/shlib-compat.h: Likewise.
19626 * resolv/Makefile: Likewise.
19627 * resolv/res_libc.c: Likewise.
19628 * rt/Makefile: Likewise.
19629 * sysdeps/i386/asm-syntax.h: Likewise.
19630 * sysdeps/i386/sysdep.h: Likewise.
19631 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19632 * sysdeps/mach/sysdep.h: Likewise.
19633 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19634 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19635 * sysdeps/s390/asm-syntax.h: Likewise.
19636 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19638 * sysdeps/sh/sysdep.h: Likewise.
19639 * sysdeps/unix/sparc/sysdep.h: Likewise.
19640 * sysdeps/wordsize-32/divdi3.c: Likewise.
19641 * sysdeps/x86_64/sysdep.h: Likewise.
19642
00bbd29b
UD
19643 * argp/Versions: Remove _argp_unlock_xxx.
19644
19645 [BZ #13559]
19646 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19647 * abilist/libBrokenLocale.abilist: Likewise.
19648 * abilist/libanl.abilist: Likewise.
19649 * abilist/libc.abilist: Likewise.
19650 * abilist/libcrypt.abilist: Likewise.
19651 * abilist/libdl.abilist: Likewise.
19652 * abilist/libm.abilist: Likewise.
19653 * abilist/libnsl.abilist: Likewise.
19654 * abilist/libpthread.abilist: Likewise.
19655 * abilist/libresolv.abilist: Likewise.
19656 * abilist/librt.abilist: Likewise.
19657 * abilist/libthread_db.abilist: Likewise.
19658 * abilist/libutil.abilist: Likewise.
19659 * abilist/libnss_db.abilist: New file.
19660
19661 * scripts/abilist.awk: Add support for indirect functions.
19662
a2693a0e
UD
19663 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19664
3f05895f
UD
19665 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19666
ecb6fb48
UD
19667 * shlib-versions: Remove entries for ports architectures.
19668
664f8cb9
UD
19669 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19670 files in ports.
19671 * elf/stackguard-macros.h: Remove support for IA-64.
19672 * elf/tst-auditmod1.c: Likewise.
19673 * sysdeps/generic/ldsodefs.h: Likewise.
19674
7ae81d88
UD
19675 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19676 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19677 configure files.
19678
bdeba135
UD
19679 [BZ #13552]
19680 * configure.in: Remove --enable-omitfp support.
19681 * FAQ.in: Adjust.
19682 * config.make.in: Likewise.
19683 * Makeconfig: Likewise.
19684 * manual/install.texi: Likewise.
19685
d75a0a62
UD
19686 In case anyone cares, the IA-64 architecture could move to ports.
19687 * sysdeps/ia64/*: Removed.
19688 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19689 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19690
dcc9756b
UD
19691 [BZ #13555]
19692 * configure.in: Remove entries for unsupported architectures.
19693
d3761ebc 19694 [BZ #13533]
9954432e
UD
19695 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19696 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19697 routines.
19698 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19699 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19700 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19701 fall back to using wcrtomb.
19702 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19703 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19704 renaming.
19705 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19706 * wcsmbs/tst-c16c32-1.c: New file.
19707
19708 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19709 local variable.
19710
c3a87236
UD
19711 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19712
28926a1b
UD
19713 * elf/tst-unique3.cc: Add explicit declaration of gets.
19714 * elf/tst-unique3lib.cc: Likewise.
19715 * elf/tst-unique3lib2.cc: Likewise.
19716 * elf/tst-unique4.cc: Likewise.
19717
df78418a
UD
19718 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19719
8ecd6b2a
JM
197202012-01-06 Joseph Myers <joseph@codesourcery.com>
19721
19722 [BZ #13566]
19723 * assert/assert.h (static_assert): Don't define for C++.
19724 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19725 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19726
9f115170
UD
197272012-01-03 Ulrich Drepper <drepper@gmail.com>
19728
5e0d0300
UD
19729 * iconv/loop.c (single loop): Fix assertion in storing of
19730 remaining bytes.
19731
9f115170
UD
19732 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19733
81fb02b0
UD
197342012-01-01 Ulrich Drepper <drepper@gmail.com>
19735
19736 * posix/getconf.c: Update copyright year.
19737 * nss/getent.c: Likewise.
a316c1f6 19738 * nss/makedb.c: Likewise.
81fb02b0
UD
19739 * iconv/iconvconfig.c: Likewise.
19740 * iconv/iconv_prog.c: Likewise.
19741 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19742 * elf/pldd.c: Likewise.
19743 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19744 * catgets/gencat.c: Likewise.
19745 * csu/version.c: Likewise.
19746 * elf/ldd.bash.in: Likewise.
19747 * elf/sprof.c (print_version): Likewise.
19748 * locale/programs/locale.c: Likewise.
19749 * locale/programs/localedef.c: Likewise.
a316c1f6 19750 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19751 * nscd/nscd.c (print_version): Likewise.
19752 * debug/xtrace.sh: Likewise.
19753 * malloc/memusage.sh: Likewise.
19754 * malloc/mtrace.pl: Likewise.
19755 * debug/catchsegv.sh: Likewise.
19756
2ba92745
JJ
197572011-12-30 Jakub Jelinek <jakub@redhat.com>
19758
19759 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19760 pure attribute.
19761
dadebdae
UD
197622011-12-24 Ulrich Drepper <drepper@gmail.com>
19763
d3761ebc 19764 [BZ #13533]
db6af3eb
UD
19765 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19766 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19767 transformations.
19768 * iconv/gconv_int.h: Likewise.
19769 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19770 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19771 from libc for GLIBC_2.16.
19772 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19773 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19774 * wcsmbs/uchar.h: Really define mbstate_t.
19775 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19776 * wcsmbs/c16rtomb.c: New file.
19777 * wcsmbs/mbrtoc16.c: New file.
19778 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19779 for C/POSIX locale.
19780 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19781 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19782
dadebdae
UD
19783 * wcsmbs/wchar.h: Add missing __restrict.
19784
67371b56
UD
197852011-12-23 Ulrich Drepper <drepper@gmail.com>
19786
74033a25
UD
19787 [BZ #13532]
19788 * time/Makefile (routines): Add timespec_get.
19789 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19790 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19791 timespec for ISO C11.
19792 * time/timespec_get.c: New file.
19793 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19794 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19795
380d7e87
UD
19796 [BZ #13531]
19797 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19798 * stdlib/stdlib.h: Declare aligned_alloc.
19799 * Versions.def: Add GLIBC_2.16 for libc.
19800 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19801
4e9e7a35
UD
19802 [BZ 13527]
19803 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19804 ISO C11.
19805
380d7e87 19806 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19807 code.
19808
03a71829
UD
19809 [BZ #13528]
19810 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19811
839e283e
UD
19812 [BZ #13529]
19813 * assert/assert.h (static_assert): Define.
19814
ce5294e2 19815 * version.h: Update for 2.16 development version.
90fa7312 19816
8d44e150 19817 [BZ #13526]
d7809905
UD
19818 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19819 _ISOC11_SOURCE.
19820
c0da14cd
UD
19821 * version.h (RELEASE): Bump for 2.15 release.
19822 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19823
530a3249
MP
19824 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19825 Patch by Marek Polacek <mpolacek@redhat.com>.
19826
67371b56
UD
19827 * bits/byteswap.h: Protect long long constants with __extension__.
19828 * sysdeps/i386/bits/byteswap.h: Likewise.
19829 * sysdeps/ia64/bits/byteswap.h: Likewise.
19830 * sysdeps/s390/bits/byteswap.h: Likewise.
19831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19832
15db4de1
LD
198332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19834
19835 [BZ #13540]
bbe315ea
LD
19836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19837 destination buffer.
15db4de1
LD
19838 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19839
2b2596b1
MP
198402011-12-23 Marek Polacek <polacek@redhat.com>
19841
19842 * elf/dl-addr.c (determine_info): Add inline keyword.
19843 * elf/tst-auditmod4b.c (check_avx): Likewise.
19844 * elf/tst-auditmod6b.c (check_avx): Likewise.
19845 * elf/tst-auditmod6c.c (check_avx): Likewise.
19846 * elf/tst-auditmod7b.c (check_avx): Likewise.
19847
70c6c246
UD
198482011-12-23 Ulrich Drepper <drepper@gmail.com>
19849
19850 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19851 !__SSE_MATH__.
19852
c044cf14
LD
198532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19854
15db4de1 19855 [BZ #13540]
c044cf14
LD
19856 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19857 processing for last bytes.
19858
6b13d9d9
BH
198592011-08-06 Bruno Haible <bruno@clisp.org>
19860
d455f537
BH
19861 [BZ #13061]
19862 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19863 U+0385, not to U+1FEE.
19864
6b13d9d9
BH
19865 [BZ #13062]
19866 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19867 entry for U+00A5 U+0301.
19868
db910efd
UD
198692011-12-22 Ulrich Drepper <drepper@gmail.com>
19870
27deeafc
UD
19871 [BZ #13166]
19872 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19873 buffer for the output is too small.
19874
aed9d171
UD
19875 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19876 optimization.
19877
db910efd
UD
19878 [BZ #13185]
19879 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19880 SSE flags if possible.
19881
2bd779ae
LD
198822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19883
e7f9dac3 19884 [BZ #13540]
2bd779ae
LD
19885 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19886 processing for last bytes.
19887
154bfc16
JM
198882011-12-22 Joseph Myers <joseph@codesourcery.com>
19889
19890 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19891 (syscall-list-default-options, syscall-list-default-condition)
19892 (syscall-list-includes): Define.
19893 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19894 list of ABIs and options and #if conditions for each ABI. Do not
19895 handle common syscalls between ABIs specially.
19896 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19897 Remove.
19898 (syscall-list-variants, syscall-list-32bit-options)
19899 (syscall-list-32bit-condition, syscall-list-64bit-options)
19900 (syscall-list-64bit-condition): Define.
19901 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19902 (syscall-list-variants, syscall-list-32bit-options)
19903 (syscall-list-32bit-condition, syscall-list-64bit-options)
19904 (syscall-list-64bit-condition): Define.
19905 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19906 Remove.
19907 (syscall-list-variants, syscall-list-32bit-options)
19908 (syscall-list-32bit-condition, syscall-list-64bit-options)
19909 (syscall-list-64bit-condition): Define.
19910 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19911 Remove.
19912 (syscall-list-variants, syscall-list-32bit-options)
19913 (syscall-list-32bit-condition, syscall-list-64bit-options)
19914 (syscall-list-64bit-condition): Define.
19915
21eaf3a5
UD
199162011-12-22 Ulrich Drepper <drepper@gmail.com>
19917
16c6f992
UD
19918 * locale/iso-639.def: Add brx entry.
19919
41043168
UD
19920 [BZ #13328]
19921 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19922 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19923
21eaf3a5
UD
19924 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19925 __feraiseexcept_renamed.
19926
e3a851a2
UD
199272011-12-21 Ulrich Drepper <drepper@gmail.com>
19928
4920765e
UD
19929 [BZ #13538]
19930 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19931 EPOLLET with unsigned values.
19932 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19933 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19934
e3a851a2
UD
19935 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19936 to large cancellation.
19937 * math/s_cacoshf.c: Likewise.
19938 * math/s_cacoshl.c: Likewise.
19939
b27e24b8
RK
199402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19941
19942 [BZ #13305]
aebefeee 19943 [BZ #12786]
b27e24b8
RK
19944 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19945 * math/s_cacoshf.c: Likewise.
19946 * math/s_cacoshl.c: Likewise.
19947
ee190f67
UD
199482011-12-21 Ulrich Drepper <drepper@gmail.com>
19949
19950 [BZ #13439]
19951 * iconv/gconv.h: Define __GCONV_SWAP.
19952 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19953 * iconvdata/utf-16.c: Likewise.
19954 * iconvdata/utf-32.c: Likewise.
19955
707f25df
AS
199562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19957
19958 [BZ #13524]
19959 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19960 numerator after shifting it by one limb.
19961
d2daaa1e
RÁE
199622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19963
19964 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19965 under [__USE_EXTERN_INLINES].
19966
a4647e72
UD
199672011-12-17 Ulrich Drepper <drepper@gmail.com>
19968
19969 [BZ #13446]
19970 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19971
f0b264f1
AZ
199722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19973
19974 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19975 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19976 optimized code.
19977 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19978 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19979 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19980 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19981 for strncasecmp/strncasecmp_l compilation.
19982 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19983 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19984
8ef4f244
MP
199852011-12-08 Marek Polacek <mpolacek@redhat.com>
19986
19987 [BZ #13484]
19988 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19989 of __asm__.
19990
97ac2654
UD
199912011-12-17 Ulrich Drepper <drepper@gmail.com>
19992
19993 [BZ #13506]
19994 * time/tzfile.c (__tzfile_read): Check values from file header.
19995
91d2a845
WS
199962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19997
19998 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19999 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20000 * powerpc/powerpc32/dl-start.S: Likewise.
20001 * powerpc/powerpc32/elf/start.S: Likewise.
20002 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20003 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20004 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20005 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20006 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20007 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20008 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20009 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20010 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20011 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20012 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20013 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20014 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20015 * powerpc/powerpc32/memset.S: Likewise.
20016 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20017 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20018 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20019 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20020 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20021 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20022 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20023 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20024 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20025 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20026 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20027 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20028 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20029
a1267ba1
AZ
200302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20031
20032 * math/libm-test.inc: Added more nearbyint tests.
20033 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20035 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20037
ad8ac1bd
RL
200382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20039
20040 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20041 FD_CLOEXEC.
20042
1d3e4b61
UD
200432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20044
20045 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20046 Add wcscpy-ssse3 wcscpy-c.
20047 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20048 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20049 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20050 * sysdeps/x86_64/wcschr.S: New file.
20051 * sysdeps/x86_64/wcsrchr.S: New file.
20052 * string/test-strcmp.c: Remove checking of wcscmp function for
20053 wrong alignments.
20054 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20055 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20056 wcsrchr-sse2 wcsrchr-c.
20057 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20058 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20059 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20060 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20061 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20062 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20063 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20064 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20065 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20066 * wcsmbc/wcschr.c (WCSCHR): New macro.
20067
5b330a2d
UD
200682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20069
20070 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20071 * wcsmbs/test-wcsrchr.c: New file.
20072 * string/test-strrchr.c: Add wcsrchr support.
20073 (WIDE): New macro.
20074 * wcsmbs/test-wcscpy.c: New file.
20075 * string/test-strcpy.c: Add wcscpy support.
20076 (WIDE): New macro.
26428b7c 20077
f039c043
UD
200782011-12-10 Ulrich Drepper <drepper@gmail.com>
20079
20080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20081 the inner loop.
20082
850fb039
AS
200832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20084
20085 [BZ #13472]
20086 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20087
4efbd5cb
UD
200882011-12-04 Ulrich Drepper <drepper@gmail.com>
20089
52ff5dd0 20090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20091 Minor optimizations.
52ff5dd0 20092
4efbd5cb
UD
20093 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20094 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20095 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20096
8a426e12
UD
200972011-12-03 Ulrich Drepper <drepper@gmail.com>
20098
aff2453d
UD
20099 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20100 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20101 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20102 for gcc to avoid warnings.
20103 * inet/Makefile (tests): Add tst-checks.
20104 * inet/tst-checks.c: New file.
20105
20106 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20107 warning.
20108
20109 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20110 __wmemcmp_sse2.
20111
20112 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20113 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20114
8a426e12
UD
20115 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20116
9bea3473
UD
201172011-12-02 Ulrich Drepper <drepper@gmail.com>
20118
3a965496
UD
20119 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20120 problem.
20121
9bea3473
UD
20122 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20123
f101631b
UD
201242011-11-29 Joseph Myers <joseph@codesourcery.com>
20125
20126 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20127 conditional on GCC version.
20128 (__arch_compare_and_exchange_val_8_acq)
20129 (__arch_compare_and_exchange_val_16_acq)
20130 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20131 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20132 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20133
a98275aa
UD
201342011-12-02 Joseph Myers <joseph@codesourcery.com>
20135
20136 * sysdeps/sh/backtrace.c: New file.
20137
d4cc29a2
AS
201382011-12-02 Andreas Schwab <schwab@redhat.com>
20139
20140 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20141 parenthesis.
20142
6257af2d
AS
201432011-12-01 Andreas Schwab <schwab@redhat.com>
20144
20145 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20146 falling back to utime.
20147
b5f44c1a
AS
201482011-11-30 Andreas Schwab <schwab@redhat.com>
20149
20150 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20151 expectations for float.
20152
f3a6cc0a
AS
201532011-11-29 Andreas Schwab <schwab@redhat.com>
20154
20155 * locale/weight.h (findidx): Add parameter len.
20156 * locale/weightwc.h (findidx): Likewise.
20157 * posix/fnmatch_loop.c (FCT): Adjust caller.
20158 * posix/regcomp.c (build_equiv_class): Likewise.
20159 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20160 * posix/regexec.c (check_node_accept_bytes): Likewise.
20161 * string/strcoll_l.c (STRCOLL): Likewise.
20162 * string/strxfrm_l.c (STRXFRM): Likewise.
20163
9d65ea3a
UD
201642011-11-17 Ulrich Drepper <drepper@gmail.com>
20165
20166 * Makefile.in: Remove CVSOPT handling.
20167 * configure.in: Remove use of AC_REVISION.
20168 * iconvdata/Makefile (distribute): No need to filter out CVS.
20169 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20170 handling.
20171
5583a086
AS
201722011-11-16 Andreas Schwab <schwab@redhat.com>
20173
20174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20175 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20176 [USE_AS_STRNCASECMP_L]: Likewise.
20177 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20178 NO_TLS_DIRECT_SEG_REFS.
20179 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20180 Fix argument offsets for non-PIC.
20181 [USE_AS_STRNCASECMP_L]: Likewise.
20182 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20183 NO_TLS_DIRECT_SEG_REFS.
20184
d62a8200
UD
201852011-11-15 Ulrich Drepper <drepper@gmail.com>
20186
9d65ea3a 20187 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20188 O_CLOEXEC.
20189 * locale/loadlocale.c (_nl_load_locale): Likewise.
20190
09f93bd3
AS
201912011-11-15 Andreas Schwab <schwab@redhat.com>
20192
446514f9
AS
20193 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20194 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20195 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20196 (SYSCALL_GETTIME): Set errno on error.
20197
09f93bd3
AS
20198 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20199 count references to noai6ai_cached.
20200
312be3f9
UD
202012011-11-15 Ulrich Drepper <drepper@gmail.com>
20202
20203 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20204
20205 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20206 FD_CLOEXEC for /proc/self/maps.
20207
20208 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20209 FD_CLOEXEC for /proc/meminfo.
20210
20211 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20212 gai.conf.
20213
20214 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20215 FD_CLOEXEC for given file.
20216
20217 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20218
20219 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20220 FD_CLOEXEC for /etc/hosts.
20221 (_gethtent): Likewise.
20222
20223 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20224
20225 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20226 cancellation and set FD_CLOEXEC for /etc/netgroup.
20227
20228 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20229 reading /etc/publickey.
20230
20231 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20232 allow cancellation when reading /etc/group.
20233
20234 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20235 cancellation.
20236 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20237
20238 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20239 when using data file.
20240
20241 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20242
20243 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20244 (write_nis_obj): Use "c" and "e" in fopen.
20245
20246 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20247
20248 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20249
20250 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20251
20252 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20253
20254 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20255 locale.alias.
20256
20257 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20258
20259 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20260
20261 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20262
20263 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20264 file parsing and set FD_CLOEXEC.
20265
82af0fa8
UD
202662011-11-14 Ulrich Drepper <drepper@gmail.com>
20267
20268 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20269
a5fb313c
AS
202702011-11-14 Andreas Schwab <schwab@redhat.com>
20271
20272 * malloc/arena.c (arena_get2): Don't call reused_arena when
20273 _int_new_arena failed.
20274
6abf3465
UD
202752011-11-14 Ulrich Drepper <drepper@gmail.com>
20276
20277 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20278 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20280 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20281 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20282 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20283 to compile strcasecmp and strncasecmp.
20284 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20285 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20286
20287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20288
76e3966e
UD
202892011-11-13 Ulrich Drepper <drepper@gmail.com>
20290
20291 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20292 locale-defines.sym to gen-as-const-headers.
20293 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20294 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20296 to compile strcasecmp and strncasecmp.
20297 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20298 strcasecmp_l and strncasecmp_l.
20299 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20300 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20301 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20302 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20303 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20304 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20305 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20306 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20307 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20308 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20309 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20310
ab26144e
UD
203112011-11-12 Ulrich Drepper <drepper@gmail.com>
20312
7edb22ef
UD
20313 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20314 result of SYSDEP_GETTIME_CPU to retval.
20315 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20316 parameter list to macro. Remove trailing semicolon. Adjust users.
20317
9694fc44
UD
20318 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20319 variable.
20320
8ad89ef8
UD
20321 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20322 mantissa words.
20323 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20324
0c822ef9
UD
20325 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20326 from unused variable.
20327
874e0564
UD
20328 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20329 DWARF definitions.
20330 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20331 for assembling.
20332
3a2edc79
UD
20333 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20334 over namespaces.
20335
f3c2577f
UD
20336 * sunrpc/rpc_prot.c (rejected): Fix case value.
20337
294ce126
UD
20338 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20339 unsigned long long int to avoid warnings in shift.
20340
5e2b63c6
UD
20341 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20342 of use of trans.
20343 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20344 variable tmp.
20345
e7f4b08e
UD
20346 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20347 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20348 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20349
ab26144e
UD
20350 * nis/nis_table.c (nis_list): Use variable of correct type for
20351 result of __follow_path call.
20352
8a6d5255
AZ
203532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20354
20355 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20356 of math functions ceil, trunc, floor, round, and sqrt, when
20357 avaliable on the platform.
20358 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20359 name clash.
20360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20361 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20362 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20363
aaddc98c
MP
203642011-10-30 Marek Polacek <mpolacek@redhat.com>
20365
20366 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20367 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20368
95b7042b
RM
203692011-11-11 Roland McGrath <roland@hack.frob.com>
20370
20371 * include/unistd.h: Fix __readlink return type.
20372 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20373
57769839
UD
203742011-11-11 Ulrich Drepper <drepper@gmail.com>
20375
20376 * stdlib/ucontext.h: Undo last change for makecontext.
20377
edc5984d
AS
203782011-11-11 Andreas Schwab <schwab@redhat.com>
20379
98591e58
AS
20380 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20381
edc5984d
AS
20382 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20383 * setjmp/setjmp.h: Mark functions as non-leaf.
20384 * setjmp/bits/setjmp2.h: Likewise.
20385 * stdlib/ucontext.h: Likewise.
20386
77cdc054
AS
203872011-11-10 Andreas Schwab <schwab@redhat.com>
20388
20389 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20390 (reused_arena): Don't check arena limit.
20391 (arena_get2): Atomically check arena limit.
20392
fe72eebd
UD
203932011-11-08 Ulrich Drepper <drepper@gmail.com>
20394
5f078c32
UD
20395 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20396 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20397
fe72eebd
UD
20398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20399 instructions.
20400
ae1bc2fa
AS
204012011-11-07 Andreas Schwab <schwab@redhat.com>
20402
7583a88d
AS
20403 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20404 handler when locking.
20405
ae1bc2fa
AS
20406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20407 Fix size of allocated buffer.
20408
10fb0bfa
AS
204092011-11-04 Andreas Schwab <schwab@redhat.com>
20410
998832a4
AS
20411 [BZ #10103]
20412 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20413 declarations for long double functions.
20414 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20415
10fb0bfa
AS
20416 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20417
3d7ba52b
AS
204182011-11-03 Andreas Schwab <schwab@redhat.com>
20419
a9ae54a1
AS
20420 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20421 installed.
20422
3d7ba52b
AS
20423 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20424 is disabled.
20425
bc8db248
ST
204262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20427
20428 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20429
45b96dd6
AS
204302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20431
647776f6
AS
20432 * include/alloca.h (stackinfo_alloca_round): Define.
20433 (extend_alloca): Use it.
20434 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20435 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20436 here.
20437
d91a8b93
AS
20438 * scripts/check-local-headers.sh: Ignore libaudit.h.
20439
45b96dd6
AS
20440 * nscd/Makefile (extra-objs): Make recursively expanded.
20441
432d41ce
UD
204422011-11-01 Ulrich Drepper <drepper@gmail.com>
20443
34372fc6
UD
20444 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20445 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20446
fadb59f8
UD
20447 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20448 * posix/tst-rfc3484-2.c: Likewise.
20449 * posix/tst-rfc3484-3.c: Likewise.
20450
78239589
UD
20451 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20452 process_vm_writev.
20453 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20454 process_vm_writev.
20455 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20456 process_vm_writev from libc using GLIBC_2.15 version.
20457
432d41ce
UD
20458 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20459
02f9c6cf
PP
204602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20461
20462 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20463 stack usage.
20464
3a2c0242
UD
204652011-10-31 Ulrich Drepper <drepper@gmail.com>
20466
f4ec4833
UD
20467 [BZ #13367]
20468 * nss/getent.c (initgroups_keys): Show error message in case no group
20469 names are given.
20470
3a2c0242
UD
20471 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20472 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20473 __bump_nl_timestamp.
20474 * nscd/connections (nscd_init): When host database is served open
20475 netlink socket and request notification about configuration changes.
20476 (main_loop_poll): Track netlink file descriptor and bump timestamp
20477 in case data becomes available.
20478 (main_loop_epoll): Likewise.
20479 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20480 (database_pers_head): Add extra_data fileds.
20481 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20482 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20483 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20484 Adjust caller.
20485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20486 in6ai data, call __free_in6ai.
20487 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20488 Add -DHAVE_NETLINK.
20489 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20490 interface information. Reuse previous data if netlink timestamp
20491 is not changed.
20492 (__bump_nl_timestamp): New function.
20493 (__free_in6ai): New function.
20494
636064eb
UD
204952011-10-30 Ulrich Drepper <drepper@gmail.com>
20496
20497 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20498 close_not_cancel_no_status here.
20499 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20500
9beb2334
UD
205012011-10-29 Ulrich Drepper <drepper@gmail.com>
20502
6ef76f3b
UD
20503 [BZ #13276]
20504 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20505 return value.
20506
0ffc4f3e 20507 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20508 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20509 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20510
cb95113e
UD
205112011-07-03 Andreas Jaeger <aj@suse.de>
20512
20513 [BZ #10709]
20514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20515 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20516 * math/libm-test.inc (sin_test): Add test case.
20517
a1b560ff
UD
205182011-10-29 Ulrich Drepper <drepper@gmail.com>
20519
c9aaface
UD
20520 [BZ #13337]
20521 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20522 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20523
d272e7f1
UD
20524 * elf/chroot_canon.c (chroot_canon): Cleanups.
20525
1bc33071
UD
20526 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20527
1760874d
TJ
20528 [BZ #13335]
20529 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20530 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20531
51d91b18
UD
20532 * string/test-strchr.c: Make usable for strchrnul testing.
20533 * string/test-strchrnul.c: New file.
20534 * string/Makefile (strop-tests): Add strchrnul.
20535
a1b560ff 20536 * po/it.po: Update from translation team.
b611fb81 20537 * po/es.po: Likewise.
a1b560ff 20538
a5b81e1f
UD
205392011-10-28 Ulrich Drepper <drepper@gmail.com>
20540
fd52bc6d
UD
20541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20542 the three constants needed as parameters. Drop the others.
20543 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20544 __m128i_strloadu_tolower.
52e4b9eb
UD
20545 Create and initialize variable zero and use it in all the places
20546 where _mm_setzero_si128 was used.
fd52bc6d 20547
a5b81e1f
UD
20548 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20549 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20550 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20551 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20552 anymore.
20553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20554 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20555 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20556 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20557 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20558 __mpranred, __mptan.
20559 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20560 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20561 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20562 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20563 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20564 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20567 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20568
b4343346
AS
205692011-10-28 Andreas Schwab <schwab@redhat.com>
20570
0c92d8a8
AS
20571 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20572 redefine if SHARED.
20573 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20574
b4343346
AS
20575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20576 wide char related routines to wcsmbs subdir.
20577
3871f58f
AS
205782011-10-27 Andreas Schwab <schwab@redhat.com>
20579
20580 [BZ #13344]
20581 * misc/sys/cdefs.h (__THROWNL): Define.
20582 * posix/unistd.h: Use __THREADNL instead of __THREAD
20583 for memory synchronization functions.
20584
94d44d9f
RM
205852011-10-26 Roland McGrath <roland@hack.frob.com>
20586
21b64b15 20587 [BZ #13349]
94d44d9f
RM
20588 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20589 doesn't exist.
20590 * manual/stdio.texi (Obstack Streams): Node removed.
20591
f6ce9294
AS
205922011-10-26 Andreas Schwab <schwab@redhat.com>
20593
80479147
AS
20594 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20596 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20597
f6ce9294
AS
20598 * math/math_private.h (math_force_eval): Allow non-addressable
20599 arguments.
20600 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20601
618280a1
UD
206022011-10-25 Ulrich Drepper <drepper@gmail.com>
20603
e0016b11
UD
20604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20605 file is not needed.
20606
20607 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20608 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20610 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20611 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20612 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20614 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20615 Add AVX variants.
20616 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20617 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20618 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20619 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20620 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20621 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20622 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20623 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20624 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20625 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20626 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20627 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20628 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20629 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20630 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20631 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20632 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20633 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20634 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20635
20636 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20637 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20638
618280a1
UD
20639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20640 place. Use VEX encoding when compiling for AVX.
20641
37822576
AS
206422011-10-25 Andreas Schwab <schwab@redhat.com>
20643
1f1e1947
AS
20644 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20645 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20646
37822576
AS
20647 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20648
31ea014d
UD
206492011-10-25 Ulrich Drepper <drepper@gmail.com>
20650
d7826aa1 20651 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20652 useless if() expression.
d7826aa1
UD
20653 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20658 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20661 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20664 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20665 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20666 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20667 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20668 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20671 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20672
31ea014d
UD
20673 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20674
16437fec
AS
206752011-10-25 Andreas Schwab <schwab@redhat.com>
20676
20677 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20678 condition.
20679 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20680
31d3cc00
UD
206812011-10-25 Ulrich Drepper <drepper@gmail.com>
20682
20683 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20684 .text section. Avoid duplicate constants.
20685 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20689 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20695 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20697 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20700 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20702 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20704 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20707 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20708 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20709 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20710 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20711 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20712 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20714 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20715 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20716 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20717 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20718 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20719 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20720 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20721 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20722 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20723 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20724 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20725 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20727 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20728 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20729 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20730
58985aa9
UD
207312011-10-24 Ulrich Drepper <drepper@gmail.com>
20732
202c9deb
UD
20733 * sysdeps/x86_64/dla.h: Move to ...
20734 * sysdeps/x86_64/fpu/dla.h: ...here.
20735 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20736 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20737
af968f62
UD
20738 * config.make.in: Add have-mfma4 entry.
20739 * configure.in: Substitute libc_cv_cc_fma4.
20740 * math/Makefile (dbl-only-routines): Add sincostab.
20741 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20742 Use __sincostab not sincos.
20743 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20744 name is a macro.
20745 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20749 using __copysign.
20750 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20751 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20752 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20753 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20754 and __inv.
20755 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20756 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20757 __copysign.
20758 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20759 define aliases when function name is a macro.
20760 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20761 sysdeps/ieee754/dbl-64/sincos.tbl.
20762 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20763 fma4-enabled routines.
20764 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20765 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20766 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20767 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20769 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20770 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20771 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20772 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20773 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20775 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20777 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20778 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20779 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20780 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20781 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20782 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20784 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20785 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20786 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20787 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20789 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20791 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20792 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20793 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20794
58985aa9
UD
20795 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20796 rename.
20797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20805
a201fbcf
AS
208062011-10-24 Andreas Schwab <schwab@redhat.com>
20807
20808 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20809
fc2ee42a
LD
208102011-10-23 Ulrich Drepper <drepper@gmail.com>
20811
bb3129bd
UD
20812 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20813
0275fff8
UD
20814 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20815 prediction.
20816 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20817
2fa2ae85
UD
20818 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20819 Remove unused variable magic_bits.
20820 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20821
fc2ee42a
LD
20822 * string/strnlen.c: Define and use STRNLEN macro.
20823 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20824 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20826 * wcsmbs/wcslen.c: Define and use WCSLEN.
20827 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20828 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20829 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20830 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20831 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20832 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20833 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20834
ce7dd29f
LD
208352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20836
20837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20838 strnlen-sse2-no-bsf.
20839 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20841 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20842 Add strnlen support.
20843 (USE_AS_STRNLEN): New macro.
20844 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20845 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20846 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20847 * sysdeps/x86_64/wcslen.S: New file.
20848
979c70a3
MZ
208492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20850
20851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20852 XMM-moves are used for copying on small sizes.
20853
2d09f82f
LD
208542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20855
20856 * wcsmbs/Makefile (strop-tests): Add wcschr.
20857 * wcsmbs/test-wcschr.c: New file.
20858 * string/test-strchr.c: Update.
20859 Add wcschr support.
20860 (WIDE): New macro.
20861
619fccca
LD
208622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20863
2d09f82f 20864 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20865 * wcsmbs/test-wcslen.c: New file.
20866 * string/test-strlen.c: Update.
20867 Add wcslen support.
20868 (WIDE): New macro.
20869
09f699ea
UD
208702011-10-23 Ulrich Drepper <drepper@gmail.com>
20871
20872 * po/it.po: Update from translation team.
20873
95584d3b
LD
208742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20875
20876 * sysdeps/x86_64/wcscmp.S: Update.
20877 Fix wrong comparison semantics.
20878 wcscmp shall use signed comparison not unsigned.
20879 Don't use substraction to avoid overflow bug.
20880 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20881 * wcsmbc/wcscmp.c: Likewise.
20882 * string/test-strcmp.c: Likewise.
20883 Add new tests to check cases with negative values.
20884
c8b3296b
UD
208852011-10-23 Ulrich Drepper <drepper@gmail.com>
20886
20887 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20888 * sysdeps/x86_64/dla.h: ...here. New file.
20889 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20898
246ad57a
AS
208992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20900
20901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20902 __ynl_finite aliases.
20903
a1a87169
UD
209042011-10-22 Ulrich Drepper <drepper@gmail.com>
20905
0d355eb7
UD
20906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20907
a1a87169
UD
20908 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20909 define DLA_FMA.
20910 [DLA_FMA] (EMULV): Use DLA_FMA.
20911 [DLA_FMA] (MUL12): Use EMULV.
20912 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20913 that are not needed.
20914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20921
ee2aafe0
AS
209222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20923
20924 * math/s_nan.c: Undef __nan.
20925 * math/s_nanf.c: Undef __nanf.
20926 * math/s_nanl.c: Undef __nanl.
20927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20928 "math_private.h".
20929
bc62c2fb
UD
209302011-10-22 Ulrich Drepper <drepper@gmail.com>
20931
77425c63
UD
20932 * math/s_catan.c: Add branch predictions.
20933 * math/s_catanf.c: Likewise.
20934 * math/s_catanh.c: Likewise.
20935 * math/s_catanhf.c: Likewise.
20936 * math/s_catanhl.c: Likewise.
20937 * math/s_catanl.c: Likewise.
20938 * math/s_cexp.c: Likewise.
20939 * math/s_cexpf.c: Likewise.
20940 * math/s_cexpl.c: Likewise.
20941 * math/s_clog.c: Likewise.
20942 * math/s_clog10.c: Likewise.
20943 * math/s_clog10f.c: Likewise.
20944 * math/s_clog10l.c: Likewise.
20945 * math/s_clogf.c: Likewise.
20946 * math/s_clogl.c: Likewise.
20947 * math/s_csqrt.c: Likewise.
20948 * math/s_csqrtf.c: Likewise.
20949 * math/s_csqrtl.c: Likewise.
20950 * math/s_ctanf.c: Likewise.
20951 * math/s_ctanh.c: Likewise.
20952 * math/s_ctanhf.c: Likewise.
20953 * math/s_ctanhl.c: Likewise.
20954 * math/s_ctanl.c: Likewise.
20955
bc62c2fb
UD
20956 * math/math_private.h: Define __nan, __nanf, __nanl.
20957 * math/s_cacosh.c: Include <math_private.h>.
20958 * math/s_cacoshl.c: Likewise.
20959 * math/s_casinh.c: Likewise.
20960 * math/s_casinhf.c: Likewise.
20961 * math/s_casinhl.c: Likewise.
20962 * math/s_ccos.c: Rely entire on ccosh.
20963 * math/s_ccosf.c: Rely entire on ccoshf.
20964 * math/s_ccosl.c: Rely entirely on ccoshl.
20965 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20966 Remove tests for FE_INVALID.
20967 * math/s_ccoshf.c: Likewise.
20968 * math/s_ccoshl.c: Likewise.
20969 * math/s_csin.c: Likewise.
20970 * math/s_csinf.c: Likewise.
20971 * math/s_csinh.c Likewise.
20972 * math/s_csinhf.c: Likewise.
20973 * math/s_csinhl.c: Likewise.
20974 * math/s_csinl.c: Likewise.
20975 * math/s_ctan.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20977 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20978 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20979
8ec250a4
UD
209802011-10-21 Ulrich Drepper <drepper@gmail.com>
20981
c196fed8
UD
20982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20983 compilation problems.
20984
8ec250a4
UD
20985 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20986 __builtin_expect.
20987
8d4f46c6
UD
209882011-10-20 Ulrich Drepper <drepper@gmail.com>
20989
ed72b654
UD
20990 * sysdeps/i386/configure.in: Test for -mfma4 option.
20991 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20992 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20993 COMMON_CPUID_INDEX_80000001.
20994 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20995 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20996 use it if FMA3 is not supported.
20997 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20998
8d4f46c6
UD
20999 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21000 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21001
d45c60c2
AS
210022011-10-20 Andreas Schwab <schwab@redhat.com>
21003
21004 [BZ #12892]
21005 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21006 it would create a cycle with a link time dependency.
21007
d9a4d2ab
UD
210082011-10-19 Ulrich Drepper <drepper@gmail.com>
21009
855d1560
UD
21010 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21011 instruction.
21012 * string/Makefile (strop-tests): Add rawmemchr.
21013 * string/test-rawmemchr.c: New file.
21014
d9a4d2ab
UD
21015 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21017 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21018 when compiling str{,n}casecmp and when AVX is available. Hook up
21019 new optimized code in initializers.
21020
8f3b1ffe
AS
210212011-10-19 Andreas Schwab <schwab@redhat.com>
21022
21023 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21024 __feraiseexcept instead of feraiseexcept.
21025
d38f1dba
UD
210262011-10-18 Ulrich Drepper <drepper@gmail.com>
21027
d9a8d0ab
UD
21028 * math/math_private.h: Define defaults for libc_fetestexcept and
21029 libc_feupdateenv.
21030 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21031 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21032 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21033 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21034 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21035 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21036 libc_fetestexcept and libc_feupdateenv.
21037
4855e3dd
UD
21038 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21039 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21040 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21041 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21042 libc_feholdexcept_setround.
21043
581d30e3
UD
21044 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21045 Add s_nearbyint-c and s_nearbyintf-c.
21046 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21047 nearbyintf inlines.
21048 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21049 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21050 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21051 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21052
d38f1dba
UD
21053 * math/math_private.h: Define defaults for libc_fegetround,
21054 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21055 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21056 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21058 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21059 standard functions.
21060 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21061 Remove comments and hacks for old compiler versions.
21062 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21063 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21064 libc_feholdexceptl.
21065
caa6c9d8
AS
210662011-10-18 Andreas Schwab <schwab@redhat.com>
21067
21068 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21069 (__feraiseexcept_renamed): Add __NTH.
21070 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21071 namespace violations.
21072
97c066e6
UD
210732011-10-17 Ulrich Drepper <drepper@gmail.com>
21074
99ce7b04
UD
21075 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21076
1004d182
UD
21077 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21078
228a984d
UD
21079 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21080 recently added interfaces.
21081 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21082
c8553a6a
UD
21083 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21084 about macro parameter expansion.
21085
ed22dcf6
UD
21086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21087 __NO_MATH_INLINES is defined. Cleanups.
21088
21089 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21090 and __floorf is target has SSE4.1.
21091 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21092 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21093 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21094 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21095
b171c137
UD
21096 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21097 name.
21098 (floorf): Likewise.
21099
97c066e6
UD
21100 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21101
629f62ef
AS
211022011-10-17 Andreas Schwab <schwab@redhat.com>
21103
49a43d80
AS
21104 * misc/sys/cdefs.h: Fix last change.
21105
629f62ef
AS
21106 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21107 database lookup.
21108
e453f6cd
UD
211092011-10-16 Ulrich Drepper <drepper@gmail.com>
21110
aa78043a
UD
21111 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21112
ad0f5cad
UD
21113 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21114 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21119 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21120 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21121 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21123 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21124 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21125 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21126 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21127 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21128 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21129 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21130 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21131 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21132 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21133 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21134 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21135
21136 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21137 ceil, ceilf, floor, floorf.
21138
21139 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21140 Perform IRELATIVE relocations last.
21141
e453f6cd
UD
21142 * elf/do-rel.h: Add another parameter nrelative, replacing the
21143 local variable with the same name. Change name of the function
21144 to end in Rel or Rela (uppercase).
21145 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21146 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21147 elf_dynamic_do_##reloc function.
21148
fd5bdc09
UD
211492011-10-15 Ulrich Drepper <drepper@gmail.com>
21150
79b195b5
UD
21151 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21152 is sufficient, at least on modern CPUs.
21153
d4a28569
UD
21154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21155
b61099b5
UD
21156 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21157 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21158
bcf01e6d
UD
21159 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21160 __expl_finite.
21161 * math/bits/math-finite.h: Add entries for exp.
21162 * math/e_expl.c: Add __*_finite alias.
21163 * sysdeps/i386/fpu/e_exp.S: Likewise.
21164 * sysdeps/i386/fpu/e_expf.S: Likewise.
21165 * sysdeps/i386/fpu/e_expl.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21167 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21171 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21173
ba1a0d59
UD
21174 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21175 is sufficient, at least on modern CPUs.
21176
fd5bdc09
UD
21177 * ctype/ctype-info.c (__ctype_init): Define.
21178 * include/ctype.h (__ctype_init): Declare.
21179 (__ctype_b_loc): The variable is always initialized.
21180 (__ctype_toupper_loc): Likewise.
21181 (__ctype_tolower_loc): Likewise.
21182 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21183 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21184
7872cfb0
AS
211852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21186
b468825a
AS
21187 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21188
7872cfb0
AS
21189 * configure.in: Also look in $cxxmachine/include for C++ system
21190 headers.
21191
be13f7bf
LD
211922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21193
21194 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21195 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21196 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21197 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21198 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21199 (USE_AS_WMEMCMP): New macro.
21200 Fixing indents.
21201 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21202 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21203 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21204 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21206 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21207 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21208 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21209 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21210 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21212 (USE_AS_WMEMCMP): New macro.
21213 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21214 * sysdeps/string/test-memcmp.c: Update.
21215 Fix simple_wmemcmp.
21216 Add new tests.
21217 * wcsmbs/wmemcmp.c: Update.
21218 (WMEMCMP): New macro.
21219 Fix overflow bug.
21220
556a2007
AJ
212212011-10-12 Andreas Jaeger <aj@suse.de>
21222
21223 [BZ #13268]
21224 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21225
538faaa7
UD
212262011-10-15 Ulrich Drepper <drepper@gmail.com>
21227
ab6737ff
UD
21228 * libio/iofwide.c (do_length): Avoid warning.
21229
538faaa7
UD
21230 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21231
396a21b1
UD
212322011-10-14 Ulrich Drepper <drepper@gmail.com>
21233
cdf2901f
UD
21234 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21235
38ad40ce
UD
21236 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21237 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21238 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21239 * sysdeps/i386/i686/fpu/e_log.S: New file.
21240 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21241 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21242
396a21b1
UD
21243 * ctype/ctype.h: Add support for inlined isXXX functions when
21244 compiling C++ code.
21245
6b1f68c9
AS
212462011-10-14 Andreas Schwab <schwab@redhat.com>
21247
349290c0
AS
21248 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21249
6b1f68c9
AS
21250 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21251
f2282d42
RM
212522011-10-13 Roland McGrath <roland@hack.frob.com>
21253
21254 [BZ #13291]
21255 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21256
5298ffa8
AS
212572011-10-13 Andreas Schwab <schwab@redhat.com>
21258
714fad23
AS
21259 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21260 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21261 feraiseexcept.
21262
81dcc7fb
AS
21263 * sysdeps/x86_64/memrchr.S: Check for zero size.
21264
5298ffa8
AS
21265 * string/stratcliff.c: Add memrchr tests.
21266
951fbcec
LD
212672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21268
21269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21270 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21271 rawmemchr-sse2 rawmemchr-sse2-bsf.
21272 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21273 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21274 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21275 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21276 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21277 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21278 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21279 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21280 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21281 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21282 * string/memrchr.c (MEMRCHR): New macro.
21283
0ac5ae23
UD
212842011-10-12 Ulrich Drepper <drepper@gmail.com>
21285
21286 Add integration with gcc's -ffinite-math-only and optimize wrapper
21287 functions in libm.
21288 * Versions.def: Define GLIBC_2.15 version for libm.
21289 * math/Makefile (headers): Add bits/math-finite.h.
21290 * math/bits/math-finite.h: New file.
21291 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21292 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21293 * math/e_acoshl.c: Add __*_finite alias.
21294 * math/e_acosl.c: Likewise.
21295 * math/e_asinl.c: Likewise.
21296 * math/e_atan2l.c: Likewise.
21297 * math/e_atanhl.c: Likewise.
21298 * math/e_coshl.c: Likewise.
21299 * math/e_exp10.c: Likewise.
21300 * math/e_exp10f.c: Likewise.
21301 * math/e_exp10l.c: Likewise.
21302 * math/e_exp2l.c: Likewise.
21303 * math/e_fmodl.c: Likewise.
21304 * math/e_gammal_r.c: Likewise.
21305 * math/e_hypotl.c: Likewise.
21306 * math/e_j0l.c: Likewise.
21307 * math/e_j1l.c: Likewise.
21308 * math/e_jnl.c: Likewise.
21309 * math/e_lgammal_r.c: Likewise.
21310 * math/e_log10l.c: Likewise.
21311 * math/e_log2l.c: Likewise.
21312 * math/e_logl.c: Likewise.
21313 * math/e_powl.c: Likewise.
21314 * math/e_sinhl.c: Likewise.
21315 * math/e_sqrtl.c: Likewise.
21316 * math/e_scalb.c: Completely rewritten and optimized.
21317 * math/e_scalbf.c: Likewise.
21318 * math/e_scalbl.c: Likewise.
21319 * math/w_acos.c: Likewise.
21320 * math/w_acosf.c: Likewise.
21321 * math/w_acosl.c: Likewise.
21322 * math/w_acosh.c: Likewise.
21323 * math/w_acoshf.c: Likewise.
21324 * math/w_acoshl.c: Likewise.
21325 * math/w_asin.c: Likewise.
21326 * math/w_asinf.c: Likewise.
21327 * math/w_asinl.c: Likewise.
21328 * math/w_atan2.c: Likewise.
21329 * math/w_atan2f.c: Likewise.
21330 * math/w_atan2l.c: Likewise.
21331 * math/w_atanh.c: Likewise.
21332 * math/w_atanhf.c: Likewise.
21333 * math/w_atanhl.c: Likewise.
21334 * math/w_exp10.c: Likewise.
21335 * math/w_exp10f.c: Likewise.
21336 * math/w_exp10l.c: Likewise.
21337 * math/w_fmod.c: Likewise.
21338 * math/w_fmodf.c: Likewise.
21339 * math/w_fmodl.c: Likewise.
21340 * math/w_j0.c: Likewise.
21341 * math/w_j0f.c: Likewise.
21342 * math/w_j0l.c: Likewise.
21343 * math/w_j1.c: Likewise.
21344 * math/w_j1f.c: Likewise.
21345 * math/w_j1l.c: Likewise.
21346 * math/w_jn.c: Likewise.
21347 * math/w_jnf.c: Likewise.
21348 * math/w_log.c: Likewise.
21349 * math/w_logf.c: Likewise.
21350 * math/w_logl.c: Likewise.
21351 * math/w_log10.c: Likewise.
21352 * math/w_log10f.c: Likewise.
21353 * math/w_log10l.c: Likewise.
21354 * math/w_log2.c: Likewise.
21355 * math/w_log2f.c: Likewise.
21356 * math/w_log2l.c: Likewise.
21357 * math/w_pow.c: Likewise.
21358 * math/w_powf.c: Likewise.
21359 * math/w_powl.c: Likewise.
21360 * math/w_remainder.c: Likewise.
21361 * math/w_remainderf.c: Likewise.
21362 * math/w_remainderl.c: Likewise.
21363 * math/w_scalb.c: Likewise.
21364 * math/w_scalbf.c: Likewise.
21365 * math/w_scalbl.c: Likewise.
21366 * math/w_sqrt.c: Likewise.
21367 * math/w_sqrtf.c: Likewise.
21368 * math/w_sqrtl.c: Likewise.
21369 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21370 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21371 used.
21372 * math/math_private.h: Declare __kernel_standard_f.
21373 * math/w_cosh.c: Remove cruft and optimize a bit.
21374 * math/w_coshf.c: Likewise.
21375 * math/w_coshl.c: Likewise.
21376 * math/w_exp2.c: Likewise.
21377 * math/w_exp2f.c: Likewise.
21378 * math/w_exp2l.c: Likewise.
21379 * math/w_hypot.c: Likewise.
21380 * math/w_hypotf.c: Likewise.
21381 * math/w_hypotl.c: Likewise.
21382 * math/w_lgamma.c: Likewise.
21383 * math/w_lgamma_r.c: Likewise.
21384 * math/w_lgammaf.c: Likewise.
21385 * math/w_lgammaf_r.c: Likewise.
21386 * math/w_lgammal.c: Likewise.
21387 * math/w_lgammal_r.c: Likewise.
21388 * math/w_sinh.c: Likewise.
21389 * math/w_sinhf.c: Likewise.
21390 * math/w_sinhl.c: Likewise.
21391 * math/w_tgamma.c: Likewise.
21392 * math/w_tgammaf.c: Likewise.
21393 * math/w_tgammal.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21395 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21396 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21397 Minor optimizations. Pretty printing. Remove cruft.
21398 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21400 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21401 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21402 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21403 * sysdeps/i386/fpu/e_asin.S: Likewise.
21404 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21405 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21406 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21407 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21408 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21411 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21412 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21413 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21414 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21415 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21416 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21417 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21418 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21419 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21420 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21421 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21422 * sysdeps/i386/fpu/e_log.S: Likewise.
21423 * sysdeps/i386/fpu/e_log10.S: Likewise.
21424 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21425 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21426 * sysdeps/i386/fpu/e_log2.S: Likewise.
21427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21429 * sysdeps/i386/fpu/e_logf.S: Likewise.
21430 * sysdeps/i386/fpu/e_logl.S: Likewise.
21431 * sysdeps/i386/fpu/e_pow.S: Likewise.
21432 * sysdeps/i386/fpu/e_powf.S: Likewise.
21433 * sysdeps/i386/fpu/e_powl.S: Likewise.
21434 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21435 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21436 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21437 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21438 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21439 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21440 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21441 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21442 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21464 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21465 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21466 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21467 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21468 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21469 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21470 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21472 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21473 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21474 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21477 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21478 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21479 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21480 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21481 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21482 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21483 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21484 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21489 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21502 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21504 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21523 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21526 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21528 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21529 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21531 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21534 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21535 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21536 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21537 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21538 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21539 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21540 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21541 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21542 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21543 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21544 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21545 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21546 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21547 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21548 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21549 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21550 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21551 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21553 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21554 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21555 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21556 (__isnanf): Likewise.
21557 (__isinf_ns): Likewise.
21558 (__isinf_nsf): Likewise.
21559 (__finite): Likewise.
21560 (__finitef): Likewise.
21561 (__ieee754_sqrt): Define as macro.
21562 (__ieee754_sqrtf): Define as macro.
21563 (__ieee754_sqrtl): Define as macro.
21564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21565 inlined copy.
21566 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21567 __FINITE_MATH_ONLY__ consistent.
21568 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21569
12cc2fcd
AS
215702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21571
a843a204
AS
21572 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21573 of rawmemchr.
21574
12cc2fcd
AS
21575 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21576
c853acd5
UD
215772011-10-09 Ulrich Drepper <drepper@gmail.com>
21578
21579 * po/ja.po: Update from translation team.
21580
c658d255
RM
215812011-10-08 Roland McGrath <roland@hack.frob.com>
21582
110946e4
RM
21583 * locale/programs/locarchive.c (prepare_address_space): New function.
21584 (create_archive, enlarge_archive, open_archive): Use it.
21585
50604220
RM
21586 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21587 inside [SHARED], where it is used.
21588
c658d255
RM
21589 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21590
21591 * nss/getent.c (netgroup_keys): Remove unused variable.
21592 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21593
6a621eb7
UD
215942011-10-08 Ulrich Drepper <drepper@gmail.com>
21595
7edb55ce
UD
21596 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21599 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21600 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21602 * math/Makefile (libm-calls): Add s_isinf_ns.
21603 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21604 * math/multc3.c: Likewise.
21605 * math/s_casin.c: Likewise.
21606 * math/s_casinf.c: Likewise.
21607 * math/s_casinl.c: Likewise.
21608 * math/s_ccos.c: Likewise.
21609 * math/s_ccosf.c: Likewise.
21610 * math/s_ccosl.c: Likewise.
21611 * math/s_ctan.c: Likewise.
21612 * math/s_ctanf.c: Likewise.
21613 * math/s_ctanh.c: Likewise.
21614 * math/s_ctanhf.c: Likewise.
21615 * math/s_ctanhl.c: Likewise.
21616 * math/s_ctanl.c: Likewise.
21617 * math/w_fmod.c: Likewise.
21618 * math/w_fmodf.c: Likewise.
21619 * math/w_fmodl.c: Likewise.
21620 * math/w_remainder.c: Likewise.
21621 * math/w_remainderf.c: Likewise.
21622 * math/w_remainderl.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21624 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21625 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21627 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21628 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21629 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21630 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21631
187da0ae
UD
21632 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21633 of the number.
21634 * stdio-common/printf_fphex.c: Likewise.
21635 * stdio-common/printf_size.c: Likewise.
21636
9277c064
UD
21637 * math/e_exp10.c: Include math_private.h using <...> not "...".
21638 * math/e_exp10f.c: Likewise.
21639 * math/e_exp10l.c: Likewise.
21640 * math/e_exp2l.c: Likewise.
21641 * math/e_j0l.c: Likewise.
21642 * math/e_j1l.c: Likewise.
21643 * math/e_jnl.c: Likewise.
21644 * math/e_lgammal_r.c: Likewise.
21645 * math/e_rem_pio2l.c: Likewise.
21646 * math/e_scalb.c: Likewise.
21647 * math/e_scalbf.c: Likewise.
21648 * math/e_scalbl.c: Likewise.
21649 * math/k_cosl.c: Likewise.
21650 * math/k_sinl.c: Likewise.
21651 * math/k_tanl.c: Likewise.
21652 * math/s_cacoshf.c: Likewise.
21653 * math/s_catan.c: Likewise.
21654 * math/s_catanf.c: Likewise.
21655 * math/s_catanh.c: Likewise.
21656 * math/s_catanhf.c: Likewise.
21657 * math/s_catanhl.c: Likewise.
21658 * math/s_catanl.c: Likewise.
21659 * math/s_ccosh.c: Likewise.
21660 * math/s_ccoshf.c: Likewise.
21661 * math/s_ccoshl.c: Likewise.
21662 * math/s_cexp.c: Likewise.
21663 * math/s_cexpf.c: Likewise.
21664 * math/s_cexpl.c: Likewise.
21665 * math/s_clog.c: Likewise.
21666 * math/s_clog10.c: Likewise.
21667 * math/s_clog10f.c: Likewise.
21668 * math/s_clog10l.c: Likewise.
21669 * math/s_clogf.c: Likewise.
21670 * math/s_clogl.c: Likewise.
21671 * math/s_csin.c: Likewise.
21672 * math/s_csinf.c: Likewise.
21673 * math/s_csinh.c: Likewise.
21674 * math/s_csinhf.c: Likewise.
21675 * math/s_csinhl.c: Likewise.
21676 * math/s_csinl.c: Likewise.
21677 * math/s_csqrt.c: Likewise.
21678 * math/s_csqrtf.c: Likewise.
21679 * math/s_csqrtl.c: Likewise.
21680 * math/s_ctan.c: Likewise.
21681 * math/s_ctanf.c: Likewise.
21682 * math/s_ctanh.c: Likewise.
21683 * math/s_ctanhf.c: Likewise.
21684 * math/s_ctanhl.c: Likewise.
21685 * math/s_ctanl.c: Likewise.
21686 * math/s_ldexp.c: Likewise.
21687 * math/s_ldexpf.c: Likewise.
21688 * math/s_ldexpl.c: Likewise.
21689 * math/s_significand.c: Likewise.
21690 * math/s_significandf.c: Likewise.
21691 * math/s_significandl.c: Likewise.
21692 * math/w_acos.c: Likewise.
21693 * math/w_acosf.c: Likewise.
21694 * math/w_acosh.c: Likewise.
21695 * math/w_acoshf.c: Likewise.
21696 * math/w_acoshl.c: Likewise.
21697 * math/w_acosl.c: Likewise.
21698 * math/w_asin.c: Likewise.
21699 * math/w_asinf.c: Likewise.
21700 * math/w_asinl.c: Likewise.
21701 * math/w_atan2.c: Likewise.
21702 * math/w_atan2f.c: Likewise.
21703 * math/w_atan2l.c: Likewise.
21704 * math/w_atanh.c: Likewise.
21705 * math/w_atanhf.c: Likewise.
21706 * math/w_atanhl.c: Likewise.
21707 * math/w_cosh.c: Likewise.
21708 * math/w_coshf.c: Likewise.
21709 * math/w_coshl.c: Likewise.
21710 * math/w_dremf.c: Likewise.
21711 * math/w_exp10.c: Likewise.
21712 * math/w_exp10f.c: Likewise.
21713 * math/w_exp10l.c: Likewise.
21714 * math/w_exp2.c: Likewise.
21715 * math/w_exp2f.c: Likewise.
21716 * math/w_fmod.c: Likewise.
21717 * math/w_fmodf.c: Likewise.
21718 * math/w_fmodl.c: Likewise.
21719 * math/w_hypot.c: Likewise.
21720 * math/w_hypotf.c: Likewise.
21721 * math/w_hypotl.c: Likewise.
21722 * math/w_j0.c: Likewise.
21723 * math/w_j0f.c: Likewise.
21724 * math/w_j0l.c: Likewise.
21725 * math/w_j1.c: Likewise.
21726 * math/w_j1f.c: Likewise.
21727 * math/w_j1l.c: Likewise.
21728 * math/w_jn.c: Likewise.
21729 * math/w_jnf.c: Likewise.
21730 * math/w_jnl.c: Likewise.
21731 * math/w_lgamma.c: Likewise.
21732 * math/w_lgamma_r.c: Likewise.
21733 * math/w_lgammaf.c: Likewise.
21734 * math/w_lgammaf_r.c: Likewise.
21735 * math/w_lgammal.c: Likewise.
21736 * math/w_lgammal_r.c: Likewise.
21737 * math/w_log.c: Likewise.
21738 * math/w_log10.c: Likewise.
21739 * math/w_log10f.c: Likewise.
21740 * math/w_log10l.c: Likewise.
21741 * math/w_log2.c: Likewise.
21742 * math/w_log2f.c: Likewise.
21743 * math/w_log2l.c: Likewise.
21744 * math/w_logf.c: Likewise.
21745 * math/w_logl.c: Likewise.
21746 * math/w_pow.c: Likewise.
21747 * math/w_powf.c: Likewise.
21748 * math/w_powl.c: Likewise.
21749 * math/w_remainder.c: Likewise.
21750 * math/w_remainderf.c: Likewise.
21751 * math/w_remainderl.c: Likewise.
21752 * math/w_scalb.c: Likewise.
21753 * math/w_scalbf.c: Likewise.
21754 * math/w_scalbl.c: Likewise.
21755 * math/w_sinh.c: Likewise.
21756 * math/w_sinhf.c: Likewise.
21757 * math/w_sinhl.c: Likewise.
21758 * math/w_sqrt.c: Likewise.
21759 * math/w_sqrtf.c: Likewise.
21760 * math/w_sqrtl.c: Likewise.
21761 * math/w_tgamma.c: Likewise.
21762 * math/w_tgammaf.c: Likewise.
21763 * math/w_tgammal.c: Likewise.
21764
6a621eb7
UD
21765 * po/ja.po: Update from translation team.
21766
bf582445
AJ
217672011-09-29 Andreas Jaeger <aj@suse.de>
21768
f9efbf3a
AJ
21769 [BZ #13179]
21770 * sunrpc/netname.c (netname2host): Fix logic.
21771
bf582445
AJ
21772 [BZ #6779]
21773 [BZ #6783]
21774 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21775 correctly.
21776 * math/w_remainder.c (__remainder): Likewise.
21777 * math/w_remainderf.c (__remainderf): Likewise.
21778 * math/libm-test.inc (remainder_test): Add test cases.
21779
48693bea
AK
217802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21781
21782 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21783 sdiv_qrnnd.
21784
42622229
LD
217852011-10-07 Ulrich Drepper <drepper@gmail.com>
21786
21787 * string/test-memcmp.c: Avoid unncessary #defines.
21788 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21789
093ecf92
LD
217902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21791
21792 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21793 Use new sse2 version for core i3 - i7 as it's faster
21794 than sse42 version.
21795 (bit_Prefer_PMINUB_for_stringop): New.
21796 * sysdeps/x86_64/rawmemchr.S: Update.
21797 Replace with faster SSE2 version.
21798 * sysdeps/x86_64/memrchr.S: New file.
21799 * sysdeps/x86_64/memchr.S: Update.
21800 Replace with faster SSE2 version.
21801
fde56e5c
MP
218022011-09-12 Marek Polacek <mpolacek@redhat.com>
21803
21804 * elf/dl-load.c (lose): Add cast to avoid warning.
21805
21fd49a9
UD
218062011-10-07 Ulrich Drepper <drepper@gmail.com>
21807
5a06e643
UD
21808 * po/ca.po: Update from translation team.
21809
684ae515
UD
21810 * inet/getnetgrent_r.c: Hook up nscd.
21811 * nscd/Makefile (routines): Add nscd_netgroup.
21812 (nscd-modules): Add netgroupcache.
21813 (CFLAGS-netgroupcache.c): Define.
21814 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21815 (cache_search): Add const to second parameter.
21816 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21817 INNETGR.
21818 (dbs): Add netgrdb entry.
21819 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21820 (verify_persistent_db): Handle netgrdb.
21821 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21822 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21823 GETFDNETGR.
21824 (netgroup_response_header): Define.
21825 (innetgroup_response_header): Define.
21826 (datahead): Add netgroup_response_header and innetgroup_response_header
21827 elements.
21828 * nscd/nscd.conf: Add entries for netgroup cache.
21829 * nscd/nscd.h (dbtype): Add netgrdb.
21830 (_PATH_NSCD_NETGROUP_DB): Define.
21831 (netgroup_iov_disabled): Declare.
21832 (xmalloc, xcalloc, xrealloc): Move declarations here.
21833 (cache_search): Adjust prototype.
21834 Add netgroup-related prototypes.
21835 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21836 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21837 (__nscd_innetgr): Declare.
21838 * nscd/selinux.c (perms): Use access_vector_t as element type and
21839 add netgroup-related initializers.
21840 * nscd/netgroupcache.c: New file.
21841 * nscd/nscd_netgroup.c: New file.
21842 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21843 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21844 For four parameters use innetgr.
21845 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21846 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21847 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21848 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21849
21fd49a9
UD
21850 * nscd/connections.c (register_traced_file): Don't register file
21851 for disabled databases.
21852
054c0457
UD
218532011-10-06 Ulrich Drepper <drepper@gmail.com>
21854
32b63198
UD
21855 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21856
054c0457
UD
21857 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21858 from tree and freeing node.
21859
64031225
JO
218602011-09-25 Jiri Olsa <jolsa@redhat.com>
21861
21862 * nss/nsswitch.c (__nss_database_lookup): Handle
21863 nss_parse_service_list out of memory case.
21864
0490345c
JO
218652011-09-15 Jiri Olsa <jolsa@redhat.com>
21866
21867 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21868 out of memory case.
21869
3a62d00d
AS
218702011-10-04 Andreas Schwab <schwab@redhat.com>
21871
21872 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21873 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21874 pass it down.
21875 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21876 elf_machine_rela, elf_machine_lazy_rel.
21877 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21878 (ELF_DYNAMIC_DO_REL): Likewise.
21879 (ELF_DYNAMIC_DO_RELA): Likewise.
21880 (ELF_DYNAMIC_RELOCATE): Likewise.
21881 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21882 to ELF_DYNAMIC_DO_REL.
21883 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21884 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21885 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21886 elf_machine_rela.
21887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21888 skip_ifunc, don't call ifunc function if non-zero.
21889 (elf_machine_rela): Likewise.
21890 (elf_machine_lazy_rel): Likewise.
21891 (elf_machine_lazy_rela): Likewise.
21892 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21893 (elf_machine_lazy_rel): Likewise.
21894 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21895 Likewise.
21896 (elf_machine_lazy_rel): Likewise.
21897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21898 Likewise.
21899 (elf_machine_lazy_rel): Likewise.
21900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21901 (elf_machine_lazy_rel): Likewise.
21902 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21903 (elf_machine_lazy_rel): Likewise.
21904 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21905 (elf_machine_lazy_rel): Likewise.
21906 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21907 (elf_machine_lazy_rel): Likewise.
21908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21909 (elf_machine_lazy_rel): Likewise.
21910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21911 (elf_machine_lazy_rel): Likewise.
21912
68577918
UD
219132011-09-28 Ulrich Drepper <drepper@gmail.com>
21914
21915 * nss/nss_files/files-init.c (_nss_files_init): Use static
21916 initialization for all the *_traced_file variables.
21917
68822d74
AS
219182011-09-28 Andreas Schwab <schwab@redhat.com>
21919
21920 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21921
2056100b
RM
219222011-09-27 Roland McGrath <roland@hack.frob.com>
21923
21924 [BZ #13226]
21925 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21926
32c76b63
AS
219272011-09-27 Andreas Schwab <schwab@redhat.com>
21928
21929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21930 Reread the line before reparsing it.
21931
bf972c9d
AS
219322011-09-26 Andreas Schwab <schwab@redhat.com>
21933
21934 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21935
e057a1b5
JM
219362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21937 Maxim Kuvyrkov <maxim@codesourcery.com>
21938 Joseph Myers <joseph@codesourcery.com>
21939
21940 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21941 if needed for __stack_chk_guard.
21942
bc7e1c36
RM
219432011-09-19 Roland McGrath <roland@hack.frob.com>
21944
ecb1482f
RM
21945 * sysdeps/posix/spawni.c (script_execute): Always define it.
21946 It will be optimized away if unused.
21947 (maybe_script_execute): New function.
21948 (__spawni): Call it.
21949
bc7e1c36
RM
21950 * Makerules: Don't include tls.make.
21951 (config-tls): Always set to thread.
21952 * tls.make.c: File removed.
21953
1c3b002b
MF
219542011-09-19 Mike Frysinger <vapier@gentoo.org>
21955
21956 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21957 * config.make.in (CPPFLAGS-config): New substituted variable.
21958
2840865d
UD
219592011-09-15 Ulrich Drepper <drepper@gmail.com>
21960
88738eb6
UD
21961 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21962
cbf645a6 21963 [BZ #13192]
2840865d
UD
21964 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21965 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21966
b402e91a
RM
219672011-09-15 Roland McGrath <roland@hack.frob.com>
21968
21969 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21970 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21972 (CALL_FAIL): Likewise.
21973 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21974 (CALL_FAIL): Macro removed.
21975 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21976
4c1a1f71
UD
219772011-09-15 Ulrich Drepper <drepper@gmail.com>
21978
21979 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21980 for __FINITE_MATH_ONLY__ == 1.
21981
edc121be
AS
219822011-09-15 Andreas Schwab <schwab@redhat.com>
21983
21984 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21985 __ieee754_sqrt instead of sqrt.
21986 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21987 __ieee754_sqrtf instead of sqrtf.
21988 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21989 __floorf instead of floorf.
21990 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21991 __floorf, __truncf instead of floorf, truncf.
21992
cd205654
UD
219932011-09-14 Ulrich Drepper <drepper@gmail.com>
21994
ee4d0315
UD
21995 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21996
cd205654
UD
21997 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21998 __extern_always_inline.
21999 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22000 32-bit.
22001
48b67d71
AS
220022011-09-14 Andreas Schwab <schwab@redhat.com>
22003
22004 * elf/rtld.c (dl_main): Also relocate in dependency order when
22005 doing symbol dependency testing.
22006
1ae12c75
AS
220072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22008
22009 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22010 Always define `refsym'.
22011
995a80df
AS
220122011-09-13 Andreas Schwab <schwab@redhat.com>
22013
e529793b
AS
22014 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22015 (__FD_ELT): Renamed from __FDELT.
22016 * misc/bits/select2.h (__FD_ELT): Likewise.
22017 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22018 __FD_MASK instead of __FDELT, __FDMASK.
22019 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22020 Likewise.
22021 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22022 Likewise.
22023
52d4fef8
AS
22024 * elf/Makefile (gen-ldd): Fix pattern.
22025
995a80df
AS
22026 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22027 (init_tls): Likewise.
22028
8682f8b0
UD
220292011-09-12 Ulrich Drepper <drepper@gmail.com>
22030
22031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22032
de82006d
AS
220332011-09-12 Andreas Schwab <schwab@redhat.com>
22034
a7c8e6a1
AS
22035 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22036 `struct cmsghdr *' instead of `void *'.
22037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22038 Likewise.
22039
0f31fe77
AS
220402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22041
22042 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22043 if non-absolute.
22044 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22045 ldd_rewrite_script.
0f31fe77 22046
32b4c839
UD
220472011-09-11 Ulrich Drepper <drepper@gmail.com>
22048
83cd1420
UD
22049 * configure.in: Remove --with-tls option.
22050 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22051 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22052 out in case it is missing.
22053 * sysdeps/ia64/elf/configure.in: Likewise.
22054 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22055 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22056 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22057 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22058 * sysdeps/sh/elf/configure.in: Likewise.
22059 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22060 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22061 * sysdeps/x86_64/elf/configure.in: Likewise.
22062 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22063 * sysdeps/mach/hurd/tls.h: Likewise.
22064
633f745d
UD
22065 [BZ #13067]
22066 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22067
f318beb8
UD
22068 [BZ #13090]
22069 * configure.in: Fix use of AC_INIT.
22070
32b4c839
UD
22071 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22072
3ce1f295
UD
220732011-09-10 Ulrich Drepper <drepper@gmail.com>
22074
bb016596
UD
22075 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22076 __set_errno.
8e58439c
UD
22077 * malloc/hooks.c: Likewise.
22078
aebae053 22079 [BZ #11929]
02d46fc4
UD
22080 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22081 variables statically.
22082 (narenas): Initialize.
22083 (list_lock): Initialize.
bb016596
UD
22084 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22085 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22086 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22087 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22088 Add initializers to main_arena and mp_.
22089 (malloc_state): Remove pagesize member. Change all users to use
22090 GLRO(dl_pagesize).
22091
22092 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22093 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22094 is always initialized.
22095
22a89187
UD
22096 * malloc/malloc.c: Removed unused configurations and dead code.
22097 * malloc/arena.c: Likewise.
22098 * malloc/hooks.c: Likewise.
02d46fc4 22099 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22100
d063d164
UD
22101 * include/tls.h: Removed. USE___THREAD must always be defined.
22102 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22103 * elf/dl-libc.c: Likewise.
22104 * elf/dl-tsd.c: Likewise.
22105 * include/errno.h: Likewise.
22106 * include/netdb.h: Likewise.
22107 * include/resolv.h: Likewise.
22108 * inet/herrno-loc.c: Likewise.
22109 * inet/herrno.c: Likewise.
22110 * malloc/arena.c: Likewise.
22111 * malloc/hooks.c: Likewise.
22112 * malloc/malloc.c: Likewise.
22113 * resolv/res-state.c: Likewise.
22114 * resolv/res_libc.c: Likewise.
22115 * sysdeps/i386/dl-machine.h: Likewise.
22116 * sysdeps/ia64/dl-machine.h: Likewise.
22117 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22118 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22119 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22120 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22121 * sysdeps/sh/dl-machine.h: Likewise.
22122 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22123 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22124 * sysdeps/unix/i386/sysdep.S: Likewise.
22125 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22126 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22131 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22135 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22136 * sysdeps/x86_64/dl-machine.h: Likewise.
22137 * tls.make.c: Likewise.
22138
3ce1f295
UD
22139 * configure.in: Remove --with-__thread option. Make tests for
22140 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22141 tls_model attribute fail if no support is available. Remove
22142 USE_IN_LIBIO.
22143 * Makeconfig: Adjust for dropped configure option. All features are
22144 now mandatory.
22145 * Makerules: Likewise.
22146 * Versions.def: Likewise.
22147 * argp/argp-fmtstream.c: Likewise.
22148 * argp/argp-fmtstream.h: Likewise.
22149 * argp/argp-help.c: Likewise.
22150 * assert/assert.c: Likewise.
22151 * config.h.in: Likewise.
22152 * config.make.in: Likewise.
22153 * configure: Likewise.
22154 * configure.in: Likewise.
22155 * csu/Versions: Likewise.
22156 * csu/init.c: Likewise.
22157 * elf/tst-audit2.c: Likewise.
22158 * elf/tst-tls10.c: Likewise.
22159 * elf/tst-tls10.h: Likewise.
22160 * elf/tst-tls11.c: Likewise.
22161 * elf/tst-tls12.c: Likewise.
22162 * elf/tst-tls14.c: Likewise.
22163 * elf/tst-tlsmod11.c: Likewise.
22164 * elf/tst-tlsmod12.c: Likewise.
22165 * elf/tst-tlsmod13.c: Likewise.
22166 * elf/tst-tlsmod13a.c: Likewise.
22167 * elf/tst-tlsmod14a.c: Likewise.
22168 * elf/tst-tlsmod15b.c: Likewise.
22169 * elf/tst-tlsmod16a.c: Likewise.
22170 * elf/tst-tlsmod16b.c: Likewise.
22171 * elf/tst-tlsmod7.c: Likewise.
22172 * elf/tst-tlsmod8.c: Likewise.
22173 * elf/tst-tlsmod9.c: Likewise.
22174 * gmon/gmon.c: Likewise.
22175 * grp/fgetgrent_r.c: Likewise.
22176 * grp/putgrent.c: Likewise.
22177 * hurd/fopenport.c: Likewise.
22178 * include/libc-symbols.h: Likewise.
22179 * include/tls.h: Likewise.
22180 * intl/gettextP.h: Likewise.
22181 * intl/loadinfo.h: Likewise.
22182 * locale/global-locale.c: Likewise.
22183 * locale/localeinfo.h: Likewise.
22184 * mach/devstream.c: Likewise.
22185 * malloc/arena.c: Likewise.
22186 * malloc/set-freeres.c: Likewise.
22187 * misc/err.c: Likewise.
22188 * misc/getttyent.c: Likewise.
22189 * misc/mntent_r.c: Likewise.
22190 * posix/getopt.c: Likewise.
22191 * posix/wordexp.c: Likewise.
22192 * pwd/fgetpwent_r.c: Likewise.
22193 * resolv/Versions: Likewise.
22194 * resolv/res_hconf.c: Likewise.
22195 * shadow/fgetspent_r.c: Likewise.
22196 * shadow/putspent.c: Likewise.
22197 * stdio-common/printf_fphex.c: Likewise.
22198 * stdio-common/tmpfile.c: Likewise.
22199 * stdlib/abort.c: Likewise.
22200 * stdlib/fmtmsg.c: Likewise.
22201 * sunrpc/auth_unix.c: Likewise.
22202 * sunrpc/clnt_perr.c: Likewise.
22203 * sunrpc/clnt_tcp.c: Likewise.
22204 * sunrpc/clnt_udp.c: Likewise.
22205 * sunrpc/clnt_unix.c: Likewise.
22206 * sunrpc/openchild.c: Likewise.
22207 * sunrpc/svc_simple.c: Likewise.
22208 * sunrpc/svc_tcp.c: Likewise.
22209 * sunrpc/svc_udp.c: Likewise.
22210 * sunrpc/svc_unix.c: Likewise.
22211 * sunrpc/xdr.c: Likewise.
22212 * sunrpc/xdr_array.c: Likewise.
22213 * sunrpc/xdr_rec.c: Likewise.
22214 * sunrpc/xdr_ref.c: Likewise.
22215 * sunrpc/xdr_stdio.c: Likewise.
22216
1248c1c4
PB
222172011-09-09 Ulrich Drepper <drepper@gmail.com>
22218
22219 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22220
222212011-07-03 Andreas Jaeger <aj@suse.de>
22222
22223 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22224 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22225 regenerate with gen-libm-tests.pl.
22226
222272010-05-12 Petr Baudis <pasky@suse.cz>
22228
22229 [BZ #11589]
22230 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22231 around j0() zero points by switching to j1().
22232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22236
f22e1074
UD
222372011-09-09 Ulrich Drepper <drepper@gmail.com>
22238
f19009c1
UD
22239 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22240 instead of 0.
22241 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22242 instead of 0.
f19009c1
UD
22243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22244 Patch in part by Pavel Roskin <proski@gnu.org>.
22245
3f8cc204
UD
22246 [BZ #13138]
22247 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22248 realloc.
22249 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22250 Free memory block if necessary.
22251
f22e1074
UD
22252 [BZ #12847]
22253 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22254 be NULL. Don't lock in this case.
22255
0a2349f9
RM
222562011-09-09 Roland McGrath <roland@hack.frob.com>
22257
22258 * elf/elf.h (ELFOSABI_GNU): New macro.
22259 (ELFOSABI_LINUX): Define to that.
22260
f3cdd467
DZ
222612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22262
22263 * string/strncat.c (strncat): Undef the symbol in case it has been
22264 defined in bits/string.h.
22265
74718d13
UD
222662011-09-09 Ulrich Drepper <drepper@gmail.com>
22267
633e9e0f
UD
22268 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22269
0a2349f9 22270 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22271 link map.
22272
f9924780
AJ
222732011-08-17 Andreas Jaeger <aj@suse.de>
22274
22275 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22276
7f5517aa
PP
222772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22278 Ian Lance Taylor <iant@google.com>
22279
22280 * math/libm-test.inc (lround_test): New testcase.
22281 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22282
762011fe
UD
222832011-09-08 Ulrich Drepper <drepper@gmail.com>
22284
92963737
UD
22285 * Makefile: Remove support for automatic cvs check-ins.
22286 * Makerules: Likewise.
22287 * config.make.in: Likewise.
22288 * configure.in: Likewise.
22289 * intl/Makefile: Likewise.
22290 * locale/Makefile: Likewise.
22291 * po/Makefile: Likewise.
22292 * posix/Makefile: Likewise.
22293 * sysdeps/gnu/Makefile: Likewise.
22294 * sysdeps/mach/hurd/Makefile: Likewise.
22295 * sysdeps/sparc/sparc32/Makefile: Likewise.
22296
b0727fd8
JS
22297 [BZ #13118]
22298 * posix/Makefile (bug-regex32-ENV): Define.
22299 Patch by John Stanley <jpsinthemix@verizon.net>.
22300
a0f33f99
UD
22301 * misc/Makefile (headers): Add bits/select2.h.
22302 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22303 * misc/bits/select2.h: New file.
22304 * include/bits/select2.h: New file.
22305 * debug/Makefile (routines): Add fdelt_chk.
22306 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22307 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22308 FD_ISSET.
22309 * debug/fdelt_chk.c: New file.
22310
762011fe
UD
22311 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22312 * wcsmbs/test-wmemcmp.c: Likewise.
22313 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22314 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22315
223162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22317
22318 * string/Makefile (strop-tests): Add memcmp.
22319 * string/test-wmemcmp.c: New file.
22320 * string/test-memcmp.c: Add wmemcmp support.
22321
7f513ec8
RM
223222011-09-08 Roland McGrath <roland@hack.frob.com>
22323
0442afb4
RM
22324 [BZ #13153]
22325 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22326 2011-07-19 change.
22327
7f513ec8
RM
22328 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22329 garbage value in a __mach_port_mod_refs call in the cases of the
22330 task-self and thread-self ports.
22331
a12b2239
ST
223322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22333
22334 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22335
610f9ab4
AS
223362011-09-08 Andreas Schwab <schwab@redhat.com>
22337
7f513ec8 22338 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22339
48882a1a
LD
223402011-09-07 Ulrich Drepper <drepper@gmail.com>
22341
b49865be
UD
22342 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22343
fdc86bc9
UD
22344 * elf/dl-libc.c (dlerror_run): Pass back error code from
22345 dl_catch_error.
22346
c966526a
UD
22347 [BZ #13123]
22348 * elf/dl-load.c (lose): Free l_origin if it is valid.
22349
48882a1a
LD
22350 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22351 names.
22352 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22353 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22355 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22356 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22357 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22358
77a2a8b4
AZ
223592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22360
22361 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22362 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22363 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22364 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22365 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22366 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22367 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22368 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22369 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22370 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22371
24f579d8
AM
223722011-08-15 Alan Modra <amodra@gmail.com>
22373
22374 [BZ #13092]
22375 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22376 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22377 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22378 ppc_mcount to static-only-routines.
22379 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22380 __mcount_internal.
22381 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22382 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22383
3d4837df
UD
223842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22385
22386 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22387 for finite and infinity parameters.
22388
22700377
WS
223892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22390
22391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22392 and add nop instructions for throughput optimization.
22393 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22394
5025581e
WS
223952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22396
22397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22398 aligned copy for power7 with vector-scalar instructions.
22399 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22400
08a300c9
L
224012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22402
22403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22404 AVX check.
22405
59178ef9
AS
224062011-09-07 Andreas Schwab <schwab@redhat.com>
22407
22408 [BZ #13144]
22409 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22410 last change.
22411
e38ba7ab
UD
224122011-09-07 Ulrich Drepper <drepper@gmail.com>
22413
22414 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22415 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22416 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22417 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22418 clock_gettime.
22419
d53a73ac
UD
224202011-09-06 Ulrich Drepper <drepper@gmail.com>
22421
fc8bffcc
UD
22422 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22423 Forgot to demangle the pointer.
22424
ceaa0c5d
UD
22425 * sysdeps/i386/sysdep.h: Define atom_text_section.
22426 * sysdeps/x86_64/sysdep.h: Likewise.
22427 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22428 section with atom_text_section.
22429 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22431 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22432 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22433 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22434
a77d3c17
UD
22435 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22437 already be defined. Change to take two parameters and don't assign
22438 result to variable. Adjust all users.
22439 Define INTERNAL_GETTIME if not already defined.
22440 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22441 call.
22442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22443 HAVE_CLOCK_GETTIME_VSYSCALL.
22444 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22445
d53a73ac
UD
22446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22447 gettimeofday vsyscall, just use time.
22448
a8f84144
AS
224492011-09-06 Andreas Schwab <schwab@redhat.com>
22450
22451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22452 <errno.h>.
22453
ef606249
UD
224542011-09-06 Ulrich Drepper <drepper@gmail.com>
22455
22456 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22457 syscall on x86-64.
22458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22459 syscall.
22460 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22462 syscall if possible.
22463
6585cb60
UD
224642011-09-05 Ulrich Drepper <drepper@gmail.com>
22465
22466 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22467 e_ident. Don't pass to find_mapsXX.
22468 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22469
a5f524e4
LD
224702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22471
22472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22473 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22474 * sysdeps/x86_64/multiarch/strchr.S: Update.
22475 Check bit_slow_BSF bit.
22476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22477 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22478 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22479
554881ef
UD
224802011-09-05 Ulrich Drepper <drepper@gmail.com>
22481
d96de963
UD
22482 [BZ #13134]
22483 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22484 before glibc 2.15.
22485 (tryshell): Define.
22486 (__spawni): Change last parameter to be flag. Test
22487 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22488 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22489 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22490 * posix/spawni.c: Likewise.
22491 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22492 * posix/spawnp.c: Likewise. Change normal version to use
22493 SPAWN_XFLAGS_USE_PATH.
22494 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22495 SPAWN_XFLAGS_TRY_SHELL.
22496
d48e5868
UD
22497 [BZ #13150]
22498 * posix/glob.h: Remove gcc 1.x support.
22499
554881ef
UD
22500 [BZ #13068]
22501 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22502
693fb948
LD
225032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22504
22505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22506 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22507 strrchr-sse2-bsf
22508 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22509 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22510 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22512 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22514
1b48c537
UD
225152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22516
49d42c37
UD
22517 * sysdeps/x86_64/wcscmp.S: New file.
22518
1b48c537
UD
22519 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22520 wcscmp-c wcscmp-sse2
22521 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22522 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22524 * wcsmbs/wcscmp.c: Allow renaming.
22525
15c95c5d
DM
225262011-09-05 David S. Miller <davem@davemloft.net>
22527
22528 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22529 stack slot, rather than the struct return pointer slot.
22530 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22531 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22533 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22534
2f0ad8f3
UD
225352011-09-05 Ulrich Drepper <drepper@gmail.com>
22536
d88ae418
UD
22537 * po/ja.po: Update from translation team.
22538
2f0ad8f3
UD
22539 [BZ #13144]
22540 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22541 kernel in 64-bit binaries.
22542
5f4318d1
DM
225432011-09-01 David S. Miller <davem@davemloft.net>
22544
22545 * elf/elf.h (HWCAP_SPARC_*): Move to..
22546 * sysdeps/sparc/sysdep.h: this new file and add new values.
22547 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22548 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22549 _DL_HWCAP_COUNT to 24.
22550 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22551 entries.
22552 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22553 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22554 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22556 instead of magic constants.
22557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22558
3ba57516
DM
225592011-08-31 David S. Miller <davem@davemloft.net>
22560
22561 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22563 Reimplement to do errno handling inline.
22564 (SYSCALL_ERROR_HANDLER): New macro.
22565 (__SYSCALL_STRING): Do not do errno handling in asm.
22566 (__CLONE_SYSCALL_STRING): Delete.
22567 (__INTERNAL_SYSCALL_STRING): Delete.
22568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22569 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22570 (PSEUDO): Reimplement to do errno handling inline.
22571 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22572 (SYSCALL_ERROR_HANDLER): New macro.
22573 (__SYSCALL_STRING): Do not do errno handling in asm.
22574 (__CLONE_SYSCALL_STRING): Delete.
22575 (__INTERNAL_SYSCALL_STRING): Delete.
22576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22577 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22578 i386.
22579 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22580 (inline_syscall*): Add 'err' argument.
22581 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22582 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22583 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22584 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22585
22586 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22587 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22588
2bc17433
AS
225892011-08-30 Andreas Schwab <schwab@redhat.com>
22590
22591 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22592
fbeb5f4d
JO
225932011-08-29 Jiri Olsa <jolsa@redhat.com>
22594
22595 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22596 directive.
22597
ad69cc26
DM
225982011-08-24 David S. Miller <davem@davemloft.net>
22599
22600 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22601
39dd69df
AS
226022011-08-24 Andreas Schwab <schwab@redhat.com>
22603
22604 * elf/Makefile: Add rules to build and run unload8 test.
22605 * elf/unload8.c: New file.
22606 * elf/unload8mod1.c: New file.
22607 * elf/unload8mod1x.c: New file.
22608 * elf/unload8mod2.c: New file.
22609 * elf/unload8mod3.c: New file.
22610
22611 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22612 it wasn't used.
22613
2c0b250a
DM
226142011-08-23 David S. Miller <davem@davemloft.net>
22615
22616 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22617 subtract stack bias.
22618 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22619 %sp not %fp in calculations.
22620 (_JMPBUF_UNWINDS_ADJ): Likewise.
22621
22044b48
DM
22622 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22623 (aio_suspend): Call it to force an exception region around the
22624 AIO_MISC_WAIT() invocation.
22625
2cae4995
AS
226262011-08-23 Andreas Schwab <schwab@redhat.com>
22627
22628 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22629 backslash.
22630
873a772e
AJ
226312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22632
22633 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22634 protection macro.
22635 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22636 and <dl-machine.h>.
22637 (Elf64_FuncDesc): Remove.
22638
25ad0df1
DM
226392011-08-22 David S. Miller <davem@davemloft.net>
22640
22641 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22642 sigaltstack check, add missing cfi directives.
22643 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22644 missing cfi directives, and sigaltstack handling.
22645
e888bcbe
AS
226462011-08-16 Andreas Schwab <schwab@redhat.com>
22647
22648 [BZ #11724]
22649 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22650 object is seen twice.
22651 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22652
22653 * elf/Makefile (distribute): Add tst-initorder2.c.
22654 (tests): Add tst-initorder2.
22655 (modules-names): Add tst-initorder2a tst-initorder2b
22656 tst-initorder2c tst-initorder2d. Add rules to build them.
22657 ($(objpfx)tst-initorder2.out): New rule.
22658 * elf/tst-initorder2.c: New file.
22659 * elf/tst-initorder2.exp: New file.
22660
87162f46
AS
226612011-08-22 Andreas Schwab <schwab@redhat.com>
22662
70538b7f
AS
22663 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22664
f55ffe58
AS
22665 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22666 dependencies back to end of function.
22667
87162f46
AS
22668 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22669 $(elfobjdir)/ld.so.
22670
91b392a4
UD
226712011-08-21 Ulrich Drepper <drepper@gmail.com>
22672
22673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22674 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22676 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22677 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22678 of __vdso_gettimeofday.
22679 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22680 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22681 attribute_hidden.
22682 (_libc_vdso_platform_setup): Remove initialization of
22683 __vdso_gettimeofday and __vdso_time.
22684
5c43483f
UD
226852011-08-20 Ulrich Drepper <drepper@gmail.com>
22686
775a77e7
UD
22687 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22688 and fgetc_unlocked.
22689 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22690 getc_unlocked.
89f447ed 22691
49c74ba9
UD
22692 * elf/dl-open.c (add_to_global): Report additions to the global scope
22693 for LD_DEBUG=scopes.
22694 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22695 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22696
5c43483f
UD
22697 [BZ #13114]
22698 * stdio-common/Makefile (tests): Add bug24.
22699 * stdio-common/bug24.c: New file.
22700
a101b025
AJ
227012011-08-19 Andreas Jaeger <aj@suse.de>
22702
22703 [BZ #13114]
22704 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22705 non-existant file when using close-on-exec mode.
22706
c88f1766
UD
227072011-08-20 Ulrich Drepper <drepper@gmail.com>
22708
0276a718
UD
22709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22710 the very first instruction.
22711
c88f1766
UD
22712 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22713 the CFI state in the end.
22714 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22715 inclusion of dl-trampoline.h.
22716 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22717
51ccffa0
AS
227182011-08-19 Andreas Schwab <schwab@redhat.com>
22719
94d7165f
AS
22720 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22721 expectations for long double.
22722
51ccffa0
AS
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22724 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22725
fd708658 227262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22727
22728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22729 artificual limit depends upon the system page size.
22730
44f0a71e
UD
227312011-08-17 Ulrich Drepper <drepper@gmail.com>
22732
22733 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22734 * resolv/Makefile: Define CFLAGS-libresolv.
22735
8de79a24
AS
227362011-08-17 Andreas Schwab <schwab@redhat.com>
22737
22738 * nss/makedb.c (compute_tables): Make variables used in nested
22739 function static.
22740
27724598
UD
227412011-08-17 Ulrich Drepper <drepper@gmail.com>
22742
c5305d88
UD
22743 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22744 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22745 if buffer was too small.
22746
27724598
UD
22747 * elf/pldd.c (main): Attach to all threads in the process.
22748 Rewrite /proc handling to use *at functions.
22749
076fe015
UD
227502011-08-16 Ulrich Drepper <drepper@gmail.com>
22751
174baab3
UD
22752 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22753 specifies first scope to show.
22754 (dl_open_worker): Update callers. Move printing scope of new
22755 object to before the relocation.
44f0a71e 22756 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22757 * sysdeps/generic/ldsodefs.h: Update declaration.
22758
076fe015
UD
22759 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22760 string for the scope number.
22761
a60df2c3
UD
227622011-08-14 Ulrich Drepper <drepper@gmail.com>
22763
22764 * nscd/servicescache.c (cache_addserv): Make sure written is always
22765 initialized.
22766
5e4287d1
RM
227672011-08-14 Roland McGrath <roland@hack.frob.com>
22768
85ae0589
RM
22769 * sysdeps/i386/i486/bits/atomic.h
22770 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22771 statement expression, so as to suppress "set but not used" warning.
22772 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22773
69f63097
RM
22774 * string/strncat.c (STRNCAT): Use prototype definition.
22775
675456ef
RM
22776 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22777 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22778 -Iprograms here.
22779 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22780 (localedef-modules): Add localedef.
22781 (locale-modules): Add locale.
22782
5e4287d1
RM
22783 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22784 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22785 to avoid a warning.
22786
9c96ff23
DM
227872011-08-14 David S. Miller <davem@davemloft.net>
22788
22789 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22790 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22791
f9ddf089
UD
227922011-08-13 Ulrich Drepper <drepper@gmail.com>
22793
44f0a71e 22794 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22795 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22796 * elf/rtld.c (dl_main): Set l_name of vDSO.
22797 Call _dl_show_scope when DL_DEBUG_SCOPES.
22798 (process_dl_debug): Recognize scopes flag and also set it for all.
22799 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22800 Declare _dl_show_scope.
22801
1dc27704
UD
22802 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22803 (do_dlopen): Pass caller_dlopen to dl_open.
22804 (__libc_dlopen_mode): Initialize caller_dlopen.
22805
f9ddf089
UD
22806 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22807 of libc. Make tolower call locale-independent. Optimize a bit by
22808 using isdigit instead of isalnum.
22809 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22810
9ac533d3
UD
228112011-08-12 Ulrich Drepper <drepper@gmail.com>
22812
22813 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22814 was a dependency or dynamically loaded.
22815
89edf2e9
UD
228162011-08-11 Ulrich Drepper <drepper@gmail.com>
22817
8e999d29
UD
22818 * intl/l10nflist.c: Allow architecture-specific pop function.
22819 * sysdeps/x86_64/l10nflist.c: New file.
22820
89edf2e9
UD
22821 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22822 classification.
22823
14d96785
AS
228242011-08-10 Andreas Schwab <schwab@redhat.com>
22825
22826 * include/dirent.h: Add libc_hidden_proto for scandirat and
22827 scandirat64. Don't declare __scandirat64.
22828 * dirent/scandirat.c: Add libc_hidden_def.
22829 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22830 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22831
6761ac04
DM
228322011-08-10 David S. Miller <davem@davemloft.net>
22833
22834 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22835 enum.
22836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22839
c55fbd1e
UD
228402011-08-09 Ulrich Drepper <drepper@gmail.com>
22841
22842 * Versions.def [libc]: Add GLIBC_2.15.
22843 * dirent/Makefile (routines): Add scandirat and scandirat64.
22844 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22845 GLIBC_2.15.
22846 * dirent/dirent.h: Declare scandirat and scandirat64.
22847 * dirent/scandirat.c: New file.
22848 * dirent/scandirat64.c: New file.
22849 * sysdeps/wordsize-64/scandirat.c: New file.
22850 * sysdeps/wordsize-64/scandirat64.c: New file.
22851 * dirent/opendir.c: Define opendirat.
22852 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22853 using scandirat.
22854 * dirent/scandir64.c: Adjust for scandir.c change.
22855 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22856 __scandirat64, and __scandir_cancel_handler.
22857 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22858 additional parameter and use openat instead of open (outside of ld.so).
22859 Add new __opendir as wrapper around __opendirat.
22860 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22861 here without requiring old scandirat implementation.
22862
879165f2
UD
228632011-08-08 Ulrich Drepper <drepper@gmail.com>
22864
22865 * dirent/scandir.c (cancel_handler): Renamed to
22866 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22867 defined. Adjust users.
22868 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22869 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22870
cb7e923b
UD
228712011-08-04 Ulrich Drepper <drepper@gmail.com>
22872
16292edd
UD
22873 * string/test-string.h (IMPL): Use __STRING to expand name and then
22874 stringify it.
22875
cb7e923b
UD
22876 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22877 of cleanups.
22878
cff82933
LD
228792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22880
22881 * string/Makefile: Update.
22882 (strop-tests): Append strncat.
22883 * string/test-wcscmp.c: New file.
22884 New comprehensive test for wcscmp.
22885 * string/test-strcmp.c: Update.
22886 (WIDE): New define.
22887
9be9bfcc
AS
228882011-07-22 Andreas Schwab <schwab@redhat.com>
22889
22890 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22891 line.
22892
2e96f1c7
AS
228932011-07-26 Andreas Schwab <schwab@redhat.com>
22894
22895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22896 encoding to ACE if AI_IDN.
22897
85188888
JJ
228982011-08-01 Jakub Jelinek <jakub@redhat.com>
22899
22900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22901 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22902
5fa16e9b
LD
229032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22904
22905 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22906 Fix overflow bug in strncat.
22907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22908
22909 * string/test-strncat.c: Update.
22910 Add new tests for checking overflow bugs.
22911
229122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22913
22914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22915 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22916 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22917 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22919 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22920 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22921 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22922 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22923
22924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22925 (USE_AS_STRCAT): Define.
22926 Add strcat and strncat support.
22927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22928
8c1a459f
AS
229292011-07-25 Andreas Schwab <schwab@redhat.com>
22930
22931 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22932 __n bigger than INT_MAX+1.
22933 (__strncmp_g): Likewise.
22934
bba33c28
UD
229352011-07-23 Ulrich Drepper <drepper@gmail.com>
22936
798be72d
UD
22937 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22938 * libio/stido.h: Likewise.
22939
8accd4dc
UD
22940 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22941 (AF_NFC): Define.
22942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22943 (AF_NFC): Define.
22944
cbff0d96
UD
22945 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22950
9191c04a
UD
22951 [BZ #13021]
22952 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22953 installed.
22954
bba33c28
UD
22955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22956 typo.
22957 (_dl_x86_64_save_sse): Likewise.
22958
90f139dd
UD
229592011-07-22 Ulrich Drepper <drepper@gmail.com>
22960
1aae088a
UD
22961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22962 OSXSAVE.
22963 (_dl_x86_64_save_sse): Likewise.
22964
8e2045f5
UD
22965 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22966
90f139dd
UD
22967 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22968
1d002f25
AS
229692011-07-21 Andreas Schwab <schwab@redhat.com>
22970
22971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22972 change.
22973 (_dl_x86_64_save_sse): Use correct AVX check.
22974
21137f89
UD
229752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22976
22977 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22978 bug in strncpy/strncat.
22979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22980
a65c0b7a
UD
229812011-07-21 Ulrich Drepper <drepper@gmail.com>
22982
22983 * string/tester.c (test_strcat): Add tests for different alignments
22984 of source and destination.
22985 (test_strncat): Likewise.
22986
6986b98a
UD
229872011-07-20 Ulrich Drepper <drepper@gmail.com>
22988
90bb2039
UD
22989 [BZ #12852]
22990 * posix/glob.c (glob): Check passed in values before using them in
22991 expressions to avoid some overflows.
22992 (glob_in_dir): Likewise.
22993
5644ef54
UD
22994 [BZ #13007]
22995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22996 check for AVX enablement so that we don't crash with old kernels and
22997 new hardware.
22998 * elf/tst-audit4.c: Add same checks here.
22999 * elf/tst-audit6.c: Likewise.
23000
23001 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23002
bfc9dc9b
AS
230032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23004
23005 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23006
702e64bb
UD
230072011-07-20 Ulrich Drepper <drepper@gmail.com>
23008
23009 * po/cs.po: Update from translation team.
23010 * po/bg.po: Likewise.
23011
295e904f
MP
230122011-07-12 Marek Polacek <mpolacek@redhat.com>
23013
23014 * misc/sys/cdefs.h: Add support for const attribute.
23015 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23016 to gnu_dev_{major,minor,makedev} functions.
23017
3ff94596
MP
230182011-07-20 Marek Polacek <mpolacek@redhat.com>
23019
23020 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23021
28b59fca
AS
230222011-07-20 Andreas Schwab <schwab@redhat.com>
23023
23024 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23025 strlen results.
23026
19df733e
AK
230272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23028
23029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23030 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23031 register in order to avoid conflicts with the soft frame pointer
23032 being held in r11 when necessary.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23034 (INTERNAL_VSYSCALL_NCS): Likewise.
23035
c8835729
MP
230362011-07-14 Marek Polacek <mpolacek@redhat.com>
23037
23038 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23039 * elf/dl-fini.c (_dl_fini): Adjust caller.
23040 * elf/dl-close.c (_dl_close_worker): Likewise.
23041 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23042
b902330c
MP
230432011-07-15 Marek Polacek <mpolacek@redhat.com>
23044
8991e135
MP
23045 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23046 "aux_cache->nlibs < 0".
23047
b902330c
MP
23048 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23049 in the reload-count case.
23050
99710781
LD
230512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23052
23053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23054 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23055 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23056 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23057 * sysdeps/x86_64/multiarch/strcat.S: New file.
23058 * sysdeps/x86_64/multiarch/strncat.S: New file.
23059 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23061 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23062 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23064 (USE_AS_STRCAT): Define.
23065 Add strcat and strncat support.
23066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23068 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23069 * string/strncat.c: Update.
23070 (USE_AS_STRNCAT): Define.
23071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23072 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23073 and i7.
23074 * sysdeps/x86_64/multiarch/init-arch.h
23075 (bit_Prefer_PMINUB_for_stringop): New.
23076 (index_Prefer_PMINUB_for_stringop): Likewise.
23077 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23078 bit_Prefer_PMINUB_for_stringop.
23079
7dc6bd90
UD
230802011-07-19 Ulrich Drepper <drepper@gmail.com>
23081
23082 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23083 buffer64.
23084 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23085 of casting of buffer.
23086 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23087 buffer32 and buffer64.
23088 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23089 writes instead of casting of buffer.
23090 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23091 buffer32.
23092 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23093 casting of buffer.
23094
e0e72284
AS
230952011-07-19 Andreas Schwab <schwab@redhat.com>
23096
23097 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23098
feb1eb0b
UD
230992011-07-19 Ulrich Drepper <drepper@gmail.com>
23100
23101 * nscd/nscd.c (termination_handler): Don't do anything for a database
23102 if it has not yet been initialized.
23103
298711ff
UD
231042011-07-18 Ulrich Drepper <drepper@gmail.com>
23105
23106 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23107
231082011-07-15 Marek Polacek <mpolacek@redhat.com>
23109
23110 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23111
f9d68389
UD
231122011-07-18 Ulrich Drepper <drepper@gmail.com>
23113
23114 * po/nl.po: Update from translation team.
23115 * po/sv.po: Likewise.
23116
db290cf5
RM
231172011-07-16 Roland McGrath <roland@hack.frob.com>
23118
23119 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23120 now disallowed by GCC.
5c550700 23121
fd5e21c7
RM
23122 * configure.in (use-default-link): Default to yes if a test -shared
23123 link meets our qualifications.
23124 * configure: Regenerated.
23125
5c550700
RM
23126 * config.make.in (output-format): New variable.
23127 * configure.in: Check for ld --print-output-format support.
23128 * configure: Regenerated.
23129 * Makerules ($(common-objpfx)format.lds)
23130 [$(output-format) != unknown]: Just use $(output-format),
23131 instead of the linker-script munging.
23132
9fa2c032
RM
231332011-07-14 Roland McGrath <roland@hack.frob.com>
23134
a6928d51
RM
23135 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23136 of $(common-objpfx)shlib.lds.
23137 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23138
661607b3
RM
23139 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23140 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23141
9fa2c032
RM
23142 * configure.in (-z relro check): Adjust test code to add a large
23143 writable data section after it.
23144 * configure: Regenerated.
23145
defe9061
RM
231462011-07-11 Roland McGrath <roland@hack.frob.com>
23147
23148 * configure.in (-z relro check): Fix test code to make the variable
23149 truly const.
23150 * configure: Regenerated.
23151
319b9ad4
UD
231522011-07-11 Ulrich Drepper <drepper@gmail.com>
23153
23154 * nscd/nscd.h (struct traced_file): Define.
23155 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23156 elements. Add traced_files.
23157 (inotify_fd): Declare.
23158 (register_traced_file): Declare.
23159 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23160 (inotify_fd): Export.
23161 (resolv_conf_descr): Remove.
23162 (nscd_init): Move inotify descriptor creation to main.
23163 Don't register files for notification here.
23164 (register_traced_file): New function.
23165 (invalidate_cache): Don't use reset_res to determine whether to call
23166 res_init, go through the list of registered files.
23167 (main_loop_poll): The inotify descriptors are now stored in the
23168 structures for the traced files.
23169 (main_loop_epoll): Likewise
23170 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23171 to __nss_disable_nscd.
23172 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23173 for a database anymore. Check the records for all the registered
23174 files instead.
23175 * nss/Makefile (libnss_files-routines): Add files-init.
23176 (libnss_db-routines): Add db-init.
23177 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23178 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23179 * nss/nss_db/db-init.c: New file.
23180 * nss/nss_files/files-init.c: New file.
23181 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23182 __nss_lookup_function.
23183 (__nss_lookup_function): Call nss_load_library.
23184 (nss_load_all_libraries): New function.
23185 (__nss_disable_nscd): Take parameter with callback function for files
23186 to register. Set is_nscd. Load all the DSOs for the NSS modules
23187 used for the cached services.
23188 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23189 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23190 options for features to all the files in nscd.
23191
23192 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23193
23bee3e8
RM
231942011-07-10 Roland McGrath <roland@hack.frob.com>
23195
23196 * csu/elf-init.c (__libc_csu_init): Comment typo.
23197
46a5b7f0
UD
231982011-07-09 Ulrich Drepper <drepper@gmail.com>
23199
23200 * po/pl.po: Update from translation team.
23201 * po/ja.po: Likewise.
23202 * po/ru.po: Likewise.
23203 * po/ko.po: Likewise.
23204 * po/fr.po: Likewise.
23205
d30cf5bb
RM
232062011-07-09 Roland McGrath <roland@hack.frob.com>
23207
113ddea4
RM
23208 * configure.in (.ctors/.dtors header and trailer check):
23209 Use an empirical test on a built program.
23210 * configure: Regenerated.
23211
574920b4
RM
23212 * configure.in (-z relro check): Use an empirical test on a built DSO.
23213 Detect, but do not require, on ia64.
23214 * configure: Regenerated.
23215
d30cf5bb
RM
23216 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23217 Update tests that use readelf to use $READELF instead.
23218 * configure: Regenerated.
23219
8538fdb3
UD
232202011-07-08 Ulrich Drepper <drepper@gmail.com>
23221
23222 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23223 if the result is not used.
23224
04d08991
AJ
232252011-07-05 Andreas Jaeger <aj@suse.de>
23226
23227 [BZ#9696]
23228 * stdlib/tst-strtod.c: Add testcase.
23229
de283087
AD
232302011-07-07 Ulrich Drepper <drepper@gmail.com>
23231
4e5f31c8 23232 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23233 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23234 The latter has a higher limit. Take additional parameter to pass to
23235 the new function.
23236 (__pathconf): Pass file to __statfs_link_max.
23237 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23238 __statfs_link_max.
23239 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23240 __statfs_link_max.
23241
de283087
AD
23242 [BZ #12868]
23243 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23245 Handle Lustre.
23246 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23247 (__statfs_filesize_max): Likewise.
23248 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23249
c75fa153
AJ
232502011-07-05 Andreas Jaeger <aj@suse.de>
23251
23252 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23253
1a544854
UD
232542011-07-06 Marek Polacek <mpolacek@redhat.com>
23255
23256 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23257 `status' variable.
23258 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23259 Likewise.
23260
6f0eec67
UD
232612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23262
23263 * Makefile (strop-tests): Add strncat.
23264 * string/test-strncat.c: New file.
23265
aae30307
UD
232662011-06-30 Marek Polacek <mpolacek@redhat.com>
23267
23268 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23269
c0cfb5eb
UD
232702011-06-21 Andreas Jaeger <aj@suse.de>
23271
23272 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23273 Copy rule from iconvdata/Makefile.
23274
01636b21
UD
232752011-07-06 Ulrich Drepper <drepper@gmail.com>
23276
23277 [BZ #12922]
23278 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23279 but no long options are defined, just return 'W'.
23280
9895c8bc
UD
232812011-06-22 Marek Polacek <mpolacek@redhat.com>
23282
23283 [BZ #9696]
23284 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23285
5d4cf042
UD
232862011-07-06 Ulrich Drepper <drepper@gmail.com>
23287
23288 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23289 netgroups to read.
960e5535 23290 (innetgr): Likewise.
5d4cf042 23291
751eb97e
RM
232922011-07-05 Roland McGrath <roland@hack.frob.com>
23293
23294 * config.make.in (install_root): Default to $(DESTDIR).
23295
f15f1e45
UD
232962011-07-05 Ulrich Drepper <drepper@gmail.com>
23297
23298 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23299
4e34ac6a
RM
233002011-07-02 Roland McGrath <roland@hack.frob.com>
23301
5e9b6af4
RM
23302 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23303
84f9ea0f
RM
23304 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23305 containing directory rather than embedding absolute directory names.
23306
ea5ee9f7
RM
23307 * scripts/check-local-headers.sh: Rewritten using awk.
23308 Match by word, not by line. Print error messages for matches.
23309 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23310
1b74661a
RM
23311 * Makerules [shlib-lds-flags empty]:
23312 ($(common-objpfx)libc_pic.opts): New target.
23313 ($(common-objpfx)libc_pic.os.clean): New target.
23314 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23315
23316 * config.make.in (OBJCOPY): New variable.
23317 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23318 * configure: Regenerated.
23319
f781ef40
RM
23320 * config.make.in (use-default-link): New variable.
23321 * configure.in (use_default_link): Grok --with-default-link to set it.
23322 * configure: Regenerated.
23323 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23324 (shlib-lds, shlib-lds-flags): Define to empty.
23325
2d4fa81e
RM
23326 * Makerules (shlib-lds): New variable.
23327 (shlib-lds-flags): New variable.
23328 (build-shlib, build-moduile, build-module-asneeded): Use it.
23329 ($(common-objpfx)libc.so): Use $(shlib-lds).
23330 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23331 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23332
31fffa6b
RM
23333 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23334 DT_FLAGS/DT_FLAGS_1 with zero flags.
23335
4e34ac6a
RM
23336 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23337 linker script munging.
23338
fcfc776b
UD
233392011-07-02 Ulrich Drepper <drepper@gmail.com>
23340
23341 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23342 as 128-bit value.
23343 * crypt/sha512.c (sha512_process_block): Perform total addition using
23344 128-bit if possible.
23345 (__sha512_finish_ctx): Likewise.
23346 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23347 as 64-bit value.
23348 * crypt/sha256.c (SWAP64): Define.
23349 (sha256_process_block): Perform total addition using 64-bit if
23350 possible.
23351 (__sha256_finish_ctx): Likewise.
23352
99231d9a
UD
233532011-07-01 Ulrich Drepper <drepper@gmail.com>
23354
23355 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23357 * nscd/hstcache.c (cache_addhst): Likewise.
23358 * nscd/grpcache.c (cache_addgr): Likewise.
23359 * nscd/aicache.c (addhstaiX): Likewise
23360 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23361
445b4a53
TK
233622011-07-01 Thorsten Kukuk <kukuk@suse.de>
23363
23364 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23366 * nscd/hstcache.c (cache_addhst): Likewise.
23367 * nscd/grpcache.c (cache_addgr): Likewise.
23368 * nscd/aicache.c (addhstaiX): Likewise
23369
6d4d8e8e
AS
233702011-07-01 Andreas Schwab <schwab@redhat.com>
23371
23372 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23373 domain only when needed.
23374
89f654c5
AS
233752011-06-30 Andreas Schwab <schwab@redhat.com>
23376
23377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23378 is always restored.
23379
cf3b23ff
UD
233802011-06-29 Ulrich Drepper <drepper@gmail.com>
23381
23382 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23383 are re-adding the entry.
23384 * nscd/servicescache.c (cache_addserv): Likewise.
23385
751626f9
AJ
233862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23387
23388 * sysdeps/generic/dl-irel.h: fix protection against multiple
23389 inclusions.
23390 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23391
9113ea1f
UD
233922011-06-28 Ulrich Drepper <drepper@gmail.com>
23393
5c0b8d90
UD
23394 [BZ #12935]
23395 * malloc/memusage.sh: Fix quoting in message.
23396 * debug/xtrace.sh: Likewise.
23397
9113ea1f
UD
23398 * configure.in: Remove support for --experimental-malloc option, make
23399 it the default.
23400 * config.make.in: Likewise.
23401 * malloc/Makefile: Likewise.
23402
a4172181
AS
234032011-06-27 Andreas Schwab <schwab@redhat.com>
23404
23405 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23406 two-byte characters.
23407
78a7eee7
RM
234082011-06-27 Roland McGrath <roland@hack.frob.com>
23409
62bede13
RM
23410 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23411 AC_CACHE_CHECK invocation.
23412 * configure: Regenerated.
23413
78a7eee7
RM
23414 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23415
5ce33a62
UD
234162011-06-27 Ulrich Drepper <drepper@gmail.com>
23417
034807a9
UD
23418 [BZ #12350]
23419 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23420 bit from old_res_options.
23421
4902da17
UD
23422 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23423
5ce33a62
UD
23424 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23425 value type for setfct.
23426
c2344f56
L
234272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23428
23429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23430 __gettimeofday instead of gettimeofday.
23431
68468076
UD
234322011-06-26 Ulrich Drepper <drepper@gmail.com>
23433
23434 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23435
acb0d739
L
234362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23437
23438 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23439
23440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23441 info.
23442
8912479f
L
234432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23444
23445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23446 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23447 strcpy-sse2-unaligned strncpy-sse2-unaligned
23448 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23449 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23450 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23451 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23452 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23455 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23456 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23457 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23458 (STRCPY): Support SSE2 and SSSE3 versions.
23459
d5495a11
UD
234602011-06-24 Ulrich Drepper <drepper@gmail.com>
23461
23462 [BZ #12874]
23463 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23464 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23465 kernels which artificially limit size of requests.
23466
0b1cbaae
L
234672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23468
23469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23470 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23471 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23472 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23473 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23474 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23475 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23476 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23477 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23478 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23479 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23480 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23481 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23482 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23483 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23485 Enable unaligned load optimization for Intel Core i3, i5 and i7
23486 processors.
23487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23488 Define.
23489 (index_Fast_Unaligned_Load): Define.
23490 (HAS_FAST_UNALIGNED_LOAD): Define.
23491
07f494a0
MP
234922011-06-23 Marek Polacek <mpolacek@redhat.com>
23493
23494 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23495
fa3fc0fe
UD
234962011-06-22 Ulrich Drepper <drepper@gmail.com>
23497
23498 [BZ #12907]
23499 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23500 until it is clear that the information is realy needed.
23501 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23502
e12df166
AS
235032011-06-22 Andreas Schwab <schwab@redhat.com>
23504
23505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23506
852eb34d
UD
235072011-06-22 Ulrich Drepper <drepper@gmail.com>
23508
84e2a551
UD
23509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23510 /sys/devices/system/cpu/online if it is usable.
23511
852eb34d
UD
23512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23513 reading the information from the /proc filesystem to once a second.
23514
6e502e19
UD
235152011-06-21 Andreas Jaeger <aj@suse.de>
23516
23517 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23518 NULL after inclusion of kernel headers.
23519
75d39ff2
UD
235202011-06-21 Ulrich Drepper <drepper@gmail.com>
23521
51f9aa6a
UD
23522 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23523 calls to internal_setent.
23524
c0244a9d
UD
23525 [BZ #12885]
23526 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23527 addresses using gethostbyname4_r ignore IPv4 addresses.
23528
c5e3c2ae
UD
23529 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23530 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23531
75d39ff2
UD
23532 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23533
42675c6f
DM
235342011-06-20 David S. Miller <davem@davemloft.net>
23535
23536 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23537 inclusions.
23538 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23539
23540 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23541 (elf_irel): Use it.
23542 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23543 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23544 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23545 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23546 * sysdeps/x86_64/dl-irel.h: Likewise.
23547
23548 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23549 * elf/dl-sym.c: Likewise.
23550
57912a71
UD
235512011-06-15 Ulrich Drepper <drepper@gmail.com>
23552
23553 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23554 need to dereference resplen2.
23555
ee22793d
AS
235562011-06-14 Andreas Schwab <schwab@redhat.com>
23557
23558 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23559
a9e836b0
UD
235602011-06-15 Ulrich Drepper <drepper@gmail.com>
23561
77fb9117
UD
23562 * Makeconfig: Define vardbdir and inst_vardbdir.
23563 * nss/Makefile: Add rules to install db-Makefile.
23564
40c1b22c
UD
23565 * nss/nss_db/db-XXX.c: Cleanup.
23566
9f2da732
UD
23567 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23568 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23569 GLIBC_PRIVATE.
23570 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23571 * nss/makedb.c: Implement -g option to specify that value strings
23572 are generated and should not be added to table iterated over for
23573 get*ent calls.
23574 * nss/nss_db/db-initgroups.c: New file.
23575
82e9a1f7
UD
23576 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23577 interface.
23578
c41af17e
UD
23579 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23580 (internal_getgrouplist): Adjust to name change.
23581 Update use_initgroups_entry if this is not the first call.
23582 * nss/databases.def: Add initgroups entry.
23583
a9e836b0
UD
23584 * nss/makedb.c (compute_tables): Check result of multiple hash table
23585 sizes to minimize maximum chain length.
23586
2666d441
UD
235872011-06-14 Ulrich Drepper <drepper@gmail.com>
23588
23589 * Versions.def: Add entry for libnss_db.
23590 * shlib-versions: Likewise.
23591 * nss/Makefile: Add rules to build libnss_db.
23592 * nss/Versions: Add libnss_db information. Organize libnss_files
23593 entries better.
23594 * nss/db-Makefile: Add gshadow support. Change rules for the new
23595 makedb progra. Some minor improvements to generate smaller files.
23596 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23597 here from...
23598 * nss/makedb.c: ...here.
23599 Improve database format to be smaller and require less memory at
23600 runtime.
23601 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23602 db anymore.
23603 * nss/nss_db/db-netgrp.c: Likewise.
23604 * nss/nss_db/db-open.c: Likewise.
23605 * nss/nss_files/flies-XXX.x: Adjust comments.
23606 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23607 * nss/nss_files/files-grp.c: Likewise.
23608 * nss/nss_files/files-hosts.c: Likewise.
23609 * nss/nss_files/files-network.c: Likewise.
23610 * nss/nss_files/files-proto.c: Likewise.
23611 * nss/nss_files/files-pwd.c: Likewise.
23612 * nss/nss_files/files-rpc.c: Likewise.
23613 * nss/nss_files/files-service.c: Likewise.
23614 * nss/nss_files/files-sgrp.c: Likewise.
23615 * nss/nss_files/files-spwd.c: Likewise.
23616 * nss/nss_db/db-alias.c: Removed.
23617 * nss/nss_db/dummy-db.h: Removed.
23618
9ee76b5a
UD
236192011-06-02 Ulrich Drepper <drepper@gmail.com>
23620
23621 * nss/makedb.c: Rewritten to not use database library.
23622 * nss/Makefile: Update to build new makedb program.
23623
c71ca1f8
AJ
236242011-06-14 Andreas Jaeger <aj@suse.de>
23625
23626 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23627 memset declaration.
23628
3154bfb8
UD
236292011-06-10 Andreas Schwab <schwab@redhat.com>
23630
23631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23632 tmpbuf.
23633
b350afab
RM
236342011-06-10 Roland McGrath <roland@hack.frob.com>
23635
decd4e50
RM
23636 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23637 * elf/Makefile ($(objpfx)ld.so): Likewise.
23638
5615eaf2
RM
23639 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23640 Don't list ld.so twice in dependencies.
23641
23642 * posix/bug-regex31.c: Include <stdlib.h>.
23643
23644 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23645
23646 * nis/nss_compat/compat-spwd.c
23647 (getspent_next_nss_netgr): Remove unused variable.
23648 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23649
23650 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23651 nonmembers" output to use the right array.
23652
23653 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23654
23655 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23656
23657 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23658 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23659 * catgets/gencat.c (read_input_file): Likewise.
23660 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23661
23662 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23663 variable definition inside #if's controlling its use.
23664
23665 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23666
23667 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23668
23669 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23670
23671 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23672 unreachable code.
23673
23674 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23675
b68e08db
RM
23676 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23677 * configure: Regenerated.
23678
b350afab
RM
23679 * Makerules: Revert last change.
23680 * elf/Makefile: Likewise.
23681
28368601
RM
236822011-06-09 Roland McGrath <roland@hack.frob.com>
23683
23684 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23685 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23686 (reloc-link): Likewise.
23687
11988f8f
UD
236882011-06-09 Ulrich Drepper <drepper@gmail.com>
23689
23690 * elf/Makefile: Add rules to build pldd.
23691 * elf/pldd.c: New file.
23692 * elf/pldd-xx.c: New file.
23693
e80fab37
UD
236942011-06-07 Ulrich Drepper <drepper@gmail.com>
23695
23696 * version.h: Update for 2.15 development version.
23697
9b849836
DM
236982011-06-07 David S. Miller <davem@davemloft.net>
23699
23700 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23701 ifuncs.
23702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23703 elf_machine_lazy_rel): Likewise.
23704 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23706 elf_machine_lazy_rel): Likewise.
23707 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23708 dl_hwcap via passed in argument.
23709 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23710 Likewise.
23711
5a31b283
AK
237122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23713
23714 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23715
069e52f8
RM
237162011-06-06 Roland McGrath <roland@hack.frob.com>
23717
23718 [BZ #12849]
23719 * manual/fdl-1.1.texi: New file, verbatim from:
23720 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23721 * manual/lgpl-2.1.texi: New file, verbatim from:
23722 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23723 * manual/Makefile (licenses): New variable, list those new file names.
23724 (texis): Use it.
23725 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23726
23727 * manual/fdl.texi: File removed.
23728 * manual/lesser.texi: File removed.
23729 * manual/libc.texinfo (Copying, Documentation License):
23730 Use new @include file names, put @appendix directive before @include.
23731
f16846a5
JJ
237322011-06-04 Jakub Jelinek <jakub@redhat.com>
23733
23734 [BZ #12841]
23735 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23736 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23737 (mq_open): Add __NTH.
23738
3d29045b
L
237392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23742 Assume Intel Core i3/i5/i7 processor if AVX is available.
23743
8c297311
UD
237442011-05-31 Ulrich Drepper <drepper@gmail.com>
23745
23746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23747 typo.
23748
c8fc0c91
UD
237492011-05-31 Andreas Schwab <schwab@redhat.com>
23750
23751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23752 memory. Use alloca_account. Fix memory leak when retrying.
23753
5b27a807
UD
237542011-05-31 Ulrich Drepper <drepper@gmail.com>
23755
356f8bc6
UD
23756 * version.h (RELEASE): Bump for 2.14 release.
23757 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23758
5b27a807
UD
23759 * config.make.in (RANLIB): Remove entry.
23760
01f16ab0
UD
237612011-05-30 Ulrich Drepper <drepper@gmail.com>
23762
41fce8bd
UD
23763 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23764 (libc.pot): Work around missing support for .ksh extension in xgettext.
23765
4769ae77
UD
23766 [BZ #12684]
23767 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23768 if both request failed.
23769 (send_dg): In case of server errors clear resplen or *resplen2.
23770
6b1e7d19
UD
23771 [BZ #12454]
23772 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23773 when there are multiple maps.
23774 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23775 (_dl_fini): Remove test here.
23776
01f16ab0
UD
23777 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23778
b1ebd700
UD
237792011-05-29 Ulrich Drepper <drepper@gmail.com>
23780
7ae22829
UD
23781 [BZ #12350]
23782 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23783 bit from old_res_options.
23784 (gaih_inet): Likewise.
23785
553149f6 23786 [BZ #11099]
18a84741 23787 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23788 as signed.
23789
652ffab1
UD
23790 * resolv/res_init.c (res_setoptions): Make the code more compact.
23791
16985fd0
UD
23792 [BZ #11558]
23793 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23794 set RES_USEVC.
23795
0464f746
UD
23796 [BZ #11634]
23797 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23798
7d17596c
UD
23799 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23800
cf6bbbd7
UD
23801 [BZ #11781]
23802 * malloc/malloc.h: Declare malloc hook variables as volatile.
23803
13f1ab36
UD
23804 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23805 in last patch.
23806
b1ebd700
UD
23807 [BZ #11799]
23808 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23809 raise in the comment.
80e2212d
UD
23810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23812 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23813
ce67228d
UD
238142011-05-28 Ulrich Drepper <drepper@gmail.com>
23815
8887a920
UD
23816 [BZ #12811]
23817 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23818 grow the buffers more if it already has to be sufficient.
23819 (build_wcs_upper_buffer): Likewise.
23820 * posix/regexec.c (check_matching): Likewise.
23821 (clean_state_log_if_needed): Likewise.
23822 (extend_buffers): Don't enlarge buffers beyond size of the input
23823 buffer.
23824 Patches mostly by Emil Wojak <emil@wojak.eu>.
23825 * posix/bug-regex32.c: New file.
23826 * posix/Makefile (tests): Add bug-regex32.
23827
4f031072
UD
23828 * locale/findlocale.c (_nl_find_locale): Return right away if
23829 _nl_explode_name failed.
23830 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23831
d0478f0c
UD
23832 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23833
de81b246
UD
23834 * debug/xtrace.sh: Unify messages.
23835 * malloc/memusage.sh: Likewise.
23836
c738465a
UD
23837 [BZ #12813]
23838 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23839 time symbol from vDSO. Substitute with vsyscall if not available.
23840 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23841 __vdso_time.
23842
f1f929d7
UD
23843 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23844 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23845 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23846 Add sendmmsg and internal_sendmmsg.
23847 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23848 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23849 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23850
ce67228d
UD
23851 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23852 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23853 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23854
e57420c6
UD
238552011-05-27 Ulrich Drepper <drepper@gmail.com>
23856
a8509ca5
UD
23857 [BZ #12813]
23858 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23859 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23860 available.
23861 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23862 __vdso_getcpu.
23863
e57420c6
UD
23864 [BZ #12814]
23865 * iconvdata/Makefile (tests): Add bug-iconv9.
23866 * iconvdata/bug-iconv9.c: New file.
23867
4d07db15
AS
238682011-05-27 Andreas Schwab <schwab@redhat.com>
23869
23870 [BZ #12814]
23871 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23872
ea486f69
JJ
238732011-05-25 Jakub Jelinek <jakub@redhat.com>
23874
23875 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23876 (struct user_regs_struct): Change intcs field back to cs.
23877
6f038433
UD
238782011-05-25 Ulrich Drepper <drepper@gmail.com>
23879
23880 * po/ja.po: Update from translation team.
23881
67f86a25
UD
238822011-05-23 Ulrich Drepper <drepper@gmail.com>
23883
23884 [BZ #12795]
23885 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23886 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23887
def7fbd6
AS
238882011-05-20 Andreas Schwab <schwab@redhat.com>
23889
23890 * stdlib/longlong.h: Update from GCC.
23891
f50ef8f1
AS
238922011-05-23 Andreas Schwab <schwab@redhat.com>
23893
23894 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23895 parameter name.
23896 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23897 Add parameter name.
23898 (__sysconf): Pass it down.
23899
de7ce8f1
UD
239002011-05-22 Ulrich Drepper <drepper@gmail.com>
23901
f2962a71
UD
23902 [BZ #12671]
23903 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23904 some situations.
23905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23906 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23907 add in in __libc_use_alloca calls. Adjust callers.
23908 (glob): Use malloc in some situations.
23909
de7ce8f1
UD
23910 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23911 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23912 pltexit.
23913
aec84f53
UD
239142011-05-21 Ulrich Drepper <drepper@gmail.com>
23915
05bb4a68
UD
23916 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23917 and CLOCK_BOOTTIME_ALARM.
23918
7ea72f99
UD
23919 [BZ #12782]
23920 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23921 is returned.
23922
7e4afad5
UD
23923 * string/_strerror.c (__strerror_r): Print negative errors as signed
23924 numbers.
23925
8e211fec
UD
23926 [BZ #12777]
23927 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23928 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23929 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23930
f7d82dc9
UD
23931 * configure.in: Fix typo in redirection and correct removal of test
23932 files in two cases.
23933
cc9e536d
UD
23934 [BZ #12788]
23935 * locale/setlocale.c (new_composite_name): Fix test to check for
23936 identical name of all categories.
23937
aec84f53
UD
23938 [BZ #12792]
23939 * libio/filedoalloc.c (local_isatty): New function.
23940 (_IO_file_doallocate): Use local_isatty.
23941 * stdio-common/perror.c (perror): In case a new stream is used
23942 forward the stream error.
23943 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23944 error flag.
23945
78e64fdc
RT
239462011-05-20 Ulrich Drepper <drepper@gmail.com>
23947
34a9094f
UD
23948 [BZ #11869]
23949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23950 alloca.
23951 * include/alloca.h (extend_alloca_account): Define.
23952
78e64fdc
RT
23953 [BZ #11857]
23954 * posix/regex.h: Fix comments with documentation of user-accessible
23955 fields after compilation and describe correct free'ing of pattern
23956 after re_compile_pattern.
23957 Patch by Reuben Thomas <rrt@sc3d.org>.
23958
457bddfc
RA
239592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23960
23961 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23962 and -mno-altivec to prevent the compiler from using Altivec and/or
23963 VSX instructions when the corresponding registers are not available.
23964
a4527b51
AS
239652011-05-19 Andreas Schwab <schwab@redhat.com>
23966
23967 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23968
ed690b2f
UD
239692011-05-19 Ulrich Drepper <drepper@gmail.com>
23970
23971 * libio/freopen.c (freopen): Use __dup2, not dup2.
23972 * libio/freopen64.c (freopen64): Likewise.
23973
8db73634
L
239742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23975
23976 [BZ #12775]
23977 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23978 * math/Makefile (tests): Add test-powl.
23979 (CFLAGS-test-powl.c): Define.
23980 * math/test-powl.c: New file.
23981
0a197a9d
L
239822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23983
23984 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23985
ee30c380
UD
239862011-05-17 Ulrich Drepper <drepper@gmail.com>
23987
23988 [BZ #11837]
23989 * iconvdata/gb18030.c: Update to GB18020-2005.
23990
6ce75379
UD
239912011-05-16 Ulrich Drepper <drepper@gmail.com>
23992
a4b89fd8
AR
23993 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23994 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23995 Patch by Aharon Robbins <arnold@skeeve.com>.
23996
ea389b12
UD
23997 [BZ #11892]
23998 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23999 on the stack.
24000
68a3f91f
UD
24001 [BZ #11895]
24002 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24003 through underflows.
24004
15cc7dd1
UD
24005 [BZ #12766]
24006 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24007 point to strings before performing equality test for error_one_per_line
24008 mode.
24009
f3799213
UD
24010 [BZ #11697]
24011 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24012
d79a9c94
UD
24013 [BZ #11820]
24014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24015 (struct user_fpregs_struct): Avoid __uint*_t types.
24016
56e5eb46
UD
24017 [BZ #6420]
24018 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24019 symbol info. Use it instead of calling _dl_addr locally.
24020 (lock_and_info): New function.
24021 (tr_freehook): Call lock_and_info and pass symbol info as additional
24022 parameter to tr_where.
24023 (tr_mallochook): Likewise.
24024 (tr_reallochook): Likewise.
24025 (tr_memalignhook): Likewise.
24026
6ce75379
UD
24027 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24028 used and couldn't be at all thread-safe.
24029
f8a3b5bf
UD
240302011-05-15 Ulrich Drepper <drepper@gmail.com>
24031
94b7cc37
UD
24032 * libio/freopen.c (freopen): Don't close old file descriptor
24033 before the new one is opened. Instead dup the new file descriptor
24034 to the old one after the new stream is created.
24035 * libio/freopen64.c (freopen64): Likewise.
24036 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24037 * libio/fileops.c (_IO_new_file_close_it): Handle new
24038 _IO_FLAGS2_NOCLOSE flag.
24039 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24040 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24041 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24042 _IO_FLAGS2_NOCLOSE flag.
24043 * include/unistd.h: Add hidden_proto for dup3.
24044 Define __have_dup3.
24045 * io/dup3.c: Define hidden symbol.
24046 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24047
bd25564e
UD
24048 [BZ #7101]
24049 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24050 when an incomplete long option is used.
24051 * posix/tst-getopt_long1.c: New file.
24052 * posix/Makefile (tests): Add tst-getopt_long1.
24053
c84cfef4
UD
24054 [BZ #10138]
24055 * scripts/config.guess: Update from autoconf-2.68.
24056 * scripts/config.sub: Likewise.
24057
3b85df27
UD
24058 [BZ #10157]
24059 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24060 tests into ...
24061 (has_cpuclock): ...this. New function.
24062 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24063 macro here based on has_cpuclock code.
24064
15a856b1
UD
24065 [BZ #10149]
24066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24067 First byte (not low byte) is now always NUL.
24068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24069
05f399e6
UD
24070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24071 Use non-cancelable interfaces.
24072
10a52685 24073 [BZ #9809]
94ecc67d
UD
24074 * locale/iso-639.def: Add entry for Sorani.
24075
f8a3b5bf
UD
24076 [BZ #11901]
24077 * include/stdlib.h: Move include protection to the right place.
24078 Define abort_msg_s. Declare __abort_msg with it.
24079 * stdlib/abort.c (__abort_msg): Adjust type.
24080 * assert/assert.c (__assert_fail_base): New function. Majority
24081 of code from __assert_fail. Allocate memory for __abort_msg with
24082 mmap.
24083 (__assert_fail): Now call __assert_fail_base.
24084 * assert/assert-perr.c: Remove bulk of implementation. Use
24085 __assert_fail_base.
24086 * include/assert.hL Declare __assert_fail_base.
24087 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24088 mmap.
24089 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24090
1af4e298
UD
240912011-05-14 Ulrich Drepper <drepper@gmail.com>
24092
f8a3b5bf 24093 [BZ #11952]
d26dfc60
MG
24094 [BZ #12453]
24095 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24096 until all modules are registered in the DTV.
24097 * elf/Makefile: Add rules to build and run tst-tls19.
24098 * elf/tst-tls19.c: New file.
24099 * elf/tst-tls19mod1.c: New file.
24100 * elf/tst-tls19mod2.c: New file.
24101 * elf/tst-tls19mod3.c: New file.
24102 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24103
2fc54d6f
UD
24104 [BZ #12083]
24105 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24106 correctly.
24107
98d76b46
UD
24108 [BZ #12601]
24109 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24110 two-byte sequence errors.
24111 * iconvdata/Makefile (tests): Add bug-iconv8.
24112 * iconvdata/bug-iconv8.c: New file.
24113
da3c19ef
UD
24114 [BZ #12626]
24115 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24116 buf2 definition.
24117
ca408c15
UD
24118 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24119
d6f67f7d
UD
24120 [BZ #12432]
24121 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24122 (dummy_getcfa): New function.
24123 (init): Get _Unwind_GetCFA address, use dummy if not found.
24124 (backtrace_helper): In recursion check, also check whether CFA changes.
24125 (__backtrace): Completely initialize arg.
24126
1af4e298 24127 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24128 storing incomplete byte sequence in state object. Avoid testing for
24129 guaranteed too small input if we know there is enough data available.
1af4e298 24130
da62f81b
AS
241312011-05-11 Andreas Schwab <schwab@redhat.com>
24132
24133 * Makeconfig (+link-pie): Indent.
24134 * Rules (binaries-pie): Define if $(have-fpie) and
24135 $(build-shared).
24136 (binaries-shared): Also filter out $(binaries-pie).
24137 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24138 * nscd/Makefile (others-pie): Add nscd.
24139 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24140 ($(objpfx)nscd): Remove command override.
24141 * login/Makefile (others-pie): Add pt_chown.
24142 ($(objpfx)pt_chown): Remove command override.
24143 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24144 remove command overrides.
24145
fcabc0f8
UD
241462011-05-13 Ulrich Drepper <drepper@gmail.com>
24147
20030ae6
UD
24148 * libio/tst_putwc.c: Fix error messages.
24149
fcabc0f8
UD
24150 [BZ #12724]
24151 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24152 currently writing and seek to current position when not.
24153 * libio/Makefile (tests): Add bug-fclose1.
24154 * libio/bug-fclose1.c: New file.
24155
320a5dc0
PB
241562011-05-12 Ulrich Drepper <drepper@gmail.com>
24157
24158 [BZ #12511]
24159 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24160 don't set DF_1_NODELETE here.
24161 (do_lookup_x): When entering new entry test for copy relocation
24162 and if necessary set DF_1_NODELETE flag.
24163 * elf/tst-unique4.cc: New file.
24164 * elf/tst-unique4.h: New file.
24165 * elf/tst-unique4lib.cc: New file.
24166 * elf/Makefile: Add rules to build and run tst-unique4.
24167 Patch by Piotr Bury <pbury@goahead.com>.
24168
22836f52
UD
241692011-05-11 Ulrich Drepper <drepper@gmail.com>
24170
f574184a
UD
24171 [BZ #12052]
24172 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24173
e1fb097f
UD
24174 [BZ #12625]
24175 * misc/mntent_r.c (addmntent): Flush the stream after the output
24176
22836f52
UD
24177 [BZ #12393]
24178 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24179 (is_trusted_path_normalize): Skip initial colon. Append slash
24180 to empty buffer. Duplicate is_trusted_path code but allow
24181 constructed patch to be prefix.
24182 (is_dst): Allow $ORIGIN followed by /.
24183 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24184 Correct testing of result of is_trusted_path_normalize
24185 (decompose_rpath): Fix warning.
24186
7b3b0b2a
UD
241872011-05-10 Ulrich Drepper <drepper@gmail.com>
24188
24189 [BZ #11257]
24190 * grp/initgroups.c (internal_getgrouplist): When we found the service
24191 list through the initgroups entry in nsswitch.conf do not always
24192 continue on a successful lookup. Don't always use the
eac80ce2 24193 __nss_group_database value if it is set.
7b3b0b2a
UD
24194 * nss/nsswitch.conf (initgroups): Change action for successful db
24195 lookup to continue for compatibility.
24196
2a81eaa5
UD
241972011-05-09 Ulrich Drepper <drepper@gmail.com>
24198
be97a69e
UD
24199 [BZ #11532]
24200 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24201 and CP774 modules.
24202 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24203 and CP774 modules.
24204 * iconvdata/tst-tables.sh: Likewise.
24205 * iconvdata/cp770.c: New file.
24206 * iconvdata/cp771.c: New file.
24207 * iconvdata/cp772.c: New file.
24208 * iconvdata/cp773.c: New file.
24209 * iconvdata/cp774.c: New file.
24210 * iconvdata/testdata/CP770: New file.
24211 * iconvdata/testdata/CP770..UTF8: New file.
24212 * iconvdata/testdata/CP771: New file.
24213 * iconvdata/testdata/CP771..UTF8: New file.
24214 * iconvdata/testdata/CP772: New file.
24215 * iconvdata/testdata/CP772..UTF8: New file.
24216 * iconvdata/testdata/CP773: New file.
24217 * iconvdata/testdata/CP773..UTF8: New file.
24218 * iconvdata/testdata/CP774: New file.
24219 * iconvdata/testdata/CP774..UTF8: New file.
24220
24221 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24222 END CHARMAP line.
24223 * iconvdata/gen-8bit-gap.sh: Likewise.
24224 * iconvdata/gen-8bit.sh: Likewise.
24225
c1e9e399
UD
24226 * locale/iso-639.def: Add ary entry.
24227
24c55fb3 24228 [BZ #11258]
96b4b1b0
UD
24229 * locale/C-translit.h.in: Add U20A1 transliteration.
24230
bdc2f971
KB
24231 [BZ #12178]
24232 * locale/iso-639.def: Add wae entry.
24233 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24234
2952b117
UD
24235 [BZ #12545]
24236 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24237 for n.
24238
2a81eaa5
UD
24239 [BZ #12711]
24240 * locale/C-translit.h.in: Add entry for U20B9.
24241 Patch by pravin.d.s@gmail.com.
24242
28377d1b
UD
242432011-05-08 Ulrich Drepper <drepper@gmail.com>
24244
7fb90fb8
UD
24245 [BZ #12713]
24246 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24247 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24248 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24249 in rtld. Use *stat64.
7fb90fb8 24250 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24251 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24252 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24253 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24254 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24255 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24256 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24257 __fstatat64 macros.
7fb90fb8
UD
24258 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24259 * dirent/rewinddir.c: Add libc_hidden_def.
24260 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24261 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24262
28377d1b
UD
24263 * include/dirent.h (__alloc_dir): Add flags parameter.
24264 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24265 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24266 __alloc_dir.
24267 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24268 from fdopendir if O_CLOEXEC is already set.
24269
66bdbaa4
AM
242702011-03-15 Alan Modra <amodra@gmail.com>
24271
24272 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24273 l_tls_firstbyte_offset non-zero. Save padding offset in
24274 l_tls_firstbyte_offset for later use.
24275 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24276 freeing static tls block.
24277
95721191
JN
242782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24279
24280 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24281 where #ifdef was intended. The intent is to prevent ARG_MAX from
24282 being defined by the kernel headers.
24283
f87dfb1f
UD
242842011-05-07 Ulrich Drepper <drepper@gmail.com>
24285
24286 [BZ #12734]
24287 * resolv/resolv.h: Define RES_NOTLDQUERY.
24288 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24289 no-tld-query and set RES_NOTLDQUERY.
24290 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24291 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24292 modern BIND to search name as TLD unless forbidden.
24293
47c3cd7a
UD
242942011-05-07 Petr Baudis <pasky@suse.cz>
24295 Ulrich Drepper <drepper@gmail.com>
24296
24297 [BZ #12393]
24298 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24299 (is_trusted_path): ...to here.
c1e9ea35 24300 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24301 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24302 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24303
8a35c912
PP
243042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24305
24306 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24307 __BEGIN/__END_DECLS.
24308
acd41f47
UD
243092011-05-06 Ulrich Drepper <drepper@gmail.com>
24310
24311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24312 NSS_STATUS_NOTFOUND if no record was found.
24313
597df647
AS
243142011-05-05 Andreas Schwab <schwab@redhat.com>
24315
24316 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24317 (headers-not-in-tirpc): Remove rpc/netdb.h
24318 * resolv/netdb.h: Revert last change.
24319
b9af1301
PP
243202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24321
24322 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24323 circular dependency between libgcc.a and libc.a.
24324
4e34d5f5
AS
243252011-05-05 Andreas Schwab <schwab@redhat.com>
24326
24327 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24328 * nis/Makefile: Don't install rpcsvc/*.
24329 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24330 instead of <rpc/types.h>.
24331 (MAXHOSTNAMELEN): Define.
24332
00ee369c
AS
243332011-05-03 Andreas Schwab <schwab@redhat.com>
24334
24335 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24336
0b592a30
MB
243372011-04-28 Maciej Babinski <mbabinski@google.com>
24338
24339 [BZ #12714]
24340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24341 gethostbyname4_r when IPv6 results are possible.
24342
6e04cbbe
UD
243432011-05-02 Ulrich Drepper <drepper@gmail.com>
24344
24345 [BZ #12723]
24346 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24347 _PC_PIPE_BUF handling.
24348
e4ecafe0
BH
243492011-04-30 Bruno Haible <bruno@clisp.org>
24350
24351 [BZ #12717]
24352 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24353 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24354 to 'int'.
24355 * inet/getnameinfo.c (getnameinfo): Likewise.
24356
125ee683
UD
243572011-04-29 Ulrich Drepper <drepper@gmail.com>
24358
24359 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24360 to groups setting in database lookup.
24361 * nss/nsswitch.conf: Add initgroups entry.
24362
b722481a
EB
243632011-04-22 Ulrich Drepper <drepper@gmail.com>
24364
24365 [BZ #12685]
24366 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24367 mode string.
24368 Patch by Eric Blake <eblake@redhat.com>.
24369
4df46dbd
L
243702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24371
24372 * sunrpc/Makefile (need-export-routines): Add svc_run.
24373 (routines): Remove svc_run.
24374 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24375 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24376 * sunrpc/svc_run.c (svc_run): Likewise.
24377 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24378
e84142d2
UD
243792011-04-21 Ulrich Drepper <drepper@gmail.com>
24380
24381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24382 problem in reallocation in last patch.
24383
877175d8
UD
243842011-04-20 Ulrich Drepper <drepper@gmail.com>
24385
24386 * sunrpc/Makefile: Move inclusion of Rules.
24387
ab8eed78
UD
243882011-04-19 Ulrich Drepper <drepper@gmail.com>
24389
24390 * nss/nss_files/files-initgroups.c: New file.
24391 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24392 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24393 _nss_files_initgroups_dyn.
24394
e3d8f584
RS
243952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24396
24397 * elf/elf.h (R_ARM_IRELATIVE): Define.
24398
af190f45
UD
243992011-04-19 Ulrich Drepper <drepper@gmail.com>
24400
24401 * po/ru.po: Update from translation team.
24402
53cf59ef
UD
244032011-04-17 Ulrich Drepper <drepper@gmail.com>
24404
24405 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24406 dependencies.
24407
4c559bcd
MF
244082011-02-06 Mike Frysinger <vapier@gentoo.org>
24409
24410 [BZ #12653]
24411 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24412 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24416
4420675c
AS
244172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24418
24419 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24420 differing bytes.
24421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24424
75ea32ab
UD
244252011-04-17 Ulrich Drepper <drepper@gmail.com>
24426
24427 [BZ #12420]
24428 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24429 storing it.
24430 * stdlib/bug-getcontext.c: New file.
24431 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24432
27390476
AK
244332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24434
24435 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24436 instructions into .machine "z9-109".
24437 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24438 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24439
10442705
AK
244402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24441
24442 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24443 between environment variables and auxiliary vector.
24444
7b57bfe5
UD
244452011-04-16 Ulrich Drepper <drepper@gmail.com>
24446
24447 * Makefile: Add rules to build linkobj/libc.so.
24448 * include/libc-symbols.h: Define libc_hidden_nolink.
24449 * include/rpc/auth.h: Mark functions which are to be hidden.
24450 * include/rpc/auth_des.h: Likewise.
24451 * include/rpc/auth_unix.h: Likewise.
24452 * include/rpc/clnt.h: Likewise.
24453 * include/rpc/des_crypt.h: Likewise.
24454 * include/rpc/key_prot.h: Likewise.
24455 * include/rpc/pmap_clnt.h: Likewise.
24456 * include/rpc/pmap_prot.h: Likewise.
24457 * include/rpc/pmap_rmt.h: Likewise.
24458 * include/rpc/rpc_msg.h: Likewise.
24459 * include/rpc/svc.h: Likewise.
24460 * include/rpc/svc_auth.h: Likewise.
24461 * include/rpc/xdr.h: Likewise.
24462 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24463 * nss/Makefile: Likewise.
24464 * sunrpc/Makefile: Don't install headers. Build library with normal
24465 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24466 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24467 for the compat linking library. Remove use of INTDEF/INTUSE.
24468 * sunrpc/auth_none.c: Likewise.
24469 * sunrpc/auth_unix.c: Likewise.
24470 * sunrpc/authdes_prot.c: Likewise.
24471 * sunrpc/authuxprot.c: Likewise.
24472 * sunrpc/clnt_gen.c: Likewise.
24473 * sunrpc/clnt_perr.c: Likewise.
24474 * sunrpc/clnt_raw.c: Likewise.
24475 * sunrpc/clnt_simp.c: Likewise.
24476 * sunrpc/clnt_tcp.c: Likewise.
24477 * sunrpc/clnt_udp.c: Likewise.
24478 * sunrpc/clnt_unix.c: Likewise.
24479 * sunrpc/des_crypt.c: Likewise.
24480 * sunrpc/des_soft.c: Likewise.
24481 * sunrpc/get_myaddr.c: Likewise.
24482 * sunrpc/key_call.c: Likewise.
24483 * sunrpc/key_prot.c: Likewise.
24484 * sunrpc/netname.c: Likewise.
24485 * sunrpc/pm_getmaps.c: Likewise.
24486 * sunrpc/pm_getport.c: Likewise.
24487 * sunrpc/pmap_clnt.c: Likewise.
24488 * sunrpc/pmap_prot.c: Likewise.
24489 * sunrpc/pmap_prot2.c: Likewise.
24490 * sunrpc/pmap_rmt.c: Likewise.
24491 * sunrpc/publickey.c: Likewise.
24492 * sunrpc/rpc_cmsg.c: Likewise.
24493 * sunrpc/rpc_common.c: Likewise.
24494 * sunrpc/rpc_dtable.c: Likewise.
24495 * sunrpc/rpc_prot.c: Likewise.
24496 * sunrpc/rpc_thread.c: Likewise.
24497 * sunrpc/rtime.c: Likewise.
24498 * sunrpc/svc.c: Likewise.
24499 * sunrpc/svc_auth.c: Likewise.
24500 * sunrpc/svc_authux.c: Likewise.
24501 * sunrpc/svc_raw.c: Likewise.
24502 * sunrpc/svc_run.c: Likewise.
24503 * sunrpc/svc_simple.c: Likewise.
24504 * sunrpc/svc_tcp.c: Likewise.
24505 * sunrpc/svc_udp.c: Likewise.
24506 * sunrpc/svc_unix.c: Likewise.
24507 * sunrpc/svcauth_des.c: Likewise.
24508 * sunrpc/xcrypt.c: Likewise.
24509 * sunrpc/xdr.c: Likewise.
24510 * sunrpc/xdr_array.c: Likewise.
24511 * sunrpc/xdr_float.c: Likewise.
24512 * sunrpc/xdr_intXX_t.c: Likewise.
24513 * sunrpc/xdr_mem.c: Likewise.
24514 * sunrpc/xdr_rec.c: Likewise.
24515 * sunrpc/xdr_ref.c: Likewise.
24516 * sunrpc/xdr_sizeof.c: Likewise.
24517 * sunrpc/xdr_stdio.c: Likewise.
24518
e6c61494
UD
245192011-04-10 Ulrich Drepper <drepper@gmail.com>
24520
24521 [BZ #12650]
24522 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24523 * sysdeps/ia64/dl-tls.h: Likewise.
24524 * sysdeps/powerpc/dl-tls.h: Likewise.
24525 * sysdeps/s390/dl-tls.h: Likewise.
24526 * sysdeps/sh/dl-tls.h: Likewise.
24527 * sysdeps/sparc/dl-tls.h: Likewise.
24528 * sysdeps/x86_64/dl-tls.h: Likewise.
24529 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24530
34fe483e
AS
245312011-03-14 Andreas Schwab <schwab@redhat.com>
24532
24533 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24534 rpath element also skip the following colon.
24535 (expand_dynamic_string_token): Add is_path parameter and pass
24536 down to DL_DST_REQUIRED and _dl_dst_substitute.
24537 (decompose_rpath): Call expand_dynamic_string_token with
24538 non-zero is_path. Ignore empty rpaths.
24539 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24540 with zero is_path.
24541
f12a32e6
AS
245422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24543
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24545 Make cancelable.
24546
38a7d692
UD
245472011-04-09 Ulrich Drepper <drepper@gmail.com>
24548
24549 [BZ #12655]
24550 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24551 Patch by Filipe David Manana <fdmanana@apache.org>.
24552
e451d22b
AS
245532011-04-07 Andreas Schwab <schwab@redhat.com>
24554
24555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24556 Maintain aligned stack.
24557 (CHECK_RSP): Remove unused macro.
24558
dedc7c7b
UD
245592011-04-03 Ulrich Drepper <drepper@gmail.com>
24560
24561 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24563
94521213
UD
245642011-04-02 Ulrich Drepper <drepper@gmail.com>
24565
24566 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24567
8cb700c0 24568 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24569
0354e355
L
245702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24571
24572 [BZ #12518]
24573 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24574 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24575 * sysdeps/x86_64/memmove.c: New file.
24576 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24577 (memcpy): Renamed to ...
24578 (__new_memcpy): This.
24579 (memcpy): Provide GLIBC_2_14 memcpy.
24580 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24581 (memcpy): Provide GLIBC_2_2_5 memcpy.
24582
8593482f
UD
245832011-04-01 Ulrich Drepper <drepper@gmail.com>
24584
24585 [BZ #12631]
24586 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24587
81a5726b
AS
245882011-03-30 Andreas Schwab <schwab@redhat.com>
24589
24590 * misc/syncfs.c: New file.
24591 * misc/Makefile (routines): Add syncfs.
24592 * posix/unistd.h: Declare syncfs.
24593 * sysdeps/unix/syscalls.list: Add syncfs.
24594
00e5419f
AS
245952011-04-01 Andreas Schwab <schwab@redhat.com>
24596
24597 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24598 open_by_handle_at.
24599 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24600 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24601 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24602 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24604 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24606
748876bf
UD
246072011-04-01 Ulrich Drepper <drepper@gmail.com>
24608
658e451d
UD
24609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24611 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24616
748876bf
UD
24617 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24618 sync_file_range.c with -fexceptions.
24619 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24620 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24621 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24622 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24623 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24624 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24626 sync_file_range as cancellation point
24627 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24628 now a wrapper around __call_sync_file_range with cancellation handling.
24629 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24630 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24631 function name to __call_sync_file_range.
24632 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24633 Add call_sync_file_range.
748876bf 24634
6e63d5e1
AS
246352011-04-01 Andreas Schwab <schwab@redhat.com>
24636
24637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24638 bits/timex.h.
6e63d5e1 24639
46998f74
UD
246402011-04-01 Ulrich Drepper <drepper@gmail.com>
24641
4c1423ed
UD
24642 * iconv/iconv.h: Fix typo in comment.
24643 * io/fcntl.h: Likewise.
24644 * libio/stdio.h: Likewise.
24645 * posix/spawn.h: Likewise.
24646 * posix/unistd.h: Likewise.
24647 * stdlib/stdlib.h: Likewise.
24648 * time/time.h: Likewise.
24649 * wcsmbs/wchar.h: Likewise.
24650
158648c0
UD
24651 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24652 open_by_handle): Add.
24653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24654 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24655 Augment a few comments.
24656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24661 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24662 open_by_handle.
24663
46998f74
UD
24664 * io/fcntl.h (AT_EMPTY_PATH): Define.
24665
83fe108b
UD
246662011-03-30 Ulrich Drepper <drepper@gmail.com>
24667
24668 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24669 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24670 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24671 to...
24672 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24673 * Versions.def: Add GLIBC_2.14.
24674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24675 Export.
83fe108b 24676
bb242059
UD
246772011-03-22 Ulrich Drepper <drepper@gmail.com>
24678
24679 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24680 round counter.
24681 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24682
c97a1282
L
246832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 [BZ #12597]
24686 * string/test-strncmp.c (do_page_test): New function.
24687 (check2): Likewise.
24688 (test_main): Call check2.
24689 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24690
2a115601
UD
246912011-03-20 Ulrich Drepper <drepper@gmail.com>
24692
24693 [BZ #12587]
24694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24695 Handle cache information in CPU leaf 4.
24696 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24697
8126d904
UD
246982011-03-18 Ulrich Drepper <drepper@gmail.com>
24699
042c49c6 24700 [BZ #12583]
8126d904
UD
24701 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24702 character representation.
24703 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24704
ccfe366e
RA
247052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24706
24707 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24708 END(__isnan) to END(__isnanf) to match function entry point/label
24709 EALIGN(__isnanf,...).
24710
c6e13027
JJ
247112011-03-10 Jakub Jelinek <jakub@redhat.com>
24712
24713 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24714
33f85a3f
UD
247152011-03-10 Ulrich Drepper <drepper@gmail.com>
24716
028478fa
UD
24717 [BZ #12510]
24718 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24719 copy from the symbol referenced in the relocation to initialize the
24720 used variable.
24721 Patch by Piotr Bury <pbury@goahead.com>.
24722 * elf/Makefile: Add rules to build and tst-unique3.
24723 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24724 * elf/tst-unique3.cc: New file.
24725 * elf/tst-unique3.h: New file.
24726 * elf/tst-unique3lib.cc: New file.
24727 * elf/tst-unique3lib2.cc: New file.
24728
33f85a3f
UD
24729 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24730
03592fc7
MF
247312011-03-10 Mike Frysinger <vapier@gentoo.org>
24732
24733 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24734 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24735 to _start.
03592fc7 24736
6a5ee102
UD
247372011-03-06 Ulrich Drepper <drepper@gmail.com>
24738
24739 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24740 to-be-loaded object along a path to loader is ld.so.
24741
7e4ba49c
HJ
247422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24743 Ulrich Drepper <drepper@gmail.com>
24744
24745 * sysdeps/x86_64/memset.S: After aligning destination, code
24746 branches to different locations depending on the value of
24747 misalignment, when multiarch is enabled. Fix this.
24748
247492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24750
24751 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24752 Set _x86_64_preferred_memory_instruction for AMD processsors.
24753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24754 Set bit_Prefer_SSE_for_memop for AMD processors.
24755
13a804de
UD
247562011-03-04 Ulrich Drepper <drepper@gmail.com>
24757
24758 * libio/fmemopen.c (fmemopen): Optimize a bit.
24759
9d25c392
AS
247602011-03-03 Andreas Schwab <schwab@redhat.com>
24761
24762 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24763
a5543c6a
RM
247642011-03-03 Roland McGrath <roland@redhat.com>
24765
24766 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24767
012d35f7
DM
247682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24769
7e4ba49c 24770 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24771 __bzero_ultra1 instead of __memset_ultra1.
24772
4bff6e01
AS
247732011-02-23 Andreas Schwab <schwab@redhat.com>
24774 Ulrich Drepper <drepper@gmail.com>
24775
24776 [BZ #12509]
24777 * include/link.h (struct link_map): Add l_orig_initfini.
24778 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24779 returning unsuccessfully.
24780 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24781 close of a file loaded at startup, restore the original l_initfini
24782 list.
24783 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24784 list, store the pointer.
24785 * elf/Makefile ($(objpfx)noload-mem): New rule.
24786 (noload-ENV): Define.
24787 (tests): Add $(objpfx)noload-mem.
24788 * elf/noload.c: Include <memcheck.h>.
24789 (main): Call mtrace. Close all opened handles.
24790
f2092faf
AS
247912011-02-17 Andreas Schwab <schwab@redhat.com>
24792
24793 [BZ #12454]
24794 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24795 dependencies are missing.
24796
6c8a2e88
ST
247972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24798
f2092faf 24799 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24800 Hurd needs munmap.
24801 * sysdeps/mach/hurd/ifreq.h: New file.
24802
84a42118
PB
248032011-01-27 Petr Baudis <pasky@suse.cz>
24804 Ulrich Drepper <drepper@gmail.com>
24805
071f805e 24806 [BZ 12445]#
84a42118
PB
24807 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24808 to extend_alloca().
24809 * stdio-common/bug23.c: New file.
24810 * stdio-common/Makefile (tests): Add bug23.
24811
e23fe25b
AS
248122010-09-28 Andreas Schwab <schwab@redhat.com>
24813 Ulrich Drepper <drepper@gmail.com>
24814
24815 [BZ #12489]
24816 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24817 before performing relro protection. At old place add assertion
24818 to make sure nothing changed.
24819
d3f02e10
NS
248202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24821 Glauber de Oliveira Costa <glommer@gmail.com>
24822
24823 * elf/elf.h: Add new ARM TLS relocs.
24824
d55fd7a5
RA
248252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24826
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24828 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24829 cast from r3.
24830 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24831 'tests' variable.
24832 * sysdeps/wordsize-64/tst-writev.c: New file.
24833
2206397e
RA
248342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24835
24836 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24837 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24838 insns in _dl_start to prevent a TOC reference before relocs are
24839 resolved.
24840
e9433893
UD
248412011-02-15 Ulrich Drepper <drepper@gmail.com>
24842
24843 [BZ #12469]
24844 * Makeconfig: Remove RANLIB definition.
24845 * Makerules: Don't use RANLIB.
24846 * aclocal.m4: Remove ranlib test.
24847 * configure.in: No need to check for ranlib.
24848 * elf/rtld-Rules: Don't use RANLIB.
24849
f75286c6
ST
248502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24851
8e31c82d
ST
24852 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24853 protection macro.
24854 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24855 inclusion protection macro.
24856
f75286c6
ST
24857 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24858 SIGRTMIN and SIGRTMAX and print information in that case only when
24859 SIGRTMIN is defined.
24860
c1d0e639
JJ
248612011-02-11 Jakub Jelinek <jakub@redhat.com>
24862
24863 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24864 arginfo fn returning -1.
24865
24866 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24867 and thousands string is zero terminated.
24868
edf9294e
AS
248692011-02-03 Andreas Schwab <schwab@redhat.com>
24870
24871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24872 sysdeps/unix/sysv/linux/bits/socket.h.
24873
2b7e92df
ST
248742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24875
edf9294e
AS
24876 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24877 (__CPU_COUNT): Remove old macros.
24878 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24879 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24880 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24881 (__sched_cpualloc, __sched_cpufree): Add declarations.
24882
a4c7ea7b
UD
248832011-02-05 Ulrich Drepper <drepper@gmail.com>
24884
24885 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24886 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24887 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24888 (readdhstai): Return value of addhstaiX call.
24889 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24890 (addgrbyX): Return value returned by cache_addgr.
24891 (readdgrbyname): Return value returned by addgrbyX.
24892 (readdgrbygid): Likewise.
24893 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24894 (addpwbyX): Return value returned by cache_addpw.
24895 (readdpwbyname): Return value returned by addhstbyX.
24896 (readdpwbyuid): Likewise.
24897 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24898 (addservbyX): Return value returned by cache_addserv.
24899 (readdservbyname): Return value returned by addservbyX:
24900 (readdservbyport): Likewise.
24901 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24902 (addhstbyX): Return value returned by cache_addhst.
24903 (readdhstbyname): Return value returned by addhstbyX.
24904 (readdhstbyaddr): Likewise.
24905 (readdhstbynamev6): Likewise.
24906 (readdhstbyaddrv6): Likewise.
24907 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24908 (readdinitgroups): Return value returned by addinitgroupsX.
24909 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24910 (prune_cache): Keep track of timeout value of re-added entries.
24911 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24912 * nscd/nscd.h: Adjust prototypes of readd* functions.
24913
a0bf67cc
RM
249142011-02-04 Roland McGrath <roland@redhat.com>
24915
24916 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24917 (nis_stats): Likewise.
24918 * nis/nis_modify.c (nis_modify): Likewise.
24919 * nis/nis_remove.c (nis_remove): Likewise.
24920 * nis/nis_add.c (nis_add): Likewise.
24921
24922 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24923
24924 * posix/fnmatch_loop.c: Add some consts.
24925
24926 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24927
435b95eb
L
249282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24929
24930 [BZ #12460]
24931 * config.make.in (config-cflags-novzeroupper): Define.
24932 * configure.in: Substitute libc_cv_cc_novzeroupper.
24933 * elf/Makefile (AVX-CFLAGS): Define.
24934 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24935 (CFLAGS-tst-auditmod4a.c): Likewise.
24936 (CFLAGS-tst-auditmod4b.c): Likewise.
24937 (CFLAGS-tst-auditmod6b.c): Likewise.
24938 (CFLAGS-tst-auditmod6c.c): Likewise.
24939 (CFLAGS-tst-auditmod7b.c): Likewise.
24940 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24941
8517b15e
UD
249422011-02-02 Ulrich Drepper <drepper@gmail.com>
24943
24944 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24945 function to the callback.
24946 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24947
10a656fe
AS
249482011-02-02 Andreas Schwab <schwab@redhat.com>
24949
24950 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24951 of errno.
24952
968dad0a
UD
249532011-01-19 Ulrich Drepper <drepper@gmail.com>
24954
9f94d2ea 24955 [BZ #11724]
968dad0a
UD
24956 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24957 of constructors.
24958 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24959 of destructors.
24960 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24961
24962 [BZ #11724]
24963 * elf/Makefile: Add rules to build and run new test.
24964 * elf/tst-initorder.c: New file.
24965 * elf/tst-initorder.exp: New file.
24966 * elf/tst-initordera1.c: New file.
24967 * elf/tst-initordera2.c: New file.
24968 * elf/tst-initordera3.c: New file.
24969 * elf/tst-initordera4.c: New file.
24970 * elf/tst-initorderb1.c: New file.
24971 * elf/tst-initorderb2.c: New file.
24972 * elf/tst-order-a1.c: New file.
24973 * elf/tst-order-a2.c: New file.
24974 * elf/tst-order-a3.c: New file.
24975 * elf/tst-order-a4.c: New file.
24976 * elf/tst-order-b1.c: New file.
24977 * elf/tst-order-b2.c: New file.
24978 * elf/tst-order-main.c: New file.
24979 New test case by George Gensure <werkt0@gmail.com>.
24980
86e92359
UD
249812010-10-01 Andreas Schwab <schwab@redhat.com>
24982
24983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24984 decoding ACE if AI_CANONIDN.
24985
5d5732b0
UD
249862011-01-18 Ulrich Drepper <drepper@gmail.com>
24987
24988 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24989
a77e8cbc
UD
249902011-01-17 Ulrich Drepper <drepper@gmail.com>
24991
6392473f
UD
24992 * version.h (RELEASE): Bump for 2.13 release.
24993 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24994
620a0529
UD
24995 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24996
18ba70a5
UD
24997 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24998 MADV_NOHUGEPAGE.
32465c3e
UD
24999 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25001 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25002 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25004 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25005
c0dafcf1
UD
25006 * posix/getconf.c: Update copyright year.
25007 * catgets/gencat.c: Likewise.
25008 * csu/version.c: Likewise.
25009 * debug/catchsegv.sh: Likewise.
25010 * debug/xtrace.sh: Likewise.
25011 * elf/ldconfig.c: Likewise.
25012 * elf/ldd.bash.in: Likewise.
25013 * elf/sprof.c (print_version): Likewise.
25014 * iconv/iconv_prog.c: Likewise.
25015 * iconv/iconvconfig.c: Likewise.
25016 * locale/programs/locale.c: Likewise.
25017 * locale/programs/localedef.c: Likewise.
25018 * malloc/memusage.sh: Likewise.
25019 * malloc/mtrace.pl: Likewise.
25020 * nscd/nscd.c (print_version): Likewise.
25021 * nss/getent.c: Likewise.
25022
a77e8cbc
UD
25023 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25024 PF_CAIF, and PF_ALG.
25025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25026
77e8bddf
AS
250272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25028
1f20b93a
AS
25029 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25030 (modules-names): Use them.
25031 (ifunc-test-modules, ifunc-pie-tests): Define.
25032 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25033 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25034 (test-extras): Likewise.
25035 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25036 $(compile-command.c).
25037 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25038 (all-built-dso): Define.
25039 (check-textrel.out, check-execstack.out): Depend on it.
25040
77e8bddf
AS
25041 * configure.in: Don't override --enable-multi-arch.
25042
bc425b33
UD
250432011-01-15 Ulrich Drepper <drepper@gmail.com>
25044
25045 [BZ #6812]
25046 * nscd/hstcache.c (tryagain): Define.
25047 (cache_addhst): Return tryagain not notfound for temporary errors.
25048 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25049 failed.
25050
794c3ad3
UD
250512011-01-14 Ulrich Drepper <drepper@gmail.com>
25052
70181fdd
UD
25053 [BZ #10563]
25054 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25055 to make the syscall.
25056 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25057
794c3ad3
UD
25058 [BZ #12378]
25059 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25060 and fall back to matching as normal character if the string ends before
25061 the matching ']' is found. This is what POSIX requires.
25062 * posix/testfnm.c: Adjust test result.
25063 * posix/globtest.sh: Adjust test result. Add new test.
25064 * posix/tst-fnmatch.input: Likewise.
25065 * posix/tst-fnmatch2.c: Add new test.
25066
68dc9497
AS
250672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25068
25069 * elf/Makefile (check-execstack): Revert last change. Depend on
25070 check-execstack.h.
25071 (check-execstack.h): New target.
25072 (generated): Add check-execstack.h.
25073 * elf/check-execstack.c: Include "check-execstack.h".
25074 (main): Revert last change.
25075 (handle_file): Return zero if GNU_STACK is absent and
25076 DEFAULT_STACK_PERMS doesn't include PF_X.
25077
451f001b
UD
250782011-01-13 Ulrich Drepper <drepper@gmail.com>
25079
cfa28e56
UD
25080 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25081 in child fails because the descriptor is already closed.
8cf8ce17
UD
25082 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25083 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25084 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25085
1086d70d
UD
25086 [BZ #12397]
25087 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25088 syscall.
25089
451f001b
UD
25090 [BZ #10484]
25091 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25092 temporary buffer used to handle multi lookups locally.
a85b5cb4 25093 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25094
08769175
UD
250952011-01-12 Ulrich Drepper <drepper@gmail.com>
25096
25097 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25098 loader is ld.so.
25099
5e49c52e
UD
251002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25101
25102 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25103 alignment for SSE2.
25104
60522a5f
UD
251052011-01-12 Ulrich Drepper <drepper@gmail.com>
25106
25107 [BZ #12394]
25108 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25109 characters. When rounding increased number of integer digits recompute
25110 number of groups.
25111 * stdio-common/tst-grouping.c: New file.
25112 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25113
f257bbd7
UD
251142011-01-09 Ulrich Drepper <drepper@gmail.com>
25115
25116 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25117 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25118
25119 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25120 void.
25121 * bits/select.h: Likewise.
25122
fa9c15cb
UD
251232011-01-08 Ulrich Drepper <drepper@gmail.com>
25124
25125 * po/ja.po: Update from translation team.
25126
16c2895f
DM
251272011-01-04 David S. Miller <davem@sunset.davemloft.net>
25128
25129 [BZ #11155]
25130 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25131 implementation just like for lxstat, fxstatat, et al.
25132
2543fef2
JM
251332010-12-27 Jim Meyering <meyering@redhat.com>
25134
25135 [BZ #12348]
25136 * posix/regexec.c (build_trtable): Return failure indication upon
25137 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25138
98727dbe
UD
251392010-12-25 Ulrich Drepper <drepper@gmail.com>
25140
5bd6dc5c
UD
25141 [BZ #12201]
25142 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25143 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25144 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25145 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25146
97983464
UD
25147 [BZ #12207]
25148 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25149
98727dbe
UD
25150 [BZ #12204]
25151 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25152 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25153
4a531bb0
L
251542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25155
25156 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25157 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25158 script has SORT_BY_INIT_PRIORITY.
25159 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25160 NO_CTORS_DTORS_SECTIONS is defined.
25161 * elf/soinit.c: Likewise.
25162 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25163 NO_CTORS_DTORS_SECTIONS is defined.
25164 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25165 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25166 * sysdeps/sh/init-first.c: Likewise.
25167 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25168
07eb4b71
UD
251692010-12-24 Ulrich Drepper <drepper@gmail.com>
25170
25171 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25172 always use the slow path.
25173
30950a5f
RA
251742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25175
25176 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25177 similar rule which adds the sysdep directories to the header search in
25178 order to pick up the correct platform stackinfo.h.
25179 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25180 perform test if it is, otherwise return successfully without testing.
25181 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25182 DEFAULT_STACK_PERMS define in stackinfo.h.
25183 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25184 defined in stackinfo.h.
25185 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25186 DEFAULT_STACK_PERMS defined in stackinfo.h.
25187 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25188 * sysdeps/ia64/stackinfo.h: Likewise.
25189 * sysdeps/s390/stackinfo.h: Likewise.
25190 * sysdeps/sh/stackinfo.h: Likewise.
25191 * sysdeps/sparc/stackinfo.h: Likewise.
25192 * sysdeps/x86_64/stackinfo.h: Likewise.
25193 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25194 PF_X for powerpc64. Retain PF_X for powerpc32.
25195
db753e2c
UD
251962010-12-19 Ulrich Drepper <drepper@gmail.com>
25197
14b697f7
UD
25198 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25199 accurately.
db753e2c
UD
25200 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25201 GETDENTS_64BIT_ALIGNED.
25202
28300719
UD
252032010-12-14 Ulrich Drepper <dreper@gmail.com>
25204
14b697f7 25205 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25206
4f197237
AS
252072010-12-10 Andreas Schwab <schwab@redhat.com>
25208
dbb0472f
AS
25209 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25210 _GNU_SOURCE.
25211
4f197237
AS
25212 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25213 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25214 Remove __restrict.
25215 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25216 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25217
fb88ac72
UD
252182010-12-09 Ulrich Drepper <drepper@gmail.com>
25219
25220 [BZ #11655]
25221 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25222 are initialized.
25223
42acbb92
JJ
252242010-12-09 Jakub Jelinek <jakub@redhat.com>
25225
25226 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25227
c038d98d
UD
252282010-12-03 Ulrich Drepper <drepper@gmail.com>
25229
25230 * po/it.po: Update from translation team.
25231
3a4a2499
L
252322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25233
25234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25235 unused codes.
25236
1e24cf6e
UD
252372010-11-30 Ulrich Drepper <drepper@gmail.com>
25238
25239 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25240
a7690819
AS
252412010-11-24 Andreas Schwab <schwab@redhat.com>
25242
25243 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25244 specially.
25245 (gaih_getanswer_slice): Likewise.
25246
3bf8d1b1
JJ
252472010-10-20 Jakub Jelinek <jakub@redhat.com>
25248
25249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25250
6db52fbb
PB
252512010-05-31 Petr Baudis <pasky@suse.cz>
25252
25253 [BZ #11149]
25254 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25255 silently even in the chroot mode.
25256
eaca7569
UD
252572010-11-22 Ulrich Drepper <drepper@gmail.com>
25258
25259 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25260 last patch a bit. Pretty printing
25261
3056dcdb
UD
252622010-05-31 Petr Baudis <pasky@suse.cz>
25263
25264 [BZ #10085]
25265 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25266 initialization of skip_initgroups_dyn.
25267
cf7c9078
UD
252682010-11-19 Ulrich Drepper <drepper@gmail.com>
25269
25270 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25271 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25272
a1fb5e3e
UD
252732010-11-16 Ulrich Drepper <drepper@gmail.com>
25274
25275 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25276
3540d66b
AS
252772010-11-11 Andreas Schwab <schwab@redhat.com>
25278
25279 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25280 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25281 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25282 ($(objpfx)tst-fnmatch-mem): New rule.
25283 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25284 * posix/tst-fnmatch.c (main): Call mtrace.
25285
13b69574
L
252862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25289 Support Intel processor model 6 and model 0x2c.
25290
da93d214
LM
252912010-11-10 Luis Machado <luisgpm@br.ibm.com>
25292
25293 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25294 signed comparison.
25295
8ca52c6e
L
252962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25297
25298 [BZ #12205]
25299 * string/test-strncasecmp.c (check_result): New function.
25300 (do_one_test): Use it.
25301 (check1): New function.
25302 (test_main): Use it.
25303 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25304 Support strcasecmp and strncasecmp.
25305
69da074d
UD
253062010-11-08 Ulrich Drepper <drepper@gmail.com>
25307
25308 [BZ #12194]
25309 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25311
ff02d528
L
253122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25313
25314 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25315 IFUNC support.
25316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25317 memset-x86-64.
25318 * sysdeps/x86_64/multiarch/bzero.S: New file.
25319 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25320 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25321 * sysdeps/x86_64/multiarch/memset.S: New file.
25322 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25324 Set bit_Prefer_SSE_for_memop for Intel processors.
25325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25326 Define.
25327 (index_Prefer_SSE_for_memop): Define.
25328 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25329
344d0b54
LM
253302010-11-04 Luis Machado <luisgpm@br.ibm.com>
25331
25332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25333 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25334
c0dde15b
UD
253352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25336
25337 [BZ #12191]
25338 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25339 (__x86_64_raw_data_cache_size_half): Likewise.
25340 (__x86_64_raw_shared_cache_size): Likewise.
25341 (__x86_64_raw_shared_cache_size_half): Likewise.
25342
25343 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25344 (__x86_64_raw_data_cache_size_half): Likewise.
25345 (__x86_64_raw_shared_cache_size): Likewise.
25346 (__x86_64_raw_shared_cache_size_half): Likewise.
25347 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25348 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25349 and __x86_64_raw_shared_cache_size_half. Round
25350 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25351 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25352 to multiple of 256 bytes.
25353
0e516e0e
MS
253542010-11-03 Ulrich Drepper <drepper@gmail.com>
25355
25356 [BZ #12167]
25357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25358 of inacessible symlinks. Verify result of symlink before returning it.
25359 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25360 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25361
0e012e87
ER
253622010-10-28 Erich Ritz <erichritz@gmail.com>
25363
25364 * math/math.h (isinf): Fix typo in comment.
25365
de0ff7bc
UD
253662010-11-01 Ulrich Drepper <drepper@gmail.com>
25367
25368 * po/da.po: Update from translation team.
25369
fa41c84d
UD
253702010-10-26 Ulrich Drepper <drepper@gmail.com>
25371
25372 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25373 is added to the list.
25374
f0967738
AK
253752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25376 Ulrich Drepper <drepper@gmail.com>
25377
25378 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25379 the global list here. Move code to...
25380 (_dl_add_to_namespace_list): ...here. New function.
25381 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25382 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25383 * elf/dl-load.c (lose): Don't remove the element from the list.
25384 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25385 (_dl_map_object): Likewise.
25386
253872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25388
25389 [BZ #12159]
25390 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25391 into all bytes of SSE register.
25392 Patch by Richard Li <richardpku@gmail.com>.
25393
f0967738 253942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25395
25396 [BZ #12140]
25397 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25398 perturbing.
25399
d0b9e94f
MB
254002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25401
25402 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25403 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25404 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25405 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25407 submachine.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25409
8e9f92e9
AS
254102010-10-22 Andreas Schwab <schwab@redhat.com>
25411
25412 * include/dlfcn.h (__RTLD_SECURE): Define.
25413 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25414 mode & __RTLD_SECURE instead.
25415 (open_path): Rename preloaded parameter to secure.
25416 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25417 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25418 * elf/dl-deps.c (openaux): Likewise.
25419 * elf/rtld.c (struct map_args): Remove is_preloaded.
25420 (map_doit): Don't use it.
25421 (dl_main): Likewise.
25422 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25423 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25424
bc96fbda
AS
254252010-09-09 Andreas Schwab <schwab@redhat.com>
25426
25427 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25428 (sysd-rules-targets): Remove duplicates.
25429 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25430 rtld-%.$o dependency.
25431
22cd1c9b
AS
254322010-10-18 Andreas Schwab <schwab@redhat.com>
25433
25434 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25435 _dl_map_object do it.
25436
18edac48
UD
254372010-10-19 Ulrich Drepper <drepper@gmail.com>
25438
25439 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25440 fast fma builtins, define the macros in the C99 standard.
25441 (FP_FAST_FMAF): Likewise.
25442 (FP_FAST_FMAL): Likewise.
25443 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25444
25445 * bits/mathdef.h: Update copyright year.
25446 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25447
d2050124
MM
254482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25449
25450 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25451 builtins, define the macros in the C99 standard.
25452 (FP_FAST_FMAF): Likewise.
25453 (FP_FAST_FMAL): Likewise.
25454 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25455 multiply/add.
25456 (FP_FAST_FMAF): Likewise.
25457
475facd1
JJ
254582010-10-15 Jakub Jelinek <jakub@redhat.com>
25459
25460 [BZ #3268]
25461 * math/libm-test.inc (fma_test): Some new testcases.
25462 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25464 y and infinite z. Do multiplication by C already in long double.
25465 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25467 y and infinite z. Do bitwise or of inexact bit into u.d.
25468 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25469 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25470 * sysdeps/i386/fpu/s_fma.S: Removed.
25471 * sysdeps/i386/fpu/s_fmal.S: Removed.
25472
7c08a05c
JJ
254732010-10-16 Jakub Jelinek <jakub@redhat.com>
25474
25475 [BZ #3268]
25476 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25478 computation is not scheduled after fetestexcept. Fix value
25479 of minimum denormal long double.
25480
f3f7372d
JJ
254812010-10-14 Jakub Jelinek <jakub@redhat.com>
25482
25483 [BZ #3268]
25484 * math/libm-test.inc (fma_test): Add some more tests.
25485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25486 correctly.
25487
14d43591
AS
254882010-10-15 Andreas Schwab <schwab@redhat.com>
25489
25490 * scripts/data/localplt-s390-linux-gnu.data: New file.
25491 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25492
5e908464
JJ
254932010-10-13 Jakub Jelinek <jakub@redhat.com>
25494
25495 [BZ #3268]
25496 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25497 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25498 instead of dbl-64.
25499 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25500 inlines.
25501 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25503 if one of x and y is very large and the other is subnormal.
25504 * sysdeps/s390/fpu/s_fmaf.c: New file.
25505 * sysdeps/s390/fpu/s_fma.c: New file.
25506 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25507 * sysdeps/powerpc/fpu/s_fma.S: New file.
25508 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25509 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25510 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25511
255122010-10-12 Jakub Jelinek <jakub@redhat.com>
25513
25514 [BZ #3268]
25515 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25516 fma tests.
25517 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25518 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25519 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25520 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25521 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25522 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25524
b833d51f
UD
255252010-10-12 Ulrich Drepper <drepper@redhat.com>
25526
25527 [BZ #12078]
25528 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25529 * posix/bug-regex31.input: Add test case.
25530
1751705d
UD
255312010-10-11 Ulrich Drepper <drepper@gmail.com>
25532
e9b9cbf5
UD
25533 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25534 * posix/bug-regex31.input: New file.
25535
25536 [BZ #12078]
25537 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25538 (parse_sub_exp): Fix last change, use postorder.
25539
ef06edbe
UD
25540 * posix/bug-regex31.c: New file.
25541 * posix/Makefile: Add rules to build and run bug-regex31.
25542
a129c80d
UD
25543 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25544
25545 [BZ #12078]
25546 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25547
b76b818e
UD
25548 [BZ #12108]
25549 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25550 to have entries in sys_siglist.
25551
1751705d
UD
25552 [BZ #12093]
25553 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25554 be NULL.
25555
9ff8d36f
JJ
255562010-10-07 Jakub Jelinek <jakub@redhat.com>
25557
25558 [BZ #3268]
25559 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25560 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25561 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25562 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25563 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25564 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25565 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25566 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25567 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25568 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25569 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25570 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25571 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25572 * math/ftestexcept.c (fetestexcept): Likewise.
25573 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25574 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25575 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25576 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25577 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25578 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25579 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25580
af325969
UD
255812010-10-11 Ulrich Drepper <drepper@gmail.com>
25582
c579b202 25583 [BZ #12107]
af325969
UD
25584 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25585 newline.
25586
67a67b95
UD
255872010-10-06 Ulrich Drepper <drepper@gmail.com>
25588
25589 * string/bug-strstr1.c: New file.
25590 * string/Makefile: Add rules to build and run bug-strstr1.
25591
5fb308bc
EB
255922010-10-05 Eric Blake <eblake@redhat.com>
25593
25594 [BZ #12092]
25595 * string/str-two-way.h (two_way_long_needle): Always clear memory
25596 when skipping input due to the shift table.
25597
45db99c7
UD
255982010-10-03 Ulrich Drepper <drepper@gmail.com>
25599
3b111893
UD
25600 [BZ #12005]
25601 * malloc/mcheck.c: Handle large requests.
25602
45db99c7
UD
25603 [BZ #12077]
25604 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25605 for strncmp and strncasecmp.
25606 * string/stratcliff.c: Add tests for strcmp and strncmp.
25607 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25608
cf7a1eb8
NI
256092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25610
25611 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25612 __set_fpscr.
25613
6484ba5e
AJ
256142010-09-30 Andreas Jaeger <aj@suse.de>
25615
25616 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25617 (CGROUP_SUPER_MAGIC): Define.
25618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25619 Handle btrfs and cgroup file systems.
25620 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25621 Likewise.
25622
91c42559
LM
256232010-09-27 Luis Machado <luisgpm@br.ibm.com>
25624
25625 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25626 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25627
87a97932
AK
256282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25629
25630 [BZ #12067]
25631 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25632 trying to locate the ELF header.
25633
c21cc9bc
AS
256342010-09-27 Andreas Schwab <schwab@redhat.com>
25635
25636 [BZ #11611]
25637 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25638 Mask out sign-bit copies when constructing f_fsid.
25639
315970f6
PB
256402010-09-24 Petr Baudis <pasky@suse.cz>
25641
25642 * debug/stack_chk_fail_local.c: Add missing licence exception.
25643 * debug/warning-nop.c: Likewise.
25644
1ac7a2c7
JM
256452010-09-15 Joseph Myers <joseph@codesourcery.com>
25646
25647 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25648 implementing getdents64 using getdents syscall, set d_type if
25649 __ASSUME_GETDENTS32_D_TYPE.
25650
56801c50
AS
256512010-09-16 Andreas Schwab <schwab@redhat.com>
25652
25653 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25654 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25655
dda51327
UD
256562010-09-21 Ulrich Drepper <drepper@redhat.com>
25657
25658 [BZ #12037]
25659 * posix/unistd.h: Undo change of feature selection for ftruncate from
25660 2010-01-11.
25661
8ffcee4a
UD
256622010-09-20 Ulrich Drepper <drepper@redhat.com>
25663
a545ecd9 25664 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25665 detection.
25666
e24f0a8b
AS
256672010-09-20 Andreas Schwab <schwab@redhat.com>
25668
25669 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25670 fanotify_mark.
25671 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25672
7291c56f
AS
256732010-09-14 Andreas Schwab <schwab@redhat.com>
25674
25675 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25676 variables after CHECK_SP call.
25677 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25678
bc5fb037
AS
256792010-09-13 Andreas Schwab <schwab@redhat.com>
25680 Ulrich Drepper <drepper@redhat.com>
25681
25682 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25683 re-relocationg ld.so.
25684 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25685 _dl_init_paths call.
25686 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25687 here anymore.
25688
e66e7419
UD
256892010-09-14 Ulrich Drepper <drepper@redhat.com>
25690
25691 * resolv/res_init.c (__res_vinit): Count the default server we added.
25692
c044aa75
CLT
256932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25694 Ulrich Drepper <drepper@redhat.com>
25695
25696 [BZ #11968]
25697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25698 (____longjmp_chk): Use %ebx for saving value across system call.
25699 Add unwind info.
25700
32cf4069
AS
257012010-09-06 Andreas Schwab <schwab@redhat.com>
25702
25703 * manual/Makefile: Don't mix pattern rules with normal rules.
25704
817328ee
AS
257052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25706
25707 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25708 operation.
25709 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25710 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25711 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25712 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25714 Likewise.
25715
29fddf61
UD
257162010-09-04 Ulrich Drepper <drepper@redhat.com>
25717
25718 [BZ #11979]
25719 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25720 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25721
0959ffc9
UD
257222010-09-02 Ulrich Drepper <drepper@redhat.com>
25723
25724 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25725 * sysdeps/x86_64/addmul_1.S: Likewise.
25726 * sysdeps/x86_64/lshift.S: Likewise.
25727 * sysdeps/x86_64/mul_1.S: Likewise.
25728 * sysdeps/x86_64/rshift.S: Likewise.
25729 * sysdeps/x86_64/sub_n.S: Likewise.
25730 * sysdeps/x86_64/submul_1.S: Likewise.
25731
ece29840
ST
257322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25733
0959ffc9
UD
25734 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25735 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25736 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25737 * bits/sched.h [__need_schedparam]
ece29840 25738 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25739 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25740 (__defined_schedparam): Define to 1.
ece29840
ST
25741 (__sched_param): New structure, identical to sched_param.
25742 (__need_schedparam): Undefine.
25743
e53a31fe
MF
257442010-08-31 Mike Frysinger <vapier@gentoo.org>
25745
fdc0c10d
MF
25746 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25747 (epoll_create1): Declare.
25748
e53a31fe
MF
25749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25750
a726d796
AS
257512010-08-31 Andreas Schwab <schwab@redhat.com>
25752
25753 [BZ #7066]
25754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25755 shifting retval into place.
25756
2f3e3dc7
UD
257572010-09-01 Ulrich Drepper <drepper@redhat.com>
25758
f2933da9
UD
25759 * nis/rpcsvc/nis.h: Update copyright notice.
25760 * nis/rpcsvc/nis.x: Likewise.
25761 * nis/rpcsvc/nis_callback.h: Likewise.
25762 * nis/rpcsvc/nis_callback.x: Likewise.
25763 * nis/rpcsvc/nis_object.x: Likewise.
25764 * nis/rpcsvc/nis_tags.h: Likewise.
25765 * nis/rpcsvc/yp.h: Likewise.
25766 * nis/rpcsvc/yp.x: Likewise.
25767 * nis/rpcsvc/ypupd.h: Likewise.
25768 * nis/yp_xdr.c: Likewise.
25769 * nis/ypupdate_xdr.c: Likewise.
25770
2f3e3dc7
UD
25771 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25772 mainly the body of pmap_getport. Add parameters to specify timeouts.
25773 (pmap_getport): Use __libc_rpc_getport.
25774 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25775 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25776 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25777
f3dcc2f9
AS
257782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25779
25780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25781 fanotify_mark.
25782
6d34eb5b
RM
257832010-08-27 Roland McGrath <roland@redhat.com>
25784
25785 * sysdeps/i386/i686/multiarch/Makefile
25786 (CFLAGS-varshift.c): New variable.
25787
9ea3de11
UD
257882010-08-27 Ulrich Drepper <drepper@redhat.com>
25789
c96d23fc
UD
25790 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25791 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25792
9ea3de11
UD
25793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25794
25795 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25796
623aac7f
L
257972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25798
25799 * sysdeps/x86_64/strlen.S: Unroll the loop.
25800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25801 strlen-sse2 strlen-sse2-bsf.
25802 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25803 __strlen_no_bsf if bit_Slow_BSF is set.
25804 (__strlen_sse42): Removed.
25805 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25806 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25807
8b2b7715
RM
258082010-08-25 Roland McGrath <roland@redhat.com>
25809
25810 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25811 * sysdeps/x86_64/multiarch/varshift.c: New file.
25812 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25813 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25814 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25815 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25816
e73015f2
L
258172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25818
25819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25820 strlen-sse2 strlen-sse2-bsf.
25821 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25822 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25823 (__strlen_sse2): Removed.
25824 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25827 bit_Slow_BSF for Atom.
25828 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25829 (index_Slow_BSF): Define.
25830 (HAS_SLOW_BSF): Define.
25831
df24a73e
UD
258322010-08-25 Ulrich Drepper <drepper@redhat.com>
25833
25834 [BZ #10851]
25835 * resolv/res_init.c (__res_vinit): When no server address at all
25836 is given default to loopback.
25837
f2ac4868
RM
258382010-08-24 Roland McGrath <roland@redhat.com>
25839
09055553
RM
25840 * configure.in: Remove config-name.h generation.
25841 * configure: Regenerated.
25842 * config-name.in: File removed.
25843 * scripts/config-uname.sh: New file.
25844 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25845 ($(objdir)config-name.h): New target.
25846
f2ac4868
RM
25847 * sunrpc/rpc_parse.h: Avoid nested comment.
25848
73f27d5e
RH
258492010-08-24 Richard Henderson <rth@redhat.com>
25850 Ulrich Drepper <drepper@redhat.com>
25851 H.J. Lu <hongjiu.lu@intel.com>
25852
25853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25855 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25856 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25857 _mm_alignr_epi8 with _mm_loadu_si128.
25858 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25859 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25860 (__m128i_shift_right): Removed.
25861 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25862 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25863 * sysdeps/x86_64/multiarch/varshift.h: New file.
25864 * sysdeps/x86_64/multiarch/varshift.S: New file.
25865
84b9230c
MF
258662010-08-21 Mike Frysinger <vapier@gentoo.org>
25867
25868 * configure.in: Move assembler checks to before sysdep dir checking.
25869
9bbd0ddc
PB
258702010-08-20 Petr Baudis <pasky@suse.cz>
25871
25872 * LICENSES: Sync the sunrpc license.
25873
9da4bb31
UD
258742010-08-19 Ulrich Drepper <drepper@redhat.com>
25875
a7ab6ec8
UD
25876 * sunrpc/auth_des.c: Update copyright notice once again.
25877 * sunrpc/auth_none.c: Likewise.
25878 * sunrpc/auth_unix.c: Likewise.
25879 * sunrpc/authdes_prot.c: Likewise.
25880 * sunrpc/authuxprot.c: Likewise.
25881 * sunrpc/bindrsvprt.c: Likewise.
25882 * sunrpc/clnt_gen.c: Likewise.
25883 * sunrpc/clnt_perr.c: Likewise.
25884 * sunrpc/clnt_raw.c: Likewise.
25885 * sunrpc/clnt_simp.c: Likewise.
25886 * sunrpc/clnt_tcp.c: Likewise.
25887 * sunrpc/clnt_udp.c: Likewise.
25888 * sunrpc/clnt_unix.c: Likewise.
25889 * sunrpc/des_crypt.c: Likewise.
25890 * sunrpc/des_soft.c: Likewise.
25891 * sunrpc/get_myaddr.c: Likewise.
25892 * sunrpc/getrpcport.c: Likewise.
25893 * sunrpc/key_call.c: Likewise.
25894 * sunrpc/key_prot.c: Likewise.
25895 * sunrpc/openchild.c: Likewise.
25896 * sunrpc/pm_getmaps.c: Likewise.
25897 * sunrpc/pm_getport.c: Likewise.
25898 * sunrpc/pmap_clnt.c: Likewise.
25899 * sunrpc/pmap_prot.c: Likewise.
25900 * sunrpc/pmap_prot2.c: Likewise.
25901 * sunrpc/pmap_rmt.c: Likewise.
25902 * sunrpc/rpc/auth.h: Likewise.
25903 * sunrpc/rpc/auth_unix.h: Likewise.
25904 * sunrpc/rpc/clnt.h: Likewise.
25905 * sunrpc/rpc/des_crypt.h: Likewise.
25906 * sunrpc/rpc/key_prot.h: Likewise.
25907 * sunrpc/rpc/netdb.h: Likewise.
25908 * sunrpc/rpc/pmap_clnt.h: Likewise.
25909 * sunrpc/rpc/pmap_prot.h: Likewise.
25910 * sunrpc/rpc/pmap_rmt.h: Likewise.
25911 * sunrpc/rpc/rpc.h: Likewise.
25912 * sunrpc/rpc/rpc_des.h: Likewise.
25913 * sunrpc/rpc/rpc_msg.h: Likewise.
25914 * sunrpc/rpc/svc.h: Likewise.
25915 * sunrpc/rpc/svc_auth.h: Likewise.
25916 * sunrpc/rpc/types.h: Likewise.
25917 * sunrpc/rpc/xdr.h: Likewise.
25918 * sunrpc/rpc_clntout.c: Likewise.
25919 * sunrpc/rpc_cmsg.c: Likewise.
25920 * sunrpc/rpc_common.c: Likewise.
25921 * sunrpc/rpc_cout.c: Likewise.
25922 * sunrpc/rpc_dtable.c: Likewise.
25923 * sunrpc/rpc_hout.c: Likewise.
25924 * sunrpc/rpc_main.c: Likewise.
25925 * sunrpc/rpc_parse.c: Likewise.
25926 * sunrpc/rpc_parse.h: Likewise.
25927 * sunrpc/rpc_prot.c: Likewise.
25928 * sunrpc/rpc_sample.c: Likewise.
25929 * sunrpc/rpc_scan.c: Likewise.
25930 * sunrpc/rpc_scan.h: Likewise.
25931 * sunrpc/rpc_svcout.c: Likewise.
25932 * sunrpc/rpc_tblout.c: Likewise.
25933 * sunrpc/rpc_util.c: Likewise.
25934 * sunrpc/rpc_util.h: Likewise.
25935 * sunrpc/rpcinfo.c: Likewise.
25936 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25937 * sunrpc/rpcsvc/key_prot.x: Likewise.
25938 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25939 * sunrpc/rpcsvc/mount.x: Likewise.
25940 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25941 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25942 * sunrpc/rpcsvc/rex.x: Likewise.
25943 * sunrpc/rpcsvc/rstat.x: Likewise.
25944 * sunrpc/rpcsvc/rusers.x: Likewise.
25945 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25946 * sunrpc/rpcsvc/spray.x: Likewise.
25947 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25948 * sunrpc/rtime.c: Likewise.
25949 * sunrpc/svc.c: Likewise.
25950 * sunrpc/svc_auth.c: Likewise.
25951 * sunrpc/svc_authux.c: Likewise.
25952 * sunrpc/svc_raw.c: Likewise.
25953 * sunrpc/svc_run.c: Likewise.
25954 * sunrpc/svc_simple.c: Likewise.
25955 * sunrpc/svc_tcp.c: Likewise.
25956 * sunrpc/svc_udp.c: Likewise.
25957 * sunrpc/svc_unix.c: Likewise.
25958 * sunrpc/svcauth_des.c: Likewise.
25959 * sunrpc/xcrypt.c: Likewise.
25960 * sunrpc/xdr.c: Likewise.
25961 * sunrpc/xdr_array.c: Likewise.
25962 * sunrpc/xdr_float.c: Likewise.
25963 * sunrpc/xdr_mem.c: Likewise.
25964 * sunrpc/xdr_rec.c: Likewise.
25965 * sunrpc/xdr_ref.c: Likewise.
25966 * sunrpc/xdr_sizeof.c: Likewise.
25967 * sunrpc/xdr_stdio.c: Likewise.
25968
9da4bb31
UD
25969 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25970 handling.
25971
bdaa77bc
AS
259722010-08-19 Andreas Schwab <schwab@redhat.com>
25973
25974 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25975
fe2f79db
LM
259762010-08-19 Luis Machado <luisgpm@br.ibm.com>
25977
25978 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25980 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25981 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25983 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25984 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25985 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25986 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25987 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25988 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25989 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25990 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25991 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25992
b9b42ee0
AB
259932010-07-26 Anton Blanchard <anton@samba.org>
25994
25995 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25996 * malloc/arena.c (heap_trim): Likewise.
25997
1c06ba31
UD
259982010-08-16 Ulrich Drepper <drepper@redhat.com>
25999
26000 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26001 here. Not...
26002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26003 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26004
f8392f40
L
260052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 * sysdeps/i386/elf/Makefile: New file.
26008
3162f12e
AS
260092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26010
26011 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26012 from fanotify_init.
26013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26015
28c90b2c
UD
260162010-08-15 Ulrich Drepper <drepper@redhat.com>
26017
26018 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26019 of strncasecmp_l.
1feccb6c 26020 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26021
ca6bb004
UD
260222010-08-14 Ulrich Drepper <drepper@redhat.com>
26023
e9f82e0d
UD
26024 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26025 strncase_l-nonascii.
26026 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26027 Add strncase_l-ssse3.
26028 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26029 * sysdeps/x86_64/strcmp.S: Likewise.
26030 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26031 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26032 * sysdeps/x86_64/strncase.S: New file.
26033 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26034 * sysdeps/x86_64/strncase_l.S: New file.
26035 * string/Makefile (strop-tests): Add strncasecmp.
26036 * string/test-strncasecmp.c: New file.
26037
26038 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26039 warning.
26040
ca6bb004
UD
26041 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26042 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26043
052fa7b3
AS
260442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26045
26046 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26047
962dba78
UD
260482010-08-12 Ulrich Drepper <drepper@redhat.com>
26049
26050 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26051 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26052 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26053
bebff237
AM
260542010-05-01 Alan Modra <amodra@gmail.com>
26055
26056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26057 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26058 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26059 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26060 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26061 tidying. Don't tail-call __sigjmp_save for static lib.
26062 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26063 save location.
26064 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26065 (CALL_MCOUNT): Add eh info, and nop after bl.
26066 (TAIL_CALL_SYSCALL_ERROR): New macro.
26067 (PSEUDO_RET): Use it.
26068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26069 Correct save location of integer regs and cr.
26070 (_dl_profile_resolve): Correct cr save location. Delete nops
26071 after bl when SHARED. Reduce cfi size a little by better
26072 placement of cfi directives.
26073 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26074 make a stack frame. Instead use parm save area as a temp.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26076 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26078 Don't make a stack frame for parent, use parm save area.
26079 Increase child stack frame to 112 bytes. Don't save unused reg,
26080 and adjust reg usage. Set up cfi on error recovery and
26081 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26083 (__makecontext): Add dummy nop after jump to exit.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26085 Use correct parm save area and cr save, reduce stack frame.
26086 Correct cfi for possible PSEUDO_RET frame setup.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26088 Branch to local label emitted by PSEUDO_RET rather than
26089 __syscall_error.
26090
02637374
AS
260912010-08-12 Andreas Schwab <schwab@redhat.com>
26092
26093 [BZ #11904]
26094 * locale/programs/locale.c (print_assignment): New function.
26095 (show_locale_vars): Use it.
26096
c3e2f19b
UD
260972010-08-11 Ulrich Drepper <drepper@redhat.com>
26098
3cdaa6ad
UD
26099 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26100 field.
26101 (struct statfs64): Likewise.
26102 (_STATFS_F_FLAGS): Define.
26103 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26105 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26106 (ST_VALID): Define locally.
26107 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26108 __statvfs_getflags, use the provided value.
26109 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26110 __ASSUME_STATFS_F_FLAGS.
26111
754f7da3
UD
26112 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26113
10b3bedc
UD
26114 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26115 Add sys/fanotify.h.
26116 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26117 fanotify_mask for GLIBC_2.13.
26118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26119 fanotify_init and fanotify_mark.
26120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26121 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26122
c08fb0d7
UD
26123 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26124 Add prlimit.
26125 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26126 prlimit64 for GLIBC_2.13.
26127 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26128 prlimit64.
26129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26130 syscall.
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26133 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26134 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26136 add prlimit alias.
26137 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26138
15bac72b
UD
26139 [BZ #11903]
26140 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26141 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26142
c3e2f19b
UD
26143 * nss/Makefile: Add rules to build and run tst-nss-test1.
26144 * shlib-versions: Add entry for libnss_test1.
26145 * nss/nss_test1.c: New file.
26146 * nss/tst-nss-test1.c: New file.
26147
26148 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26149 (__nss_configure_lookup): Set appropriate entry in
26150 __nss_configure_lookup to true.
26151 * nss/nsswitch.h: Define enum with indeces of databases in
26152 databases and __nss_database_custom arrays. Declare
26153 __nss_database_custom.
26154 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26155 to avoid using nscd when custom rules are installed.
26156 * nss/getXXbyYY_r.c: Likewise.
26157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26158
26159 * nss/nss_files/files-parse.c: Whitespace fixes.
26160
f15ce4d8
UD
261612010-08-09 Ulrich Drepper <drepper@redhat.com>
26162
26163 [BZ #11883]
26164 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26165 * posix/fnmatch_loop.c: Likewise.
26166
d22e4cc9
AK
261672010-07-17 Andi Kleen <ak@linux.intel.com>
26168
26169 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26170 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26171 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26172 * Versions.def [GLIBC_2.13]: Add.
26173
805bc17d
UD
261742010-08-06 Ulrich Drepper <drepper@redhat.com>
26175
26176 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26177 Also fail if tpwd after pwuid call is NULL.
26178
5a42321d
ST
261792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26180
26181 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26182 when converting to ms.
26183
fd3ebeda
ST
261842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26185
26186 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26187 EOPNOTSUPP errors with ENOTTY.
26188 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26189 EOPNOTSUPP errors with ENOTTY.
26190
73507d3a
UD
261912010-07-31 Ulrich Drepper <drepper@redhat.com>
26192
26193 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26194 Add strcasecmp_l-ssse3.
26195 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26196 strcasecmp.
26197 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26198 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26199 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26200
fe36dd02
UD
262012010-07-30 Ulrich Drepper <drepper@redhat.com>
26202
66f6765a
UD
26203 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26204
42e08a54
UD
26205 * string/Makefile (strop-tests): Add strcasecmp.
26206 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26207 strcasecmp_l-nonascii.
26208 (gen-as-const-headers): Add locale-defines.sym.
26209 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26210 * sysdeps/x86_64/strcasecmp.S: New file.
26211 * sysdeps/x86_64/strcasecmp_l.S: New file.
26212 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26213 * sysdeps/x86_64/locale-defines.sym: New file.
26214 * string/test-strcasecmp.c: New file.
26215
fe36dd02
UD
26216 * string/test-strcasestr.c: Test both ends of the range of characters.
26217 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26218
48cbc0d6
RM
262192010-07-29 Roland McGrath <roland@redhat.com>
26220
76e6d6bc 26221 [BZ #11856]
48cbc0d6
RM
26222 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26223
880113d9
UD
262242010-07-27 Ulrich Drepper <drepper@redhat.com>
26225
26226 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26227 for ld.so.
26228
deb9cabb
AS
262292010-07-27 Andreas Schwab <schwab@redhat.com>
26230
26231 * manual/memory.texi (Malloc Tunable Parameters): Document
26232 M_PERTURB.
26233
1c7570ff
RM
262342010-07-26 Roland McGrath <roland@redhat.com>
26235
26236 [BZ #11840]
26237 * configure.in (-fgnu89-inline check): Set and substitute
26238 gnu89_inline, not libc_cv_gnu89_inline.
26239 * configure: Regenerated.
26240 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26241
24fb0f88
UD
262422010-07-26 Ulrich Drepper <drepper@redhat.com>
26243
26244 * string/test-strnlen.c: New file.
26245 * string/Makefile (strop-tests): Add strnlen.
26246 * string/tester.c (test_strnlen): Add a few more test cases.
26247 * string/tst-strlen.c: Better error reporting.
26248
26249 * sysdeps/x86_64/strnlen.S: New file.
26250
8e96b93a
UD
262512010-07-24 Ulrich Drepper <drepper@redhat.com>
26252
26253 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26254 lower-latency instructions.
26255
dbc676d4
UD
262562010-07-23 Ulrich Drepper <drepper@redhat.com>
26257
26258 * string/test-strcasestr.c: New file.
26259 * string/test-strstr.c: New file.
26260 * string/Makefile (strop-tests): Add strstr and strcasestr.
26261 * string/str-two-way.h: Don't undefine MAX.
26262 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26263
f6a31e0e
AS
262642010-07-21 Andreas Schwab <schwab@redhat.com>
26265
26266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26267 strcasestr-nonascii.
26268 (CFLAGS-strcasestr-nonascii.c): Define.
26269 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26270 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26271 Remove unused attribute.
26272
5dbc3b6c
RM
262732010-07-20 Roland McGrath <roland@redhat.com>
26274
26275 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26276 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26277 ld.so.cache was broken. With it, there is no way to disable dsocaps
26278 like LD_HWCAP_MASK can disable hwcaps.
26279
23d101d8
EPM
262802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26281
26282 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26283
cc9f2e47
UD
262842010-07-16 Ulrich Drepper <drepper@redhat.com>
26285
26286 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26287 call in strcasestr.
26288 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26289 __strcasestr_sse42_nonascii.
26290 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26291 strcasestr-nonascii.c.
26292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26293
77c1b069
LM
262942010-06-15 Luis Machado <luisgpm@br.ibm.com>
26295
26296 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26298 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26300
440566c3
UD
263012010-07-09 Ulrich Drepper <drepper@redhat.com>
26302
26303 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26304 fcntl.
26305
5be9d05d
AS
263062010-07-06 Andreas Schwab <schwab@redhat.com>
26307
c30b7ee2 26308 [BZ #11577]
5be9d05d
AS
26309 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26310 dl_signal_cerror.
26311
8a492a67
UD
263122010-07-06 Ulrich Drepper <drepper@redhat.com>
26313
26314 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26315 _PC_PIPE_BUF using F_GETPIPE_SZ.
26316
713df3d5
RM
263172010-07-05 Roland McGrath <roland@redhat.com>
26318
26319 * manual/arith.texi (Rounding Functions): Fix rint description
26320 implicit in round description.
26321
702e8f14
UD
263222010-07-02 Ulrich Drepper <drepper@redhat.com>
26323
26324 * elf/Makefile: Fix linking for a few tests to make recent linker
26325 happy.
26326
52ed8be9
AS
263272010-06-30 Andreas Schwab <schwab@redhat.com>
26328
26329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26330 $(common-objpfx)libc_nonshared.a.
26331
f47c9a11
LM
263322010-06-21 Luis Machado <luisgpm@br.ibm.com>
26333
26334 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26335 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26336 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26337 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26338 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26339 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26340 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26341 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26356 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26357 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26358 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26359 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26360 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26361 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26362 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26363 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26364 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26365 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26366 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26367 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26382
6fb8cbcb
L
263832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26384
26385 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26386 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26387 * string/memmove.c (memmove): Renamed to ...
26388 (MEMMOVE): ...this. Default to memmove.
26389 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26390 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26391 (END_CHK): Define.
26392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26393 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26394 mempcpy-ssse3-back memmove-ssse3-back.
26395 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26397 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26398 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26399 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26400 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26401 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26402 * sysdeps/x86_64/multiarch/memmove.c: New file.
26403 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26404 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26405 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26406 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26407 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26409 Define.
26410 (index_Fast_Copy_Backward): Define.
26411 (HAS_ARCH_FEATURE): Define.
26412 (HAS_FAST_REP_STRING): Define.
26413 (HAS_FAST_COPY_BACKWARD): Define.
26414
4e733bac 264152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26416
26417 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26418 Restore proper fallback handling.
26419
63c4ed22
UD
264202010-06-19 Ulrich Drepper <drepper@redhat.com>
26421
ac2b484c
UD
26422 [BZ #11701]
26423 * posix/group_member.c (__group_member): Correct checking loop.
26424
63c4ed22
UD
26425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26426 OOM in getpwuid_r correctly. Return error number when the caller
26427 should return, otherwise -1.
26428 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26429 call returning > 0 value.
26430 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26431
765ade4b
AS
264322010-06-07 Andreas Schwab <schwab@redhat.com>
26433
26434 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26435 libc_nonshared.a from targets in modules-names.
26436
80da2e09
KS
264372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26438
26439 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26440 requires it.
26441
158db122
LM
264422010-06-10 Luis Machado <luisgpm@br.ibm.com>
26443
26444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26448
caa78cf8
AS
264492010-06-02 Andreas Schwab <schwab@redhat.com>
26450
26451 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26452
b2ef2c01
UD
264532010-06-14 Ulrich Drepper <drepper@redhat.com>
26454
26455 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26456 and F_GETPIPE_SZ.
26457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26463
fbd643b6
RM
264642010-06-14 Roland McGrath <roland@redhat.com>
26465
26466 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26467
f32f2869
JJ
264682010-06-07 Jakub Jelinek <jakub@redhat.com>
26469
26470 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26471 __REDIRECT followed by __THROW.
26472 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26473 * posix/getopt.h (getopt): Likewise.
26474
2a50c078
EPM
264752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26476
26477 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26478 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26479 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26480 in AT_FLAGS.
26481 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26482 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26483
eb5ad2eb
LM
264842010-05-28 Luis Machado <luisgpm@br.ibm.com>
26485
26486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26487
3c88fe1e
L
264882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 [BZ #11640]
26491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26492 Properly check family and model.
26493
d2f73151
TY
264942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26495
26496 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26497
ebd2e13d
LM
264982010-05-24 Luis Machado <luisgpm@br.ibm.com>
26499
26500 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26501
b32b8b45
UD
265022010-05-21 Ulrich Drepper <drepper@redhat.com>
26503
26504 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26505 symbol reference.
26506
9acbe24d
AS
265072010-05-19 Andreas Schwab <schwab@redhat.com>
26508
26509 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26510 symbol reference.
26511
f0ccf6ea
AS
265122010-05-21 Andreas Schwab <schwab@redhat.com>
26513
3d04ff3a
AS
26514 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26515 and internal_recvmmsg.
26516 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26517 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26519 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26520
f0ccf6ea
AS
26521 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26522 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26523 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26524
5b08ac57
AS
265252010-05-20 Andreas Schwab <schwab@redhat.com>
26526
26527 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26528
4828935d
LM
265292010-05-17 Luis Machado <luisgpm@br.ibm.com>
26530
26531 POWER7 optimizations.
26532 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26533 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26534
373d545e
UD
265352010-05-19 Ulrich Drepper <drepper@redhat.com>
26536
26537 * version.h: Update for 2.13 development version.
26538
21a2b1ae
AS
265392010-05-12 Andrew Stubbs <ams@codesourcery.com>
26540
26541 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26542 exceptions. Return 0.
26543
3f7dcb2b
RM
265442010-05-07 Roland McGrath <roland@redhat.com>
26545
26546 * elf/ldconfig.c (main): Add a const.
26547
5f24d53a 265482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26549
a160f8d8
UD
26550 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26551 (args_options): Add no-idn option.
26552 (ahosts_keys_int): Add idn_flags to ai_flags.
26553 (parse_option): Handle 'i' option to clear idn_flags.
26554
5f24d53a
UD
26555 * malloc/malloc.c (_int_free): Possible race in the most recently
26556 added check. Only act on the data if no current modification
26557 happened.
265bb1ce
UD
26558
26559See ChangeLog.17 for earlier changes.