]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Format mpatan.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
11d6e2f2
SP
12013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2
6295157a
SP
3 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4
b8de2202
SP
5 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6
11d6e2f2
SP
7 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8
7e80ddb8
RM
92013-02-26 Roland McGrath <roland@hack.frob.com>
10
11 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12 [$(build-shared = yes].
7e80ddb8 13
7da6d9ed
SP
142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15
45f05884
SP
16 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17 (__mul): Reduce iterations for calculating mantissa.
18
2236d359
SP
19 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20 MPTWO.
21 (__mpranred): Likewise.
22
7da6d9ed
SP
23 [BZ #15160]
24 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26
b7688c42
PE
272013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28
29 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30 Define __attribute__.
31
53a5c423
SP
322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35 unused.
36 * posix/regex_internal.h (__attribute): Remove.
37 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38 (re_string_context_at): Likewise.
39 (bitset_not): Use __attribute__ and mark function as possibly
40 unused.
41 (bitset_merge): Likewise.
42 (bitset_mask): Likewise.
43 (re_string_char_size_at): Likewise.
44 (re_string_wchar_at): Likewise.
45 (re_string_elem_size_at): Likewise.
46
60f5a8b5
SP
472013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48
2a983a2e
SP
49 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50 code.
51 (cc32): Likewise.
52
e69804d1
SP
53 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54 (__acr): Likewise.
55 (__cpy): Likewise.
56 (norm): Likewise.
57 (denorm): Likewise.
58 (__dbl_mp): Likewise.
59 (add_magnitudes): Likewise.
60 (sub_magnitudes): Likewise.
61 (__mul): Likewise.
62 (__inv): Likewise.
63
2f22a1e8
SP
64 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
65 style.
66
8930ddc7
SP
67 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68 style.
69
dc60cb11
SP
70 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
71 code.
72
60f5a8b5
SP
73 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
74 up changes with default code.
75 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
76 Likewise.
77
b4d1fd33
AM
782013-02-24 Allan McRae <allan@archlinux.org>
79
faf6f8bc
AM
80 * manual/socket.texi (The Internet Namespace): Order menu items
81 to match that in the file.
82
b4d1fd33
AM
83 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
84 node listing of the info page menu.
85
2366713d
JM
862013-02-21 Joseph Myers <joseph@codesourcery.com>
87
88 [BZ #13550]
89 * sysdeps/i386/bp-asm.h: Remove file.
90 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
91 (PARMS): Do not use macros from bp-asm.h.
92 (S1): Likewise.
93 (S2): Likewise.
94 (SIZE): Likewise.
95 (__mpn_add_n): Do not use BP_SYM
96 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
97 "bp-asm.h".
98 (PARMS): Do not use macros from bp-asm.h.
99 (S1): Likewise.
100 (SIZE): Likewise.
101 (__mpn_addmul_1): Do not use BP_SYM
102 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
103 "bp-asm.h".
104 (PARMS): Do not use macros from bp-asm.h.
105 (SIGMSK): Likewise.
106 (_setjmp): Likewise. Do not use BP_SYM.
107 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
108 "bp-asm.h".
109 (PARMS): Do not use macros from bp-asm.h.
110 (SIGMSK): Likewise.
111 (setjmp): Likewise. Do not use BP_SYM.
112 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
113 "bp-asm.h".
114 (PARMS): Do not use macros from bp-asm.h.
115 (__frexp): Do not use BP_SYM.
116 (frexp): Likewise.
117 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
118 "bp-asm.h".
119 (PARMS): Do not use macros from bp-asm.h.
120 (__frexpf): Do not use BP_SYM.
121 (frexpf): Likewise.
122 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
123 "bp-asm.h".
124 (PARMS): Do not use macros from bp-asm.h.
125 (__frexpl): Do not use BP_SYM.
126 (frexpl): Likewise.
127 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
128 "bp-asm.h".
129 (PARMS): Do not use macros from bp-asm.h.
130 (__remquo): Do not use BP_SYM.
131 (remquo): Likewise.
132 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
133 "bp-asm.h".
134 (PARMS): Do not use macros from bp-asm.h.
135 (__remquof): Do not use BP_SYM.
136 (remquof): Likewise.
137 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
138 "bp-asm.h".
139 (PARMS): Do not use macros from bp-asm.h.
140 (__remquol): Do not use BP_SYM.
141 (remquol): Likewise.
142 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
143 "bp-asm.h".
144 (PARMS): Do not use macros from bp-asm.h.
145 (DEST): Likewise.
146 (SRC): Likewise.
147 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
148 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
149 "bp-asm.h".
150 (PARMS): Do not use macros from bp-asm.h.
151 (strlen): Do not use BP_SYM.
152 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
153 "bp-asm.h".
154 (PARMS): Do not use macros from bp-asm.h.
155 (S1): Likewise.
156 (S2): Likewise.
157 (SIZE): Likewise.
158 (__mpn_add_n): Do not use BP_SYM.
159 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
160 "bp-asm.h".
161 (PARMS): Do not use macros from bp-asm.h.
162 (S1): Likewise.
163 (SIZE): Likewise.
164 (__mpn_addmul_1): Do not use BP_SYM.
165 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
166 weak_alias.
167 (bzero): Likewise.
168 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
169 "bp-asm.h".
170 (PARMS): Do not use macros from bp-asm.h.
171 (S): Likewise.
172 (SIZE): Likewise.
173 (__mpn_lshift): Do not use BP_SYM.
174 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
175 "bp-asm.h".
176 (PARMS): Do not use macros from bp-asm.h.
177 (DEST): Likewise.
178 (SRC): Likewise.
179 (LEN): Likewise.
180 (memcpy): Likewise. Do not use BP_SYM.
181 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
182 libc_hidden_def and weak_alias.
183 (mempcpy): Do not use BP_SYM in weak_alias.
184 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
185 "bp-asm.h".
186 (PARMS): Do not use macros from bp-asm.h.
187 (DEST): Likewise.
188 (LEN): Likewise.
189 [!BZERO_P] (CHR): Likewise.
190 (memset): Likewise. Do not use BP_SYM.
191 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
192 "bp-asm.h".
193 (PARMS): Do not use macros from bp-asm.h.
194 (S1): Likewise.
195 (SIZE): Likewise.
196 (__mpn_mul_1): Do not use BP_SYM.
197 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
198 "bp-asm.h".
199 (PARMS): Do not use macros from bp-asm.h.
200 (S): Likewise.
201 (SIZE): Likewise.
202 (__mpn_rshift): Do not use BP_SYM.
203 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
204 "bp-asm.h".
205 (PARMS): Do not use macros from bp-asm.h.
206 (STR): Likewise.
207 (CHR): Likewise.
208 (strchr): Likewise. Do not use BP_SYM.
209 (index): Do not use BP_SYM in weak_alias.
210 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
211 "bp-asm.h".
212 (PARMS): Do not use macros from bp-asm.h.
213 (DEST): Likewise.
214 (SRC): Likewise.
215 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
216 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
217 "bp-asm.h".
218 (PARMS): Do not use macros from bp-asm.h.
219 (strlen): Do not use BP_SYM.
220 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
221 "bp-asm.h".
222 (PARMS): Do not use macros from bp-asm.h.
223 (S1): Likewise.
224 (S2): Likewise.
225 (SIZE): Likewise.
226 (__mpn_sub_n): Do not use BP_SYM.
227 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
228 "bp-asm.h".
229 (PARMS): Do not use macros from bp-asm.h.
230 (S1): Likewise.
231 (SIZE): Likewise.
232 (__mpn_submul_1): Do not use BP_SYM.
233 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
234 "bp-asm.h".
235 (PARMS): Do not use macros from bp-asm.h.
236 (S1): Likewise.
237 (S2): Likewise.
238 (SIZE): Likewise.
239 (__mpn_add_n): Do not use BP_SYM.
240 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
241 weak_alias.
242 (bzero): Likewise.
243 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
244 "bp-asm.h".
245 (PARMS): Do not use macros from bp-asm.h.
246 (BLK2): Likewise.
247 (LEN): Likewise.
248 (memcmp): Do not use BP_SYM.
249 (bcmp): Do not use BP_SYM in weak_alias.
250 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
251 "bp-asm.h".
252 (PARMS): Do not use macros from bp-asm.h.
253 (DEST): Likewise.
254 (SRC): Likewise.
255 (LEN): Likewise.
256 (memcpy): Likewise. Do not use BP_SYM.
257 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
258 "bp-asm.h".
259 (PARMS): Do not use macros from bp-asm.h.
260 (DEST): Likewise.
261 (SRC): Likewise.
262 (LEN): Likewise.
263 (memmove): Likewise. Do not use BP_SYM.
264 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
265 "bp-asm.h".
266 (PARMS): Do not use macros from bp-asm.h.
267 (DEST): Likewise.
268 (SRC): Likewise.
269 (LEN): Likewise.
270 (__mempcpy): Likewise. Do not use BP_SYM.
271 (mempcpy): Do not use BP_SYM in weak_alias.
272 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
273 "bp-asm.h".
274 (PARMS): Do not use macros from bp-asm.h.
275 (DEST): Likewise.
276 (LEN): Likewise.
277 [!BZERO_P] (CHR): Likewise.
278 (memset): Likewise. Do not use BP_SYM.
279 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
280 "bp-asm.h".
281 (PARMS): Do not use macros from bp-asm.h.
282 (STR2): Likewise.
283 (strcmp): Do not use BP_SYM.
284 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
285 "bp-asm.h".
286 (PARMS): Do not use macros from bp-asm.h.
287 (STR): Likewise.
288 (DELIM): Likewise.
289 [USE_AS_STRTOK_R] (SAVE): Likewise.
290 (FUNCTION): Likewise. Do not use BP_SYM.
291 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
292 aliases.
293 (strtok_r): Likewise.
294 (__GI___strtok_r): Likewise.
295 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
296 (PARMS): Do not use macros from bp-asm.h.
297 (S): Likewise.
298 (SIZE): Likewise.
299 (__mpn_lshift): Do not use BP_SYM.
300 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
301 (PARMS): Do not use macros from bp-asm.h.
302 (STR): Likewise.
303 (CHR): Likewise.
304 (__memchr): Do not use BP_SYM.
305 (memchr): Do not use BP_SYM in weak_alias.
306 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
307 (PARMS): Do not use macros from bp-asm.h.
308 (BLK2): Likewise.
309 (LEN): Likewise.
310 (memcmp): Do not use BP_SYM.
311 (bcmp): Do not use BP_SYM in weak_alias.
312 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
313 (PARMS): Do not use macros from bp-asm.h.
314 (S1): Likewise.
315 (SIZE): Likewise.
316 (__mpn_mul_1): Do not use BP_SYM.
317 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
318 "bp-asm.h".
319 (PARMS): Do not use macros from bp-asm.h.
320 (STR): Likewise.
321 (CHR): Likewise.
322 (__rawmemchr): Do not use BP_SYM.
323 (rawmemchr): Do not use BP_SYM in weak_alias.
324 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
325 (PARMS): Do not use macros from bp-asm.h.
326 (S): Likewise.
327 (SIZE): Likewise.
328 (__mpn_rshift): Do not use BP_SYM.
329 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
330 (PARMS): Do not use macros from bp-asm.h.
331 (SIGMSK): Likewise.
332 (__sigsetjmp): Likewise. Do not use BP_SYM.
333 * sysdeps/i386/start.S: Do not include "bp-sym.h".
334 (_start): Do not use BP_SYM.
335 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
336 (PARMS): Do not use macros from bp-asm.h.
337 (DEST): Likewise.
338 (SRC): Likewise.
339 (__stpcpy): Likewise. Do not use BP_SYM.
340 (stpcpy): Do not use BP_SYM in weak_alias.
341 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
342 "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (DEST): Likewise.
345 (SRC): Likewise.
346 (LEN): Likewise.
347 (__stpncpy): Likewise. Do not use BP_SYM.
348 (stpncpy): Do not use BP_SYM in weak_alias.
349 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
350 (PARMS): Do not use macros from bp-asm.h.
351 (STR): Likewise.
352 (CHR): Likewise.
353 (strchr): Likewise. Do not use BP_SYM.
354 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
355 "bp-asm.h".
356 (PARMS): Do not use macros from bp-asm.h.
357 (STR): Likewise.
358 (CHR): Likewise.
359 (__strchrnul): Likewise. Do not use BP_SYM.
360 (strchrnul): Do not use BP_SYM in weak_alias.
361 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
362 "bp-asm.h".
363 (PARMS): Do not use macros from bp-asm.h.
364 (STOP): Likewise.
365 (strcspn): Do not use BP_SYM.
366 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
367 "bp-asm.h".
368 (PARMS): Do not use macros from bp-asm.h.
369 (STR): Likewise.
370 (STOP): Likewise.
371 (strpbrk): Likewise. Do not use BP_SYM.
372 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
373 "bp-asm.h".
374 (PARMS): Do not use macros from bp-asm.h.
375 (STR): Likewise.
376 (CHR): Likewise.
377 (strrchr): Likewise. Do not use BP_SYM.
378 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
379 (PARMS): Do not use macros from bp-asm.h.
380 (SKIP): Likewise.
381 (strspn): Do not use BP_SYM.
382 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
383 (PARMS): Do not use macros from bp-asm.h.
384 (STR): Likewise.
385 (DELIM): Likewise.
386 (SAVE): Likewise.
387 (FUNCTION): Likewise. Do not use BP_SYM.
388 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
389 aliases.
390 (strtok_r): Likewise.
391 (__GI___strtok_r): Likewise.
392 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
393 (PARMS): Do not use macros from bp-asm.h.
394 (S1): Likewise.
395 (S2): Likewise.
396 (SIZE): Likewise.
397 (__mpn_sub_n): Do not use BP_SYM.
398 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
399 "bp-asm.h".
400 (PARMS): Do not use macros from bp-asm.h.
401 (S1): Likewise.
402 (SIZE): Likewise.
403 (__mpn_submul_1): Do not use BP_SYM.
404 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
405 <bp-sym.h>.
406 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
407 and <bp-asm.h>.
408 (PARMS): Do not use macros from bp-asm.h.
409 (FLAGS): Likewise.
410 (PTID): Likewise.
411 (TLS): Likewise.
412 (CTID): Likewise.
413 (__clone): Do not use BP_SYM.
414 (clone): Do not use BP_SYM in weak_alias.
415 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
416 and <bp-asm.h>.
417 (PARMS): Do not use macros from bp-asm.h.
418 (LEN): Likewise.
419 (__mmap64): Do not use BP_SYM.
420 (mmap64): Do not use BP_SYM in weak_alias.
421 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
422 <bp-sym.h> and <bp-asm.h>.
423 (PARMS): Do not use macros from bp-asm.h.
424 (__posix_fadvise64_l64): Do not use BP_SYM.
425 * sysdeps/unix/sysv/linux/i386/semtimedop.S
426 (PARMS): Do not use macros from bp-asm.h.
427 (NSOPS): Likewise.
428 (semtimedop): Do not use BP_SYM.
429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
430 and <bp-asm.h>.
431
582a3cff
AM
4322013-02-21 Allan McRae <allan@archlinux.org>
433
434 * manual/message.texi (Charset conversion in gettext):
435 Move @end statement to beginning of line.
436
bab8a695
SP
4372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
438
80945231
SP
439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
440 static.
441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
442 Likewise.
443
bab8a695
SP
444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
445 (denorm): Likewise.
446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
448
e21d7aa7
AK
4492013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
450
451 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
452 tail-call to the resolved function if pltexit isn't needed.
453
4c7a4263
SP
4542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
455
456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
457 or Y being zero as being unlikely.
458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
459 Likewise.
460
41f49342
CD
4612013-02-20 Carlos O'Donell <carlos@redhat.com>
462
463 * manual/nss.texi (System Databases and Name Service Switch):
464 Remove frobnicate @pxref.
465
50022a93
TS
4662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
467
468 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
469 __attribute__ ((unused)) to __attribute__ ((__unused__)).
470
08cbd996
PM
4712013-02-20 Petr Machata <pmachata@redhat.com>
472
473 * elf/elf.h (R_ARM_TARGET1): New macro.
474 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
475 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
476 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
477 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
478 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
479 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
480 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
481 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
482 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
483 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
484 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
485 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
486 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
487 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
488 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
489 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
490 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
491 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
492 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
493 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
494 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
495 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
496 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
497 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
498 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
499 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
500 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
501 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
502 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
503 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
504 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
505 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
506 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
507 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
508 (R_ARM_THM_GOT_BREL12): Likewise.
509 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
510 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
511 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
512 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
513 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
514 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
515 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
516 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
517 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
518
c7b275d6
TS
5192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
520
521 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
522 __attribute_used__ to __attribute__ ((unused)).
523
20cd7fb3
SP
5242013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
525
526 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
527 powerpc mpa.c.
528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
529 comment formatting.
530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
531
92945b52
JM
5322013-02-19 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #13550]
535 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
536 Remove macro.
537 (ENTER): Remove both macro definitions.
538 (LEAVE): Likewise.
539 (CHECK_BOUNDS_LOW): Likewise.
540 (CHECK_BOUNDS_HIGH): Likewise.
541 (CHECK_BOUNDS_BOTH): Likewise.
542 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
543 (RETURN_BOUNDED_POINTER): Likewise.
544 (RETURN_NULL_BOUNDED_POINTER): Likewise.
545 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
546 (POP_ERRNO_LOCATION_RETURN): Likewise.
547 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
548 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
549 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
550 macros.
551 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
552 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
553 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
554 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
555 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
556 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
557 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
558 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
559 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
560 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
561 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
562 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
563 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
564 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
565 removed macros.
566 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
567 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
568 macros.
569 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
570 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
571 * sysdeps/i386/i586/memset.S (memset): Likewise.
572 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
573 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
574 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
575 macros.
576 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
577 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
578 Change uses of L(2) to L(out).
579 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
580 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
581 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
582 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
583 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
584 removed macros.
585 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
586 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
587 macros.
588 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
589 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
590 (RETURN): Do not use macro LEAVE.
591 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
592 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
593 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
594 * sysdeps/i386/i686/memset.S (memset): Likewise.
595 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
596 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
597 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
598 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
599 Likewise.
600 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
601 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
602 L(1_2) and L(1_3) into L(1).
603 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
605 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
606 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
607 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
609 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
610 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
611 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
612 macros.
613 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
614 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
616 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
617 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
618 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
619 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
620 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
621 * sysdeps/i386/strcspn.S (strcspn): Likewise.
622 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
623 * sysdeps/i386/strrchr.S (strrchr): Likewise.
624 * sysdeps/i386/strspn.S (strspn): Likewise.
625 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
626 conditional code.
627 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
628 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
629 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
630 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
631 L(1_3) into L(1_1).
632 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
633 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
634 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
635 macros.
636 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
637
2389741a
JJ
6382013-02-19 Jakub Jelinek <jakub@redhat.com>
639
640 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
641 macro.
642
2016b3cd
SP
6432013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
644
e4f22324
SP
645 * math/atest-exp.c (exp_mpn): Remove ROUND.
646 * math/atest-exp2.c (exp_mpn): Likewise.
647 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
648
2016b3cd
SP
649 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
650 * stdlib/tst-tls-atexit-lib.c: Likewise.
651 * stdlib/tst-tls-atexit.c: Likewise.
652
4be9b544
MF
6532013-02-18 Mike Frysinger <vapier@gentoo.org>
654
655 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
656 and __attribute_alloc_size__.
657
2f62b9ee
MF
6582013-02-18 Mike Frysinger <vapier@gentoo.org>
659
660 * include/programs/xmalloc.h: Change __attribute_alloc_size to
661 __attribute_alloc_size__.
662 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
663 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
664
6ff444c4
MF
6652013-02-18 Mike Frysinger <vapier@gentoo.org>
666
667 * include/programs/xmalloc.h: New file.
668 * catgets/gencat.c: Include it.
669 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
670 * elf/pldd.c: Likewise.
671 * iconv/iconv_charmap.c: Likewise.
672 * iconv/iconvconfig.c: Likewise.
673 * iconv/strtab.c: Likewise.
674 * locale/programs/locale.c: Likewise.
675 * locale/programs/localedef.h: Likewise.
676 * locale/programs/simple-hash.c: Likewise.
677 * nscd/nscd.h: Likewise.
678 * nss/makedb.c: Likewise.
679 * sysdeps/generic/ldconfig.h: Likewise.
680
be179c8a
SP
6812013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
682
ba384f6e
SP
683 * Versions.def: Add GLIBC_2.18.
684 * include/link.h (struct link_map): New member l_tls_dtor_count.
685 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
686 (__call_tls_dtors): Likewise.
687 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
688 __cxa_thread_atexit_impl.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
690 Likewise.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
692 Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
694 Likewise.
695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
696 Likewise.
697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
701 Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
704 Likewise.
705 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
706 (tests): Add test case tst-tls-atexit.
707 (modules-names): Add shared library for tst-tls-atexit.
708 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
709 (GLIBC_PRIVATE): Add __call_tls_dtors.
710 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
711 for libstdc++.
712 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
713 * stdlib/tst-tls-atexit.c: New test case.
714 * stdlib/tst-tls-atexit-lib.c: New test case.
715
ffaa74cf 716 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 717
be179c8a
SP
718 * elf/Versions (ld): Add _dl_find_dso_for_object.
719 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
720 * elf/dl-open.c (_dl_find_dso_for_object): New function.
721 (dl_open_worker): Use _dl_find_dso_for_object.
722 * elf/dl-sym.c (do_sym): Likewise.
723 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
724
f78b5caa
AK
7252013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
726
727 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
728 Syntactic changes only.
729 (_dl_runtime_profile): Do a tail-call to the resolved function.
730
29691210
JM
7312013-02-17 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #13550]
734 * sysdeps/x86_64/bp-asm.h: Remove file.
735 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
736 <bp-sym.h> and <bp-asm.h>.
737 (__clone): Do not use BP_SYM.
738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
739 <bp-sym.h> and <bp-asm.h>.
740 * sysdeps/unix/x86_64/sysdep.S: Likewise.
741 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
742 "bp-asm.h".
743 (_setjmp): Do not use BP_SYM.
744 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
745 "bp-asm.h".
746 (setjmp): Do not use BP_SYM.
747 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
748 libc_hidden_def.
749 (mempcpy): Do not use BP_SYM in weak_alias.
750 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
751 "bp-asm.h".
752 (strchr): Do not use BP_SYM.
753 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
754 "bp-asm.h".
755 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
756 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
757 (_start): Do not use BP_SYM.
758 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
759 "bp-asm.h".
760 (strcat): Do not use BP_SYM.
761 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
762 "bp-asm.h".
763 (STRCMP): Do not use BP_SYM.
764 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
765 "bp-asm.h".
766 (STRCPY): Do not use BP_SYM.
767 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
768 "bp-asm.h".
769 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
770 "bp-asm.h".
771 (FUNCTION): Do not use BP_SYM.
772 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
773 weak_alias.
774 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
775
f238fd19
AJ
7762013-02-17 Andreas Jaeger <aj@suse.de>
777
778 * time/Versions: Sort entries.
779 * string/Versions: Likewise.
780 * resolv/Versions: Likewise.
781 * posix/Versions: Likewise.
782 * iconv/Versions: Likewise.
783 * elf/Versions: Likewise.
784 * wcsmbs/Versions: Likewise.
785
bd07f23c 7862013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 787
22af19f9
SP
788 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
789 loop termination condition.
790
4709fe76
SP
791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
792 variable to calculate EZ.
793 (__sqr): Likewise.
2d0e0f29
SP
794
795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
796 the lower precision input.
797
daaa7713
JM
7982013-02-15 Joseph Myers <joseph@codesourcery.com>
799
800 [BZ #13550]
801 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
802 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
803 (run-via-rtld-prefix): Do not handle %-bp tests.
804 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
805 (all-object-suffixes): Remove .ob.
806 (bppfx): Remove variable.
807 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
808 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
809 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
810 [$(build-bounded) = yes] (libtype.ob): Likewise.
811 * Makerules (elide-routines.ob): Remove variable.
812 (do-tests-clean): Do not handle *-bp.out.
813 (common-mostlyclean): Do not handle *-bp and *-bp.out.
814 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
815 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
816 (tests): Do not include $(tests-bp.out).
817 (xtests): Do not include $(xtests-bp.out).
818 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
819 [$(build-bounded) = yes] ($(addprefix
820 $(objpfx),$(binaries-bounded))): Remove rule.
821 ($(objpfx)%-bp.out): Remove rule.
822 * config.make.in (build-bounded): Remove variable.
823 * crypt/Makefile [$(build-bounded) = yes]
824 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
825 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
826 append to variable.
827 [$(build-bounded) = yes] (install-lib): Likewise.
828 [$(build-bounded) = yes] (generated): Likewise.
829 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
830 Remove rule.
831 * intl/Makefile [$(build-bounded) = yes]
832 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
833 * math/Makefile [$(build-bounded) = yes]
834 ($(tests:%=$(objpfx)%-bp): Likewise.
835 * misc/Makefile [$(build-bounded) = yes]
836 ($(objpfx)tst-tsearch-bp): Likewise.
837 * nptl/Makeconfig (bounded-thread-library): Remove variable.
838 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
839 Remove dependency.
840 * string/Makefile (o-objects.ob): Remove variable.
841 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
842 (CFLAGS-.ob): Remove variable.
843 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
844 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
845 both definitions of variable.
846 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
847 (ASFLAGS-.ob): Remove variable.
848
e97ed6dd
JM
8492013-02-14 Joseph Myers <joseph@codesourcery.com>
850
2bdd4ca6
JM
851 [BZ #13550]
852 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
853 Remove __BOUNDED_POINTERS__ from condition.
854 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
855 * string/bits/string2.h [!__NO_STRING_INLINES &&
856 !__BOUNDED_POINTERS__]: Likewise.
857 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
858 Likewise.
859 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
860 Remove conditional code.
861 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
862 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
863 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
864 condition.
865
e97ed6dd
JM
866 [BZ #13550]
867 * csu/libc-start.c: Do not include <bp-sym.h>.
868 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
869 * elf/dl-open.c: Do not include <bp-sym.h>.
870 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
871 * math/fegetenv.c: Do not include <bp-sym.h>.
872 (fegetenv): Do not use BP_SYM in versioned symbols.
873 * nptl/sysdeps/pthread/bits/libc-lockP.h
874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
875 <bp-sym.h>.
876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
877 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
879 (__pthread_mutex_destroy): Likewise.
880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881 (__pthread_mutex_lock): Likewise.
882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883 (__pthread_mutex_trylock): Likewise.
884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885 (__pthread_mutex_unlock): Likewise.
886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887 (__pthread_mutexattr_init): Likewise.
888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889 (__pthread_mutexattr_destroy): Likewise.
890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891 (__pthread_mutexattr_settype): Likewise.
892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893 (__pthread_rwlock_init): Likewise.
894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895 (__pthread_rwlock_destroy): Likewise.
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897 (__pthread_rwlock_rdlock): Likewise.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_rwlock_tryrdlock): Likewise.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_rwlock_wrlock): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_rwlock_trywrlock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_rwlock_unlock): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_key_create): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_setspecific): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911 (__pthread_getspecific): Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
913 Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (_pthread_cleanup_push_defer): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
917 (_pthread_cleanup_pop_restore): Likewise.
918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919 (pthread_setcancelstate): Likewise.
920 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
921 <bp-sym.h>.
922 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
923 (memchr): Do not use BP_SYM in weak_alias.
924 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
925 (fegetenv): Do not use BP_SYM in versioned symbols.
926 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
927 (fesetenv): Do not use BP_SYM in versioned symbols.
928 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
929 (feupdateenv): Do not use BP_SYM in versioned symbols.
930 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
931 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
932 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
933 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
934 (open64): Do not use BP_SYM in weak_alias.
935 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
936 (fegetenv): Do not use BP_SYM in versioned symbols.
937 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
938 (fesetenv): Do not use BP_SYM in versioned symbols.
939 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
940 (feupdateenv): Do not use BP_SYM in versioned symbols.
941 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
942 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
943 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
944 (feraiseexcept): Do not use BP_SYM in versioned symbols.
945 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
946 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
947 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
948 <bp-sym.h>.
949 (__libc_start_main): Do not use BP_SYM.
950
d6752ccd
SP
9512013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
952
cb57ce60
SP
953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
954 redundant return line.
955 (norm): Likewise.
956 (denorm): Likewise.
957 (dbl_mp): Likewise.
958 (sub_magnitudes): Likewise.
959 (__add): Likewise.
960 (__sub): Likewise.
961 (__mul): Likewise.
962 (__inv): Likewise.
963 (__dvd): Likewise.
964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
965 (norm): Likewise.
966 (denorm): Likewise.
967 (dbl_mp): Likewise.
968 (sub_magnitudes): Likewise.
969 (__add): Likewise.
970 (__sub): Likewise.
971 (__mul): Likewise.
972 (__inv): Likewise.
973 (__dvd): Likewise.
974
f414520d
SP
975 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
976 instead of __mul.
977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
978 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
979 (cc32): Likewise.
980
d6752ccd
SP
981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
982 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
984 of __mul for squares.
985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
986 function
987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
988 Likewise.
989 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
990 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
991
70d9946a
JM
9922013-02-13 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #13550]
995 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
996 code.
997 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
998 prototype or function definition. Rename ubp_* variables and
999 parameters. Remove argv definitions conditional on
1000 [__BOUNDED_POINTERS__].
1001 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1002 * elf/dl-runtime.c (_dl_fixup): Likewise.
1003 * include/set-hooks.h (RUN_HOOK): Likewise.
1004 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1005 definition.
1006 * string/strcpy.c (strcpy): Do not use __unbounded.
1007 * sysdeps/generic/frame.h (struct layout): Likewise.
1008 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1009 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1010 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1011 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1012 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1013 (__backtrace): Likewise.
1014 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1015 use __ptrvalue.
1016 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1017 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1018 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1021 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1022 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1023 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1024 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1025 Do not use __unbounded.
1026 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1027 Rename __unboundedrlimits parameter to rlimits in prototype.
1028 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1029 Do not use __unbounded.
1030 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1031 not use __ptrvalue.
1032 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1033 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1034 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1035 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1036 __ptrvalue or __unbounded.
1037 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1039 use __unbounded.
1040 (__new_msgctl): Do not use __ptrvalue.
1041 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1042 __unbounded.
1043 (__libc_msgrcv): Do not use __ptrvalue.
1044 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1045 startup_info): Do not use __unbounded.
1046 (__libc_start_main): Likewise. Rename ubp_* variables and
1047 parameters. Remove argv definitions conditional on
1048 [__BOUNDED_POINTERS__].
1049 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1050 __ptrvalue.
1051 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1052 use __unbounded.
1053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1054 or __ptrvalue.
1055 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1056 use __unbounded.
1057 (__new_shmctl): Do not use __ptrvalue.
1058 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1059 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1060 Likewise.
1061 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1063 (__libc_sigaction): Likewise.
1064 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1066 Likewise.
1067 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1068
cc7834d6
OB
10692013-02-13 Ondřej Bílka <neleai@seznam.cz>
1070
ffb1ec7b 1071 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1072
1073 * string/mempcpy.c: Implement by calling memcpy.
1074
bdf02814
SP
10752013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1076
c2af38aa
SP
1077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1078
4e92d59e
SP
1079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1080 evaluation.
1081
909279a5
SP
1082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1083 values in the mantissa.
1084
bdf02814
SP
1085 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1086 minimize writes to Z.
1087 (sub_magnitudes): Simplify code a bit.
1088
cd525923
RM
10892013-02-12 Roland McGrath <roland@hack.frob.com>
1090
1091 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1092 from the message. The linker prefixes all warnings with that already.
1093
7e2f0d2d
AS
10942013-02-12 Andreas Schwab <schwab@suse.de>
1095
a445af0b
AS
1096 [BZ #15078]
1097 * posix/regexec.c (extend_buffers): Add parameter min_len.
1098 (check_matching): Pass minimum needed length.
1099 (clean_state_log_if_needed): Likewise.
1100 (get_subexp): Likewise.
1101 * posix/Makefile (tests): Add bug-regex34.
1102 (bug-regex34-ENV): Define.
1103 * posix/bug-regex34.c: New file.
1104
7e2f0d2d
AS
1105 [BZ #11561]
1106 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1107 elements compare against the byte sequence of it, not its name.
1108 * posix/Makefile (tests): Add bug-regex35.
1109 (bug-regex35-ENV): Define.
1110 * posix/bug-regex35.c: New file.
1111
a175b684
TV
11122013-02-11 Tom de Vries <tom@codesourcery.com>
1113
1114 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1115 comment.
1116 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1117 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1118 (CHECK_EOL): Add undef.
1119
310998fe 11202013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1121
1122 * bits/stdlib-bsearch.h: New file.
1123 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1124 * stdlib/stdlib.h: Likewise.
41eda41d 1125
8ded91fb
RM
11262013-02-11 Roland McGrath <roland@hack.frob.com>
1127
1128 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1129 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1130 declaration.
1131 * manual/search.texi (Array Search Function): Add missing const in
1132 lfind prototype.
1133 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1134 declaration to use rlim_t.
1135 (Basic Scheduling Functions): Remove erroneous const from
1136 sched_getparam prototype. Remove erroneous * from
1137 sched_get_priority_max and sched_get_priority_min prototypes.
1138 (Resource Usage): Fix summary @comment on vtimes to refer to
1139 sys/vtimes.h rather than vtimes.h.
1140 Add missing *s in vtimes prototype.
1141 (Limits on Resources): Fix ulimit prototype to return long int.
1142 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1143 prototypes to use long int rather than double.
1144 (BSD Random): Fix initstate and setstate to use char *, not void *.
1145 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1146 prototype to make second argument 'struct aiocb64 *const[]'.
1147 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1148 (Status of AIO Operations): Remove erroneous const in aio_return and
1149 aio_return64 prototypes.
1150 (Synchronizing I/O): Fix sync prototype to return void.
1151 * manual/startup.texi (Suboptions): Remove an erroneous const in
1152 getsubopt prototype.
1153 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1154 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1155 use size_t rather than int.
1156 (Scanning All Users): Likewise for getpwent_r.
1157 (Setting Groups): Add missing const to setgroups prototype.
1158 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1159 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1160 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1161 'const void *' rather than 'const char *'.
1162 (Host Address Functions): Likewise for inet_ntop.
1163 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1164 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1165 ssize_t for return value.
1166 (Sending Data): Likewise for send, sendto, sendmsg.
1167 (Socket Option Functions): Add a missing const in setsockopt prototype.
1168 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1169 use wchar_t for the argument.
1170 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1171 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1172 take no arguments.
1173 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1174 double/float/long double for second argument.
1175 Fix return types of significand, significandf, significandl.
1176 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1177 argument in fchmod prototype.
1178 (File Owner): Use uid_t and gid_t in fchown prototype.
1179 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1180 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1181 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1182 use 'const struct dirent **' as argument types to CMP function pointer
1183 argument.
1184 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1185 (File Times): Fix summary magic @comment for struct utimbuf and utime
1186 to refer to utime.h, not time.h.
1187 * manual/string.texi (Argz Functions): Add missing const in
1188 argz_extract and argz_next prototypes.
1189 (Finding Tokens in a String): Likewise for basename.
1190 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1191 (Copying and Concatenation): Fix typo in wmemmove prototype.
1192 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1193 (Signal Stack): Remove erroneous const in sigstack prototype.
1194 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1195 prototype.
1196 (Simple Calendar Time): Likewise for stime.
1197 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1198 prototype.
1199 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1200 say sys/sysctl.h instead.
1201 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1202 and vsyslog prototypes.
1203
fe77fe6d
TV
12042013-02-11 Tom de Vries <tom@codesourcery.com>
1205
1206 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1207 Remove.
1208
3a09b620
RM
12092013-02-11 Roland McGrath <roland@hack.frob.com>
1210
1211 * misc/sys/mman.h: Fix typo in mremap comment.
1212
550a0b89
RM
12132013-02-08 Roland McGrath <roland@hack.frob.com>
1214
1215 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1216 the '\0' terminator.
1217
a2da1673
JM
12182013-02-08 Joseph Myers <joseph@codesourcery.com>
1219
1220 [BZ #13550]
1221 * debug/segfault.c: Don't include <bp-checks.h>.
1222 * sysdeps/generic/bp-checks.h: Remove file.
1223 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1224 (__GETDENTS): Don't use CHECK_N.
1225 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1226 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1227 (__getgroups): Don't use CHECK_N.
1228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1229 (setgroups): Don't use CHECK_N.
1230 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1231 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1232 (__libc_msgrcv): Don't use CHECK_N.
1233 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1234 (__libc_msgsnd): Don't use CHECK_N.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1236 <bp-checks.h>.
1237 (__libc_pread): Don't use CHECK_N.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1239 include <bp-checks.h>.
1240 (__libc_pread64): Don't use CHECK_N.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1242 include <bp-checks.h>.
1243 (__libc_pwrite): Don't use CHECK_N.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1245 include <bp-checks.h>.
1246 (__libc_pwrite64): Don't use CHECK_N.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1248 <bp-checks.h>.
1249 (__libc_pread): Don't use CHECK_N.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1251 include <bp-checks.h>.
1252 (__libc_pread64): Don't use CHECK_N.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1254 include <bp-checks.h>.
1255 (__libc_pwrite): Don't use CHECK_N.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1257 include <bp-checks.h>.
1258 (__libc_pwrite64): Don't use CHECK_N.
1259 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1260 (do_pread): Don't use CHECK_N.
1261 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1262 (do_pread64): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1264 (do_pwrite): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1266 (do_pwrite64): Don't use CHECK_N.
1267 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1268 (__libc_readv): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1270 (semop): Don't use CHECK_N.
1271 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1272 <bp-checks.h>.
1273 (semtimedop): Don't use CHECK_N.
1274 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1275 (__libc_pread): Don't use CHECK_N.
1276 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1277 <bp-checks.h>.
1278 (__libc_pread64): Don't use CHECK_N.
1279 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1280 <bp-checks.h>.
1281 (__libc_pwrite): Don't use CHECK_N.
1282 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1283 <bp-checks.h>.
1284 (__libc_pwrite64): Don't use CHECK_N.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1286 <bp-checks.h>.
1287 (__libc_msgrcv): Don't use CHECK_N.
1288 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1289 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1290 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1291 (__libc_writev): Don't use CHECK_N.
1292
b84660a8
RM
12932013-02-08 Roland McGrath <roland@hack.frob.com>
1294
7f3e75f8
RM
1295 * string/strcpy.c: Removed unused variable.
1296
b84660a8
RM
1297 * Makeconfig (+sysdep-includes): Define with := rather than =.
1298 Use an existing include/ subdir of each sysdeps dir before it.
1299
471514d3
CD
13002013-02-08 Carlos O'Donell <carlos@redhat.com>
1301
1302 * nscd/connection.c (register_traced_file): Comment function.
1303 [HAVE_INOTIFY] (union __inev): Define.
1304 [HAVE_INOTIFY] (inotify_check_files): New function.
1305 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1306 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1307 clear_db_cache.
1308 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1309
b2d3c3be
CD
13102013-02-08 Carlos O'Donell <carlos@redhat.com>
1311
1312 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1313 loaded if not already and that a failure is permanent.
1314
b39949d2
CD
13152013-02-08 Carlos O'Donell <carlos@redhat.com>
1316
ddacd1db 1317 [BZ #15006]
b39949d2
CD
1318 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1319 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1320
b2c9eff4
JM
13212013-02-08 Joseph Myers <joseph@codesourcery.com>
1322
f3aae3f3
JM
1323 [BZ #13550]
1324 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1325 (CHECK_1_NULL_OK): Likewise.
1326 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1327 (__fxstat): Do not use CHECK_1.
1328 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1329 <bp-checks.h>.
1330 (___fxstat64): Do not use CHECK_1.
1331 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1332 <bp-checks.h>.
1333 (__fxstatat): Do not use CHECK_1.
1334 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1335 <bp-checks.h>.
1336 (__fxstatat64): Do not use CHECK_1.
1337 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1338 <bp-checks.h>.
1339 (__fxstat): Do not use CHECK_1.
1340 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1341 <bp-checks.h>.
1342 (__fxstatat): Do not use CHECK_1.
1343 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1344 <bp-checks.h>.
1345 (__getresgid): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1347 <bp-checks.h>.
1348 (__getresuid): Do not use CHECK_1.
1349 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1350 <bp-checks.h>.
1351 (__lxstat): Do not use CHECK_1.
1352 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1353 <bp-checks.h>.
1354 (__old_msgctl): Do not use CHECK_1.
1355 (__new_msgctl): Likewise.
1356 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1357 <bp-checks.h>.
1358 (__new_setrlimit): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1360 <bp-checks.h>.
1361 (__old_shmctl): Do not use CHECK_1.
1362 (__new_shmctl): Likewise.
1363 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1364 <bp-checks.h>.
1365 (__xstat): Do not use CHECK_1.
1366 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1367 (__lxstat): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1369 <bp-checks.h>.
1370 (___lxstat64): Do not use CHECK_1.
1371 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1372 (__old_msgctl): Do not use CHECK_1.
1373 (__new_msgctl): Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1375 <bp-checks.h>.
1376 (__gettimeofday): Do not use CHECK_1.
1377 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1378 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1379 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1380 <bp-checks.h>.
1381 (__gettimeofday): Do not use CHECK_1.
1382 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1383 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1384 (__new_shmctl): Do not use CHECK_1.
1385 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1386 <bp-checks.h>.
1387 (do_sigtimedwait): Do not use CHECK_1.
1388 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1389 <bp-checks.h>.
1390 (do_sigwaitinfo): Do not use CHECK_1.
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1392 <bp-checks.h>.
1393 (msgctl): Do not use CHECK_1.
1394 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1395 <bp-checks.h>.
1396 (shmctl): Do not use CHECK_1.
1397 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1398 (ustat): Do not use CHECK_1.
1399 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1400 <bp-checks.h>.
1401 (__fxstat): Do not use CHECK_1.
1402 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1403 <bp-checks.h>.
1404 (__fxstatat): Do not use CHECK_1.
1405 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1406 <bp-checks.h>.
1407 (__lxstat): Do not use CHECK_1.
1408 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1409 <bp-checks.h>.
1410 (__xstat): Do not use CHECK_1.
1411 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1412 (__xstat): Do not use CHECK_1.
1413 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1414 (___xstat64): Do not use CHECK_1.
1415
b2c9eff4
JM
1416 [BZ #13550]
1417 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1418 definitions.
1419 (CHECK_BOUNDS_HIGH): Likewise.
1420 * string/strcpy.c: Do not include <bp-checks.h>.
1421 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1422
f1d70dad
RM
14232013-02-07 Roland McGrath <roland@hack.frob.com>
1424
1425 * nscd/nscd-client.h (__nscd_drop_map_ref):
1426 Add __attribute__ ((unused)).
1427 * nis/nss-nisplus.h (niserr2nss): Likewise.
1428
1429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1430 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1431
1432 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1433 Remove inline keyword.
1434 * include/rounding-mode.h (round_away): Likewise.
1435 * libio/wfileops.c (adjust_wide_data): Likewise.
1436 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1437 (__m128i_strloadu_tolower): Likewise.
1438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1439 (__m128i_strloadu_tolower): Likewise.
1440 * time/mktime.c (ydhms_diff): Likewise.
1441 * locale/elem-hash.h (elem_hash): Likewise.
1442 * locale/setlocale.c (setdata): Likewise.
1443 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1444 (re_string_wchar_at): Likewise.
1445 (bitset_not, bitset_merge, bitset_mask): Likewise.
1446 [!(__GNUC__ > 3)] (inline): Remove macro.
1447 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1448 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1449 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1450 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1451 * string/memcmp.c (memcmp_bytes): Likewise.
1452 * locale/programs/locarchive.c (compute_hashval): Likewise.
1453 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1454 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1455 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1456 * nss/getent.c (print_rpc, print_protocols): Likewise.
1457 (print_passwd, print_group, print_aliases): Likewise.
1458 * nis/nss-nisplus.h (niserr2nss): Likewise.
1459 * nscd/connections.c (restart_p): Likewise.
1460 Change return type to bool.
1461
eab55bfb
RM
14622013-02-05 Roland McGrath <roland@hack.frob.com>
1463
7bd642f5
RM
1464 * Makeconfig (all-Depend-files): Add existing
1465 $(sorted-subdirs:=/Depend) files.
1466 (all-subdirs): Remove nss.
1467 * sysdeps/unix/inet/Subdirs: Add it here instead.
1468 * hesiod/Depend: New file.
1469
573c29b2
RM
1470 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1471 instead of calling alloca.
1472
b2e25af0
RM
1473 * io/lseek.c (__lseek): Rename to __libc_lseek.
1474 Define __lseek as an alias.
1475
eab55bfb
RM
1476 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1477
9a0d1941
CD
14782013-02-04 Carlos O'Donell <carlos@redhat.com>
1479
1480 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1481 else clause and remove check for non-standard endianness.
1482
b83bbec4
DM
14832013-02-04 David S. Miller <davem@davemloft.net>
1484
1485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1486
6277fdab
JM
14872013-02-04 Joseph Myers <joseph@codesourcery.com>
1488
1489 [BZ #13550]
1490 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1491 (__ubp_memchr): Remove prototype.
1492 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1493 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1494 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1495 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1496 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1497 Remove alias.
1498 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1499 (__ubp_memchr): Likewise.
1500 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1501 (__ubp_memchr): Likewise.
1502 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1503 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1504 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1505 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1506 CHECK_STRING.
1507 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1508 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1509 (__getcwd): Do not use CHECK_STRING.
1510 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1511 <bp-checks.h>.
1512 (__real_chown): Do not use CHECK_STRING.
1513 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1514 <bp-checks.h>.
1515 (fchownat): Do not use CHECK_STRING.
1516 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1517 CHECK_STRING.
1518 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1519 <bp-checks.h>.
1520 (__lchown): Do not use CHECK_STRING.
1521 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1522 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1523 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1524 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1526 include <bp-checks.h>.
1527 (truncate64): Do not use CHECK_STRING.
1528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1529 <bp-checks.h>.
1530 (__real_chown): Do not use CHECK_STRING.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1532 <bp-checks.h>.
1533 (__lchown): Do not use CHECK_STRING.
1534 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1535 <bp-checks.h>.
1536 (__chown): Do not use CHECK_STRING.
1537 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1538 <bp-checks.h>.
1539 (truncate64): Do not use CHECK_STRING.
1540 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1541 Likewise.
1542 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1543 (__xmknod): Do not use CHECK_STRING.
1544 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1545 <bp-checks.h>.
1546 (__xmknodat): Do not use CHECK_STRING.
1547 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1548 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1549
903ae060
AS
15502013-02-04 Andreas Schwab <schwab@suse.de>
1551
1552 [BZ #14142]
1553 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1554 * include/netdb.h: Likewise for h_errno.
1555 * elf/tst-stackguard1.c: Include <tls.h>.
1556
542f9466
JK
15572013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1558
1559 * elf/link.h (struct link_map): Extend the l_addr comment.
1560 * include/link.h (struct link_map): Likewise.
1561
e782a927
JM
15622013-02-01 Joseph Myers <joseph@codesourcery.com>
1563
1564 [BZ #13550]
1565 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1566 (BOUNDED_1): Remove macro.
1567 * debug/backtrace.c: Don't include <bp-checks.h>.
1568 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1569 (__backtrace): Likewise.
1570 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1571 <bp-checks.h>.
1572 (__backtrace): Don't use BOUNDED_1.
1573 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1574 <bp-checks.h>.
1575 (__backtrace): Don't use BOUNDED_1.
1576 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1577 (__backtrace): Don't use BOUNDED_1.
1578 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1579 (shmat): Don't use BOUNDED_N.
1580
8cf28c5e
JM
15812013-01-31 Joseph Myers <joseph@codesourcery.com>
1582
3a7ac8a0
JM
1583 [BZ #13550]
1584 * sysdeps/generic/bp-start.h: Remove file.
1585 * csu/libc-start.c: Don't include <bp-start.h>.
1586 (LIBC_START_MAIN): Set up __environ directly instead of using
1587 INIT_ARGV_and_ENVIRON.
1588 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1589 <bp-start.h>.
1590
f3499f95
JM
1591 [BZ #13550]
1592 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1593 definitions.
1594 (CHECK_FCNTL): Likewise.
1595 (CHECK_N_PAGES): Likewise.
1596
32a45bea
JM
1597 [BZ #13550]
1598 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1599 definitions.
1600 (CHECK_SIGSET_NULL_OK): Likewise.
1601 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1602 <bp-checks.h>.
1603 (sigpending): Don't use CHECK_SIGSET.
1604 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1605 <bp-checks.h>.
1606 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1607 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1608 <bp-checks.h>.
1609 (do_sigsuspend): Don't use CHECK_SIGSET.
1610 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1611 use CHECK_SIGSET.
1612 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1613 (do_sigwait): Don't use CHECK_SIGSET.
1614 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1615 use CHECK_SIGSET.
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1617 include <bp-checks.h>.
1618 (sigpending): Don't use CHECK_SIGSET.
1619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1620 include <bp-checks.h>.
1621 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1622 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1623 <bp-checks.h>.
1624 (sigpending): Don't use CHECK_SIGSET.
1625 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1626 <bp-checks.h>.
1627 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1628
2e8a5c8c
JM
1629 [BZ #13550]
1630 * sysdeps/generic/bp-semctl.h: Remove file.
1631 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1632 <bp-checks.h> and <bp-semctl.h>.
1633 (__old_semctl): Don't use CHECK_SEMCTL.
1634 (__new_semctl): Likewise.
1635 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1636 and <bp-semctl.h>.
1637 (__old_semctl): Don't use CHECK_SEMCTL.
1638 (__new_semctl): Likewise.
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1640 <bp-checks.h> and <bp-semctl.h>.
1641 (__old_semctl): Don't use CHECK_SEMCTL.
1642 (__new_semctl): Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1644 <bp-checks.h> and <bp-semctl.h>.
1645 (semctl): Don't use CHECK_SEMCTL.
1646
c2d54929
JM
1647 [BZ #13550]
1648 * Makerules (elide-bp-thunks): Remove variable.
1649 (elide-routines.oS): Don't use $(elide-bp-thunks).
1650 (elide-routines.os): Likewise.
1651 (elide-routines.o): Likewise.
1652 (elide-routines.op): Likewise.
1653 (elide-routines.og): Likewise.
1654 (objects): Don't use $(bp-thunks).
1655 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1656 include.
1657 (common-generated): Do not add s-proto-bp.d.
1658 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1659 (int): Likewise.
1660 (typ): Likewise.
1661 Do not generate makefile rules for bounded-pointer thunks.
1662 * sysdeps/generic/bp-thunks.h: Remove file.
1663 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1664 * sysdeps/unix/s-proto-bp.S: Likewise.
1665
8cf28c5e
JM
1666 [BZ #15062]
1667 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1668 parts of result separately when argument is not close to line from
1669 -i to i and one part of argument is small.
1670 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1671 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1672 * math/libm-test.inc (cacos_test): Add more tests.
1673 (casin_test): Likewise.
1674 (casinh_test): Likewise.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677
c4e33b8d
DM
16782013-01-31 David S. Miller <davem@davemloft.net>
1679
1680 * po/de.po: Update from translation team.
1681
3b60b421
MK
16822013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1683
1684 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1685
bb931195
TS
16862013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1687
b5a5da23
TS
1688 * configure.in (_AC_PROG_CC_C89): New definition.
1689 * configure: Regenerate.
1690
bb931195
TS
1691 * configure.in (AC_PROG_CPP): New definition.
1692 * configure: Regenerate.
1693
8c53a12c
JM
16942013-01-23 Joseph Myers <joseph@codesourcery.com>
1695
1696 * debug/tst-backtrace.h: New file.
1697 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1698 (ret): Remove variable.
1699 (x): Likewise.
1700 (FAIL): Remove macro.
1701 (NO_INLINE): Likewise.
1702 (fn1): Use match function instead of strstr.
1703 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1704 (ret): Remove variable.
1705 (x): Likewise.
1706 (FAIL): Remove macro.
1707 (NO_INLINE): Likewise.
1708 (fn): Use match function instead of strstr.
1709 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1710 (ret): Remove variable.
1711 (x): Likewise.
1712 (FAIL): Remove macro.
1713 (NO_INLINE): Likewise.
1714 (handle_signal): Use match function instead of strstr.
1715 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1716 (ret): Remove variable.
1717 (x): Likewise.
1718 (FAIL): Remove macro.
1719 (NO_INLINE): Likewise.
1720 (handle_signal): Use match function instead of strstr.
1721
4858fa2a
RM
17222013-01-23 Roland McGrath <roland@hack.frob.com>
1723
1724 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1725
bae8e7f5
DM
17262013-01-23 David S. Miller <davem@davemloft.net>
1727
1728 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1729 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1730 argument of CAS if possible.
1731 * sysdeps/sparc/sparc64/bits/atomic.h
1732 (__arch_compare_and_exchange_val_32_acq): Likewise.
1733 (__arch_compare_and_exchange_val_64_acq): Likewise.
1734
9cbbc4ae
PT
17352013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1736
1737 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1738 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1739 Include <limits.h>.
67b3f58c 1740 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1741
5655a0b5
AC
17422013-01-23 Adam Conrad <adconrad@0c3.net>
1743
1744 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1745 (LDFLAGS-tst-array5): Likewise.
1746
052aff95
JM
17472013-01-23 Joseph Myers <joseph@codesourcery.com>
1748
1749 [BZ #15036]
1750 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1751 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1752 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1753 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1754
7c1e01aa
DM
17552013-01-21 David S. Miller <davem@davemloft.net>
1756
1757 * sysdeps/sparc/backtrace.c: New file.
1758 * sysdeps/sparc/sparc32/backtrace.h: New file.
1759 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1760 * sysdeps/sparc/sparc64/backtrace.h: New file.
1761 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1762 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1763 -funwind-tables.
1764
ab087e0a
AS
17652013-01-21 Andreas Schwab <schwab@suse.de>
1766
1767 [BZ #15020]
1768 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1769 closed its stdout.
1770
ed689c2f
AS
17712013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1772
1773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1774 "mpa2.h".
1775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1776
31d470ac
JM
17772013-01-18 Joseph Myers <joseph@codesourcery.com>
1778 Mark Mitchell <mark@codesourcery.com>
1779 Tom de Vries <tom@codesourcery.com>
1780 Paul Pluzhnikov <ppluzhnikov@google.com>
1781
1782 * debug/tst-backtrace2.c: New file.
1783 * debug/tst-backtrace3.c: Likewise.
1784 * debug/tst-backtrace4.c: Likewise.
1785 * debug/tst-backtrace5.c: Likewise.
1786 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1787 (CFLAGS-tst-backtrace3.c): Likewise.
1788 (CFLAGS-tst-backtrace4.c): Likewise.
1789 (CFLAGS-tst-backtrace5.c): Likewise.
1790 (LDFLAGS-tst-backtrace2): Likewise.
1791 (LDFLAGS-tst-backtrace3): Likewise.
1792 (LDFLAGS-tst-backtrace4): Likewise.
1793 (LDFLAGS-tst-backtrace5): Likewise.
1794 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1795 tst-backtrace4 and tst-backtrace5.
1796
90567f30 17972013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1798 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1799
1800 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1801 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1803 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1805 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1806 "+r" and remove output regs list as redundant. Add explicit inline
1807 asm to specify register of return val to work around compiler codegen
1808 bug. Remove (int) cast on return value. Add return type parameter to
1809 use in macro so that this macro does not truncate return value for
1810 64-bit values.
1811 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1812 pass to INTERNAL_VSYSCALL_NCS.
1813 (INLINE_VSYSCALL): Add 'long int' as return type to
1814 INTERNAL_VSYSCALL_NCS macro invocation.
1815 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1816 INTERNAL_VSYSCALL_NCS macro invocation.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1818
d3b9ea61
SP
18192013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1820
0b57daeb
SP
1821 [BZ #14496]
1822 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1823 Fix application of SIMD FP exception mask.
1824
caa99d06
SP
1825 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1826 mp_no from a power of two.
1827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1828 __mpexp_twomm1. Use __pow_mp.
1829
d3b9ea61
SP
1830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1831 multiplication.
1832
1dbaee3c
DM
18332013-01-17 David S. Miller <davem@davemloft.net>
1834
1835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1836
728d7b43
JM
18372013-01-17 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #15023]
1840 * include/complex.h: Condition contents on [!_COMPLEX_H].
1841 (__kernel_casinhf): New prototype.
1842 (__kernel_casinh): Likewise.
1843 (__kernel_casinhl): Likewise.
1844 * math/Makefile (libm_calls): Add k_casinh.
1845 * math/k_casinh.c: New file.
1846 * math/k_casinhf.c: Likewise.
1847 * math/k_casinhl.c: Likewise.
1848 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1849 finite nonzero arguments.
1850 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1851 finite nonzero arguments.
1852 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1853 finite nonzero arguments.
1854 * math/s_casinh.c: Do not include <float.h>.
1855 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1856 * math/s_casinhf.c: Do not include <float.h>.
1857 (__casinhf): Move code for finite nonzero arguments to
1858 k_casinhf.c.
1859 * math/s_casinhl.c: Do not include <float.h>.
1860 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1861 redefine.
1862 (__casinhl): Move code for finite nonzero arguments to
1863 k_casinhl.c.
1864 * math/libm-test.inc (cacos_test): Add more tests.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1867
2a26ef3a
PT
18682013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1869
1870 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1871 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1872 [!HAVE_MREMAP]: Remove [defined linux] case.
1873 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1874
a897655d
SP
18752013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1876
1877 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1878
881ebe89 18792013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1880
1881 * elf/elf.h (R_386_SIZE32): New relocation.
1882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1883 R_386_SIZE32.
1884 (elf_machine_rela): Likewise.
1885 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1886 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1887
59981e9b
JM
18882013-01-17 Joseph Myers <joseph@codesourcery.com>
1889
1890 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1891 (FP_FAST_FMA): Do not define.
1892 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1893 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1894 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1895 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1896 !_SOFT_FLOAT]: Likewise.
1897 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1899 value.
1900 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1901 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1902 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1904 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1905 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1906 file.
1907
cfa8054f
AS
19082013-01-16 Andreas Schwab <schwab@suse.de>
1909
1910 [BZ #14327]
1911 * include/stdlib.h (__mktemp): Add declaration.
1912 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1913 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1914
dd930cc5
SP
19152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
881ebe89
SP
1917 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1918 definitions.
1919 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1920 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1921 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1922 definitions here.
1923 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1924 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1925 definitions.
1926 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1927 and ONE.
1928 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1929 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1931 definitions.
1932 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1933 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1934 definitions.
1935 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1936
dd930cc5
SP
1937 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1938
c19a9f89
DM
19392013-01-15 David S. Miller <davem@davemloft.net>
1940
1aa61767
DM
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1942 trunc{,f} to libm-sysdep_routes.
1943 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1945 file.
1946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1948 file.
1949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1950 file.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1959
c42d5e98
DM
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1961 nearbyint{,f} to libm-sysdep_routes.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1964 New file.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1966 file.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1968 New file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1970 file.
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1974 file.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1977 file.
1978 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1979 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1981
c19a9f89
DM
1982 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1983 libc_feholdexcept and libc_fesetenv.
1984
357679d2
MF
19852013-01-15 Mike Frysinger <vapier@gentoo.org>
1986
1987 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1988
65a82e3d
DM
19892013-01-14 David S. Miller <davem@davemloft.net>
1990
8b954ab9
DM
1991 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1992 (SPARC_ASM_VIS2_IFUNC): Likewise.
1993 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1995 use of 'siam' instruction.
1996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1997 Likewise.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1999 Likewise.
2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2001 Likewise.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2007 file.
2008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2009 file.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2011 file.
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2013 file.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2019 new VIS2 routines.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2023 Likewise.
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2029 routines to libm-sysdep_routines.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2031
65a82e3d
DM
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2033 fdim/fdimf to libm-sysdep_routines.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2035 file.
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2038 file.
2039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2042 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2043 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2044 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2045 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2046
e34ab705
SP
20472013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2048
2a91b573
SP
2049 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2050 to optimize copies.
2051
1066a534
SP
2052 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2055
e34ab705
SP
2056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2057 local variable MPTWO.
2058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2059 Likewise.
2060
aba5e596
MF
20612013-01-13 Mike Frysinger <vapier@gentoo.org>
2062
2063 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2064 GLOB_NOESCAPE.
2065
e557e9e5
MF
20662013-01-13 Mike Frysinger <vapier@gentoo.org>
2067
2068 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2069
0428cec9
MF
20702013-01-13 Mike Frysinger <vapier@gentoo.org>
2071
2072 * manual/pattern.texi (glob_t): Document gl_flags.
2073 (glob64_t): Likewise.
2074
8794a964
DM
20752013-01-11 David S. Miller <davem@davemloft.net>
2076
66438c3f
RM
2077 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2078 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2079 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2080 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2081 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2082 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2083 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2084 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2086 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2088 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2089 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2090
4ae4244d
DM
2091 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2092 sparc V9 rather than using V8 code.
2093 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2094 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2095
8794a964
DM
2096 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2097 Move to...
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2099 Here.
2100
6270516e
RM
21012013-01-11 Roland McGrath <roland@hack.frob.com>
2102
2103 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2104 not in the main loop.
2105 * configure: Regenerated.
2106
6a57d931
JM
21072013-01-11 Joseph Myers <joseph@codesourcery.com>
2108
2109 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2110 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2111 to just #else.
2112 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2113 [!__GLIBC_HAVE_LONG_LONG] case.
2114 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2115 condition to just #else.
2116 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2117 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2118 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2119 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2120 unconditional.
2121 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2122 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2123 #elif condition to just #else.
2124 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2125 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2126 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2127 #elif condition to just #else.
2128
0e8529e9
SE
21292013-01-11 Steve Ellcey <sellcey@mips.com>
2130
2131 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2132 (EF_MIPS_ARCH_64): Fix value.
2133 (EF_MIPS_ARCH_32R2): New.
2134 (EF_MIPS_ARCH_64R2): New.
2135
740b3dbe
L
21362013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2137
2138 * Makeconfig (+link-pie-before-libc): New.
2139 (+link-pie-after-libc): Likewise.
2140 (+link-pie-tests): Likewise.
2141 (+link-pie): Rewritten.
2142 (link-before-libc): Remove $(config-LDFLAGS).
2143 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2144 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2145 (config-LDFLAGS): Renamed to ...
2146 (rtld-LDFLAGS): This.
2147 (rtld-tests-LDFLAGS): New macro.
2148 (link-libc-rpath-link): Likewise.
2149 (link-libc-tests-rpath-link): Likewise.
2150 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2151 (link-libc): Prepand $(link-libc-rpath-link).
2152 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2153 (test-program-prefix): New macro.
2154 (test-via-rtld-prefix): Likewise.
2155 (test-program-cmd): Likewise.
2156 (host-test-program-cmd): Likewise.
2157 * Makefile ($(common-objpfx)testrun.sh): Replace
2158 $(run-program-prefix) with $(test-program-prefix).
2159 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2160 $(rtld-LDFLAGS).
2161 ($(common-objpfx)shlib.lds): Likewise.
2162 (build-module-helper): Likewise.
2163 ($(common-objpfx)format.lds): Likewise.
2164 * Rules (binaries-pie-tests): New.
2165 (binaries-pie-notests): Likewise.
2166 (binaries-pie): Rewritten.
2167 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2168 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2169 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2170 (make-test-out): Replace $(host-built-program-cmd) with
2171 $(host-test-program-cmd).
2172 * config.make.in (build-hardcoded-path-in-tests): New variable.
2173 * configure.in (--enable-hardcoded-path-in-tests): New configure
2174 option.
2175 (hardcoded_path_in_tests): New AC_SUBST.
2176 * configure: Regenerated.
2177 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2178 $(built-program-cmd) with $(test-program-cmd).
2179 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2180 (test_program_cmd): This.
2181 * elf/Makefile ($(objpfx)order.out): Run test with
2182 $(test-program-prefix).
2183 ($(objpfx)order2.out): Likewise.
2184 ($(objpfx)tst-initorder.out): Likewise.
2185 ($(objpfx)tst-initorder2.out): Likewise.
2186 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2187 $(test-program-cmd).
2188 ($(objpfx)tst-array1-static.out): Likewise.
2189 ($(objpfx)tst-array2.out): Likewise.
2190 ($(objpfx)tst-array3.out): Likewise.
2191 ($(objpfx)tst-array4.out): Likewise.
2192 ($(objpfx)tst-array5.out): Likewise.
2193 ($(objpfx)tst-array5-static.out): Likewise.
2194 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2195 $(test-program-cmd).
2196 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2197 $(run-program-prefix) with $(test-program-prefix).
2198 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2199 (test_program_prefix): This.
2200 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2201 $(run-program-prefix) with $(test-program-prefix).
2202 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2203 (test_program_prefix): This.
2204 * iconvdata/tst-tables.sh: Likewise.
2205 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2206 $(run-program-prefix) with $(test-program-prefix).
2207 ($(objpfx)tst-translit.out): Likewise.
2208 ($(objpfx)tst-gettext2.out): Likewise.
2209 ($(objpfx)tst-gettext4.out): Likewise.
2210 ($(objpfx)tst-gettext6.out): Likewise.
2211 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2212 (test_program_prefix): This.
2213 * intl/tst-gettext2.sh: Likewise.
2214 * intl/tst-gettext4.sh Likewise.
2215 * intl/tst-gettext6.sh: Likewise.
2216 * intl/tst-translit.sh: Likewise.
2217 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2218 with $(test-program-cmd).
2219 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2220 $(run-program-prefix) with $(test-program-prefix).
2221 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2222 (test_program_prefix): This.
2223 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2224 $(run-program-prefix) with $(test-program-prefix).
2225 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2226 (test_program_prefix): This.
2227 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2228 * posix/Makefile ($(objpfx)globtest.out): Replace
2229 $(run-via-rtld-prefix) and $(test-wrapper) with
2230 $(test-program-prefix) and $(test-via-rtld-prefix).
2231 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2232 $(test-program-prefix).
2233 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2234 $(host-test-program-cmd).
2235 (tst-spawn-ARGS): Likewise.
2236 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2237 $(test-program-prefix).
2238 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2239 (test_via_rtld_prefix): This.
2240 (test_wrapper): Renamed to ...
2241 (test_program_prefix): This.
2242 (run_program_prefix): Replaced by test_program_prefix.
2243 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2244 (test_program_prefix): This.
2245 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2246 with $(host-test-program-cmd).
2247 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2248 $(run-program-prefix) with $(test-program-prefix).
2249 ($(objpfx)tst-printf.out): Likewise.
2250 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2251 $(test-program-cmd).
2252 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2253 (test_program_prefix): This.
2254 * stdio-common/tst-unbputc.sh: Likewise.
2255 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2256 $(run-program-prefix) with $(test-program-prefix).
2257 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2258 (test_program_prefix): This.
2259 * string/Makefile ($(objpfx)tst-svc.out): Replace
2260 $(built-program-cmd) with $(test-program-cmd).
2261
c6fe55cf
AJ
22622013-01-11 Andreas Jaeger <aj@suse.de>
2263
2264 [BZ #15003]
2265 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2266 value. Sync with Linux 3.7.
2267
9e6919c8
DM
22682013-01-10 David S. Miller <davem@davemloft.net>
2269
2270 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2273
1c9f1a02
RM
22742013-01-10 Roland McGrath <roland@hack.frob.com>
2275
2276 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2277 never set.
2278 * configure: Regenerated.
2279
b9de2dde
DM
22802013-01-10 David S. Miller <davem@davemloft.net>
2281
2282 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2283 sparc V9 rather than using V8 code.
2284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2286
e7f68ef4
RM
22872013-01-10 Roland McGrath <roland@hack.frob.com>
2288
2289 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2290 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2291 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2292 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2293 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2294 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2295 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2296 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2297 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2298 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2299 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2300 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2301 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2302 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2303 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2304 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2305 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2306 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2307 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2308 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2309 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2310 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2311 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2312 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2313 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2314 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2315 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2316
5a47cc9c
DM
23172013-01-10 David S. Miller <davem@davemloft.net>
2318
2319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2320
4cf8f209
L
23212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2322
2323 * posix/Makefile (tests-static): New variable.
2324 (tests): Add $(tests-static).
2325 (tst-exec-static-ARGS): New variable.
2326 (tst-spawn-static-ARGS): Likewise.
2327 * posix/tst-exec-static.c: New file.
2328 * posix/tst-spawn-static.c: Likewise.
2329 * posix/tst-exec.c: Support run directly.
2330 * posix/tst-spawn.c: Likewise.
2331
fed0faa1
JM
23322013-01-10 Joseph Myers <joseph@codesourcery.com>
2333
828beb13
JM
2334 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2335 long.
2336 * math/bits/mathcalls.h (llrint): Likewise.
2337 (llround): Likewise.
2338 * stdlib/stdlib.h (struct drand48_data): Likewise.
2339 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2340 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2341 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2346 (elf_greg_t): Likewise.
2347 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2348 (__jmp_buf): Likewise.
2349 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2350 definitions.
2351 (llrint): Likewise, for all definitions.
2352 (llrintl): Likewise.
2353
fed0faa1
JM
2354 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2355 Remove [__GNUC__] condition.
2356 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2357 condition to just [__USE_ISOC99].
2358 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2359
1a20cb20
L
23602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 [BZ #14200]
2363 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2364 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2365 defined.
2366 (_POSIX_V6_ILP32_OFF32): Likewise.
2367 (_XBS5_ILP32_OFF32): Likewise.
2368 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2369 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2370
751b85f7
SP
23712013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2372
7490eb81
SP
2373 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2374
751b85f7
SP
2375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2376 doubles __mpexp_twomm1. Adjust usage.
2377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2378 Remove.
2379
988197f0
AS
23802013-01-10 Andreas Schwab <schwab@suse.de>
2381
2382 [BZ #14964]
2383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2384 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2385
e83d7298
DM
23862013-01-09 David S. Miller <davem@davemloft.net>
2387
034ed64b 2388 [BZ #15003]
e83d7298
DM
2389 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2390 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2391 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2392 TCP_FASTOPEN): Define.
2393 (tcp_repair_opt): New structure.
2394 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2395 enum values.
2396 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2397 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2398 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2399 (tcp_cookie_transactions): New structure.
2400
d5e0b9bd
AB
24012013-01-09 Anton Blanchard <anton@samba.org>
2402
2403 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2404 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2406 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2407
0c07e3ea
JM
24082013-01-09 Joseph Myers <joseph@codesourcery.com>
2409
2410 * include/features.h (__USE_ANSI): Remove.
2411
232f7002
RM
24122013-01-09 Roland McGrath <roland@hack.frob.com>
2413
ad98e30c
RM
2414 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2415
232f7002
RM
2416 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2417
950c99ca
SP
24182013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2419
b5792741
SP
2420 * sysdeps/s390/fpu/libm-test-ulps: Update.
2421
47cf2278
SP
2422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2423
950c99ca
SP
2424 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2425 (__acr): Likewise.
2426 (__cpy): Likewise.
2427 (norm): Likewise.
2428 (denorm): Likewise.
2429 (__mp_dbl): Likewise.
2430 (__dbl_mp): Likewise.
2431 (add_magnitudes): Likewise.
2432 (sub_magnitudes): Likewise.
2433 (__add): Likewise.
2434 (__sub): Likewise.
2435 (__mul): Likewise.
2436 (__inv): Likewise.
2437 (__dvd): Likewise.
2438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2439 (__acr): Likewise.
2440 (__cpy): Likewise.
2441 (norm): Likewise.
2442 (denorm): Likewise.
2443 (__mp_dbl): Likewise.
2444 (__dbl_mp): Likewise.
2445 (add_magnitudes): Likewise.
2446 (sub_magnitudes): Likewise.
2447 (__add): Likewise.
2448 (__sub): Likewise.
2449 (__mul): Likewise.
2450 (__inv): Likewise.
2451 (__dvd): Likewise.
2452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2453 (__acr): Likewise.
2454 (__cpy): Likewise.
2455 (norm): Likewise.
2456 (denorm): Likewise.
2457 (__mp_dbl): Likewise.
2458 (__dbl_mp): Likewise.
2459 (add_magnitudes): Likewise.
2460 (sub_magnitudes): Likewise.
2461 (__add): Likewise.
2462 (__sub): Likewise.
2463 (__mul): Likewise.
2464 (__inv): Likewise.
2465 (__dvd): Likewise.
2466
eede9df9
JM
24672013-01-08 Joseph Myers <joseph@codesourcery.com>
2468
2469 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2470 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2471 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2472 2 && __USE_EXTERN_INLINES]: Likewise.
2473
c40ea3d9
AJ
24742013-01-08 Andreas Jaeger <aj@suse.de>
2475
2476 [BZ# 14985]
2477 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2478 Remove.
2479 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2480 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2481
2ccdea26
AB
24822013-01-07 Anton Blanchard <anton@samba.org>
2483
2484 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2485 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2486 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2487 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2488 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2490 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2491 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2493 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2498 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2507 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2509 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2511 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2514 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2516 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2527
a9708fed
JM
25282013-01-07 Joseph Myers <joseph@codesourcery.com>
2529
375607b9
JM
2530 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2531 (__MALLOC_PMT): Likewise.
2532 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2533 [__GNUC__], only on [_LIBC].
2534 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2535 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2536 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2537 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2538 forward declaration.
2539 (realloc_hook_ini): Likewise.
2540 (memalign_hook_ini): Likewise.
2541 (__libc_memalign): Do not use __MALLOC_PMT in variable
2542 declaration.
2543 (__libc_valloc): Likewise.
2544 (__libc_pvalloc): Likewise.
2545 (__libc_calloc): Likewise.
2546 (__posix_memalign): Likewise.
2547
a9708fed
JM
2548 [BZ #14996]
2549 * math/s_casinh.c: Include <float.h>.
2550 (__casinh): Do not do computation with squaring and square root
2551 for large arguments.
2552 * math/s_casinhf.c: Include <float.h>.
2553 (__casinhf): Do not do computation with squaring and square root
2554 for large arguments.
2555 * math/s_casinhl.c: Include <float.h>.
2556 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2557 (__casinhl): Do not do computation with squaring and square root
2558 for large arguments.
2559 * math/libm-test.inc (casin_test): Add more tests.
2560 (casinh_test): Likewise.
2561 * sysdeps/i386/fpu/libm-test-ulps: Update.
2562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2563
afec409a
L
25642013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2567 (__x86_64_raw_data_cache_size): Likewise.
2568 (__x86_64_data_cache_size_half): Likewise.
2569 (__x86_64_raw_data_cache_size_half): Likewise.
2570 (__x86_64_shared_cache_size): Likewise.
2571 (__x86_64_raw_shared_cache_size): Likewise.
2572 (__x86_64_shared_cache_size_half): Likewise.
2573 (__x86_64_raw_shared_cache_size_half): Likewise.
2574 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2575 to ...
2576 (__x86_data_cache_size): This.
2577 (__x86_64_raw_data_cache_size): Renamed to ...
2578 (__x86_raw_data_cache_size): This.
2579 (__x86_64_data_cache_size_half): Renamed to ...
2580 (__x86_data_cache_size_half): This.
2581 (__x86_64_raw_data_cache_size_half): Renamed to ...
2582 (__x86_raw_data_cache_size_half): This.
2583 (__x86_64_shared_cache_size): Renamed to ...
2584 (__x86_shared_cache_size): This.
2585 (__x86_64_raw_shared_cache_size): Renamed to ...
2586 (__x86_raw_shared_cache_size): This.
2587 (__x86_64_shared_cache_size_half): Renamed to ...
2588 (__x86_shared_cache_size_half): This.
2589 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2590 (__x86_raw_shared_cache_size_half): This.
2591 * sysdeps/x86_64/memcpy.S: Updated.
2592 * sysdeps/x86_64/memset.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2596
0b3986d0
DM
25972013-01-04 David S. Miller <davem@davemloft.net>
2598
2599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2600
e47686e9
AS
26012013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2602
d643bac1
AS
2603 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2604 1 to avoid redefinition warning.
2605 (__USE_GNU): Don't define.
2606 (init_signaling_nan): Protoize.
2607
e47686e9
AS
2608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2609
b18decba
SP
26102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2611
fffb407f
SP
2612 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2614 (__cpymn): Likewise.
2615 (norm): Remove commented code.
2616 (denorm): Likewise.
2617 (__mp_dbl): Likewise.
2618 (__inv): Likewise.
2619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2620 (__cpymn): Likewise.
2621 (norm): Remove commented code.
2622 (denorm): Likewise.
2623 (__mp_dbl): Likewise.
2624 (__inv): Likewise.
2625
b18decba
SP
2626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2627 mp_no value for 1.0 and 2.0.
2628 (norm): Use RADIXI instead of radixi.d.
2629 (denorm): Likewise.
2630 (__mul): Use 0.0 instead of zero.d.
2631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2632 mp_no value for 1.0 and 2.0.
2633 (norm): Use RADIXI instead of radixi.d.
2634 (denorm): Likewise.
2635 (__mul): Use 0.0 instead of zero.d.
2636
cdc1c96f
JM
26372013-01-04 Joseph Myers <joseph@codesourcery.com>
2638
2639 [BZ #14994]
2640 * math/s_casinh.c (__casinh): Reduce finite argument to first
2641 quadrant then set signs of results at the end.
2642 * math/s_casinhf.c (__casinhf): Likewise.
2643 * math/s_casinhl.c (__casinhl): Likewise.
2644 * math/libm-test.inc (casin_test): Add more tests.
2645 (casinh_test): Likewise.
2646 * sysdeps/i386/fpu/libm-test-ulps: Update.
2647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2648
302913e1
SP
26492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2650
6420d207
SP
2651 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2652
a9e48ab4
SP
2653 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2654
b7837264
SP
2655 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2656 declarations.
2657 (denorm): Likewise.
2658 (__mp_dbl): Likewise.
2659 (__inv): Likewise.
2660
f8af25d2
SP
2661 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2662 and adjust the header comment.
2663
302913e1
SP
2664 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2665 variable name from declaration.
2666
5d7dd1ca
L
26672013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2670 Initialize COMMON_CPUID_INDEX_7 element.
2671 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2672 (CPUID_RTM): Likewise.
2673 (HAS_RTM): Likewise.
2674 (COMMON_CPUID_INDEX_7): New enum.
2675
2f5f40f4
AS
26762013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2677
2678 [BZ #14981]
2679 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2680 size is zero, record memory as freed.
2681
4056f4a0
AJ
26822013-01-03 Andreas Jaeger <aj@suse.de>
2683
2684 * po/ia.po: Add new Interlingua translation.
2685
ab15736f 26862012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2687
2688 * locale/programs/localedef.c: Fix description of '--posix' flag.
2689
568035b7
JM
26902013-01-02 Joseph Myers <joseph@codesourcery.com>
2691
e6898b8d
JM
2692 * NEWS: Update dates in second copyright notice.
2693 * README: Update copyright dates in example.
2694 * manual/libc.texinfo: Update copyright dates.
2695 * scripts/test-installation.pl: Update copyright date in --version
2696 output.
2697
0e2f9562
JM
2698 * hurd/ctty-input.c: Fix copyright notice formatting.
2699 * hurd/ctty-output.c: Likewise.
2700 * hurd/dtable.c: Likewise.
2701 * hurd/hurd-raise.c: Likewise.
2702 * hurd/hurdprio.c: Likewise.
2703 * hurd/msgportdemux.c: Likewise.
2704 * misc/sys/file.h: Likewise.
2705 * misc/sys/ioctl.h: Likewise.
2706 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2707 * sysdeps/mach/hurd/chdir.c: Likewise.
2708 * sysdeps/mach/hurd/fchdir.c: Likewise.
2709 * sysdeps/mach/hurd/rename.c: Likewise.
2710 * sysdeps/mach/hurd/rmdir.c: Likewise.
2711 * sysdeps/mach/hurd/seekdir.c: Likewise.
2712 * sysdeps/mach/hurd/setsid.c: Likewise.
2713 * sysdeps/posix/wait3.c: Likewise.
2714
568035b7
JM
2715 * All files with FSF copyright notices: Update copyright dates
2716 using scripts/update-copyrights.
2717 * intl/plural.c: Regenerated.
2718 * locale/programs/charmap-kw.h: Likewise.
2719 * locale/programs/locfile-kw.h: Likewise.
2720
da08f647
SP
27212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
0f5477af
SP
2723 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2724 four values.
2725
44e0d4c2
SP
2726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2727 calculation loop and add branch prediction.
2728
4d55b4e5
SP
2729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2730 check access beyond bounds of m1np.
2731
da08f647
SP
2732 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2733 MPTWO.
2734 (__inv): Remove local variable MPTWO to use the global
2735 constant.
2736 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2738 variable MPTWO.
2739 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2740 MP3HALFS static const.
2741
8e051029
DM
27422013-01-01 David S. Miller <davem@davemloft.net>
2743
2744 * po/ca.po: Update from translation team.
2745
f4cf5f2d
JM
27462013-01-01 Joseph Myers <joseph@codesourcery.com>
2747
2748 * scripts/update-copyrights: New file.
2749 * Makeconfig: Reformat copyright notice.
2750 * ctype/ctype.h: Likewise.
2751 * debug/swprintf_chk.c: Likewise.
2752 * elf/dl-cache.c: Likewise.
2753 * elf/dl-debug.c: Likewise.
2754 * elf/dl-object.c: Likewise.
2755 * grp/initgroups.c: Likewise.
2756 * hurd/Makefile: Likewise.
2757 * hurd/hurd/signal.h: Likewise.
2758 * hurd/hurdfault.c: Likewise.
2759 * hurd/hurdioctl.c: Likewise.
2760 * hurd/hurdlookup.c: Likewise.
2761 * hurd/intr-msg.c: Likewise.
2762 * iconv/gconv_open.c: Likewise.
2763 * libio/swprintf.c: Likewise.
2764 * locale/lc-ctype.c: Likewise.
2765 * locale/nl_langinfo.c: Likewise.
2766 * mach/Machrules: Likewise.
2767 * mach/Makefile: Likewise.
2768 * malloc/obstack.h: Likewise.
2769 * manual/Makefile: Likewise.
2770 * manual/tsort.awk: Likewise.
2771 * misc/bits/stab.def: Likewise.
2772 * nis/nis_print_group_entry.c: Likewise.
2773 * nis/nis_table.c: Likewise.
2774 * nis/nss_compat/compat-pwd.c: Likewise.
2775 * nis/nss_compat/compat-spwd.c: Likewise.
2776 * po/Makefile: Likewise.
2777 * posix/fnmatch.c: Likewise.
2778 * posix/regex.h: Likewise.
2779 * resolv/Makefile: Likewise.
2780 * resolv/nss_dns/dns-network.c: Likewise.
2781 * resolv/res_hconf.c: Likewise.
2782 * scripts/gen-sorted.awk: Likewise.
2783 * soft-fp/soft-fp.h: Likewise.
2784 * stdio-common/printf.h: Likewise.
2785 * stdlib/monetary.h: Likewise.
2786 * stdlib/random.c: Likewise.
2787 * stdlib/random_r.c: Likewise.
2788 * sysdeps/generic/Makefile: Likewise.
2789 * sysdeps/gnu/Makefile: Likewise.
2790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2818 * sysdeps/mach/hurd/errnos.awk: Likewise.
2819 * sysdeps/mach/hurd/fork.c: Likewise.
2820 * sysdeps/mach/hurd/getcwd.c: Likewise.
2821 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2822 * sysdeps/mach/hurd/mmap.c: Likewise.
2823 * sysdeps/mach/hurd/utimes.c: Likewise.
2824 * sysdeps/mach/hurd/xmknod.c: Likewise.
2825 * sysdeps/posix/profil.c: Likewise.
2826 * sysdeps/posix/readdir_r.c: Likewise.
2827 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2828 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2829 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2834 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2836 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2838 * sysdeps/pthread/lio_listio.c: Likewise.
2839 * sysdeps/sparc/dl-procinfo.h: Likewise.
2840 * sysdeps/unix/i386/sysdep.S: Likewise.
2841 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2842 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2843 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2844 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2846 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2847 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2848 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2849 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2850 * sysdeps/wordsize-32/divdi3.c: Likewise.
2851 * time/sys/time.h: Likewise.
2852 * wcsmbs/Makefile: Likewise.
2853
0549fbba
DM
28542013-01-01 David S. Miller <davem@davemloft.net>
2855
a141f1a7
DM
2856 * po/fr.po: Update from translation team.
2857
0549fbba
DM
2858 * catgets/gencat.c: Update copyright year.
2859 * csu/version.c: Likewise.
2860 * debug/catchsegv.sh: Likewise.
2861 * debug/pcprofiledump.c: Likewise.
2862 * debug/xtrace.sh: Likewise.
2863 * elf/ldconfig.c: Likewise.
2864 * elf/ldd.bash.in: Likewise.
2865 * elf/pldd.c: Likewise.
2866 * elf/sotruss.ksh: Likewise.
2867 * elf/sprof.c: Likewise.
2868 * iconv/iconv_prog.c: Likewise.
2869 * iconv/iconvconfig.c: Likewise.
2870 * locale/programs/locale.c: Likewise.
2871 * locale/programs/localedef.c: Likewise.
2872 * login/programs/pt_chown.c: Likewise.
2873 * malloc/memusage.sh: Likewise.
2874 * malloc/memusagestat.c: Likewise.
2875 * malloc/mtrace.pl: Likewise.
2876 * nscd/nscd.c: Likewise.
2877 * nss/getent.c: Likewise.
2878 * nss/makedb.c: Likewise.
2879 * posix/getconf.c: Likewise.
2880
18ea052c
SP
28812012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2882
2883 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2884 numbers.
2885
9c89fca6
MF
28862012-12-30 Mike Frysinger <vapier@gentoo.org>
2887
2888 * math/bits/mathcalls.h (modf): Use __nonnull.
2889
085ec079
SP
28902012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2891
2892 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2893 (split): Use macro CN instead of the bare value.
2894 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2895 could be used.
2896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2897 instead of the bare value.
2898 (power1): Likewise.
2899
6d9f97e1
SP
29002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2901
d63f73be
SP
2902 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2903 __ATAN_TWOM.
2904 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2905
6d9f97e1
SP
2906 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2907 their values.
2908 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2909 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2910 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2911 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2912
4c4febf5
AJ
29132012-12-28 Andreas Jaeger <aj@suse.de>
2914
af5843ef
AJ
2915 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2916 values are from Linux 3.7.
2917
4c4febf5
AJ
2918 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2919 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2920
99136f82
SP
29212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2922
2f216c3c 2923 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2924 TRUE case.
2925
99136f82
SP
2926 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2927 (norm): Likewise.
2928 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2929 variables with preprocessor constants.
2930 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2931 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2932 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2933
7fffbdff
BH
29342012-12-27 Bruno Haible <bruno@clisp.org>
2935
2936 [BZ #14317]
2937 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2938 only if needed.
2939
b76eb5f0
SP
29402012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2941
31a7fe5c
SP
2942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2943 and use variable directly.
2944 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2945
b76eb5f0
SP
2946 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2947 MPONE.
2948 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2950 variable MPONE.
2951 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2953 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2954 include directive. Remove local variable MPONE.
2955 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2956 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2957 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2958
2c8bfe7d
DM
29592012-12-25 David S. Miller <davem@davemloft.net>
2960
2961 * version.h (RELEASE): Set to "development".
2962 (VERSION): Set to "2.17.90".
2963 * NEWS: Add 2.18 section.
2964
147d03b0
DM
29652012-12-21 David S. Miller <davem@davemloft.net>
2966
2967 * po/hr.po: Update from translation team.
2968
a8ebb2b9
AK
29692012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2970
2971 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2972
95b4f1b6
SE
29732012-12-19 Steve Ellcey <sellcey@mips.com>
2974
b2d94007 2975 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2976
cedb2a90
MS
29772012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2978
2979 * manual/contrib.texi (Contributors): Spelling correction.
2980
bbf527d6
DM
29812012-12-15 David S. Miller <davem@davemloft.net>
2982
2983 * po/ru.po: Update from translation team.
2984
bc38c906
DM
29852012-12-13 David S. Miller <davem@davemloft.net>
2986
85429b1a
DM
2987 * NEWS: Mention IFUNC testsuite enhancements.
2988
d283e353
DM
2989 * po/pl.po: Update from translation team.
2990 * po/bg.po: Likewise.
2991
bc38c906
DM
2992 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2993 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2994
a181b0d7
DM
29952012-12-11 David S. Miller <davem@davemloft.net>
2996
4641d57e
DM
2997 * po/sv.po: Update from translation team.
2998
f7bc6495
DM
2999 * po/vi.po: Update from translation team.
3000
6fc9048f
DM
3001 * po/cs.po: Update from translation team.
3002
a181b0d7
DM
3003 * po/de.po: Update from translation team.
3004 * po/eo.po: Likewise.
3005 * po/nl.po: Likewise.
3006
f70bfe80
SP
30072012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3008
3c8b4190
SP
3009 [BZ #14246]
3010 * manual/argp.texi (Argp Helper Functions): Move node to follow
3011 Argp Parsing State.
3012
f70bfe80
SP
3013 [BZ #14872]
3014 * manual/conf.texi (Limits on File System Capacity): Mention if
3015 terminating null is included in the max size.
3016
188f0adf
AJ
30172012-12-10 Andreas Jaeger <aj@suse.de>
3018
3019 * po/cs.po: Update from translation team.
3020
56e7d3ad
SP
30212012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3022
3023 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3024 void pointer and cast to uintptr_t.
3025 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3026 path.
3027 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3028 * sysdeps/s390/s390-64/memset.S: Likewise.
3029
76f2d2ea 30302012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3031
3032 [BZ #14833]
3033 * menual/message.texi (Message Translation): Fix typos.
3034 (Helper programs for gettext): Likewise.
3035
67cbf9a2
AS
30362012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3037
3038 [BZ #14898]
3039 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3040 Change to -1.
3041
682d0e9a
DM
30422012-12-07 David S. Miller <davem@davemloft.net>
3043
3044 * po/libc.pot: Update.
3045
573cd484
RH
30462012-12-07 Richard Henderson <rth@redhat.com>
3047
7e9da188 3048 [BZ #10114]
573cd484
RH
3049 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3050 normal/normal case to before the switch.
3051 (_FP_DIV): Likewise.
3052
e933a943
MF
30532012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3054 Mike Frysinger <vapier@gentoo.org>
3055
3056 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3057 check for __NR_fadvise64_64.
3058
82123268
CM
30592012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3060
3061 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3062 0, not just to plain "0" as a statement.
3063 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3064 with cw.
3065
d9814526
JM
30662012-12-06 Joseph Myers <joseph@codesourcery.com>
3067
3068 * NEWS: Use sourceware.org in Bugzilla URL.
3069
7728c574
SP
30702012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3071
f16946dd
SP
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3073 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3074
5704bbcb
SP
3075 * stdio-common/tst-put-error.c (do_test): Add newline to the
3076 padded test to ensure flush.
3077
17aa0516
JL
30782012-12-05 Jeff Law <law@redhat.com>
3079
3080 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3081
363313b5
JM
30822012-12-05 Joseph Myers <joseph@codesourcery.com>
3083
effbd42a
JM
3084 * README: Don't refer to ports add-on as distributed separately.
3085 Mention AArch64 in list of systems supported in the ports add-on.
3086
87600365
JM
3087 * LICENSES: Add more non-FSF copyright and license notices.
3088
a0d7066a
JM
3089 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3090 ((unused)).
3091
66ca5a5b
JM
3092 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3093
363313b5
JM
3094 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3095 10000 as width of padded output.
3096
b37984ad
JM
30972012-12-04 Joseph Myers <joseph@codesourcery.com>
3098
9003570a
JM
3099 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3100
b37984ad
JM
3101 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3102 variable LX with __attribute__ ((unused)).
3103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3104 Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3108 with __attribute__ ((unused)).
3109
c8df52ec
DM
31102012-12-04 David S. Miller <davem@abraco.davemloft.net>
3111
3112 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3113
b3b099af
JM
31142012-12-04 Joseph Myers <joseph@codesourcery.com>
3115
c33aa6e3
JM
3116 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3117 (CFLAGS-nldbl-acos.c): New variable.
3118 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3215
20f0018d
JM
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3217 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3218
b3b099af
JM
3219 [BZ #14914]
3220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3221 whole low double instead of just low 47 bits when splitting values
3222 into two parts.
3223
029264d1
AM
32242012-12-03 Allan McRae <allan@archlinux.org>
3225
3226 * manual/stdio.texi (Predefined Printf Handlers): Remove
3227 @hsep and @vsep usage.
3228
c9d6789e
MF
32292012-12-03 Mike Frysinger <vapier@gentoo.org>
3230
3231 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3232 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3233
4b7634a5
JL
32342012-12-03 Jeff Law <law@redhat.com>
3235
3236 * time/sys/time.h (settimeofday): Do not mark TV argument
3237 as __nonnull.
3238
eb6cbd24
MF
32392012-12-01 Mike Frysinger <vapier@gentoo.org>
3240
3241 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3242 when currently writing and seek to current position when not.
3243 * libio/Makefile (tests): Remove bug-fclose1.
3244 * libio/bug-fclose1.c: Delete.
3245
f638872a
JM
32462012-12-01 Joseph Myers <joseph@codesourcery.com>
3247
3248 * manual/arith.texi (feenableexcept): Fix typo.
3249 (fedisableexcept): Likewise.
3250
48085d14
RM
32512012-11-30 Roland McGrath <roland@hack.frob.com>
3252
3253 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3254 second, differently-typed declaration, rather than a cast.
3255
1a538b9f
SP
32562012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3257
3258 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3259 * include/rpc/svc.h: ... here.
3260
d07f2ff1 32612012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3262
3263 [BZ #13013]
3264 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3265 depending n and resplen2 to catch cases where answer
3266 equals answerp2.
3267
c93ec1f0
CD
32682012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3269
3270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3271 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3272
37db69de
MF
32732012-11-29 Mike Frysinger <vapier@gentoo.org>
3274
3275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3276
e10c4e4f
RM
32772012-11-29 Roland McGrath <roland@hack.frob.com>
3278
3279 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3280
2af1b328
JL
32812012-11-28 Jeff Law <law@redhat.com>
3282
3283 [BZ #13761]
3284 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3285 dataset_temporary. Track alloca usage into alloca_used.
3286 If dataset is large allocate and release it via malloc/free.
3287
111db5b1
FW
32882012-06-04 Florian Weimer <fweimer@redhat.com>
3289
f06cc227 3290 [BZ #14197]
111db5b1
FW
3291 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3292
dd694abd
DM
32932012-11-28 David S. Miller <davem@davemloft.net>
3294
3295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3296
9984dd01
JM
32972012-11-28 Joseph Myers <joseph@codesourcery.com>
3298
3299 [BZ #14803]
3300 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3301 of pi/2 rounded to nearest to 64 bits.
3302 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3303 nearest to 64 bits.
3304 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3305 bits.
3306
14bc93a9
JL
33072012-11-28 Jeff Law <law@redhat.com>
3308 Martin Osvald <mosvald@redhat.com>
3309
3310 [BZ #14889]
3311 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3312 * sunrpc/svc.c: Include time.h.
3313 (__svc_accept_failed): New function.
3314 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3315 any reason other than EINTR, call __svc_accept_failed.
3316 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3317 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3318
e3c6aa3a
AS
33192012-11-28 Andreas Schwab <schwab@suse.de>
3320
3321 * scripts/abilist.awk: Also handle indirect functions in .opd
3322 section.
3323
1bead169
JM
33242012-11-28 Joseph Myers <joseph@codesourcery.com>
3325
3326 [BZ #13881]
3327 * sysdeps/x86/fpu/powl_helper.c: New file.
3328 * sysdeps/x86/fpu/Makefile: Likewise.
3329 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3330 (p3): New object.
3331 (__ieee754_powl): Use __powl_helper for finite arguments except
3332 integer exponents below 8.
3333 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3334 (p3): New object.
3335 (__ieee754_powl): Use __powl_helper for finite arguments except
3336 integer exponents below 8.
3337 * math/libm-test.inc (pow_test): Add more tests and enable some
3338 previously disabled tests.
3339 * sysdeps/i386/fpu/libm-test-ulps: Update.
3340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341
0817d63d
SP
33422012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3343 Carlos O'Donell <carlos_odonell@mentor.com>
3344
3345 * nss/makedb.c (is_prime): Assert that input is odd and greater
3346 than 4. Note that fact in a comment too.
3347 (next_prime): Add 4 to input.
3348
de2fd463
SP
33492012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3350
3351 [BZ #11741]
3352 * libio/Makefile (tests): Add test case tst-fwrite-error.
3353 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3354 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3355 * libio/tst-fwrite-error.c: New test case.
3356
c515fb51
L
33572012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3360 before casting to void *.
3361 * include/libc-internal.h (__pointer_type): New macro.
3362 (__integer_if_pointer_type_sub): Likewise.
3363 (__integer_if_pointer_type): Likewise.
3364 (cast_to_integer): Likewise.
3365 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3366 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3367 before casting to atomic64_t.
3368 (atomic_exchange_acq): Likewise.
3369 (__arch_exchange_and_add_body): Likewise.
3370 (__arch_add_body): Likewise.
3371 (atomic_add_negative): Likewise.
3372 (atomic_add_zero): Likewise.
3373
4cf77aa9
JM
33742012-11-26 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3377 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3378 (add_fdes): Likewise.
3379 (linear_search_fdes): Likewise.
3380 (binary_search_unencoded_fdes): Likewise.
3381
d260b3b4
AS
33822012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3383
3384 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3385
67060746
AC
33862012-11-24 Adam Conrad <adconrad@0c3.net>
3387
3388 * configure.in: Autodetect C++ header directories.
3389 * configure: Regenerated.
3390
800938a1
MF
33912012-11-23 Mike Frysinger <vapier@gentoo.org>
3392
3393 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3394
4e6e34e6
AS
33952012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3398
7c7feb47
JM
33992012-11-22 Joseph Myers <joseph@codesourcery.com>
3400
7184dcdf
JM
3401 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3402 LDBL_MANT_DIG == 106]: Disable some tests.
3403 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3404 Likewise.
3405 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3406 Likewise.
3407
0a42601f
JM
3408 [BZ #14871]
3409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3410 input for small inputs. Return +/- pi/2 for large inputs.
3411 * math/libm-test.inc (atan_test): Add more tests.
3412
79c9b9fe
JM
3413 * sysdeps/generic/unwind-dw2-fde-glibc.c
3414 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3415 __attribute__ ((unused)).
3416
c60d3bf2
JM
3417 [BZ #14645]
3418 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3419 x * y if x and y are nonzero and z is zero.
3420
ef1e0867
JM
3421 [BZ #14811]
3422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3423 nonzero exponents with absolute value below 0x1p-117 to +/-
3424 0x1p-117.
3425
1468ded3
JM
3426 [BZ #14869]
3427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3428 up arguments below 2**-450, not just those below 2**-500.
3429 * math/libm-test.inc (hypot_test): Add another test.
3430
8e27e3cc
JM
3431 [BZ #14868]
3432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3433 Return a+b for ratio over 2**120, not 2**60.
3434 * math/libm-test.inc (hypot_test): Add another test.
3435
c9c0279b
JM
3436 * math/libm-test.inc (clog_test): Use
3437 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3438 (clog10_test): Likewise.
3439
7c7feb47
JM
3440 [BZ #6778]
3441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3442
fff1530e
AS
34432012-11-22 Andreas Schwab <schwab@suse.de>
3444
3445 * sysdeps/i386/fpu/libm-test-ulps: Update.
3446
94558d30
PT
34472012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3448
3449 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3450 printf output with newline.
3451
7e1be741
L
34522012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3453
6bfea974
L
3454 [BZ #14865]
3455 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3456 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3457 -z nodlopen, -z initfirst and -z execstack support.
3458 * configure: Regenerated.
3459
7e1be741
L
3460 * elf/elf.h (DF_1_NODIRECT): New macro.
3461 (DF_1_IGNMULDEF): Likewise.
3462 (DF_1_NOKSYMS): Likewise.
3463 (DF_1_NOHDR): Likewise.
3464 (DF_1_EDITED): Likewise.
3465 (DF_1_NORELOC): Likewise.
3466 (DF_1_SYMINTPOSE): Likewise.
3467 (DF_1_GLOBAUDIT): Likewise.
3468 (DF_1_SINGLETON): Likewise.
3469 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3470 DT_1_SUPPORTED_MASK bits.
3471 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3472
105ce2ce
CD
34732012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3474
3475 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3476
123be9de
TS
34772012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3478
d072f3f7
TS
3479 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3480 macro.
3481
123be9de
TS
3482 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3483 (sendmmsg): Move declarations...
3484 * socket/sys/socket.h: ... here.
3485 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3486 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3487 include it from...
3488 * socket/recvmmsg.c: ... this new file.
3489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3490 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3491 definition of __sendmmsg hidden.
3492 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3493 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3494 Move ENOSYS stub into and include it from...
3495 * socket/sendmmsg.c: ... this new file.
3496 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3497 (sysdep_routines): Move recvmmsg and sendmmsg...
3498 * socket/Makefile (routines): ... here.
3499 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3500 (GLIBC_PRIVATE): Add __sendmmsg.
3501 * include/sys/socket.h (__sendmmsg): Add declarations.
3502 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3503 sendmmsg.
3504
cf9a5d18
JM
35052012-11-20 Joseph Myers <joseph@codesourcery.com>
3506
3507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3508 variable I1 with __attribute__ ((unused)).
3509 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3510
ecd4caf9
JM
35112012-11-19 Joseph Myers <joseph@codesourcery.com>
3512
be14d48f
JM
3513 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3514 DUMMY variables with __attribute__ ((unused)).
3515
ecd4caf9
JM
3516 * bits/byteswap.h: Include <bits/types.h>.
3517 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3518
986cab95
PT
35192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3520
3521 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3522 string_t. Do not manually set errno.
3523 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3524 length with __strnlen. Make sure to both set errno and return it on
3525 failure.
3526
6d33cc9d
DM
35272012-11-19 David S. Miller <davem@davemloft.net>
3528
3529 With help from Joseph Myers.
3530 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3531 very large arguments properly.
3532 * math/libm-test.inc (atan_test): New tests.
3533 (atan2_test): New tests.
3534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3536
ee663277
JM
35372012-11-19 Joseph Myers <joseph@codesourcery.com>
3538
877f2d8e
JM
3539 [BZ #14856]
3540 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3541 Define to 3.
3542
116fc08a
JM
3543 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3544 [POSIX] (EADDRNOTAVAIL): Likewise.
3545 [POSIX] (EAFNOSUPPORT): Likewise.
3546 [POSIX] (EALREADY): Likewise.
3547 [POSIX] (ECONNABORTED): Likewise.
3548 [POSIX] (ECONNREFUSED): Likewise.
3549 [POSIX] (ECONNRESET): Likewise.
3550 [POSIX] (EDESTADDRREQ): Likewise.
3551 [POSIX] (EDQUOT): Likewise.
3552 [POSIX] (EHOSTUNREACH): Likewise.
3553 [POSIX] (EIDRM): Likewise.
3554 [POSIX] (EISCONN): Likewise.
3555 [POSIX] (ELOOP): Likewise.
3556 [POSIX] (EMULTIHOP): Likewise.
3557 [POSIX] (ENETDOWN): Likewise.
3558 [POSIX] (ENETUNREACH): Likewise.
3559 [POSIX] (ENOBUFS): Likewise.
3560 [POSIX] (ENODATA): Likewise.
3561 [POSIX] (ENOLINK): Likewise.
3562 [POSIX] (ENOMSG): Likewise.
3563 [POSIX] (ENOPROTOOPT): Likewise.
3564 [POSIX] (ENOSR): Likewise.
3565 [POSIX] (ENOSTR): Likewise.
3566 [POSIX] (ENOTCONN): Likewise.
3567 [POSIX] (ENOTSOCK): Likewise.
3568 [POSIX] (EOPNOTSUPP): Likewise.
3569 [POSIX] (EOVERFLOW): Likewise.
3570 [POSIX] (EPROTO): Likewise.
3571 [POSIX] (EPROTONOSUPPORT): Likewise.
3572 [POSIX] (EPROTOTYPE): Likewise.
3573 [POSIX] (ESTALE): Likewise.
3574 [POSIX] (ETIME): Likewise.
3575 [POSIX] (ETXTBSY): Likewise.
3576 [POSIX] (EWOULDBLOCK): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3578 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3579 [POSIX] (SEEK_CUR): Likewise.
3580 [POSIX] (SEEK_END): Likewise.
3581 [POSIX || UNIX98] (mode_t): Do not require.
3582 [POSIX] (off_t): Likewise.
3583 [POSIX] (pid_t): Likewise.
3584 [POSIX] (sys/stat.h): Do not allow header.
3585 [POSIX] (unistd.h): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3587 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3589 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3590 require.
3591 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3592 sigevent): Specify elements.
3593 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3594 entry.
3595 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3596 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3597
a483863f
JM
3598 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3599 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3600 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3601 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3602 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3603 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3604 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3605 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3608 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3609 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3610 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3612 Likewise.
3613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3614 Likewise.
3615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3616 Likewise.
3617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3618 Likewise.
3619 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3621 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3622 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3624 Specify lower bound on value.
3625 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3631 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3632 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3633 value.
3634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3635 as optional.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3652 entry.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3654 optional.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3661 Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3667 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3669 as optional.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3674 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3675 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3676 specify as optional.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3680 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3681 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3682 [XPG3] (NL_LANGMAX): Likewise.
3683 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3684 [POSIX || XPG3] (NL_NMAX): Likewise.
3685 [POSIX || XPG3] (NL_SETMAX): Likewise.
3686 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3687 [XPG3] (NZERO): Likewise.
3688 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3689 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3690 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3691 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3692 (REG_ERANGE): Expect.
3693 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3694 optional-constant.
3695 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3696 Use (void) in prototype.
3697 [POSIX] (*_t): Allow.
3698 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3699 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3700 (WRDE_BADVAL): Expect.
3701
5ba924e3
JM
3702 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3703 expect.
3704 [XPG3 || XPG4] (O_RSYNC): Likewise.
3705 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3706 Likewise.
3707 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3708 [XPG3 || XPG4] (sigqueue): Likewise.
3709 [XPG3 || XPG4] (sigtimedwait): Likewise.
3710 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3711 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3712 [XPG3 || XPG4] (vsnprintf): Likewise.
3713 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3714 Likewise.
3715 [XPG3 || XPG4] (blksize_t): Likewise.
3716 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3717 Likewise.
3718 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3719 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3720 [XPG3 || XPG4] (struct itimerspec): Likewise.
3721 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3722 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3723 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3724 [XPG3 || XPG4] (clockid_t): Likewise.
3725 [XPG3 || XPG4] (timer_t): Likewise.
3726 [XPG3 || XPG4] (clock_getres): Likewise.
3727 [XPG3 || XPG4] (clock_gettime): Likewise.
3728 [XPG3 || XPG4] (clock_settime): Likewise.
3729 [XPG3 || XPG4] (nanosleep): Likewise.
3730 [XPG3 || XPG4] (timer_create): Likewise.
3731 [XPG3 || XPG4] (timer_delete): Likewise.
3732 [XPG3 || XPG4] (timer_gettime): Likewise.
3733 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3734 [XPG3 || XPG4] (timer_settime): Likewise.
3735 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3736 [XPG3 || XPG4] (getlogin_r): Likewise.
3737 [XPG3 || XPG4] (pread): Likewise.
3738 [XPG3 || XPG4] (pthread_atfork): Likewise.
3739 [XPG3 || XPG4] (pwrite): Likewise.
3740
ee663277
JM
3741 [BZ #14835]
3742 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3743 <bits/siginfo.h>.
3744
942caa16
PT
37452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3746
e19af380
PT
3747 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3748 finalizing MALLSTREAM.
3749
942caa16
PT
3750 * sysdeps/mach/hurd/syncfs.c: New file.
3751
cfde9b46
SP
37522012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3753
3754 [BZ #14719]
3755 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3756 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3758 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3759 (_nss_dns_gethostbyname4_r): Likewise.
3760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3761 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3762
f6da27e5
PH
37632012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3764
3765 [BZ #13763]
3766 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3767
6665d4a2
SM
37682012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3769
1f51ee92
SM
3770 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3771 * elf/cache.c (print_entry): Print ",AArch64" for
3772 FLAG_AARCH64_LIB64
3773
6665d4a2
SM
3774 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3775 * elf/cache.c (print_entry): Print ",hard-float" for
3776 FLAG_ARM_LIBHF.
3777
05b227bd
DM
37782012-11-18 David S. Miller <davem@davemloft.net>
3779
3780 With help from Joseph Myers.
3781 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3782 cutoff to 2**-13.
3783 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3784 cutoff to 2**-25.
3785 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3786 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3787 small.
3788 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3789 * math/libm-test.inc (y0_test): New tests.
3790 (y1_test): New tests.
3791 * sysdeps/i386/fpu/libm-test-ulps: Update.
3792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3794
786b0b67
AS
37952012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3798 64-bit targets.
3799 * configure: Regenerated.
3800
8e18b86d
DM
38012012-11-17 David S. Miller <davem@davemloft.net>
3802
3803 [BZ #14811]
3804 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3805 nonzero exponents with absolute value below 0x1p-128 to +/-
3806 0x1p-128.
3807
531f1ae0
JM
38082012-11-17 Joseph Myers <joseph@codesourcery.com>
3809
12df29e2
JM
3810 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3811
150dc1a0
JM
3812 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3813
531f1ae0
JM
3814 * posix/getconf-speclist.c: New file.
3815 * posix/posix-envs.def: Likewise.
3816 * posix/confstr.c (START_ENV_GROUP): New macro.
3817 (END_ENV_GROUP): Likewise.
3818 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3819 (KNOWN_PRESENT_ENV_STRING): Likewise.
3820 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3821 (UNKNOWN_ENVIRONMENT): Likewise.
3822 (confstr): Include posix-envs.def instead of handling
3823 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3824 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3825 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3826 (END_ENV_GROUP): Likewise.
3827 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3828 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3829 (UNKNOWN_ENVIRONMENT): Likewise.
3830 (__sysconf): Include posix-envs.def instead of handling associated
3831 cases directly here.
3832 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3833 preprocessing getconf-speclist.c rather than running getconf or
3834 generating empty file.
3835
a93f9cbc
PT
38362012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3837
3838 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3839
d64d9f87
AL
38402012-11-16 Andrej Lajovic <natrij@gmail.com>
3841
3842 [BZ #14672]
3843 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3844
447885eb
DM
38452012-11-16 David S. Miller <davem@davemloft.net>
3846
3847 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3848 smaller than LDBL_EPSILON/2.0L, just return xm1.
3849
bcbf9830
L
38502012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * elf/tst-array1.c (init): Set constructor priority to 1000.
3853 (fini): Set destructor priority to 1000.
3854 * elf/tst-array2dep.c: Likewise.
3855
2b766585
SP
38562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3857
3858 [BZ #11741]
3859 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3860 (_IO_new_file_xsputn): Also return EOF if none of the input
3861 data was written when overflow failed.
3862 * libio/iopadn.c (_IO_padn): Likewise.
3863 * libio/iowpadn.c (_IO_wpadn): Likewise.
3864 * stdio-common/tst-put-error.c: Add copyright notice.
3865 (do_test): Add case for printing padded string.
3866 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3867 _IO_padn returned error.
3868 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3869 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3870 return EOF.
3871
b1848fde
SP
38722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3873
3874 * libio/libioP.h: Add comment note that the references to C++
3875 bits are now obsolete.
3876
2fd89785
MS
38772012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3878
3879 * math/libm-test.inc (check_complex): Use asprintf.
3880
e3ea5409
JM
38812012-11-14 Joseph Myers <joseph@codesourcery.com>
3882
3883 * debug/pcprofiledump.c (print_version): Update copyright year.
3884 * malloc/memusagestat.c (print_version): Likewise.
3885
2e64d265
L
38862012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 [BZ #14831]
3889 * elf/Makefile (tests): Add tst-audit8.
3890 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3891 ($(objpfx)tst-audit8.out): New target.
3892 (tst-audit8-ENV): New variable.
3893 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3894 audit if l_reloc_result is NULL.
3895 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3896 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3897 * elf/tst-audit8.c: New file.
3898
c485e4d2
MS
38992012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3900
3901 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3902 * misc/Makefile (CFLAGS-select.c): Define.
3903 * posix/Makefile (CFLAGS-pause.c): Define.
3904
3a0d900a
DM
39052012-11-13 David S. Miller <davem@davemloft.net>
3906
3907 * crypt/Makefile: Move test targets after toplevel Rules
3908 inclusion. Grab any necessary sysdep routines when linking.
3909 * crypt/md5.c (md5_process_block): Remove define, we will always
3910 name it __md5_process_block.
3911 (md5_finish_ctx): Update md5_process_block call.
3912 (md5_stream): Likewise.
3913 (md5_process_bytes): Likewise.
3914 (md5_process_block): Rename to __md5_process_block and move to ...
3915 * crypt/md5-block.c: ... here.
3916 * crypt/sha256.c (sha256_process_block): Move to ...
3917 * crypt/sha256-block.c: ... here.
3918 * crypt/sha512.c (sha512_process_block): Move to ...
3919 * crypt/sha512-block.c: ... here.
3920 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3921 path.
3922 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3923 * sysdeps/sparc/sparc64/multiarch/Makefile
3924 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3925 crypt subdir.
3926 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3928 multiarch changes.
3929 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3930 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3931 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3932 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3933 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3934 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3935 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3936 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3938 file.
3939 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3941 file.
3942 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3943
8ca89318
JM
39442012-11-13 Joseph Myers <joseph@codesourcery.com>
3945
e27d476a
JM
3946 * timezone/tzselect.ksh: Update from tzcode git revision
3947 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3948 * timezone/zdump.c: Likewise.
3949 * timezone/zic.c: Likewise.
3950 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3951 in TZVERSION setting, not $(PKGVERSION).
3952 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3953 REPORT_BUGS_TO settings.
3954
8ca89318
JM
3955 [BZ #14838]
3956 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3957 macro.
3958
47594329
MS
39592012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3960
3961 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3962 detection to immediately after _FP_ROUND().
3963 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3964 bits are 0.
3965
640ac3f1
DM
39662012-11-11 David S. Miller <davem@davemloft.net>
3967
3968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3969 inttypes.h
3970 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3971 __close rather than their public counterparts.
3972
3d2577bb
JM
39732012-11-10 Joseph Myers <joseph@codesourcery.com>
3974
3975 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3976 file.
3977 [UNIX98] (sem_timedwait): Do not expect.
3978 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3979 [XPG4 || UNIX98] (sockatmark): Do not expect.
3980 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3981 (clock_getcpuclockid): Do not expect.
3982 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3983 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3984 Do not expect.
3985 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3986 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3987 [UNIX98] (vwscanf): Likewise.
3988 [UNIX98] (vswscanf): Likewise.
3989
fb1ae1ee
JM
39902012-11-09 Joseph Myers <joseph@codesourcery.com>
3991
9ec6f8bd
JM
3992 * timezone/version.h: Remove file.
3993 * timezone/README: Do not refer to version.h.
3994 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3995 $(objpfx)version.h.
3996 ($(objpfx)zdump.o): Likewise.
c3f81911 3997 ($(objpfx)version.h): New target.
9ec6f8bd 3998
0aa8f8a1
JM
3999 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4000 2012i.
4001 * timezone/README: Don't mention modification to tzselect.ksh.
4002 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4003 work on unmodified tzselect.ksh. Substitute version numbers in
4004 tzselect.ksh.
4005
4e87147f
JM
4006 * Makefile (format-me): Remove.
4007 (INSTALL): Adjust indentation. Use commands directly instead of
4008 using $(format-me).
4009
8b748aed
JM
4010 * aclocal.m4 (ACX_PKGVERSION): New macro.
4011 (ACX_BUGURL): Likewise.
4012 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4013 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4014 (REPORT_BUGS_TO): Likewise.
4015 * configure: Regenerated.
4016 * config.h.in (PKGVERSION): New macro.
4017 (REPORT_BUGS_TO): Likewise.
4018 * config.make.in (PKGVERSION): New variable.
4019 (PKGVERSION_TEXI): Likewise.
4020 (REPORT_BUGS_TO): Likewise.
4021 (REPORT_BUGS_TEXI): Likewise.
4022 * Makefile (format-me): Use -I$(common-objpfx)manual.
4023 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4024 ($(common-objpfx)manual/%): New target.
4025 (manual/%): Remove target.
4026 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4027 (print_version): Use PKGVERSION.
4028 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4029 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4030 and REPORT_BUGS_TO.
4031 ($(objpfx)xtrace): Likewise.
4032 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4033 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4034 (print_version): Use PKGVERSION.
4035 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4036 (do_version): Use PKGVERSION.
4037 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4038 REPORT_BUGS_TO.
4039 (common-ldd-rewrite): Likewise.
4040 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4041 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4042 (print_version): Use PKGVERSION.
4043 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4044 * elf/pldd.c (argp_program_bug_address): Remove variable.
4045 (more_help): New function.
4046 (argp): Use more_help.
4047 (print_version): Use PKGVERSION.
4048 * elf/sln.c (main): Use PKGVERSION.
4049 (usage): Use REPORT_BUGS_TO.
4050 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4051 (top level): Use PKGVERSION.
4052 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4053 (print_version): Use PKGVERSION.
4054 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4055 (print_version): Use PKGVERSION.
4056 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4057 (print_version): Use PKGVERSION.
4058 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4059 (print_version): Use PKGVERSION.
4060 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4061 (print_version): Use PKGVERSION.
4062 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4063 (print_version): Use PKGVERSION.
4064 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4065 and BUGURL.
4066 ($(objpfx)memusage): Likewise.
4067 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4068 (do_version): Use PKGVERSION.
4069 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4070 (print_version): Use PKGVERSION.
4071 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4072 ($PKGVERSION): New variable.
4073 ($REPORT_BUGS_TO): Likewise.
4074 (usage): Use $REPORT_BUGS_TO.
4075 (top level): Use $PKGVERSION.
4076 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4077 ($(objpfx)pkgvers.texi): New rule.
4078 ($(objpfx)stamp-pkgvers): Likewise.
4079 * manual/install.texi: Include pkgvers.texi.
4080 (--with-pkgversion): Document new configure option.
4081 (--with-bugurl): Likewise.
4082 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4083 than necessarily for this particular distribution. Use
4084 REPORT_BUGS_TO for where to report bugs.
4085 * INSTALL: Regenerated.
4086 * manual/libc.texinfo: Include pkgvers.texi.
4087 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4088 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4089 (print_version): Use PKGVERSION.
4090 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4091 (print_version): Use PKGVERSION.
4092 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4093 (print_version): Use PKGVERSION.
4094 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4095 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4096 macro.
4097 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4098 (print_version): Use PKGVERSION.
4099 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4100 (print_version): Use PKGVERSION.
4101 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4102 and PKGVERSION.
4103
92e4b6a9
JM
4104 * timezone/checktab.awk: Update from tzcode 2012i.
4105 * timezone/ialloc.c: Likewise.
4106 * timezone/private.h: Likewise.
4107 * timezone/scheck.c: Likewise.
4108 * timezone/tzfile.h: Likewise.
4109 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4110 (TZVERSION): Hardcode tzcode version number.
4111 * timezone/zdump.c: Update from tzcode 2012i.
4112 * timezone/zic.c: Likewise.
4113 * timezone/version.h: New file.
4114 * timezone/README: Describe version.h. Update upstream location.
4115
9bde902c
JM
4116 [BZ #14824]
4117 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4118 (mktemp): Enable declaration.
4119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4123 Likewise.
4124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4125 Likewise.
4126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4127 Likewise.
4128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4129 Likewise.
4130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4131 Likewise.
4132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4133 Likewise.
4134
fb1ae1ee
JM
4135 [BZ #14821]
4136 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4137 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4138 for copies of such integer values.
4139 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4140 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4141
2c1adbcb
AJ
41422012-11-09 Andreas Jaeger <aj@suse.de>
4143
4144 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4145 definitions and declarations that are provided by
4146 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4147
d0f8457e
AK
41482012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4149
3a235abb 4150 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4151 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4152 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4153 definition.
4154
57241e26
MS
41552012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4156
4157 * elf/elf.h: Update comment before AArch64 relocations.
4158
60e8270d
DM
41592012-11-07 David S. Miller <davem@davemloft.net>
4160
4161 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4163 (__start_context): Declare.
4164 (__makecontext_ret): Delete.
4165 (__makecontext): Hook up __start_context instead of
4166 __makecontext_ret.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4168 (sysdep_routines): Add __start_context when in stdlib.
4169
0fbb0fbc
JM
41702012-11-07 Joseph Myers <joseph@codesourcery.com>
4171
4172 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4173 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4174 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4175 hardcoded "nm".
4176 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4177 (READELF): New variable. Use it instead of hardcoded "readelf".
4178
eb48db7e
L
41792012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4182 * sysdeps/x86/Makefile: Here.
4183 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4184 * sysdeps/x86/tst-xmmymm.sh: This.
4185
05bcf62a
JM
41862012-11-07 Joseph Myers <joseph@codesourcery.com>
4187
c4b6cf53
JM
4188 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4189 expectations.
4190 [UNIX98] (pthread_barrier_t): Do not expect.
4191 [UNIX98] (pthread_barrierattr_t): Likewise.
4192 [UNIX98] (pthread_spinlock_t): Likewise.
4193 [UNIX98] (pthread_barrier_destroy): Likewise.
4194 [UNIX98] (pthread_barrier_init): Likewise.
4195 [UNIX98] (pthread_barrier_wait): Likewise.
4196 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4197 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4198 [UNIX98] (pthread_barrierattr_init): Likewise.
4199 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4200 [UNIX98] (pthread_getcpuclockid): Likewise.
4201 [UNIX98] (pthread_mutex_timedlock): Likewise.
4202 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4203 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4204 [UNIX98] (pthread_sigmask): Likewise.
4205 [UNIX98] (pthread_spin_destroy): Likewise.
4206 [UNIX98] (pthread_spin_init): Likewise.
4207 [UNIX98] (pthread_spin_lock): Likewise.
4208 [UNIX98] (pthread_spin_trylock): Likewise.
4209 [UNIX98] (pthread_spin_unlock): Likewise.
4210 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4211 Do not expect.
4212 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4214 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4215 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4216 [XPG3 || XPG4] (pthread_key_t): Likewise.
4217 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4218 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4219 [XPG3 || XPG4] (pthread_once_t): Likewise.
4220 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4221 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4223 [XPG3 || XPG4] (pthread_t): Likewise.
4224
cbe6e120
JM
4225 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4226 not expect.
4227 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4228
1b126443
JM
4229 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4230 Change function return type to int.
4231
b961a573
JM
4232 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4233 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4234 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4235 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4236 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4237 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4238 [!POSIX] (posix_madvise): Likewise.
4239 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4240 && !UNIX98].
4241 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4242 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4243 (mode_t): Likewise.
4244 (posix_mem_offset): Likewise.
4245 (posix_typed_mem_get_info): Likewise.
4246 (posix_typed_mem_open): Likewise.
4247
9e188909
JM
4248 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4249 Change condition to [XOPEN2K8].
4250
05bcf62a
JM
4251 * conform/conformtest.pl: Preprocess allow-header data with -x c
4252 instead of from stdin.
4253 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4254 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4255 [C99-based standards] (cerfc): Likewise.
4256 [C99-based standards] (cexp2): Likewise.
4257 [C99-based standards] (cexpm1): Likewise.
4258 [C99-based standards] (clog10): Likewise.
4259 [C99-based standards] (clog1p): Likewise.
4260 [C99-based standards] (clog2): Likewise.
4261 [C99-based standards] (clgamma): Likewise.
4262 [C99-based standards] (ctgamma): Likewise.
4263 [C99-based standards] (cerff): Likewise.
4264 [C99-based standards] (cerfcf): Likewise.
4265 [C99-based standards] (cexp2f): Likewise.
4266 [C99-based standards] (cexpm1f): Likewise.
4267 [C99-based standards] (clog10f): Likewise.
4268 [C99-based standards] (clog1pf): Likewise.
4269 [C99-based standards] (clog2f): Likewise.
4270 [C99-based standards] (clgammaf): Likewise.
4271 [C99-based standards] (ctgammaf): Likewise.
4272 [C99-based standards] (cerfl): Likewise.
4273 [C99-based standards] (cerfcl): Likewise.
4274 [C99-based standards] (cexp2l): Likewise.
4275 [C99-based standards] (cexpm1l): Likewise.
4276 [C99-based standards] (clog10l): Likewise.
4277 [C99-based standards] (clog1pl): Likewise.
4278 [C99-based standards] (clog2l): Likewise.
4279 [C99-based standards] (clgammal): Likewise.
4280 [C99-based standards] (ctgammal): Likewise.
4281 * conform/data/inttypes.h-data [C99-based standards]: Include
4282 stdint.h-data. Remove all expectations for stdint.h contents.
4283 [C99-based standards] (PRI*): Do not allow.
4284 [C99-based standards] (SCN*): Likewise.
4285 [C99-based standards] (*_t): Likewise.
4286 [C99-based-standards] (PRId8): Expect macro.
4287 [C99-based-standards] (PRIi8): Likewise.
4288 [C99-based-standards] (PRIo8): Likewise.
4289 [C99-based-standards] (PRIu8): Likewise.
4290 [C99-based-standards] (PRIx8): Likewise.
4291 [C99-based-standards] (PRIX8): Likewise.
4292 [C99-based-standards] (SCNd8): Likewise.
4293 [C99-based-standards] (SCNi8): Likewise.
4294 [C99-based-standards] (SCNo8): Likewise.
4295 [C99-based-standards] (SCNu8): Likewise.
4296 [C99-based-standards] (SCNx8): Likewise.
4297 [C99-based-standards] (PRIdLEAST8): Likewise.
4298 [C99-based-standards] (PRIiLEAST8): Likewise.
4299 [C99-based-standards] (PRIoLEAST8): Likewise.
4300 [C99-based-standards] (PRIuLEAST8): Likewise.
4301 [C99-based-standards] (PRIxLEAST8): Likewise.
4302 [C99-based-standards] (PRIXLEAST8): Likewise.
4303 [C99-based-standards] (SCNdLEAST8): Likewise.
4304 [C99-based-standards] (SCNiLEAST8): Likewise.
4305 [C99-based-standards] (SCNoLEAST8): Likewise.
4306 [C99-based-standards] (SCNuLEAST8): Likewise.
4307 [C99-based-standards] (SCNxLEAST8): Likewise.
4308 [C99-based-standards] (PRIdFAST8): Likewise.
4309 [C99-based-standards] (PRIiFAST8): Likewise.
4310 [C99-based-standards] (PRIoFAST8): Likewise.
4311 [C99-based-standards] (PRIuFAST8): Likewise.
4312 [C99-based-standards] (PRIxFAST8): Likewise.
4313 [C99-based-standards] (PRIXFAST8): Likewise.
4314 [C99-based-standards] (SCNdFAST8): Likewise.
4315 [C99-based-standards] (SCNiFAST8): Likewise.
4316 [C99-based-standards] (SCNoFAST8): Likewise.
4317 [C99-based-standards] (SCNuFAST8): Likewise.
4318 [C99-based-standards] (SCNxFAST8): Likewise.
4319 [C99-based-standards] (PRId16): Likewise.
4320 [C99-based-standards] (PRIi16): Likewise.
4321 [C99-based-standards] (PRIo16): Likewise.
4322 [C99-based-standards] (PRIu16): Likewise.
4323 [C99-based-standards] (PRIx16): Likewise.
4324 [C99-based-standards] (PRIX16): Likewise.
4325 [C99-based-standards] (SCNd16): Likewise.
4326 [C99-based-standards] (SCNi16): Likewise.
4327 [C99-based-standards] (SCNo16): Likewise.
4328 [C99-based-standards] (SCNu16): Likewise.
4329 [C99-based-standards] (SCNx16): Likewise.
4330 [C99-based-standards] (PRIdLEAST16): Likewise.
4331 [C99-based-standards] (PRIiLEAST16): Likewise.
4332 [C99-based-standards] (PRIoLEAST16): Likewise.
4333 [C99-based-standards] (PRIuLEAST16): Likewise.
4334 [C99-based-standards] (PRIxLEAST16): Likewise.
4335 [C99-based-standards] (PRIXLEAST16): Likewise.
4336 [C99-based-standards] (SCNdLEAST16): Likewise.
4337 [C99-based-standards] (SCNiLEAST16): Likewise.
4338 [C99-based-standards] (SCNoLEAST16): Likewise.
4339 [C99-based-standards] (SCNuLEAST16): Likewise.
4340 [C99-based-standards] (SCNxLEAST16): Likewise.
4341 [C99-based-standards] (PRIdFAST16): Likewise.
4342 [C99-based-standards] (PRIiFAST16): Likewise.
4343 [C99-based-standards] (PRIoFAST16): Likewise.
4344 [C99-based-standards] (PRIuFAST16): Likewise.
4345 [C99-based-standards] (PRIxFAST16): Likewise.
4346 [C99-based-standards] (PRIXFAST16): Likewise.
4347 [C99-based-standards] (SCNdFAST16): Likewise.
4348 [C99-based-standards] (SCNiFAST16): Likewise.
4349 [C99-based-standards] (SCNoFAST16): Likewise.
4350 [C99-based-standards] (SCNuFAST16): Likewise.
4351 [C99-based-standards] (SCNxFAST16): Likewise.
4352 [C99-based-standards] (PRId32): Likewise.
4353 [C99-based-standards] (PRIi32): Likewise.
4354 [C99-based-standards] (PRIo32): Likewise.
4355 [C99-based-standards] (PRIu32): Likewise.
4356 [C99-based-standards] (PRIx32): Likewise.
4357 [C99-based-standards] (PRIX32): Likewise.
4358 [C99-based-standards] (SCNd32): Likewise.
4359 [C99-based-standards] (SCNi32): Likewise.
4360 [C99-based-standards] (SCNo32): Likewise.
4361 [C99-based-standards] (SCNu32): Likewise.
4362 [C99-based-standards] (SCNx32): Likewise.
4363 [C99-based-standards] (PRIdLEAST32): Likewise.
4364 [C99-based-standards] (PRIiLEAST32): Likewise.
4365 [C99-based-standards] (PRIoLEAST32): Likewise.
4366 [C99-based-standards] (PRIuLEAST32): Likewise.
4367 [C99-based-standards] (PRIxLEAST32): Likewise.
4368 [C99-based-standards] (PRIXLEAST32): Likewise.
4369 [C99-based-standards] (SCNdLEAST32): Likewise.
4370 [C99-based-standards] (SCNiLEAST32): Likewise.
4371 [C99-based-standards] (SCNoLEAST32): Likewise.
4372 [C99-based-standards] (SCNuLEAST32): Likewise.
4373 [C99-based-standards] (SCNxLEAST32): Likewise.
4374 [C99-based-standards] (PRIdFAST32): Likewise.
4375 [C99-based-standards] (PRIiFAST32): Likewise.
4376 [C99-based-standards] (PRIoFAST32): Likewise.
4377 [C99-based-standards] (PRIuFAST32): Likewise.
4378 [C99-based-standards] (PRIxFAST32): Likewise.
4379 [C99-based-standards] (PRIXFAST32): Likewise.
4380 [C99-based-standards] (SCNdFAST32): Likewise.
4381 [C99-based-standards] (SCNiFAST32): Likewise.
4382 [C99-based-standards] (SCNoFAST32): Likewise.
4383 [C99-based-standards] (SCNuFAST32): Likewise.
4384 [C99-based-standards] (SCNxFAST32): Likewise.
4385 [C99-based-standards] (PRId64): Likewise.
4386 [C99-based-standards] (PRIi64): Likewise.
4387 [C99-based-standards] (PRIo64): Likewise.
4388 [C99-based-standards] (PRIu64): Likewise.
4389 [C99-based-standards] (PRIx64): Likewise.
4390 [C99-based-standards] (PRIX64): Likewise.
4391 [C99-based-standards] (SCNd64): Likewise.
4392 [C99-based-standards] (SCNi64): Likewise.
4393 [C99-based-standards] (SCNo64): Likewise.
4394 [C99-based-standards] (SCNu64): Likewise.
4395 [C99-based-standards] (SCNx64): Likewise.
4396 [C99-based-standards] (PRIdLEAST64): Likewise.
4397 [C99-based-standards] (PRIiLEAST64): Likewise.
4398 [C99-based-standards] (PRIoLEAST64): Likewise.
4399 [C99-based-standards] (PRIuLEAST64): Likewise.
4400 [C99-based-standards] (PRIxLEAST64): Likewise.
4401 [C99-based-standards] (PRIXLEAST64): Likewise.
4402 [C99-based-standards] (SCNdLEAST64): Likewise.
4403 [C99-based-standards] (SCNiLEAST64): Likewise.
4404 [C99-based-standards] (SCNoLEAST64): Likewise.
4405 [C99-based-standards] (SCNuLEAST64): Likewise.
4406 [C99-based-standards] (SCNxLEAST64): Likewise.
4407 [C99-based-standards] (PRIdFAST64): Likewise.
4408 [C99-based-standards] (PRIiFAST64): Likewise.
4409 [C99-based-standards] (PRIoFAST64): Likewise.
4410 [C99-based-standards] (PRIuFAST64): Likewise.
4411 [C99-based-standards] (PRIxFAST64): Likewise.
4412 [C99-based-standards] (PRIXFAST64): Likewise.
4413 [C99-based-standards] (SCNdFAST64): Likewise.
4414 [C99-based-standards] (SCNiFAST64): Likewise.
4415 [C99-based-standards] (SCNoFAST64): Likewise.
4416 [C99-based-standards] (SCNuFAST64): Likewise.
4417 [C99-based-standards] (SCNxFAST64): Likewise.
4418 [C99-based-standards] (PRIdMAX): Likewise.
4419 [C99-based-standards] (PRIiMAX): Likewise.
4420 [C99-based-standards] (PRIoMAX): Likewise.
4421 [C99-based-standards] (PRIuMAX): Likewise.
4422 [C99-based-standards] (PRIxMAX): Likewise.
4423 [C99-based-standards] (PRIXMAX): Likewise.
4424 [C99-based-standards] (SCNdMAX): Likewise.
4425 [C99-based-standards] (SCNiMAX): Likewise.
4426 [C99-based-standards] (SCNoMAX): Likewise.
4427 [C99-based-standards] (SCNuMAX): Likewise.
4428 [C99-based-standards] (SCNxMAX): Likewise.
4429 [C99-based-standards] (PRIdPTR): Likewise.
4430 [C99-based-standards] (PRIiPTR): Likewise.
4431 [C99-based-standards] (PRIoPTR): Likewise.
4432 [C99-based-standards] (PRIuPTR): Likewise.
4433 [C99-based-standards] (PRIxPTR): Likewise.
4434 [C99-based-standards] (PRIXPTR): Likewise.
4435 [C99-based-standards] (SCNdPTR): Likewise.
4436 [C99-based-standards] (SCNiPTR): Likewise.
4437 [C99-based-standards] (SCNoPTR): Likewise.
4438 [C99-based-standards] (SCNuPTR): Likewise.
4439 [C99-based-standards] (SCNxPTR): Likewise.
4440 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4441 allow.
4442 * conform/data/stdint.h-data: Update comments to clarify
4443 requirements.
4444 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4445 type.
4446 [C99-based standards] (INT8_MAX): Likewise.
4447 [C99-based standards] (INT16_MIN): Likewise.
4448 [C99-based standards] (INT16_MAX): Likewise.
4449 [C99-based standards] (INT32_MIN): Likewise.
4450 [C99-based standards] (INT32_MAX): Likewise.
4451 [C99-based standards] (INT64_MIN): Likewise.
4452 [C99-based standards] (INT64_MAX): Likewise.
4453 [C99-based standards] (UINT8_MAX): Likewise.
4454 [C99-based standards] (UINT16_MAX): Likewise.
4455 [C99-based standards] (UINT32_MAX): Likewise.
4456 [C99-based standards] (UINT64_MAX): Likewise.
4457 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4458 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4459 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4460 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4461 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4462 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4463 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4464 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4465 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4466 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4467 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4468 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4469 [C99-based standards] (INT_FAST8_MIN): Likewise.
4470 [C99-based standards] (INT_FAST8_MAX): Likewise.
4471 [C99-based standards] (INT_FAST16_MIN): Likewise.
4472 [C99-based standards] (INT_FAST16_MAX): Likewise.
4473 [C99-based standards] (INT_FAST32_MIN): Likewise.
4474 [C99-based standards] (INT_FAST32_MAX): Likewise.
4475 [C99-based standards] (INT_FAST64_MIN): Likewise.
4476 [C99-based standards] (INT_FAST64_MAX): Likewise.
4477 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4478 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4479 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4480 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4481 [C99-based standards] (INTPTR_MIN): Likewise.
4482 [C99-based standards] (INTPTR_MAX): Likewise.
4483 [C99-based standards] (UINTPTR_MAX): Likewise.
4484 [C99-based standards] (INTMAX_MIN): Likewise.
4485 [C99-based standards] (INTMAX_MAX): Likewise.
4486 [C99-based standards] (UINTMAX_MAX): Likewise.
4487 [C99-based standards] (PTRDIFF_MIN): Likewise.
4488 [C99-based standards] (PTRDIFF_MAX): Likewise.
4489 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4490 [C99-based standards] (SIZE_MAX): Likewise.
4491 [C99-based standards] (WCHAR_MAX): Likewise.
4492 [C99-based standards] (WINT_MAX): Likewise.
4493 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4494 constraint on value.
4495 [C99-based standards] (WCHAR_MIN): Likewise.
4496 [C99-based standards] (WINT_MIN): Likewise.
4497 [C99-based standards] (*_t): Allow.
4498 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4499 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4500 Include math.h-data and complex.h-data. Remove all expectations
4501 of math.h and complex.h contents.
4502 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4503 at end of line.
4504 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4505 (struct tm): Expect tag.
4506 [C99-based-standards] (wcstof): Expect function.
4507 [C99-based-standards] (wcstold): Likewise.
4508 [C99-based-standards] (wcstoll): Likewise.
4509 [C99-based-standards] (wcstoull): Likewise.
4510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4511 macro-int-constant. Specify type.
4512 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4513 constraint on value.
4514 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4515 Specify type.
4516 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4517 Specify value.
4518 [ISO C standards]: Do not allow headers.
4519 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4520 wcs[abcdefghijklmnopqrstuvwxyz]*.
4521 [ISO C standards] (*_t): Do not allow.
4522 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4523 Expect function.
4524 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4525 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4526 Specify type.
4527 [ISO C standards]: Do not allow headers.
4528 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4529 is[abcdefghijklmnopqrstuvwxyz]*.
4530 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4531 to[abcdefghijklmnopqrstuvwxyz]*.
4532 [ISO C standards] (*_t): Do not allow.
4533 * conform/data/stdalign.h-data: New file.
4534 * conform/data/stdbool.h-data: Likewise.
4535 * conform/data/stdnoreturn.h-data: Likewise.
4536
7514feb8
RM
45372012-11-07 Roland McGrath <roland@hack.frob.com>
4538
4539 [BZ #14815]
4540 * manual/filesys.texi (Directory Entries): Typo fix.
4541 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4542
19b2ecfc
MS
45432012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4544
4545 * elf/elf.h (EM_AARCH64): New macro.
4546 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4547 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4548 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4549 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4550 (R_AARCH64_TLSDESC): Likewise.
4551 (NT_ARM_TLS): Likewise.
4552 (NT_ARM_HW_BREAK): Likewise.
4553 (NT_ARM_HW_WATCH): Likewise.
4554
60e235ee
JM
45552012-11-07 Joseph Myers <joseph@codesourcery.com>
4556
4557 [BZ #14811]
4558 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4559 (__ieee754_powl): Saturate nonzero exponents with absolute value
4560 below 0x1p-79 to +/- 0x1p-79.
4561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4562 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4563 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4564 nonzero exponents with absolute value below 0x1p-32 to +/-
4565 0x1p-32.
4566 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4567 (__ieee754_powl): Saturate nonzero exponents with absolute value
4568 below 0x1p-79 to +/- 0x1p-79.
4569 * math/libm-test.inc (pow_test): Add more tests.
4570
0ab234b7
AK
45712012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4572
4573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4574 _dl_s390_cap_flags with kernel. Increase string length.
4575 (_dl_s390_platforms): Add z196 and zEC12.
4576
45832f74
JM
45772012-11-07 Joseph Myers <joseph@codesourcery.com>
4578
4579 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4580 Change XOPEN21K to XOPEN2K.
4581
19218757
MK
45822012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4583
4584 * string/memmove.c: Use memcpy when possible.
4585
c5f45721
AJ
45862012-11-06 Andreas Jaeger <aj@suse.de>
4587
4588 * po/eo.po: Update from translation team.
4589
82477c28
JM
45902012-11-06 Joseph Myers <joseph@codesourcery.com>
4591
4592 [BZ #14793]
4593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4594 exponent and small x and y exponents, scale x or y up. Increase
4595 by 2 the exponent used in scaling up.
4596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4598 * math/libm-test.inc (fma_test): Add more tests.
4599 (fma_test_towardzero): Likewise.
4600 (fma_test_downward): Likewise.
4601 (fma_test_upward): Likewise.
4602
99252c8c
JM
46032012-11-05 Joseph Myers <joseph@codesourcery.com>
4604
acfa885f
JM
4605 [BZ #14805]
4606 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4607 fenv_t *.
4608
99252c8c
JM
4609 [BZ #14801]
4610 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4611 namespace for names of struct fields.
4612 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4613 fenv_t fields.
4614 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4615 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4616
d6d98dea
ST
46172012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4618
4619 [BZ #3665]
4620 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4621
e10bb107
TS
46222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4623
4624 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4625 PTR_DEMANGLE.
4626
4627 [BZ #5246]
4628 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4629 PTR_DEMANGLE.
4630
a0c2940d
JM
46312012-11-04 Joseph Myers <joseph@codesourcery.com>
4632
4633 [BZ #14797]
4634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4635 definitely overflow as x * y not x * y + z.
4636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4638 * math/libm-test.inc (fma_test): Add more tests.
4639 (fma_test_towardzero): Likewise.
4640 (fma_test_downward): Likewise.
4641 (fma_test_upward): Likewise.
4642
b830319d
TS
46432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4644
4645 [BZ #157]
4646
4647 * include/stub-tag.h: Remove file.
4648 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4649 '#include' of it.
4650 * manual/maint.texi (Porting): Don't reference it.
4651 * Makerules ($(objpfx)stubs): Likewise.
4652 * dirent/closedir.c: Don't include <stub-tag.h>.
4653 * dirent/dirfd.c: Likewise.
4654 * dirent/fdopendir.c: Likewise.
4655 * dirent/getdents.c: Likewise.
4656 * dirent/getdents64.c: Likewise.
4657 * dirent/opendir.c: Likewise.
4658 * dirent/readdir.c: Likewise.
4659 * dirent/readdir64.c: Likewise.
4660 * dirent/readdir64_r.c: Likewise.
4661 * dirent/readdir_r.c: Likewise.
4662 * dirent/rewinddir.c: Likewise.
4663 * dirent/seekdir.c: Likewise.
4664 * dirent/telldir.c: Likewise.
4665 * gmon/profil.c: Likewise.
4666 * grp/setgroups.c: Likewise.
4667 * inet/if_index.c: Likewise.
4668 * io/access.c: Likewise.
4669 * io/chdir.c: Likewise.
4670 * io/chmod.c: Likewise.
4671 * io/chown.c: Likewise.
4672 * io/close.c: Likewise.
4673 * io/dup.c: Likewise.
4674 * io/dup2.c: Likewise.
4675 * io/dup3.c: Likewise.
4676 * io/euidaccess.c: Likewise.
4677 * io/faccessat.c: Likewise.
4678 * io/fchdir.c: Likewise.
4679 * io/fchmod.c: Likewise.
4680 * io/fchmodat.c: Likewise.
4681 * io/fchown.c: Likewise.
4682 * io/fchownat.c: Likewise.
4683 * io/fcntl.c: Likewise.
4684 * io/flock.c: Likewise.
4685 * io/fstatfs.c: Likewise.
4686 * io/fstatfs64.c: Likewise.
4687 * io/fstatvfs.c: Likewise.
4688 * io/fstatvfs64.c: Likewise.
4689 * io/futimens.c: Likewise.
4690 * io/fxstat.c: Likewise.
4691 * io/fxstat64.c: Likewise.
4692 * io/fxstatat.c: Likewise.
4693 * io/fxstatat64.c: Likewise.
4694 * io/getcwd.c: Likewise.
4695 * io/isatty.c: Likewise.
4696 * io/lchmod.c: Likewise.
4697 * io/lchown.c: Likewise.
4698 * io/link.c: Likewise.
4699 * io/linkat.c: Likewise.
4700 * io/lseek.c: Likewise.
4701 * io/lseek64.c: Likewise.
4702 * io/lxstat64.c: Likewise.
4703 * io/mkdir.c: Likewise.
4704 * io/mkdirat.c: Likewise.
4705 * io/mkfifo.c: Likewise.
4706 * io/mkfifoat.c: Likewise.
4707 * io/open.c: Likewise.
4708 * io/open64.c: Likewise.
4709 * io/openat.c: Likewise.
4710 * io/openat64.c: Likewise.
4711 * io/pipe.c: Likewise.
4712 * io/pipe2.c: Likewise.
4713 * io/poll.c: Likewise.
4714 * io/posix_fadvise.c: Likewise.
4715 * io/posix_fadvise64.c: Likewise.
4716 * io/posix_fallocate.c: Likewise.
4717 * io/posix_fallocate64.c: Likewise.
4718 * io/read.c: Likewise.
4719 * io/readlink.c: Likewise.
4720 * io/readlinkat.c: Likewise.
4721 * io/rmdir.c: Likewise.
4722 * io/sendfile.c: Likewise.
4723 * io/sendfile64.c: Likewise.
4724 * io/statfs.c: Likewise.
4725 * io/statfs64.c: Likewise.
4726 * io/statvfs.c: Likewise.
4727 * io/statvfs64.c: Likewise.
4728 * io/symlink.c: Likewise.
4729 * io/symlinkat.c: Likewise.
4730 * io/ttyname.c: Likewise.
4731 * io/ttyname_r.c: Likewise.
4732 * io/umask.c: Likewise.
4733 * io/unlink.c: Likewise.
4734 * io/unlinkat.c: Likewise.
4735 * io/utime.c: Likewise.
4736 * io/utimensat.c: Likewise.
4737 * io/write.c: Likewise.
4738 * io/xmknod.c: Likewise.
4739 * io/xmknodat.c: Likewise.
4740 * io/xstat.c: Likewise.
4741 * io/xstat64.c: Likewise.
4742 * login/getpt.c: Likewise.
4743 * login/grantpt.c: Likewise.
4744 * login/unlockpt.c: Likewise.
4745 * math/e_acoshl.c: Likewise.
4746 * math/e_acosl.c: Likewise.
4747 * math/e_asinl.c: Likewise.
4748 * math/e_atan2l.c: Likewise.
4749 * math/e_atanhl.c: Likewise.
4750 * math/e_coshl.c: Likewise.
4751 * math/e_expl.c: Likewise.
4752 * math/e_fmodl.c: Likewise.
4753 * math/e_gammal_r.c: Likewise.
4754 * math/e_hypotl.c: Likewise.
4755 * math/e_j0l.c: Likewise.
4756 * math/e_j1l.c: Likewise.
4757 * math/e_jnl.c: Likewise.
4758 * math/e_lgammal_r.c: Likewise.
4759 * math/e_log10l.c: Likewise.
4760 * math/e_log2l.c: Likewise.
4761 * math/e_logl.c: Likewise.
4762 * math/e_powl.c: Likewise.
4763 * math/e_rem_pio2l.c: Likewise.
4764 * math/e_sinhl.c: Likewise.
4765 * math/e_sqrtl.c: Likewise.
4766 * math/fclrexcpt.c: Likewise.
4767 * math/fedisblxcpt.c: Likewise.
4768 * math/feenablxcpt.c: Likewise.
4769 * math/fegetenv.c: Likewise.
4770 * math/fegetexcept.c: Likewise.
4771 * math/fegetround.c: Likewise.
4772 * math/feholdexcpt.c: Likewise.
4773 * math/fesetenv.c: Likewise.
4774 * math/fesetround.c: Likewise.
4775 * math/feupdateenv.c: Likewise.
4776 * math/fgetexcptflg.c: Likewise.
4777 * math/fraiseexcpt.c: Likewise.
4778 * math/fsetexcptflg.c: Likewise.
4779 * math/ftestexcept.c: Likewise.
4780 * math/k_cosl.c: Likewise.
4781 * math/k_rem_pio2l.c: Likewise.
4782 * math/k_sinl.c: Likewise.
4783 * math/k_tanl.c: Likewise.
4784 * math/s_asinhl.c: Likewise.
4785 * math/s_atanl.c: Likewise.
4786 * math/s_cbrtl.c: Likewise.
4787 * math/s_erfl.c: Likewise.
4788 * math/s_expm1l.c: Likewise.
4789 * math/s_log1pl.c: Likewise.
4790 * math/s_tanhl.c: Likewise.
4791 * misc/acct.c: Likewise.
4792 * misc/brk.c: Likewise.
4793 * misc/chflags.c: Likewise.
4794 * misc/chroot.c: Likewise.
4795 * misc/fchflags.c: Likewise.
4796 * misc/fgetxattr.c: Likewise.
4797 * misc/flistxattr.c: Likewise.
4798 * misc/fremovexattr.c: Likewise.
4799 * misc/fsetxattr.c: Likewise.
4800 * misc/fsync.c: Likewise.
4801 * misc/ftruncate.c: Likewise.
4802 * misc/futimes.c: Likewise.
4803 * misc/futimesat.c: Likewise.
4804 * misc/getdomain.c: Likewise.
4805 * misc/getdtsz.c: Likewise.
4806 * misc/gethostid.c: Likewise.
4807 * misc/gethostname.c: Likewise.
4808 * misc/getloadavg.c: Likewise.
4809 * misc/getpagesize.c: Likewise.
4810 * misc/getsysstats.c: Likewise.
4811 * misc/getxattr.c: Likewise.
4812 * misc/gtty.c: Likewise.
4813 * misc/ioctl.c: Likewise.
4814 * misc/lgetxattr.c: Likewise.
4815 * misc/listxattr.c: Likewise.
4816 * misc/llistxattr.c: Likewise.
4817 * misc/lremovexattr.c: Likewise.
4818 * misc/lsetxattr.c: Likewise.
4819 * misc/lutimes.c: Likewise.
4820 * misc/madvise.c: Likewise.
4821 * misc/mincore.c: Likewise.
4822 * misc/mlock.c: Likewise.
4823 * misc/mlockall.c: Likewise.
4824 * misc/mmap.c: Likewise.
4825 * misc/mprotect.c: Likewise.
4826 * misc/msync.c: Likewise.
4827 * misc/munlock.c: Likewise.
4828 * misc/munlockall.c: Likewise.
4829 * misc/munmap.c: Likewise.
4830 * misc/preadv.c: Likewise.
4831 * misc/preadv64.c: Likewise.
4832 * misc/ptrace.c: Likewise.
4833 * misc/pwritev.c: Likewise.
4834 * misc/pwritev64.c: Likewise.
4835 * misc/readv.c: Likewise.
4836 * misc/reboot.c: Likewise.
4837 * misc/remap_file_pages.c: Likewise.
4838 * misc/removexattr.c: Likewise.
4839 * misc/revoke.c: Likewise.
4840 * misc/select.c: Likewise.
4841 * misc/setdomain.c: Likewise.
4842 * misc/setegid.c: Likewise.
4843 * misc/seteuid.c: Likewise.
4844 * misc/sethostid.c: Likewise.
4845 * misc/sethostname.c: Likewise.
4846 * misc/setregid.c: Likewise.
4847 * misc/setreuid.c: Likewise.
4848 * misc/setxattr.c: Likewise.
4849 * misc/sstk.c: Likewise.
4850 * misc/stty.c: Likewise.
4851 * misc/swapoff.c: Likewise.
4852 * misc/swapon.c: Likewise.
4853 * misc/sync.c: Likewise.
4854 * misc/syncfs.c: Likewise.
4855 * misc/syscall.c: Likewise.
4856 * misc/truncate.c: Likewise.
4857 * misc/ualarm.c: Likewise.
4858 * misc/usleep.c: Likewise.
4859 * misc/ustat.c: Likewise.
4860 * misc/utimes.c: Likewise.
4861 * misc/vhangup.c: Likewise.
4862 * misc/writev.c: Likewise.
4863 * posix/_exit.c: Likewise.
4864 * posix/alarm.c: Likewise.
4865 * posix/execve.c: Likewise.
4866 * posix/fexecve.c: Likewise.
4867 * posix/fork.c: Likewise.
4868 * posix/fpathconf.c: Likewise.
4869 * posix/getaddrinfo.c: Likewise.
4870 * posix/getegid.c: Likewise.
4871 * posix/geteuid.c: Likewise.
4872 * posix/getgid.c: Likewise.
4873 * posix/getgroups.c: Likewise.
4874 * posix/getlogin.c: Likewise.
4875 * posix/getlogin_r.c: Likewise.
4876 * posix/getpgid.c: Likewise.
4877 * posix/getpid.c: Likewise.
4878 * posix/getppid.c: Likewise.
4879 * posix/getresgid.c: Likewise.
4880 * posix/getresuid.c: Likewise.
4881 * posix/getsid.c: Likewise.
4882 * posix/getuid.c: Likewise.
4883 * posix/glob64.c: Likewise.
4884 * posix/nanosleep.c: Likewise.
4885 * posix/pathconf.c: Likewise.
4886 * posix/pause.c: Likewise.
4887 * posix/posix_madvise.c: Likewise.
4888 * posix/pread.c: Likewise.
4889 * posix/pread64.c: Likewise.
4890 * posix/pwrite.c: Likewise.
4891 * posix/pwrite64.c: Likewise.
4892 * posix/sched_getaffinity.c: Likewise.
4893 * posix/sched_getp.c: Likewise.
4894 * posix/sched_gets.c: Likewise.
4895 * posix/sched_primax.c: Likewise.
4896 * posix/sched_primin.c: Likewise.
4897 * posix/sched_rr_gi.c: Likewise.
4898 * posix/sched_setaffinity.c: Likewise.
4899 * posix/sched_setp.c: Likewise.
4900 * posix/sched_sets.c: Likewise.
4901 * posix/sched_yield.c: Likewise.
4902 * posix/setgid.c: Likewise.
4903 * posix/setlogin.c: Likewise.
4904 * posix/setpgid.c: Likewise.
4905 * posix/setresgid.c: Likewise.
4906 * posix/setresuid.c: Likewise.
4907 * posix/setsid.c: Likewise.
4908 * posix/setuid.c: Likewise.
4909 * posix/sleep.c: Likewise.
4910 * posix/spawni.c: Likewise.
4911 * posix/sysconf.c: Likewise.
4912 * posix/times.c: Likewise.
4913 * posix/wait.c: Likewise.
4914 * posix/wait3.c: Likewise.
4915 * posix/wait4.c: Likewise.
4916 * posix/waitpid.c: Likewise.
4917 * resolv/gai_sigqueue.c: Likewise.
4918 * resource/getpriority.c: Likewise.
4919 * resource/getrlimit.c: Likewise.
4920 * resource/getrusage.c: Likewise.
4921 * resource/nice.c: Likewise.
4922 * resource/setpriority.c: Likewise.
4923 * resource/setrlimit.c: Likewise.
4924 * resource/ulimit.c: Likewise.
4925 * rt/aio_cancel.c: Likewise.
4926 * rt/aio_fsync.c: Likewise.
4927 * rt/aio_read.c: Likewise.
4928 * rt/aio_sigqueue.c: Likewise.
4929 * rt/aio_suspend.c: Likewise.
4930 * rt/aio_write.c: Likewise.
4931 * rt/clock_getres.c: Likewise.
4932 * rt/clock_gettime.c: Likewise.
4933 * rt/clock_nanosleep.c: Likewise.
4934 * rt/clock_settime.c: Likewise.
4935 * rt/lio_listio.c: Likewise.
4936 * rt/mq_close.c: Likewise.
4937 * rt/mq_getattr.c: Likewise.
4938 * rt/mq_notify.c: Likewise.
4939 * rt/mq_open.c: Likewise.
4940 * rt/mq_receive.c: Likewise.
4941 * rt/mq_send.c: Likewise.
4942 * rt/mq_setattr.c: Likewise.
4943 * rt/mq_timedreceive.c: Likewise.
4944 * rt/mq_timedsend.c: Likewise.
4945 * rt/mq_unlink.c: Likewise.
4946 * rt/shm_open.c: Likewise.
4947 * rt/shm_unlink.c: Likewise.
4948 * rt/timer_create.c: Likewise.
4949 * rt/timer_delete.c: Likewise.
4950 * rt/timer_getoverr.c: Likewise.
4951 * rt/timer_gettime.c: Likewise.
4952 * rt/timer_settime.c: Likewise.
4953 * setjmp/__longjmp.c: Likewise.
4954 * setjmp/setjmp.c: Likewise.
4955 * signal/kill.c: Likewise.
4956 * signal/killpg.c: Likewise.
4957 * signal/raise.c: Likewise.
4958 * signal/sigaction.c: Likewise.
4959 * signal/sigaltstack.c: Likewise.
4960 * signal/sigblock.c: Likewise.
4961 * signal/sigignore.c: Likewise.
4962 * signal/sigintr.c: Likewise.
4963 * signal/signal.c: Likewise.
4964 * signal/sigpause.c: Likewise.
4965 * signal/sigpending.c: Likewise.
4966 * signal/sigqueue.c: Likewise.
4967 * signal/sigreturn.c: Likewise.
4968 * signal/sigset.c: Likewise.
4969 * signal/sigsetmask.c: Likewise.
4970 * signal/sigstack.c: Likewise.
4971 * signal/sigsuspend.c: Likewise.
4972 * signal/sigtimedwait.c: Likewise.
4973 * signal/sigvec.c: Likewise.
4974 * signal/sigwait.c: Likewise.
4975 * signal/sigwaitinfo.c: Likewise.
4976 * signal/sysv_signal.c: Likewise.
4977 * socket/accept.c: Likewise.
4978 * socket/accept4.c: Likewise.
4979 * socket/bind.c: Likewise.
4980 * socket/connect.c: Likewise.
4981 * socket/getpeername.c: Likewise.
4982 * socket/getsockname.c: Likewise.
4983 * socket/getsockopt.c: Likewise.
4984 * socket/isfdtype.c: Likewise.
4985 * socket/listen.c: Likewise.
4986 * socket/recv.c: Likewise.
4987 * socket/recvfrom.c: Likewise.
4988 * socket/recvmsg.c: Likewise.
4989 * socket/send.c: Likewise.
4990 * socket/sendmsg.c: Likewise.
4991 * socket/sendto.c: Likewise.
4992 * socket/setsockopt.c: Likewise.
4993 * socket/shutdown.c: Likewise.
4994 * socket/sockatmark.c: Likewise.
4995 * socket/socket.c: Likewise.
4996 * socket/socketpair.c: Likewise.
4997 * stdio-common/ctermid.c: Likewise.
4998 * stdio-common/cuserid.c: Likewise.
4999 * stdio-common/remove.c: Likewise.
5000 * stdio-common/rename.c: Likewise.
5001 * stdio-common/renameat.c: Likewise.
5002 * stdio-common/tempname.c: Likewise.
5003 * stdlib/getcontext.c: Likewise.
5004 * stdlib/makecontext.c: Likewise.
5005 * stdlib/setcontext.c: Likewise.
5006 * stdlib/swapcontext.c: Likewise.
5007 * stdlib/system.c: Likewise.
5008 * streams/fattach.c: Likewise.
5009 * streams/fdetach.c: Likewise.
5010 * streams/getmsg.c: Likewise.
5011 * streams/getpmsg.c: Likewise.
5012 * streams/putmsg.c: Likewise.
5013 * streams/putpmsg.c: Likewise.
5014 * sysdeps/unix/bsd/getpt.c: Likewise.
5015 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5016 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5017 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5019 Likewise.
5020 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5021 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5022 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5023 * sysvipc/msgctl.c: Likewise.
5024 * sysvipc/msgget.c: Likewise.
5025 * sysvipc/msgrcv.c: Likewise.
5026 * sysvipc/msgsnd.c: Likewise.
5027 * sysvipc/semctl.c: Likewise.
5028 * sysvipc/semget.c: Likewise.
5029 * sysvipc/semop.c: Likewise.
5030 * sysvipc/semtimedop.c: Likewise.
5031 * sysvipc/shmat.c: Likewise.
5032 * sysvipc/shmctl.c: Likewise.
5033 * sysvipc/shmdt.c: Likewise.
5034 * sysvipc/shmget.c: Likewise.
5035 * termios/tcdrain.c: Likewise.
5036 * termios/tcflow.c: Likewise.
5037 * termios/tcflush.c: Likewise.
5038 * termios/tcgetattr.c: Likewise.
5039 * termios/tcgetpgrp.c: Likewise.
5040 * termios/tcsendbrk.c: Likewise.
5041 * termios/tcsetattr.c: Likewise.
5042 * termios/tcsetpgrp.c: Likewise.
5043 * time/adjtime.c: Likewise.
5044 * time/clock.c: Likewise.
5045 * time/getitimer.c: Likewise.
5046 * time/gettimeofday.c: Likewise.
5047 * time/setitimer.c: Likewise.
5048 * time/settimeofday.c: Likewise.
5049 * time/stime.c: Likewise.
5050 * time/time.c: Likewise.
5051
50522012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5053
a20492cf
PT
5054 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5055 /usr/old/bin.
5056
72e182e3
PT
5057 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5058 instead of spaces.
5059 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5060
fbeafede
JM
50612012-11-03 Joseph Myers <joseph@codesourcery.com>
5062
5b5b04d6
JM
5063 [BZ #14796]
5064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5065 FE_TONEAREST before applying Dekker multiplication and Knuth
5066 addition. Clear inexact exceptions and check for exact zero
5067 results afterwards.
5068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5071 * math/libm-test.inc (fma_test): Add more tests.
5072 (fma_test_towardzero): Likewise.
5073 (fma_test_downward): Likewise.
5074 (fma_test_upward): Likewise.
5075 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5076 function.
5077 (libc_fesetround): New macro.
5078 (libc_fesetroundf): Likewise.
5079 (libc_fesetroundl): Likewise.
5080 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5081 function.
5082 (libc_fesetround_387): Likewise.
5083 (libc_fesetroundf): New macro.
5084 (libc_fesetround): Likewise.
5085 (libc_fesetroundl): Likewise.
5086 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5087 function.
5088 (libc_fesetroundf): New macro.
5089 (libc_fesetround): Likewise.
5090 (libc_fesetroundl): Likewise.
5091 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5092 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5093 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5094 libm_hidden_ver.
5095 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5096 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5097 libm_hidden_def.
5098 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5099 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5100 libm_hidden_ver.
5101 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5102 libm_hidden_def.
5103
fbeafede
JM
5104 [BZ #3439]
5105 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5106 integer constant usable in #if and use that to give value to enum
5107 constant.
5108 (FE_DIVBYZERO): Likewise.
5109 (FE_UNDERFLOW): Likewise.
5110 (FE_OVERFLOW): Likewise.
5111 (FE_INVALID): Likewise.
5112 (FE_INVALID_SNAN): Likewise.
5113 (FE_INVALID_ISI): Likewise.
5114 (FE_INVALID_IDI): Likewise.
5115 (FE_INVALID_ZDZ): Likewise.
5116 (FE_INVALID_IMZ): Likewise.
5117 (FE_INVALID_COMPARE): Likewise.
5118 (FE_INVALID_SOFTWARE): Likewise.
5119 (FE_INVALID_SQRT): Likewise.
5120 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5121 (FE_TONEAREST): Likewise.
5122 (FE_TOWARDZERO): Likewise.
5123 (FE_UPWARD): Likewise.
5124 (FE_DOWNWARD): Likewise.
5125 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5126 (FE_DIVBYZERO): Likewise.
5127 (FE_OVERFLOW): Likewise.
5128 (FE_UNDERFLOW): Likewise.
5129 (FE_INEXACT): Likewise.
5130 (FE_TONEAREST): Likewise.
5131 (FE_DOWNWARD): Likewise.
5132 (FE_UPWARD): Likewise.
5133 (FE_TOWARDZERO): Likewise.
5134 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5135 (FE_UNDERFLOW): Likewise.
5136 (FE_OVERFLOW): Likewise.
5137 (FE_DIVBYZERO): Likewise.
5138 (FE_INVALID): Likewise.
5139 (FE_TONEAREST): Likewise.
5140 (FE_TOWARDZERO): Likewise.
5141 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5142 (FE_OVERFLOW): Likewise.
5143 (FE_UNDERFLOW): Likewise.
5144 (FE_DIVBYZERO): Likewise.
5145 (FE_INEXACT): Likewise.
5146 (FE_TONEAREST): Likewise.
5147 (FE_TOWARDZERO): Likewise.
5148 (FE_UPWARD): Likewise.
5149 (FE_DOWNWARD): Likewise.
5150 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5151 (FE_DIVBYZERO): Likewise.
5152 (FE_OVERFLOW): Likewise.
5153 (FE_UNDERFLOW): Likewise.
5154 (FE_INEXACT): Likewise.
5155 (FE_TONEAREST): Likewise.
5156 (FE_DOWNWARD): Likewise.
5157 (FE_UPWARD): Likewise.
5158 (FE_TOWARDZERO): Likewise.
5159
105ca950
CM
51602012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5161
5162 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5163
a542b389
AS
51642012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5165
5166 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5167 commands. Quote $PWD.
5168 (blacklist_exports): Don't use remove_newlines. Replace "declare
5169 -x" by "export".
5170 (remove_newlines): Remove.
5171
f62c8abc
L
51722012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5175 * stdlib/stdlib.h (atof): Moved to ...
5176 * include/bits/stdlib-float.h: Here. New file.
5177 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5178 * stdlib/bits/stdlib-float.h: New file.
5179 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5180 -mno-sse -mno-mmx.
5181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5182 <xmmintrin.h>.
5183
0155d5b2
JM
51842012-11-02 Joseph Myers <joseph@codesourcery.com>
5185
a68d0680
JM
5186 * conform/conformtest.pl (@headers): Add fenv.h.
5187 * conform/data/fenv.h-data: New file.
5188 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5189 include of <math/fenv.h>.
5190
caf7f573
JM
5191 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5192 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5193 && !UNIX98]. Enables tests for XOPEN2K8.
5194 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5195 POSIX2008]: Likewise.
5196
6c073ad6
JM
5197 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5198 (struct rusage): Do not expect type or its members.
5199
0155d5b2
JM
5200 [BZ #3439]
5201 * math/math.h (FP_NAN): Define macro to integer constant usable in
5202 #if and use that to give value to enum constant.
5203 (FP_INFINITE): Likewise.
5204 (FP_ZERO): Likewise.
5205 (FP_SUBNORMAL): Likewise.
5206 (FP_NORMAL): Likewise.
5207
b5dcacb4
AS
52082012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5209
5210 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5211 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5212 arguments.
5213
f7934be8
RM
52142012-11-02 Roland McGrath <roland@hack.frob.com>
5215
5216 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5217 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5218 autoconf-time if not.
5219 * configure.in: Remove AC_PREREQ.
5220
d7d08bde
TMQMF
52212012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5222
5223 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5224 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5225 of the internal implementation.
5226
dcdae19a
JM
52272012-11-02 Joseph Myers <joseph@codesourcery.com>
5228
5229 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5230 except include of <misc/sys/syslog.h>.
5231
d6cffd3e
AS
52322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5233
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5235 function returns with a NULL context exit with zero.
5236
b3563932
TMQMF
52372012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5238
5239 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5240
b288a93d
L
52412012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5242
5243 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5244 (run_program_cmd): This.
5245 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5246 (tst_langinfo): New variable. Use it.
5247
a2421a68
SAS
52482012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5249
5250 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5251 floating point opcodes.
5252
6f796e1b
TS
52532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5254
7402596b
TS
5255 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5256 variable.
5257
d0d4f868
TS
5258 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5259
6f796e1b
TS
5260 * sysdeps/mach/hurd/powerpc: Remove directory.
5261 * sysdeps/mach/powerpc: Likewise.
5262
4da224a2
AS
52632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5264
5265 * scripts/check-local-headers.sh: Ignore c++ headers.
5266
341dd673
TS
52672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5268
5269 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5270 __libc_cleanup_region_start argument.
5271
473611b2
JM
52722012-11-01 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #14784]
5275 [BZ #14785]
5276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5277 x * y using scaling, not as x * y + z.
5278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5280 * math/libm-test.inc (fma_test): Add more tests.
5281 (fma_test_towardzero): Likewise.
5282 (fma_test_downward): Likewise.
5283 (fma_test_upward): Likewise.
5284
4078da3d
TS
52852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5286
5287 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5288
903252aa
JM
52892012-10-31 Joseph Myers <joseph@codesourcery.com>
5290
5291 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5292 New variable.
5293
cbc818d0
TS
52942012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5295
5296 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5297
5a03cb1e
AS
52982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5299
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5301 Fix sort order.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5303 Likewise.
5304
90aff2ff
TMQMF
53052012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5306
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5308 Fix the order of the list for glibc 2.17.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5310 Likewise.
5311
1818fcb7
AS
53122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5313
5314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5315
ef82f4da
JM
53162012-10-31 Joseph Myers <joseph@codesourcery.com>
5317
16a0e2ec
JM
5318 [BZ #14610]
5319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5320 for low part of x being zero before using __atanl (y).
5321 * math/libm-test.inc (atan2_test): Add another test.
5322
0eb69512
JM
5323 * manual/install.texi (Configuring and compiling): Document
5324 general use of test-wrapper and test-wrapper-env.
5325 * INSTALL: Regenerated.
5326
ef82f4da
JM
5327 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5328 (__fma): Do not extract and scale down low bits on after-rounding
5329 systems when result rounded to normal precision would have normal
5330 exponent.
5331 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5332 (__fmal): Do not extract and scale down low bits on after-rounding
5333 systems when result rounded to normal precision would have normal
5334 exponent.
5335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5336 (__fmal): Do not extract and scale down low bits on after-rounding
5337 systems when result rounded to normal precision would have normal
5338 exponent.
5339 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5340 macro.
5341 (fma_test): Add more tests.
5342 (fma_test_towardzero): Likewise.
5343 (fma_test_downward): Likewise.
5344 (fma_test_upward): Likewise.
5345
954ef0d9
L
53462012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5347
5348 * sysdeps/i386/tininess.h: Renamed to ...
5349 * sysdeps/x86/tininess.h: This.
5350 * sysdeps/x86_64/tininess.h: Removed.
5351
df61ffb2
JM
53522012-10-30 Joseph Myers <joseph@codesourcery.com>
5353
5354 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5355 input. Use $(build-program-cmd).
5356 ($(objpfx)tst-array1-static.out): Likewise.
5357 ($(objpfx)tst-array2.out): Likewise.
5358 ($(objpfx)tst-array3.out): Likewise.
5359 ($(objpfx)tst-array4.out): Likewise.
5360 ($(objpfx)tst-array5.out): Likewise.
5361 ($(objpfx)tst-array5-static.out): Likewise.
5362
01767843
CM
53632012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5364
47cc1490
CM
5365 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5366 if defined.
5367
01767843
CM
5368 * nss/nsswitch.h (nss_interface_function): Provide new
5369 macro for use with NSS functions.
5370 * grp/initgroups.c: Use new macro.
5371 * nss/getXXbyYY.c: Likewise.
5372 * nss/getXXbyYY_r.c: Likewise.
5373 * nss/getXXent.c: Likewise.
5374 * nss/getXXent_r.c: Likewise.
5375 * sysdeps/posix/getaddrinfo.c: Likewise.
5376
8321aa97
AJ
53772012-10-30 Andreas Jaeger <aj@suse.de>
5378
5379 * po/ru.po: Update Russion translation from translation project.
5380
2a27fd6d
JM
53812012-10-30 Joseph Myers <joseph@codesourcery.com>
5382
8627a232
JM
5383 [BZ #14152]
5384 [BZ #14783]
5385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5386 result and shift together with sticky bit instead of replicating
5387 round-to-nearest rounding.
5388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5390 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5391 missing underflow exceptions.
5392 (fma_test_towardzero): Add more tests.
5393 (fma_test_downward): Likewise.
5394 (fma_test_upward): Likewise.
5395
2a27fd6d
JM
5396 [BZ #14047]
5397 * sysdeps/generic/tininess.h: New file.
5398 * sysdeps/i386/tininess.h: Likewise.
5399 * sysdeps/sh/tininess.h: Likewise.
5400 * sysdeps/x86_64/tininess.h: Likewise.
5401 * stdlib/tst-strtod-underflow.c: Likewise.
5402 * stdlib/tst-tininess.c: Likewise.
5403 * stdlib/strtod_l.c: Include <tininess.h>.
5404 (round_and_return): Do not set errno for exact underflow cases.
5405 Force an underflow exception when setting errno for underflow.
5406 Determine underflow based on rounding to normal precision if
5407 TININESS_AFTER_ROUNDING.
5408 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5409 ERANGE for exact underflow cases.
5410 * stdlib/Makefile (tests): Add tst-tininess and
5411 tst-strtod-underflow.
5412 ($(objpfx)tst-tininess): Use $(link-libm).
5413 ($(objpfx)tst-strtod-underflow): Likewise.
5414
e7170363
AJ
54152012-10-30 Andreas Jaeger <aj@suse.de>
5416
e5088dc6
AJ
5417 [BZ#14767]
5418 * elf/Makefile (tests): Remove conditional for have-initfini-array
5419 since this is now always required and the variable does not exist
5420 anymore.
5421 (tests-static): Likewise.
5422 (modules-names): Likewise.
5423
e7170363 5424 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5425
5426 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5427 merged with constructor/destructor.
5428 (init_array): Likewise.
5429 * elf/tst-array2dep.c (fini_array): Likewise.
5430 (init_array): Likewise.
5431
60457d8a
MF
54322012-10-29 Mike Frysinger <vapier@gentoo.org>
5433
5434 * manual/message.texi: Delete @cartouche tags.
5435
8bece752
PT
54362012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5437
94ce799f
PT
5438 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5439 EOPNOTSUPP.
5440 * sysdeps/mach/hurd/fsync.c: Likewise.
5441
8bece752
PT
5442 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5443 [_POSIX_REALTIME_SIGNALS]: Change condition to
5444 [_POSIX_REALTIME_SIGNALS > 0].
5445
86ebe6b1
AJ
54462012-10-27 Andreas Jaeger <aj@suse.de>
5447
5448 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5449 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5451 [__WORDSIZE != 64]: Likewise.
5452
54399c08
L
54532012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * iconvdata/tst-table.sh: Remove ${SHELL}.
5456 * iconvdata/tst-tables.sh: Likewise.
5457
e2211bed
DM
54582012-10-25 David S. Miller <davem@davemloft.net>
5459
5460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5461 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5462 of strtoull.
5463
f303f97c
DM
5464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5465 ifunc-impl-list.c
5466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5467 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5468 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5469 file.
5470
1e9d84cd
RM
54712012-10-25 Roland McGrath <roland@hack.frob.com>
5472
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5474 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5475 __getdirentries.
5476
df381762
JM
54772012-10-25 Joseph Myers <joseph@codesourcery.com>
5478 Jim Blandy <jimb@codesourcery.com>
5479
5480 * scripts/cross-test-ssh.sh: New file.
5481 * manual/install.texi (Configuring and compiling): Document use of
5482 cross-test-ssh.sh.
5483 * INSTALL: Regenerated.
5484
bff64913
PT
54852012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5486
5487 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5488 EOPNOTSUPP.
5489
25fe8932
JM
54902012-10-25 Joseph Myers <joseph@codesourcery.com>
5491
5492 * Makeconfig (run-program-prefix): Fix comment.
5493
cc1290d0
JM
54942012-10-24 Joseph Myers <joseph@codesourcery.com>
5495 Jim Blandy <jimb@codesourcery.com>
5496
5497 * Makeconfig (test-wrapper): New variable,
5498 (test-wrapper-env): Likewise.
5499 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5500 (run-built-tests): Define to yes.
5501 (run-program-prefix): Use $(test-wrapper).
5502 (built-program-cmd): Likewise.
5503 * Rules (make-test-out): Use $(test-wrapper-env) and
5504 $(host-built-program-cmd).
5505 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5506 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5507 tst-pathopt.sh.
5508 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5509 $(test-wrapper-env) to tst-rtld-load-self.sh.
5510 ($(objpfx)order2.out): Use $(test-wrapper).
5511 ($(objpfx)tst-initorder.out): Likewise.
5512 ($(objpfx)tst-initorder2.out): Likewise.
5513 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5514 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5515 (test_wrapper_env): New variable. Use it to run ld.so.
5516 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5517 Use it to run ld.so.
5518 (test_wrapper_env): Likewise.
5519 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5520 $(test-wrapper) to run-iconv-test.sh.
5521 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5522 (ICONV): Use $test_wrapper.
5523 * posix/Makefile ($(objpfx)globtest.out): Pass
5524 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5525 globtest.sh, not $(run-program-prefix).
5526 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5527 (test_wrapper): Likewise.
5528 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5529 set together with run_via_rtld_prefix.
5530 (run_program_prefix): Define in terms of test_wrapper and
5531 run_via_rtld_prefix.
5532
6e6249d0
RM
55332012-10-24 Roland McGrath <roland@hack.frob.com>
5534
5535 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5536 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5537 Targets removed.
5538
5539 [BZ #14743]
5540 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5541 Declare __clock_getres, __clock_gettime, __clock_settime,
5542 __clock_nanosleep, and __clock_getcpuclockid.
5543 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5544 Remove librt_hidden_def (clock_gettime).
5545 * sysdeps/unix/clock_gettime.c: Likewise.
5546 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5548 * rt/clock_getres.c: Define __clock_getres as an alias.
5549 * sysdeps/posix/clock_getres.c: Likewise.
5550 * rt/clock_settime.c: Define __clock_settime as an alias.
5551 * sysdeps/unix/clock_settime.c: Likewise.
5552 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5553 * sysdeps/unix/clock_nanosleep.c: Likewise.
5554 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5555 * rt/clock-compat.c: New file.
5556 * rt/Makefile (librt-routines): Add clock-compat and move
5557 $(clock-routines) to ...
5558 (routines): ... here, new variable.
5559 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5560 Don't add get_clockfreq here.
5561 * rt/Versions (libc: GLIBC_2.17): New version set.
5562 Add clock_* symbols here.
5563 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5565 (GLIBC_2.17): Add clock_* symbols.
5566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5572 Likewise.
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5577 * NEWS: Mention the move.
5578
5579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5580 Use __open, __read, __close rather than their public counterparts.
5581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5582 (__get_clockfreq_via_cpuinfo): Likewise.
5583 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5584 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5585
5586 * config.h.in (HAVE_IFUNC): New #undef.
5587 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5588 was successful.
5589 * configure: Regenerated.
5590
0cae3f4b
MF
55912012-10-24 Mike Frysinger <vapier@gentoo.org>
5592
5593 * configure.in: Move READELF check to start of file.
5594 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5595 libc_cv_asm_gnu_indirect_function in the process.
5596 * configure: Regenerated.
5597
8175a253
MF
55982012-10-24 Mike Frysinger <vapier@gentoo.org>
5599
5600 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5601 send the output to /dev/null.
5602 (libc_cv_cc_with_libunwind): Likewise.
5603 (libc_cv_as_noexecstack): Likewise.
5604 * configure: Regenerate.
5605
0708a7d1
JM
56062012-10-24 Joseph Myers <joseph@codesourcery.com>
5607
10b40d85
JM
5608 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5609
0708a7d1
JM
5610 * posix/globtest.sh (TMPDIR): Do not set.
5611 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5612 (testout): Likewise.
5613
9fddec1a
AJ
56142012-10-24 Andreas Jaeger <aj@suse.de>
5615
3a8db22f
AJ
5616 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5617 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5618 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5619 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5620 posix_fadvise64, posix_fallocate64.
5621
9fddec1a
AJ
5622 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5623 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5624 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5625 Likewise.
5626 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5627 Likewise.
5628 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5629
5630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5631 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5632 <bits/fcntl-linux.h>.
5633 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5634
5635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5636 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5637 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5638 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5639 [__WORDSIZE != 64]: Likewise.
5640
ebfd1bbd
JM
56412012-10-23 Joseph Myers <joseph@codesourcery.com>
5642
03ac099f
JM
5643 * Makeconfig (run-built-tests): New variable.
5644 * Rules [$(cross-compiling) = yes]: Change condition to
5645 [$(run-built-tests) = no].
5646 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5647 to [$(run-built-tests) = yes].
5648 * elf/Makefile [$(cross-compiling) = no]: Likewise
5649 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5650 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5651 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5652 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5653 * io/Makefile [$(cross-compiling) = no]: Likewise.
5654 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5655 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5656 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5657 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5658 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5659 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5660 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5661 * string/Makefile [$(cross-compiling) = no]: Likewise.
5662
ebfd1bbd
JM
5663 * posix/Makefile ($(objpfx)globtest.out): Pass
5664 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5665 $(rtld-installed-name).
5666 * posix/globtest.sh (elf_objpfx): Remove variable.
5667 (rtld_installed_name): Likewise.
5668 (library_path): Likewise.
5669 (run_program_prefix): New variable. Use for running globtest
5670 binary.
5671
166bca24
JB
56722012-10-23 Jim Blandy <jimb@codesourcery.com>
5673 Joseph Myers <joseph@codesourcery.com>
5674
5675 * Makeconfig (host-built-program-cmd): New variable.
5676 * elf/Makefile (tst-stackguard1-ARGS): Use
5677 $(host-built-program-cmd).
5678 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5679 (tst-spawn-ARGS): Likewise.
5680 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5681
88866099
JM
56822012-10-23 Joseph Myers <joseph@codesourcery.com>
5683 Jim Blandy <jimb@codesourcery.com>
5684
5685 * Makeconfig (run-via-rtld-prefix): New variable.
5686 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5687 (built-program-cmd): Likewise.
5688
b4b4c296
AJ
56892012-10-22 Andreas Jaeger <aj@suse.de>
5690
5691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5692 __O_RSYNC if it exists, otherwise to O_SYNC.
5693
6fb54a22
JB
56942012-10-22 Jim Blandy <jimb@codesourcery.com>
5695 Joseph Myers <joseph@codesourcery.com>
5696
5697 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5698 /dev/null.
5699 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5700 from /dev/null
5701 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5702 /dev/null.
5703
481b90b9
AJ
57042012-10-22 Andreas Jaeger <aj@suse.de>
5705
2a0e2669
AJ
5706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5707 Define always.
5708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5709
76e38f9a
AJ
5710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5711 bits/fcntl-linux.h.
5712
7cd37b43
AJ
5713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5714 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5715
481b90b9
AJ
5716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5717 to __O_LARGEFILE.
5718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5719 to __O_LARGEFILE.
5720
aba75984
JB
57212012-10-21 Jim Blandy <jimb@codesourcery.com>
5722 Joseph Myers <joseph@codesourcery.com>
5723
5724 * config.make.in (NM): New variable.
5725
88d4247f
AJ
57262012-10-21 Andreas Jaeger <aj@suse.de>
5727
5728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5729 definitions and declarations that are provided by
5730 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5731
f2eed205
L
57322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 [BZ #14683]
5735 * elf/Makefile (tests-static): Add tst-leaks1-static.
5736 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5737 ($(objpfx)tst-leaks1-static): New rule.
5738 ($(objpfx)tst-leaks1-static-mem): Likewise.
5739 (tst-leaks1-static-ENV): New macro.
5740 * elf/dl-open.c (dl_open_worker): Check the main application
5741 only if SHARED is defined.
5742 * elf/tst-leaks1-static.c: New file.
5743
335e6931
AJ
57442012-10-20 Andreas Jaeger <aj@suse.de>
5745
5746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5747 generic values for Linux.
5748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5749 and declarations that are provided by <bits/fcntl-linux.h> and
5750 include <bits/fcntl-linux.h>.
5751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5753
ac5c94d3
RM
57542012-10-20 Roland McGrath <roland@hack.frob.com>
5755
5756 * io/fcntl.h: Move include of <bits/types.h> to the top and
5757 include it unconditionally.
5758
de54b33a
L
57592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5760
228cfb01
L
5761 * wcsmbs/Makefile (tests-ifunc): New variable.
5762 (tests): Add $(tests-ifunc).
5763 * wcsmbs/test-wcschr-ifunc.c: New file.
5764 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5765 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5766 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5767 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5768 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5769
69f07e5f
L
5770 * string/Makefile (tests-ifunc): New variable.
5771 (tests): Add $(tests-ifunc).
5772 * string/test-memccpy.c (TEST_NAME): New macro.
5773 * string/test-memchr.c (TEST_NAME): Likewise.
5774 * string/test-memcmp.c (TEST_NAME): Likewise.
5775 * string/test-memcpy.c (TEST_NAME): Likewise.
5776 * string/test-memmem.c (TEST_NAME): Likewise.
5777 * string/test-memmove.c (TEST_NAME): Likewise.
5778 * string/test-memset.c (TEST_NAME): Likewise.
5779 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5780 * string/test-stpcpy.c (TEST_NAME): Likewise.
5781 * string/test-stpncpy.c (TEST_NAME): Likewise.
5782 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5783 * string/test-strcasestr.c (TEST_NAME): Likewise.
5784 * string/test-strcat.c (TEST_NAME): Likewise.
5785 * string/test-strchr.c (TEST_NAME): Likewise.
5786 * string/test-strcmp.c(TEST_NAME): Likewise.
5787 * string/test-strcpy.c (TEST_NAME): Likewise.
5788 * string/test-strcspn.c (TEST_NAME): Likewise.
5789 * string/test-strlen.c (TEST_NAME): Likewise.
5790 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5791 * string/test-strncmp.c (TEST_NAME): Likewise.
5792 * string/test-strncpy.c (TEST_NAME): Likewise.
5793 * string/test-strnlen.c (TEST_NAME): Likewise.
5794 * string/test-strpbrk.c (TEST_NAME): Likewise.
5795 * string/test-strrchr.c (TEST_NAME): Likewise.
5796 * string/test-strspn.c (TEST_NAME): Likewise.
5797 * string/test-strstr.c (TEST_NAME): Likewise.
5798 * string/test-bcopy-ifunc.c: New file.
5799 * string/test-bzero-ifunc.c: Likewise.
5800 * string/test-memccpy-ifunc.c: Likewise.
5801 * string/test-memchr-ifunc.c: Likewise.
5802 * string/test-memcmp-ifunc.c: Likewise.
5803 * string/test-memcpy-ifunc.c: Likewise.
5804 * string/test-memmem-ifunc.c: Likewise.
5805 * string/test-memmove-ifunc.c: Likewise.
5806 * string/test-mempcpy-ifunc.c: Likewise.
5807 * string/test-memset-ifunc.c: Likewise.
5808 * string/test-rawmemchr-ifunc.c: Likewise.
5809 * string/test-stpcpy-ifunc.c: Likewise.
5810 * string/test-stpncpy-ifunc.c: Likewise.
5811 * string/test-strcasecmp-ifunc.c: Likewise.
5812 * string/test-strcasestr-ifunc.c: Likewise.
5813 * string/test-strcat-ifunc.c: Likewise.
5814 * string/test-strchr-ifunc.c: Likewise.
5815 * string/test-strchrnul-ifunc.c: Likewise.
5816 * string/test-strcmp-ifunc.c: Likewise.
5817 * string/test-strcpy-ifunc.c: Likewise.
5818 * string/test-strcspn-ifunc.c: Likewise.
5819 * string/test-strlen-ifunc.c: Likewise.
5820 * string/test-strncasecmp-ifunc.c: Likewise.
5821 * string/test-strncat-ifunc.c: Likewise.
5822 * string/test-strncmp-ifunc.c: Likewise.
5823 * string/test-strncpy-ifunc.c: Likewise.
5824 * string/test-strnlen-ifunc.c: Likewise.
5825 * string/test-strpbrk-ifunc.c: Likewise.
5826 * string/test-strrchr-ifunc.c: Likewise.
5827 * string/test-strspn-ifunc.c: Likewise.
5828 * string/test-strstr-ifunc.c: Likewise.
5829
de54b33a
L
5830 * debug/Makefile (tests-ifunc): New variable.
5831 (tests): Add $(tests-ifunc).
5832 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5833 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5834 * debug/test-stpcpy_chk-ifunc.c: New file.
5835 * debug/test-strcpy_chk-ifunc.c: Likewise.
5836
88481c16
SP
58372012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5838
5839 [BZ #13601]
5840 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5841 header is not read in.
5842
135948bd
JM
58432012-10-19 Joseph Myers <joseph@codesourcery.com>
5844
89f1c388
JM
5845 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5846 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5847 directly. Pass built executable to script as
5848 $(built-program-cmd).
5849 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5850 $testprogram without using LD_LIBRARY_PATH and $ldso.
5851
e40a0d21
JM
5852 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5853 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5854 $(rtld-installed-name).
5855 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5856 (rtld_installed_name): Likewise.
5857 (library_path): Likewise.
5858 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5859 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5860 $(run-program-prefix) to tst-tables.sh.
5861 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5862 it to run tst-table-from and tst-table-to.
5863 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5864 Pass it to tst-table.sh.
5865 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5866 $(run-program-prefix) to tst-gettext.sh.
5867 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5868 tst-translit.sh.
5869 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5870 tst-gettext2.sh.
5871 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5872 to run tst-gettext.
5873 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5874 to run tst-gettext2.
5875 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5876 to run tst-translit.
5877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5878 $(run-program-prefix) to tst-mtrace.sh.
5879 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5880 to run tst-mtrace.
5881 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5882 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5883 $(rtld-installed-name).
5884 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5885 (rtld_installed_name): Likewise.
5886 (run_program_prefix): New variable. Use it to run wordexp-test.
5887
728e272a
JM
5888 * Makeconfig (ARCH): Remove all definitions.
5889 (machine): Likewise.
5890 [ARCH]: Remove conditional code.
5891 [!objdir]: Give error.
5892 [!objdir] (objpfx): Remove.
5893 [!objdir] (common-objpfx): Likewise.
5894 [!objdir] (common-objdir): Likewise.
5895 * configure.in (config_makefile): Remove. Hardcode Makefile in
5896 AC_CONFIG_FILES call.
5897 * configure: Regenerated.
5898
d528cdcf
JM
5899 [BZ #13888]
5900 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5901 or TMPDIR.
5902 (testout): Likewise.
5903
135948bd
JM
5904 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5905 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5906 $(rtld-installed-name).
5907 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5908 (rtld_installed_name): Likwise.
5909 (runit): Remove function.
5910 (run_getconf): New variable, Use it for running getconf binary.
5911
38c78296
L
59122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5913
5914 [BZ #14716]
5915 * string/test-memmem.c (check_result): New function.
5916 (do_one_test): Use it.
5917 (check1): New function.
5918 (test_main): Use it.
5919
d077f65f
MT
59202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5921
5922 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5923
ced52c71
JM
59242012-10-18 Joseph Myers <joseph@codesourcery.com>
5925
5926 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5927 (_G_LSEEK64): Likewise.
5928 (_G_MMAP64): Likewise.
5929 (_G_FSTAT64): Likewise.
5930 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5931 (_G_LSEEK64): Likewise.
5932 (_G_MMAP64): Likewise.
5933 (_G_FSTAT64): Likewise.
5934 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5935 unconditional. Call __mmap64 directly.
5936 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5937 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5938 __lseek64 directly.
5939 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5940 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5941 __mmap64 directly.
5942 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5943 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5944 __lseek64 directly.
5945 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5946 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5947 __lseek64 directly.
5948 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5949 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5950 __lseek64 directly.
5951 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5952 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5953 __fxstat64 directly.
5954 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5955 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5956 unconditional.
5957 (freopen64) [!_G_OPEN64]: Remove conditional code.
5958 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5959 unconditional.
5960 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5961 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5962 unconditional.
5963 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5964 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5965 unconditional.
5966 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5967 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5968 unconditional.
5969 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5970 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5971 unconditional.
5972 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5973 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5974 unconditional.
5975 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5976 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5977 unconditional.
5978 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5979
b741de23
SP
59802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5981
5982 [BZ #12140]
5983 * manual/memory.texi (Malloc Tunable Parameters): Add note
5984 about free list pointers overwriting some perturb bytes.
5985 Wording suggested by Roland McGrath.
5986
f9b9d9c9
JM
59872012-10-17 Joseph Myers <joseph@codesourcery.com>
5988
5989 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5990 (lgamma_test): Likewise.
5991 (tgamma_test): Likewise.
5992
172a631a
FW
59932012-10-16 Florian Weimer <fweimer@redhat.com>
5994
5995 [BZ #14700]
5996 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5997 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5998
e9f37252
MK
59992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6000
6001 * NEWS: Mention BZ #14716.
6002 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6003 when removing AVAILABLE1_USES_J macro.
6004
d394eb74
L
60052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6006
6007 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6008 (__bswap_64): __uint64_t for unsigned 64-bit int.
6009
ca38dc17
AS
60102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * include/string.h (memmem): Declare libc hidden alias.
6013 * string/memmem.c (memmem): Define libc hidden alias.
6014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6015 __read, __close instead of open, read, close.
6016
9a387d1f
L
60172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6018
ac49ecaf
L
6019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6020 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6021 global and hidden.
6022 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6023 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6024 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6025 Likewise.
6026 (__rawmemchr_sse2): Likewise.
6027 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6028 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6029 (__strchr_sse2): Likewise.
6030 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6031 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6032 (__strcasecmp_sse2): Likewise.
6033 (__strncasecmp_sse2): Likewise.
6034 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6035 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6036 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6037 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6038 (__strrchr_sse2): Likewise.
6039 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6040 ifunc-impl-list.c.
6041 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6042 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6043 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6044 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6045 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6046 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6047 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6048 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6049 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6050 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6051 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6052 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6053 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6054 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6055 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6056 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6057 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6058 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6063 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6067 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6069 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6070 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6071
b090e8ea
L
6072 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6073 global and hidden.
6074 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6075 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6076 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6077 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6078 Likewise.
6079 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6080 Likewise.
6081 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6082 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6083 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6084 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6085 ifunc-impl-list.c.
6086 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6104 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6127
11dd4af6
L
6128 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6129 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6130 * include/ifunc-impl-list.h: New file.
6131 * misc/ifunc-impl-list.c: Likewise.
6132 * misc/Makefile (routines): Add ifunc-impl-list.
6133 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6134 * string/test-string.h: Include <ifunc-impl-list.h>.
6135 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6136 impl_array): New variables.
6137 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6138 are defined.
6139 (test_init): Call __libc_ifunc_impl_list to initialize
6140 func_list if TEST_IFUNC and TEST_NAME are defined.
6141
9a387d1f
L
6142 * string/Makefile (strop-tests): Add bcopy and bzero.
6143 * string/test-bcopy.c: New file.
6144 * string/test-bzero.c: Likewise.
6145 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6146 defined.
6147 * string/test-memset.c: Support bzero test if TEST_BZERO is
6148 defined.
6149 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6150 __libc_memmove.
6151 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6152 __libc_memset.
6153 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6154 of memset.
6155
472371b9
JM
61562012-10-10 Joseph Myers <joseph@codesourcery.com>
6157
1e4a9536
JM
6158 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6159 * configure: Regenerated.
6160
d173d12e
JM
6161 * Makeconfig (+link-static-before-libc): Don't include
6162 $(link-static-libc).
6163
472371b9
JM
6164 * libio/libio.h (_IO_pos_t): Remove.
6165
89a3ad0b
AO
61662012-10-10 Alexandre Oliva <aoliva@redhat.com>
6167
6168 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6169 McGrath.
6170
e7451425
AO
61712012-10-10 Alexandre Oliva <aoliva@redhat.com>
6172
6173 * crypt/crypt-entry.c: Include fips-private.h.
6174 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6175 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6176 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6177 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6178
4ba74a35
AO
61792012-10-10 Alexandre Oliva <aoliva@redhat.com>
6180
6181 * crypt/crypt-private.h: Include stdbool.h.
6182 (_ufc_setup_salt_r): Return bool.
6183 * crypt/crypt-entry.c: Include errno.h.
6184 (__crypt_r): Return NULL with EINVAL for bad salt.
6185 * crypt/crypt_util.c (bad_for_salt): New.
6186 (_ufc_setup_salt_r): Check that salt is long enough and within
6187 the specified alphabet.
6188 * crypt/badsalttest.c: New file.
6189 * crypt/Makefile (tests): Add it.
6190 ($(objpfx)badsalttest): New.
6191
f96f1242
MK
61922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6193
6194 * NEWS: Add entry for BZ #14602.
6195
0e8e0c1c
JM
61962012-10-09 Joseph Myers <joseph@codesourcery.com>
6197
6198 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6199 type-generic.
6200 * math/libm-test.inc: Update comment listing what functions and
6201 macros are tested.
6202 (isgreater_test): New function.
6203 (isgreaterequal_test): Likewise.
6204 (isless_test): Likewise.
6205 (islessequal_test): Likewise.
6206 (islessgreater_test): Likewise.
6207 (isunordered_test): Likewise.
6208 (main): Call the new functions.
6209
273edc5e
RM
62102012-10-09 Roland McGrath <roland@hack.frob.com>
6211
b8493de0
RM
6212 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6213 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6214 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6215 * sysdeps/i386/configure: Regenerated.
6216 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6217 * sysdeps/mach/configure: Regenerated.
6218 * sysdeps/mach/hurd/configure: Regenerated.
6219 * sysdeps/powerpc/configure: Regenerated.
6220 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6221 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6222 * sysdeps/s390/s390-32/configure: Regenerated.
6223 * sysdeps/s390/s390-64/configure: Regenerated.
6224 * sysdeps/sh/configure: Regenerated.
6225 * sysdeps/sparc/configure: Regenerated.
6226 * sysdeps/unix/sysv/linux/configure: Regenerated.
6227 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6228 * sysdeps/x86_64/configure: Regenerated.
6229
273edc5e
RM
6230 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6231 defined. Don't check if MAP is NULL.
6232
c8450f70
JM
62332012-10-09 Joseph Myers <joseph@codesourcery.com>
6234
6235 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6236 (_G_stat64): Likewise.
6237 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6238 (_G_stat64): Likewise.
6239 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6240 instead of struct _G_stat64.
6241 * libio/fileops.c (mmap_remap_check): Likewise.
6242 (decide_maybe_mmap): Likewise.
6243 (_IO_new_file_seekoff): Likewise.
6244 (_IO_file_stat): Likewise.
6245 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6246 _G_off64_t.
6247 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6248 instead of struct _G_stat64.
6249 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6250
57e605ba
MK
62512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6252
6253 [BZ #14602]
6254 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6255 Replace with ...
6256 (CHECK_EOL): New macro.
6257 (two_way_short_needle): Check beginning of haystack for EOL. Use
6258 CHECK_EOL.
6259 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6260 Replace with CHECK_EOL.
6261 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6262 Replace with CHECK_EOL.
6263
ef1bb361
JM
62642012-10-08 Joseph Myers <joseph@codesourcery.com>
6265
6266 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6267 type-generic.
6268 * math/libm-test.inc: Update comment listing what functions and
6269 macros are tested.
6270 (finite_test): New function.
6271 (isinf_test): Likewise.
6272 (isnan_test): Likewise.
6273 (fpclassify_test): Test subnormal input.
6274 (isfinite_test): Likewise.
6275 (isnormal_test): Likewise.
6276 (main): Call the new functions.
6277
55f11534
JN
62782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6279
6280 [BZ #14660]
6281 * Makerules (%.dynsym): Force C locale when running
6282 $(OBJDUMP) --dynamic-syms.
6283
1ab29350
AS
62842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6285
6286 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6287 <stdint.h>.
6288
f1ecb7ef
DM
62892012-10-06 David S. Miller <davem@davemloft.net>
6290
6291 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6292 upper 32-bits of the length value in %o2 since we use branch-on-register
6293 tests which consider the entire 64-bit register.
6294
5d41d91a
L
62952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6296
6297 * string/test-strstr.c (check2): Add a test for page boundary.
6298
3baddb72
DM
62992012-10-05 David S. Miller <davem@davemloft.net>
6300
6301 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6302 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6303 file.
6304 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6305 sysdep_routines.
6306 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6307 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6308 and bzero when HWCAP_SPARC_CRYPTO is present.
6309
9cee5585
L
63102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6311
d7e0dab9
L
6312 [BZ #14602]
6313 * string/test-strstr.c (check2): New function.
6314 (test_main): Call check2.
6315
03759f47
L
6316 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6317 and bug-strchr1.
6318 * string/bug-strcasestr1.c (do_test): Moved to ...
6319 * string/test-strcasestr.c (check1): Here. New function.
6320 (do_one_test): Break out result checking code into ...
6321 (check_result): This. New function.
6322 (do_one_test): Call check_result.
6323 (test_main): Call check1.
6324 * string/bug-strchr1.c (do_test): Moved to ...
6325 * string/test-strchr.c (check1): Here. New function.
6326 (do_one_test): Break out result checking code into ...
6327 (check_result): This. New function.
6328 (do_one_test): Call check_result.
6329 (test_main): Call check1.
6330 * string/bug-strstr1.c (main): Moved to ...
046f153e 6331 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6332 (do_one_test): Break out result checking code into ...
6333 (check_result): This. New function.
6334 (do_one_test): Call check_result.
6335 (test_main): Call check1.
6336 * string/bug-strcasestr1.c: Removed.
6337 * string/bug-strchr1.c: Likewise.
6338 * string/bug-strstr1.c: Likewise.
6339
53cea63e
L
6340 * elf/Makefile (dl-routines): Add hwcaps.
6341 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6342 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6343 (_dl_important_hwcaps): Moved to ...
6344 * elf/dl-hwcaps.c: Here. New file.
6345 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6346
9cee5585 6347 [BZ #14557]
bb859b06
L
6348 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6349 if IS_IN_rtld isn't defined.
6350
9cee5585
L
6351 * elf/dl-support.c (_dl_sysinfo_map): New.
6352 Include "get-dynamic-info.h" and "setup-vdso.h".
6353 (_dl_non_dynamic_init): Call setup_vdso.
6354 * elf/dynamic-link.h: Don't include <assert.h>.
6355 (elf_get_dynamic_info): Moved to ...
6356 * elf/get-dynamic-info.h: Here. New file.
6357 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6358 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6359 * elf/setup-vdso.h: Here. New file.
6360 * elf/rtld.c: Include "setup-vdso.h".
6361 (dl_main): Call setup_vdso.
6362
23c31b76
JM
63632012-10-05 Joseph Myers <joseph@codesourcery.com>
6364
28234b07
JM
6365 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6366 creal in comment listing functions tested. List finite, isinf,
6367 isnan, isless, islessequal, isgreater, isgreaterequal,
6368 islessgreater, isunordered, lgamma_r and pow10 as functions and
6369 macros not tested. Mention which functions not tested are aliases
6370 for other functions. Fix typo. Note that signs of NaNs are not
6371 tested.
6372
23c31b76
JM
6373 * scripts/config.guess: Update from config.git.
6374 * scripts/config.sub: Likewise.
6375
9043e228
RM
63762012-10-04 Roland McGrath <roland@hack.frob.com>
6377
6378 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6379 * misc/madvise.c (madvise): Renamed to __madvise.
6380 Make madvise a weak alias.
6381 * include/sys/mman.h: Declare __madvise.
6382 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6383 * sysdeps/unix/syscalls.list
6384 (madvise): Make __madvise the strong name, and madvise a weak alias.
6385 * sysdeps/unix/sysv/linux/syscalls.list
6386 (madvise, mmap): Remove redundant entries.
6387 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6388 * malloc/malloc.c (mtrim): Likewise.
6389 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6390
f57f8055
RM
63912012-10-03 Roland McGrath <roland@hack.frob.com>
6392
6393 * sysdeps/mach/hurd/dl-cache.c: File removed.
6394 * config.h.in (USE_LDCONFIG): New #undef.
6395 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6396 * configure: Regenerated.
6397 * elf/Makefile (dl-routines): Add dl-cache only under
6398 [$(use-ldconfig) = yes].
6399 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6400 cache on [USE_LDCONFIG].
6401 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6402 [USE_LDCONFIG].
6403 * elf/rtld.c (dl_main): Likewise.
6404
5bb0c10a
PT
64052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6406
6407 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6408 _SC_LEVEL4_CACHE_LINESIZE.
6409
010188c6
RM
64102012-10-03 Roland McGrath <roland@hack.frob.com>
6411
6412 * sysdeps/unix/bsd/confstr.h: File removed.
6413
b6c5ec07
AO
64142012-10-02 Alexandre Oliva <aoliva@redhat.com>
6415
6416 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6417 sys/sdt-config.h.
6418
408223d4
RM
64192012-10-02 Roland McGrath <roland@hack.frob.com>
6420
6421 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6422 Make 'mapoff' field ElfW(Off) rather than off_t.
6423
bb9510dc
DL
64242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6425
fc997c6e
DL
6426 * nscd/Makefile: Remove nscd-cflags and all its users.
6427 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6428 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6429
bb9510dc
DL
6430 [BZ #10631]
6431 * malloc.c (malloc_printerr): Clarify error message.
6432
05699367
L
64332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6434
6435 [BZ #14648]
6436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6437 Set bit_FMA_Usable if FMA is supported.
6438 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6439 macro.
6440 (bit_FMA4_Usable): Updated.
6441 (index_FMA_Usable): New macro.
6442 (CPUID_FMA): Likewise
6443 (HAS_FMA): Defined with bit_FMA_Usable.
6444
51367701
RM
64452012-10-01 Roland McGrath <roland@hack.frob.com>
6446
6447 * bits/types.h (__swblk_t): Type removed.
6448 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6449 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6451 (__SWBLK_T_TYPE): Likewise.
6452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6453 (__SWBLK_T_TYPE): Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6455 (__SWBLK_T_TYPE): Likewise.
6456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6457 (__SWBLK_T_TYPE): Likewise.
6458
4d57bf63 64592012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6460 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6461
6462 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6463 (xdr_mapname): Use YPMAXMAP as maxsize.
6464 (xdr_peername): Use YPMAXPEER as maxsize.
6465 (xdr_keydat): Use YPAXRECORD as maxsize.
6466 (xdr_valdat): Use YPMAXRECORD as maxsize.
6467
93c65d43
RM
64682012-10-01 Roland McGrath <roland@hack.frob.com>
6469
497a03d6
RM
6470 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6471
93c65d43
RM
6472 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6473 * csu/init-first.c: ... here.
6474 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6475 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6477 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6478 * sysdeps/i386/init-first.c: File removed.
6479 * sysdeps/sh/init-first.c: File removed.
6480
bec749fd
JM
64812012-10-01 Joseph Myers <joseph@codesourcery.com>
6482
6483 [BZ #14645]
6484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6485 if x * y might underflow to zero and z is zero.
6486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6488 * math/libm-test.inc (min_subnorm_value): New variable.
6489 (fma_test): Add more tests.
6490 (fma_test_towardzero): Likewise.
6491 (fma_test_downward): Likewise
6492 (fma_test_upward): Likewise.
6493 (initialize): Set min_subnorm_value.
6494
8ec5b013
JM
64952012-09-29 Joseph Myers <joseph@codesourcery.com>
6496
6497 [BZ #14638]
6498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6499 0 + 0.
6500 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6501 mode for addition resulting in exact zero.
6502 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6504 exact 0 + 0.
6505 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6507 * math/libm-test.inc (fma_test): Add more tests.
6508 (fma_test_towardzero): New function.
6509 (fma_test_downward): Likewise.
6510 (fma_test_upward): Likewise.
6511 (main): Call the new functions.
6512
b1fa802e
DM
65132012-09-28 David S. Miller <davem@davemloft.net>
6514
6515 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6516
d3b9fd9e
RM
65172012-09-28 Roland McGrath <roland@hack.frob.com>
6518
ea4d37b3
RM
6519 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6520 instead of SIGALRM.
6521
ac51c949
RM
6522 * sysdeps/gnu/_G_config.h: Moved to ...
6523 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6524 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6525 * sysdeps/generic/_G_config.h: ... here.
6526
28c195f7
RM
6527 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6528
848917f9
RM
6529 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6530
6bacf05b
RM
6531 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6532 Conditionalize target on [libnss_test1.so-version].
6533
91363dbb
RM
6534 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6535
cc87f7d8
RM
6536 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6537 (elfobjdir): Move out of conditionals.
6538
b1c608fe
RM
6539 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6540 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6541 (__nss_lookup_function): Conditionalize label remove_from_tree on
6542 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6543
1d9a6d96
DM
65442012-09-28 David S. Miller <davem@davemloft.net>
6545
6546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6548 file.
6549 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6550 sysdep_routines.
6551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6553 when HWCAP_SPARC_CRYPTO is present.
6554
72581615
PT
65552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6556
6557 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6558
715a900c
JL
65592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6560
6561 [BZ #6530]
6562 * stdio-common/vfprintf.c (process_string_arg): Revert
6563 2000-07-22 change.
6564
65652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6566
6567 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6568 for testcase.
6569 * stdio-common/tst-sprintf.c: Include <locale.h>
6570 (main): Test sprintf's handling of incomplete multibyte
6571 characters.
6572
9bac1d86
L
65732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6574
6575 * elf/dl-runtime.c (VERSYMIDX): Removed.
6576 * elf/dl-version.c (VERSYMIDX): Likewise.
6577 * elf/do-rel.h (VERSYMIDX): Likewise.
6578 (VALIDX): Likewise.
6579 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6580 * elf/rtld.c (VALIDX): Likewise.
6581 (ADDRIDX): Likewise.
9bac1d86
L
6582 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6583 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6584 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6585 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6586 (VALIDX): Likewise.
6587 (ADDRIDX): Likewise.
9bac1d86 6588
b31606c0
PT
65892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6590
6591 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6592
11541177
JL
65932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6594
6595 [BZ #11438]
6596 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6597 to global scope.
6598 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6599 addresses are in the same scope as 192.0.2/24.
6600 * posix/gai.conf: Document new scope table defaults.
6601
adb26fae
SP
66022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6603
6604 [BZ #5298]
6605 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6606 for ftell. Compute offsets from write pointers instead.
6607 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6608
4573c6b0
SP
66092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6610
6611 [BZ #14543]
6612 * libio/Makefile (tests): New test case tst-fseek.
6613 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6614 combination works in wide mode.
6615 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6616 state when the external buffer state changes.
6617
aa9bbfe6
DM
66182012-09-27 David S. Miller <davem@davemloft.net>
6619
6620 [BZ #14376]
6621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6622 pass reloc->r_addend in as the 'high' argument to
6623 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6624
784421e7
DM
6625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6626
c39bc8b8
PT
66272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6628
6629 * rt/tst-aio2.c: Include <pthread.h>.
6630 * rt/tst-aio3.c: Likewise.
6631
1ccc2399
SE
66322012-09-27 Steve Ellcey <sellcey@mips.com>
6633
6634 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6635
31ed4153
L
66362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6637
25f5f885
L
6638 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6639 contents on [SHARED].
31ed4153 6640
b7bfe116
MP
66412012-09-26 Marek Polacek <polacek@redhat.com>
6642
6643 [BZ #14530]
6644 [BZ #13741]
6645 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6646 for C++ and GCC <4.3 as well as for non GCC compilers.
6647
43c4edba
MT
66482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6649
6650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6651
6a1bf82f
RM
66522012-09-25 Roland McGrath <roland@hack.frob.com>
6653
6654 * Makefile.in (all, install): Declare with .PHONY.
6655 Reported by Michael Hope <michael.hope@linaro.org>.
6656
8ad11b9a
TMQMF
66572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6658
6659 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6660 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6661 system header.
6662 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6663 Likewise.
6664 (sydep_routines): Add the new and the internal functions.
6665 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6666 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6668 (GLIBC_2.17): Add the new function.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6670 (GLIBC_2.17): Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6672 (GLIBC_2.17): Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6674 (GLIBC_2.17): Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6676
7e2fca8d
AM
66772012-09-25 Alan Modra <amodra@gmail.com>
6678
6679 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6680 Add release barrier before setting once_control to say
6681 initialisation is done. Add hints on lwarx. Use macro in
6682 place of isync.
6683 (clear_once_control): Add release barrier.
6684
b87c4b24
JM
66852012-09-25 Joseph Myers <joseph@codesourcery.com>
6686
d032e0d2
JM
6687 [BZ #13629]
6688 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6689 specially.
6690 * math/s_clog10.c (__clog10): Likewise.
6691 * math/s_clog10f.c (__clog10f): Likewise.
6692 * math/s_clog10l.c (__clog10l): Likewise.
6693 * math/s_clogf.c (__clogf): Likewise.
6694 * math/s_clogl.c (__clogl): Likewise.
6695 * math/Makefile (libm-calls): Add x2y2m1.
6696 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6697 (__x2y2m1): Likewise.
6698 (__x2y2m1l): Likewise.
6699 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6700 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6705 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6706 * sysdeps/i386/fpu/libm-test-ulps: Update.
6707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6708
b87c4b24
JM
6709 [BZ #14621]
6710 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6711 int as type of variable DEPTH.
6712 (glob): Use size_t instead of int as type of variables NEWCOUNT
6713 and OLD_PATHC.
6714
6d3bf199
LD
67152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6716
22bf5c17
LD
6717 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6718 Add s_sincosf-sse2.
6719 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6721 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6722 macros for using routine as __sincosf_ia32.
6723 Use macro for function declaration and weak_alias.
6724 * sysdeps/i386/fpu/libm-test-ulps: Update.
6725
6726 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6728
6729 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6730 subnormal argument.
6731 * math/s_cexpf.c (__cexpf): Likewise.
6732 * math/s_csinf.c (__csinf): Likewise.
6733 * math/s_csinhf.c (__csinhf): Likewise.
6734 * math/s_ctanf.c (__ctanf): Likewise.
6735 * math/s_ctanhf.c (__ctanhf): Likewise.
6736 * math/s_ccosh.c (__ccoshf): Likewise.
6737 * math/s_cexp.c (__cexpl): Likewise.
6738 * math/s_csin.c (__csin): Likewise.
6739 * math/s_csinh.c (__csinh): Likewise.
6740 * math/s_ctan.c (__ctan): Likewise.
6741 * math/s_ctanh.c (ctanh): Likewise.
6742 * math/s_ccoshl.c (__ccoshl): Likewise.
6743 * math/s_cexpl.c (__cexpl): Likewise.
6744 * math/s_csinl.c (__csinl): Likewise.
6745 * math/s_csinhl.c (__csinhl): Likewise.
6746 * math/s_ctanl.c (__ctanl): Likewise.
6747 * math/s_ctanhl.c (__ctanhl): Likewise.
6748
203e5603
JM
67492012-09-25 Joseph Myers <joseph@codesourcery.com>
6750
6751 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6752 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6753 (_IO_off_t): Define to __off_t, not _G_off_t.
6754 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6755 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6756 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6757 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6758 type of __dummy and __dummy2 fields.
6759 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6760 (_G_ssize_t): Likewise.
6761 (_G_off_t): Likewise.
6762 (_G_pid_t): Likewise.
6763 (_G_uid_t): Likewise.
6764 (_G_wchar_t): Likewise.
6765 (_G_wint_t): Likewise.
6766 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6767 (_G_ssize_t): Likewise.
6768 (_G_off_t): Likewise.
6769 (_G_pid_t): Likewise.
6770 (_G_uid_t): Likewise.
6771 (_G_wchar_t): Likewise.
6772 (_G_wint_t): Likewise.
6773 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6774 (_G_ssize_t): Likewise.
6775 (_G_off_t): Likewise.
6776 (_G_pid_t): Likewise.
6777 (_G_uid_t): Likewise.
6778 (_G_wchar_t): Likewise.
6779 (_G_wint_t): Likewise.
6780
9fab36eb
SP
67812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6782
6783 * malloc/arena.c: Include malloc-sysdep.h.
6784 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6785 is sufficient to shrink the heap or an unmap is needed.
6786 * sysdeps/generic/malloc-sysdep.h: New file. Define
6787 new function check_may_shrink_heap.
6788 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6789 new function check_may_shrink_heap.
6790
2b4f00d1
SP
67912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6792
6793 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6794 comments.
6795
9a9028b1
DL
67962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6797
57c69bef
DL
6798 * catgets/test-gencat.sh: Add "set -e".
6799 * elf/tst-pathopt.sh: Likewise.
6800 * grp/tst_fgetgrent.sh: Likewise.
6801 * iconvdata/run-iconv-test.sh: Likewise.
6802 * intl/tst-gettext.sh: Likewise.
6803 * intl/tst-gettext2.sh: Likewise.
6804 * intl/tst-gettext4.sh: Likewise.
6805 * intl/tst-gettext6.sh: Likewise.
6806 * intl/tst-translit.sh: Likewise.
6807 * io/ftwtest-sh: Likewise.
6808 * libio/test-freopen.sh: Likewise.
6809 * malloc/tst-mtrace.sh: Likewise.
6810 * posix/globtest.sh: Likewise.
6811 * posix/tst-getconf.sh: Likewise.
6812 * posix/wordexp-tst.sh: Likewise.
6813 * stdio-common/tst-printf.sh: Likewise.
6814 * stdio-common/tst-unbputc.sh: Likewise.
6815 * stdlib/tst-fmtmsg.sh: Likewise.
6816 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6817 * catgets/Makefile: Do not specify -e option when running
6818 testsuite shell scripts.
6819 * elf/Makefile: Likewise.
6820 * grp/Makefile: Likewise.
6821 * iconvdata/Makefile: Likewise.
6822 * intl/Makefile: Likewise.
6823 * io/Makefile: Likewise.
6824 * libio/Makefile: Likewise.
6825 * malloc/Makefile: Likewise.
6826 * posix/Makefile: Likewise.
6827 * stdio-common/Makefile: Likewise.
6828 * stdlib/Makefile: Likewise.
6829 * sysdeps/x86_64/Makefile: Likewise.
6830
9a9028b1
DL
6831 * io/ftwtest-sh: Add copyright header.
6832 * posix/globtest.sh: Likewise.
6833 * posix/tst-getconf.sh: Likewise.
6834 * posix/wordexp-tst.sh: Likewise.
6835 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6836
ced6f16e
L
68372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6838
94b32c39
L
6839 [BZ #13679]
6840 * Makeconfig (+link): Defined as $(+link-static) if
6841 $(build-shared) isn't yes.
6842 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6843 isn't yes.
6844 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6845
189e935b
L
6846 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6847
ced6f16e
L
6848 [BZ #14562]
6849 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6850 new chunk size with MALLOC_ALIGN_MASK.
6851
a9f8e53a
JM
68522012-09-24 Joseph Myers <joseph@codesourcery.com>
6853
6854 [BZ #5044]
6855 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6856 <rounding-mode.h>.
6857 (__printf_fphex): Determine rounding using get_rounding_mode and
6858 round_away.
6859 * stdio-common/tst-printf-round.c (struct hex_test): New
6860 structure.
6861 (hex_tests): New variable.
6862 (test_hex_in_one_mode): New function.
6863 (do_test): Also run tests for hex float output.
6864
43153109
JM
68652012-09-21 Joseph Myers <joseph@codesourcery.com>
6866
6867 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6868 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6869 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6870 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6871 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6872 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6873 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6874 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6875
8a26625d
JM
68762012-09-20 Joseph Myers <joseph@codesourcery.com>
6877
6878 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6879 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6880 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6881 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6882
f3fd569c
DL
68832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6884
6885 [BZ #14579]
6886 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6887 mode only.
6888 * elf/tst-rtld-load-self.sh: New test.
6889 * elf/Makefile: Run it.
6890
63bbedd4
JM
68912012-09-18 Joseph Myers <joseph@codesourcery.com>
6892
6893 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6894 (tst-writev-ENV): Remove.
6895 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6896
626f8b6a
CM
68972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6898
6899 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6900
b7aaa4d6
JM
69012012-09-17 Joseph Myers <joseph@codesourcery.com>
6902
6903 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6904 unconditional.
6905 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6906 Likewise.
6907 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6908 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6909 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6910 Likewise.
6911
65513990
L
69122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 [BZ #14587]
6915 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6916 * config.make.in (have-cpp-asm-debuginfo): Removed.
6917 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6918 * configure: Regenerated.
6919
784761be
JM
69202012-09-14 Joseph Myers <joseph@codesourcery.com>
6921
6922 [BZ #5044]
6923 * stdio-common/printf_fp.c: Include <stdbool.h> and
6924 <rounding-mode.h>.
6925 (___printf_fp): Determine rounding using get_rounding_mode and
6926 round_away.
6927 * stdio-common/tst-printf-round.c: New file.
6928 * stdio-common/Makefile (tests): Add tst-printf-round.
6929 (link-libm): New variable.
6930 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6931
9503345f
L
69322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 [BZ #14576]
6935 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6936 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6937 Likewise.
6938 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6939 Likewise.
6940
ad35fc00
JM
69412012-09-13 Joseph Myers <joseph@codesourcery.com>
6942
6943 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6944 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6945 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6946 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6947
6c9b0f68
JM
69482012-09-12 Joseph Myers <joseph@codesourcery.com>
6949
6950 [BZ #14518]
6951 * include/rounding-mode.h: New file.
6952 * sysdeps/generic/get-rounding-mode.h: Likewise.
6953 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6954 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6955 (MAX_VALUE): New macro.
6956 (MIN_VALUE): Likewise.
6957 (overflow_value): New function.
6958 (underflow_value): Likewise.
6959 (round_and_return): Use overflow_value and underflow_value to
6960 determine return values in overflow and underflow cases. Use
6961 round_away to determine rounding depending on rounding mode.
6962 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6963 determine return values in overflow and underflow cases.
6964 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6965 (struct test_results): New structure.
6966 (struct test): Use struct test_results to store expected results
6967 for all rounding modes.
6968 (TEST): Include expected results for all rounding modes.
6969 (test_in_one_mode): New function.
6970 (do_test): Use test_in_one_mode to compute and check results.
6971 Check results for all rounding modes.
6972 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6973 $(link-libm).
6974
19fcedd5
AM
69752012-12-09 Allan McRae <allan@archlinux.org>
6976
1e9d84cd 6977 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6978
8bbfd2f1
JM
69792012-09-11 Joseph Myers <joseph@codesourcery.com>
6980
6981 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6982 (_G_int32_t): Likewise.
6983 (_G_uint16_t): Likewise.
6984 (_G_uint32_t): Likewise.
6985 (_G_HAVE_BOOL): Likewise.
6986 (_G_HAVE_ATEXIT): Likewise.
6987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6988 (_G_HAVE_IO_FILE_OPEN): Likewise.
6989 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6990 (_G_int32_t): Likewise.
6991 (_G_uint16_t): Likewise.
6992 (_G_uint32_t): Likewise.
6993 (_G_HAVE_BOOL): Likewise.
6994 (_G_HAVE_ATEXIT): Likewise.
6995 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6996 (_G_HAVE_IO_FILE_OPEN): Likewise.
6997 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6998 (_G_int32_t): Likewise.
6999 (_G_uint16_t): Likewise.
7000 (_G_uint32_t): Likewise.
7001 (_G_HAVE_BOOL): Likewise.
7002 (_G_HAVE_ATEXIT): Likewise.
7003 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7004 (_G_HAVE_IO_FILE_OPEN): Likewise.
7005
b1dc5912
L
70062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7007
7008 * csu/libc-tls.c: Update copyright years.
7009
0e886ef9
JM
70102012-09-10 Joseph Myers <joseph@codesourcery.com>
7011
28361c5e
JM
7012 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7013 [!_G_USING_THUNKS]: Remove conditional code.
7014 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7015 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7016
0e886ef9
JM
7017 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7018 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7019 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7020 (_G_VTABLE_LABEL_PREFIX): Likewise.
7021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7022 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7024 (_G_VTABLE_LABEL_PREFIX): Likewise.
7025 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7026 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7028 (_G_VTABLE_LABEL_PREFIX): Likewise.
7029 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7030
bcba7aa2
L
70312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 * libio/Makefile: Include ../Makeconfig before tests.
7034 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7035 only if $(build-shared) is yes.
7036
06585ee8
L
7037 * iconv/gconv_db.c: Update copyright years.
7038
80ccd52c
LD
70392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7040
7041 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7042 unwind info if defined PIC. Fix special cases description.
7043 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7044
7045 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7046 DP_HI_MASK entry.
7047 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7048
691bc9c1
L
70492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7050
3d9b46b3
L
7051 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7052
de2139a9
L
7053 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7054 is NULL.
7055
5ca78dd0
L
7056 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7057 (LDLIBS-tst-chk4): This.
7058 (LDFLAGS-tst-chk5): Renamed to ...
7059 (LDLIBS-tst-chk5): This.
7060 (LDFLAGS-tst-chk6): Renamed to ...
7061 (LDLIBS-tst-chk6): This.
7062 (LDFLAGS-tst-lfschk4): Renamed to ...
7063 (LDLIBS-tst-lfschk4): This.
7064 (LDFLAGS-tst-lfschk5): Renamed to ...
7065 (LDLIBS-tst-lfschk5): This.
7066 (LDFLAGS-tst-lfschk6): Renamed to ...
7067 (LDLIBS-tst-lfschk6): This.
7068
691bc9c1
L
7069 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7070 on $(common-objpfx)soversions.mk.
7071
65cafb1c
JM
70722012-09-07 Joseph Myers <joseph@codesourcery.com>
7073
7074 [BZ #10014]
7075 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7076 example host name.
7077
c78ab094
SP
70782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7079
7080 * malloc/arena.c (arena_get_retry): New function that gets
7081 another arena for the caller to try its request on.
7082 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7083 current arena cannot fulfill the request.
7084 (__libc_memalign): Likewise.
7085 (__libc_memalign): Likewise.
7086 (__libc_pvalloc): Likewise.
7087 (__libc_calloc): Likewise.
7088
01f49f59
JT
70892012-09-05 John Tobey <john.tobey@gmail.com>
7090
7091 [BZ #13542]
7092 * manual/arith.texi (Operations on Complex): Fix description
7093 of carg branch cut.
7094
4c23fed5
JM
70952012-09-06 Joseph Myers <joseph@codesourcery.com>
7096
1d3c8572
JM
7097 [BZ #10014]
7098 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7099 host name.
7100
4c23fed5
JM
7101 [BZ #10038]
7102 * manual/memory.texi (Memory): Make order of menu items match
7103 order of sections.
7104
04570aaa
L
71052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7108 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7109 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7110
b80af2f4
L
71112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7112
7113 * csu/libc-tls.c (static_dtv): Renamed to ...
7114 (_dl_static_dtv): This. Make it global.
7115 (_dl_initial_dtv): Removed.
7116 (__libc_setup_tls): Updated.
7117 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7118 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7119 DL_INITIAL_DTV.
7120
2abe9f15
PM
71212012-09-06 Petr Machata <pmachata@redhat.com>
7122
7123 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7124 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7125 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7126 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7127
0948c3af
L
71282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7129
7130 [BZ #14545]
7131 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7132 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7133 freeing dtv[-1].
7134
a5055ad1
L
71352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 [BZ #14544]
7138 * Makeconfig (link-static-before-libc): Replace $(+prector)
7139 with $(+prectorT).
7140 (link-static-after-libc): Replace $(+postctor) with
7141 $(+postctorT).
7142 (link-bounded): Replace $(+prector)/$(+postctor) with
7143 $(+prectorT)/$(+postctorT).
7144 (+prectorT): New macro.
7145 (+postctorT): Likewise.
7146
ed8c2ecd
JM
71472012-09-06 Joseph Myers <joseph@codesourcery.com>
7148
7149 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7150 (round_str): Handle values above the maximum for IBM long double
7151 as inexact.
7152 * stdlib/tst-strtod-round.c (tests): Regenerated.
7153
14c996c8
AK
71542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7155
7156 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7157 assembler flag.
7158 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7159 zarch_nohighgprs around the zarch optimized routines.
7160 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7161 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7163 for zarch.
7164
430d6ce6
DM
71652012-09-05 David S. Miller <davem@davemloft.net>
7166
7167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7168
ff04dda4
DM
7169 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7170 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7171 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7172 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7173 entries.
7174
24d4e01b
AO
71752012-09-05 Alexandre Oliva <aoliva@redhat.com>
7176
7177 * malloc/arena.c: Fold copyright years.
7178 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7179
61d58174
AO
71802012-09-05 Alexandre Oliva <aoliva@redhat.com>
7181
7182 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7183
20196a5e
AO
71842012-09-05 Alexandre Oliva <aoliva@redhat.com>
7185
7186 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7187
5c447383
AO
71882012-09-05 Alexandre Oliva <aoliva@redhat.com>
7189
7190 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7191 change internal state upon failure.
7192
fad64255
AO
71932012-09-05 Alexandre Oliva <aoliva@redhat.com>
7194
7195 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7196 * malloc/memusage.c (mmap): Likewise.
7197 (mmap64, mremap): Likewise. Adjust name in comment.
7198
1ffb8c90
SP
71992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7200
7201 * libio/fileops.c: Fix typos in comments.
7202 * libio/oldfileops.c: Likewise.
7203 * libio/wfileops.c: Likewise.
7204
6ef9cc37
SP
72052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7206
7207 [BZ #1349]
7208 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7209 (tst-malloc-usable-ENV): Set environment for test case.
7210 * malloc/hooks.c (malloc_check_get_size): New function to get
7211 requested size.
7212 * malloc/malloc.c (musable): Use malloc_check_get_size.
7213 * malloc/tst-malloc-usable.c: New test case.
7214
4d038ae3
AS
72152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7216
7217 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7218
c4e85184
AM
72192012-09-05 Allan McRae <allan@archlinux.org>
7220
b9dafc56 7221 [BZ #13966]
c4e85184
AM
7222 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7223 determine header location.
7224 * configure: Regenerated.
7225
e1343020
AS
72262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7227
7228 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7229 float format.
7230 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7231 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7232 format.
e1343020
AS
7233 (test): Regenerate.
7234
0a9f1987
DM
72352012-09-04 David S. Miller <davem@davemloft.net>
7236
7237 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7238 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7240
29237804
FW
72412012-09-04 Florian Weimer <fweimer@redhat.com>
7242
7243 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7244 failures.
7245
edb3cb88
FW
7246 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7247
60160d83
JM
72482012-09-04 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #9914]
7251 * libio/iogetdelim.c: Include <limits.h>.
7252 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7253 + len + 1 would overflow.
7254
bcd6c8dc
AJ
72552012-09-03 Andreas Jaeger <aj@suse.de>
7256
7257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7258 * sysdeps/i386/fpu/libm-test-ulps: Update.
7259
4ffffbd2
LD
72602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7261
7262 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7263 Add s_sinf-sse2, s_conf-sse2.
7264
7265 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7266 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7267 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7268 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7269
7270 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7271 for using routine as __sinf_ia32.
7272 Use macro for function declaration and weak_alias.
7273 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7274 for using routine as __cosf_ia32.
7275 Use macro for function declaration and weak_alias.
7276
7277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7278 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7279
7280 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7281 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7283
7284 * math/libm-test.inc (cos_test): Add more test cases.
7285 (sin_test): Likewise.
7286 (sincos_test): Likewise.
7287
511fa286
AK
72882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7289
7290 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7291 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7292 hidden.
7293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7294
5f30cfec
L
72952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7296
7297 [BZ #14538]
7298 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7299 first element of the GOT.
7300 (elf_machine_load_address): Return the difference between
7301 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7302
0786794f
AM
73032012-09-01 Allan McRae <allan@archlinux.org>
7304
5f30cfec
L
7305 [BZ #13412]
7306 * configure.in (AWK): Require gawk version 3.0 or later.
7307 * configure: Regenerated.
0786794f 7308
26889eac
JM
73092012-09-01 Joseph Myers <joseph@codesourcery.com>
7310
7311 * sysdeps/unix/sysv/linux/kernel-features.h
7312 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7314 [__NR_clock_getres]: Make code unconditional.
7315 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7316 (clock_getcpuclockid): Remove code left unreachable by removal of
7317 conditionals.
7318 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7319 code unconditional.
7320 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7322 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7323 Make code unconditional.
7324 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7326 * sysdeps/unix/sysv/linux/clock_settime.c
7327 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7328 conditional code.
7329 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7331
d22e28b0
L
73322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7333
7334 [BZ #14476]
7335 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7336 scripts/test-installation.pl.
7337
7338 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7339 and $ld_so_version if it is set.
7340
050af9c4
SP
73412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7342
7343 [BZ #14516]
7344 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7345 failure if reading from procfs failed.
7346 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7347
ad845c0b
JM
73482012-08-27 Joseph Myers <joseph@codesourcery.com>
7349
7350 * sysdeps/unix/sysv/linux/kernel-features.h
7351 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7352 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7353 Remove conditional code.
7354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7355 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7356 Remove conditional code.
7357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7358 * sysdeps/unix/sysv/linux/i386/fxstat.c
7359 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7361 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7362 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7364 * sysdeps/unix/sysv/linux/i386/lxstat.c
7365 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7367 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7368 Remove conditional code.
7369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7370 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7371 Remove conditional code.
7372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7373 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7374 <kernel-features.h>.
7375 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7376 Remove.
7377 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7378 Remove conditional code.
7379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7381 Remove conditional.
7382
5dbf56af
MF
73832012-08-27 Mike Frysinger <vapier@gentoo.org>
7384
7385 [BZ #5400]
7386 * NEWS: Add fixed bug number.
7387
d6e70f43
JM
73882012-08-27 Joseph Myers <joseph@codesourcery.com>
7389
7efb4737
JM
7390 [BZ #14519]
7391 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7392 underflowing exponent in case of negative sign.
7393 * stdlib/tst-strtod-round-data: Add more tests.
7394 * stdlib/tst-strtod-round.c (tests): Regenerated.
7395
af92131a
JM
7396 [BZ #3479]
7397 * stdlib/strtod_l.c (NDIG): Remove.
7398 (HEXNDIG): Likewise.
7399 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7400 smallest representable value.
7401 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7402 lie within an exact representation of 1/2 ulp of the result.
7403 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7404 unconditionally.
7405 (TENS_P9_IDX): Define unconditionally.
7406 (TENS_P9_SIZE): Likewise.
7407 (TENS_P10_IDX): Likewise.
7408 (TENS_P10_SIZE): Likewise.
7409 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7410 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7412 entries for 10^2^13 and 10^2^14.
7413 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7414 (TENS_P13_IDX): Define.
7415 (TENS_P13_SIZE): Likewise.
7416 (TENS_P14_IDX): Likewise.
7417 (TENS_P14_SIZE): Likewise.
7418 (_fpioconst_pow10): Change array size to
7419 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7420 unconditional.
7421 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7422 1024]: Add entries for 10^2^13 and 10^2^14.
7423 [LAST_POW10 > _LAST_POW10]: Remove #error.
7424 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7425 (_fpioconst_pow10): Change array size to
7426 FPIOCONST_POW10_ARRAY_SIZE.
7427 * stdlib/gen-fpioconst.c: New file.
7428 * stdlib/gen-tst-strtod-round.c: Likewise.
7429 * stdlib/tst-strtod-round-data: Likewise.
7430 * stdlib/tst-strtod-round.c: Likewise.
7431 * stdlib/Makefile (tests): Add tst-strtod-round.
7432
d6e70f43
JM
7433 [BZ #14459]
7434 * stdlib/strtod_l.c: Include <stdint.h>.
7435 (NDEBUG): Do not define.
7436 (round_and_return): Change EXPONENT parameter to type intmax_t.
7437 Rearrange calculations to avoid internal overflow possibilities.
7438 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7439 Rearrange calculations to avoid internal overflow possibilities.
7440 Assert that number fits inside MPNSIZE limbs.
7441 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7442 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7443 calculations and add assertions to avoid internal overflow
7444 possibilities. Add casts to avoid signed/unsigned operations.
7445 * stdlib/tst-strtod-overflow.c: New file.
7446 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7447
1f529f7d
MP
74482012-08-25 Marek Polacek <polacek@redhat.com>
7449
7450 * time/time.h: Fix some typos in comments.
7451
59a629f1
RM
74522012-08-23 Roland McGrath <roland@hack.frob.com>
7453
7454 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7455 * posix/tst-rfc3484-2.c: Likewise.
7456 * posix/tst-rfc3484-3.c: Likewise.
7457
d3bafbc9
SM
74582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7459
7460 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7461 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7462
4efcc022
JM
74632012-08-23 Joseph Myers <joseph@codesourcery.com>
7464
7465 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7466 #include of fxstatat64.c.
7467
3cc3ef96
RM
74682012-08-22 Roland McGrath <roland@hack.frob.com>
7469
f04e2132
RM
7470 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7471 * shadow/getspent_r.c: Likewise.
7472 * shadow/getspnam.c: Likewise.
7473 * shadow/getspnam_r.c: Likewise.
7474 * gshadow/getsgent.c: Likewise.
7475 * gshadow/getsgent_r.c: Likewise.
7476 * gshadow/getsgnam.c: Likewise.
7477 * gshadow/getsgnam_r.c: Likewise.
7478 * inet/getnetbyad.c: Likewise.
7479 * inet/getnetbyad_r.c: Likewise.
7480 * inet/getnetbynm.c: Likewise.
7481 * inet/getnetbynm_r.c: Likewise.
7482 * inet/getnetent.c: Likewise.
7483 * inet/getnetent_r.c: Likewise.
7484 * inet/getproto.c: Likewise.
7485 * inet/getproto_r.c: Likewise.
7486 * inet/getprtent.c: Likewise.
7487 * inet/getprtent_r.c: Likewise.
7488 * inet/getprtname.c: Likewise.
7489 * inet/getprtname_r.c: Likewise.
7490 * inet/getrpcbyname.c: Likewise.
7491 * inet/getrpcbyname_r.c: Likewise.
7492 * inet/getrpcbynumber.c: Likewise.
7493 * inet/getrpcbynumber_r.c: Likewise.
7494 * inet/getrpcent.c: Likewise.
7495 * inet/getrpcent_r.c: Likewise.
7496 * inet/getaliasent.c: Likewise.
7497 * inet/getaliasent_r.c: Likewise.
7498 * inet/getaliasname.c: Likewise.
7499 * inet/getaliasname_r.c: Likewise.
7500 * nscd/getgrgid_r.c: Likewise.
7501 * nscd/getgrnam_r.c: Likewise.
7502 * nscd/gethstbyad_r.c: Likewise.
7503 * nscd/gethstbynm3_r.c: Likewise.
7504 * nscd/getpwnam_r.c: Likewise.
7505 * nscd/getpwuid_r.c: Likewise.
7506 * nscd/getsrvbynm_r.c: Likewise.
7507 * nscd/getsrvbypt_r.c: Likewise.
7508 * nscd/gai.c: Likewise.
7509
c53d909c
RM
7510 * configure.in (build_nscd): New substituted variable, set
7511 by --disable-build-nscd and defaults to $use_nscd.
7512 * configure: Regenerated.
7513 * config.make.in (build-nscd): New substituted variable.
7514 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7515 Change conditional to require [$(build-nscd) = yes] as well.
7516 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7517
3cc3ef96
RM
7518 [BZ# 13696]
7519 * configure.in (use_nscd): New substituted variable, set by
7520 --disable-nscd. If enabled, define USE_NSCD.
7521 * configure: Regenerated.
7522 * config.h.in: Add USE_NSCD.
7523 * config.make.in (use-nscd): New substituted variable.
7524 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7525 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7526 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7527 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7528 (CFLAGS-getgrnam_r.c): Likewise.
7529 (CFLAGS-initgroups.c): Likewise.
7530 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7531 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7532 Variables removed.
7533 * inet/getnetgrent_r.c
7534 (nscd_setnetgrent): New function, broken out of ...
7535 (setnetgrent): ... here. Call it.
7536 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7537 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7538 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7539 * nscd/Makefile (routines, aux): Move definitions after include of
7540 Makeconfig. Conditionalize on [$(use-nscd) != no].
7541 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7542 Conditionalize on [USE_NSCD].
7543 (is_nscd, nscd_init_cb): Likewise.
7544 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7545 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7546 * nss/nss_db/db-init.c: Likewise.
7547 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7548 [USE_NSCD].
7549 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7550 (make_request): Use it.
7551 (cache_valid_p): New function.
7552 (__check_pf): Use it.
7553 * NEWS: Add item for --disable-nscd.
7554
07e51550
DL
75552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7556
7557 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7558 to support sed >= 4.2.1-20-ga9bf076.
7559 * configure: Regenerated.
7560
35a5b08b
RM
75612012-08-22 Roland McGrath <roland@hack.frob.com>
7562
7563 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7564 Conditionalize whole body on [IREL].
7565
8479f23a
JL
75662012-08-22 Jeff Law <law@redhat.com>
7567
7568 [BZ #14505]
7569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7570 if the family is PF_UNSPEC.
7571
48da0b21
MF
75722012-08-22 Mike Frysinger <vapier@gentoo.org>
7573
7574 * Makerules (lib-version): Rename from V.
7575 (install-lib-nosubdir): Change V to lib-version.
7576
15d0da8c
WS
75772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7578
7579 [BZ #14252]
7580 * powerpc32/power6/wcschr.c: New file.
7581 * powerpc32/power6/wcscpy.c: New file.
7582 * powerpc32/power6/wcsrchr.c: New file.
7583 * powerpc64/power6/wcschr.c: New file.
7584 * powerpc64/power6/wcscpy.c: New file.
7585 * powerpc64/power6/wcsrchr.c: New file.
7586
bcca0895
MK
75872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7588
7589 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7590 (two_way_short_needle): Use it.
5a4aaa33
RM
7591 * string/strstr.c (AVAILABLE1_USES_J): Define.
7592 * string/strcasestr.c: Likewise.
99677e57
MK
7593
7594 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7595 array references.
7596 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7597
400726de
MK
7598 [BZ #11607]
7599 * NEWS: Add an entry.
7600 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7601 define their defaults.
7602 (two_way_short_needle): Detect end-of-string on-the-fly.
7603 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7604 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7605 * string/bug-strcasestr1.c: New test.
7606 * string/Makefile: Run it.
7607
20a71f2c
MK
76082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7609
7610 [BZ #11607]
7611 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7612 the first character.
7613
21ad0558
RM
76142012-08-21 Roland McGrath <roland@hack.frob.com>
7615
7616 * csu/elf-init.c (__libc_csu_irel): Function removed.
7617 * csu/libc-start.c (apply_irel): New function.
7618 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7619
0e1d9911
JM
76202012-08-21 Joseph Myers <joseph@codesourcery.com>
7621
7622 * sysdeps/unix/sysv/linux/kernel-features.h
7623 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7624 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7625 <kernel-features.h>.
7626 [__NR_fadvise64_64]: Make code unconditional.
7627 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7628 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7629 !__NR_fadvise64_64)]: Likewise.
7630 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7631 !__NR_fadvise64_64))]: Likewise.
7632 [__NR_fadvise64]: Make code unconditional.
7633 [!__NR_fadvise64]: Remove conditional code.
7634 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7635 <kernel-features.h>.
7636 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7637 unconditional.
7638 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7639 conditional code.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7641 not include <kernel-features.h>.
7642 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7643 unconditional.
7644 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7645 conditional code.
7646 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7647 include <kernel-features.h>.
7648 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7649 unconditional.
7650 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7651 conditional code.
7652
14a50c9d
WS
76532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7654
7655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7656 slight instruction rearrangements per scrollpipe analysis.
7657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7658
c0f4faf0
RM
76592012-08-20 Roland McGrath <roland@hack.frob.com>
7660
696da859
RM
7661 * manual/syslog.texi (syslog; vsyslog, closelog):
7662 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7663 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7664
c0f4faf0
RM
7665 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7666 DSOCAPS to match condition on defining it.
7667
348363b2
JM
76682012-08-20 Joseph Myers <joseph@codesourcery.com>
7669
a35cbf28
JM
7670 * sysdeps/unix/sysv/linux/kernel-features.h
7671 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7673 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7674 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7676 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7677 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7679 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7680 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7681
445f7ecd
JM
7682 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7683 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7684
348363b2
JM
7685 * sysdeps/unix/sysv/linux/kernel-features.h
7686 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7687 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7688 unconditional.
7689 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7691 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7692 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7694 Make code unconditional.
7695 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7696 (__mmap64) [!__NR_mmap2]: Likewise.
7697 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7698 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7699 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7701 [__NR_mmap2]: Make code unconditional.
7702 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7703 (__mmap64) [!__NR_mmap2]: Likewise.
7704
bc5bc0e5
AK
77052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7706
7707 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7708
88d506de
AJ
77092012-08-18 Andreas Jaeger <aj@suse.de>
7710
7711 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7712
493387d2
MF
77132012-08-18 Mike Frysinger <vapier@gentoo.org>
7714
7715 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7716 * include/unistd.h (__have_sock_cloexec): Likewise.
7717 (__have_pipe2): Likewise.
7718 (__have_dup3): Likewise.
7719
a277af22
MF
77202012-08-18 Mike Frysinger <vapier@gentoo.org>
7721
7722 [BZ #9685]
7723 * include/unistd.h (__have_pipe2): Change define into an extern int.
7724 (__have_dup3): Likewise.
7725 * socket/have_sock_cloexec.c: Include fcntl.h.
7726 (__have_pipe2): New variable.
7727 (__have_dup3): Likewise.
7728
fdab8fd3
MF
77292012-08-17 Mike Frysinger <vapier@gentoo.org>
7730
7731 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7732
31035e80
MP
77332012-08-17 Marek Polacek <polacek@redhat.com>
7734
7735 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7736 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7737
3bd9e993
RM
77382012-08-17 Roland McGrath <roland@hack.frob.com>
7739
c91c505f
RM
7740 * configure.in: Add AC_SUBST for sysheaders.
7741 * configure: Regenerated.
7742 * config.make.in (sysheaders): New substituted variable.
7743
7c6f9d53
RM
7744 * sysdeps/unix/mkfifo.c: Moved ...
7745 * sysdeps/posix/mkfifo.c: ... here.
7746 * sysdeps/unix/mkfifoat.c: Moved ...
7747 * sysdeps/posix/mkfifoat.c: ... here.
7748
7749 * sysdeps/unix/utime.c: Moved ...
7750 * sysdeps/posix/utime.c: ... here.
7751
7752 * sysdeps/unix/time.c: Moved ...
7753 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7754 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7755 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7756
7757 * sysdeps/unix/nice.c: Moved ...
7758 * sysdeps/posix/nice.c: ... here.
7759
7760 * sysdeps/unix/alarm.c: Moved ...
7761 * sysdeps/posix/alarm.c: ... here.
7762
3bd9e993
RM
7763 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7764
d1f09384
JL
77652012-08-17 Jeff Law <law@redhat.com>
7766
7767 * intl/Makefile (codeset_mo): New variable.
7768 ($(codeset_mo)): New target.
7769 (tst-codeset.out): Depend on that. Remove explicit rule.
7770 (tst-gettext3.out, tst-gettext5.out): Likewise.
7771 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7772 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7773 * intl/tst-codeset.sh: Remove.
7774 * intl/tst-gettext3.sh: Likewise.
7775 * intl/tst-gettext5.sh: Likewise.
7776
2ae1ae5c
RM
77772012-08-17 Roland McGrath <roland@hack.frob.com>
7778
c31fdb83
RM
7779 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7780 * sysdeps/unix/syscalls.list: ... here.
7781
a0844057
RM
7782 * sysdeps/posix/getaddrinfo.c
7783 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7784 (gaiconf_init, gaiconf_reload): Use them.
7785 [!_STATBUF_ST_NSEC]
7786 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7787 Define using time_t rather than struct timespec.
7788
750c1f2a
RM
7789 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7790 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7791 Macros removed.
7792 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7793 [!NO_THREADS].
7794 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7795 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7796 Likewise.
7797
2ae1ae5c
RM
7798 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7799 __libc_cleanup_push argument.
7800
e66a42f5
RM
7801 * bits/param.h: New file.
7802 * misc/sys/param.h: New file.
7803 * include/sys/param.h: New file.
7804 * misc/Makefile (headers): Add bits/param.h.
7805 * sysdeps/generic/sys/param.h: File removed.
7806 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7807 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7808 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7809 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7810
b7c08a66
RM
7811 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7812 last change.
7813
b2e1c562
RM
7814 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7815 [_IO_MTSAFE_IO].
7816 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7817 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7818 New macros.
7819
c75ccd4c
RM
7820 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7821 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7822 rather than -D_IO_MTSAFE_IO conditionally.
7823 * stdio-common/Makefile (CPPFLAGS): Likewise.
7824 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7825 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7826 Use $(libio-mtsafe).
7827 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7828 of -D_IO_MTSAFE_IO.
7829 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7830 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7831 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7832 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7833 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7834 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7835 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7836 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7837 (CFLAGS-fread_u_chk.c): Likewise.
7838 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7839 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7840 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7841 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7842 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7843 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7844 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7845 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7846 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7847
7848 * libio/Makefile: Test [$(libc-reentrant) = yes]
7849 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7850
7851 * Makeconfig
7852 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7853 * sysdeps/pthread/configure: File removed.
7854 * sysdeps/pthread/Makeconfig: New file.
7855 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7856 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7857
d9195db8
GB
78582012-08-16 Gary Benson <gbenson@redhat.com>
7859
7860 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7861 unmapping the first object in a namespace.
7862
86466cd9
RM
78632012-08-16 Roland McGrath <roland@hack.frob.com>
7864
7865 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7866 (__internal_setnetgrent): ... this. Add internal_function to
7867 definition. Add libc_hidden_def.
7868 (setnetgrent): Update caller.
7869 (internal_endnetgrent): Renamed to ...
7870 (__internal_endnetgrent): ... this. Add internal_function to
7871 definition. Add libc_hidden_def.
7872 (endnetgrent): Update caller.
7873 (internal_getnetgrent_r): Renamed to ...
7874 (__internal_getnetgrent_r): ... this. Add internal_function to
7875 definition. Add libc_hidden_def.
7876 (__getnetgrent_r): Update caller.
7877 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7878
c3c8283c
JM
78792012-08-16 Joseph Myers <joseph@codesourcery.com>
7880
7881 * stdlib/longlong.h: Update from GCC.
7882
db1ee0a8
RM
78832012-08-16 Roland McGrath <roland@hack.frob.com>
7884
7885 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7886 on _QL, which is set by umul_ppmm but never used.
7887 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7888 variables, which are set by GMP macros but never used.
7889 * stdio-common/_itowa.c (_itowa): Likewise.
7890 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7891 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7892
30f69637
CD
78932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7894
7895 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7896 struct La_sh_regs is not constant.
7897 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7898 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7899 and struct La_sparc64_regs are not constant.
7900
93a78ac4
JM
79012012-08-16 Joseph Myers <joseph@codesourcery.com>
7902
7903 * sysdeps/unix/sysv/linux/kernel-features.h
7904 (__ASSUME_POSIX_TIMERS): Remove.
7905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7907 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7908 Make code unconditional.
7909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7910 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7911 Make code unconditional.
7912 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7913 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7914 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7916 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7917 Make code unconditional.
7918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7919 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7920 (__libc_missing_posix_timers): Remove.
7921
dd924cd7
RM
79222012-08-15 Roland McGrath <roland@hack.frob.com>
7923
4b4f2771
RM
7924 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7925 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7926
601c888b
RM
7927 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7928
176790a7
RM
7929 * elf/dl-sym.c: Include <stdlib.h>.
7930
329bc018
RM
7931 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7932 constants, which avoids warnings in 32-bit builds.
7933
e04e272d
RM
7934 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7935 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7936
952bf94a
RM
7937 * misc/lseek.c: File moved to ...
7938 * io/lseek.c: ... here.
7939
7c99b50a
RM
7940 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7941
dd924cd7
RM
7942 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7943 shifting LEN more than 31 bits at once.
7944
b3f479a8
LD
79452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7946
7947 [BZ #14195]
8c4ae0d4
RM
7948 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7949 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7950 * string/test-strncasecmp.c (check1): Renamed to...
7951 (bz12205): ...this.
7952 (bz14195): Add new testcase for two empty input strings and N > 0.
7953 (test_main): Call new testcase, adapt for renamed function.
7954
9c55864e
AJ
79552012-08-15 Andreas Jaeger <aj@suse.de>
7956
7957 [BZ #14090]
7958 * crypt/md5test2.c: New test, based on test supplied by Serge
7959 Belyshev <belyshev@depni.sinp.msu.ru>.
7960 * crypt/Makefile (xtests): Add md5test-giant..
7961 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7962
02dcb6c5
PE
79632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7964
7965 [BZ #14090]
7966 * crypt/md5.c (md5_process_block): Don't assume the buffer
7967 length is less than 2**32.
7968 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7969 length is less than 2**64.
7970
a3f95dcc
RM
79712012-08-15 Roland McGrath <roland@hack.frob.com>
7972
be75d758
RM
7973 * string/str-two-way.h: Include <sys/param.h>.
7974 (MAX): Macro removed.
7975
7312ca90
RM
7976 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7977 Move #define and #undef of memmove to just before and after
7978 including <string.h>.
7979
9a0a5486
RM
7980 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7981 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7982 and after including <string.h>. Move declarations of
7983 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7984 to before #include "string/memmove.c".
7985
67cc348d
RM
7986 * include/dirent.h: Declare __getdirentries.
7987
a3f95dcc
RM
7988 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7989 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7990
ca98e171
MF
79912012-08-14 Mike Frysinger <vapier@gentoo.org>
7992
7993 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7994 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7995 * sysdeps/i386/configure: Regenerated.
7996 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7997 STABS_CURRENT_FILE, and STABS_FUN.
7998 (END): Remove call to STABS_FUN_END.
7999 (STABS_CURRENT_FILE1): Delete.
8000 (STABS_CURRENT_FILE): Likewise.
8001 (STABS_FUN): Likewise.
8002 (STABS_FUN_END): Likewise.
8003 (STABS_FUN2): Likewise.
8004 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8005 * sysdeps/x86_64/configure: Regenerated.
8006
5908bf46
RM
80072012-08-14 Roland McGrath <roland@hack.frob.com>
8008
8009 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8010 * elf/dl-lookup.c: Likewise.
5908bf46 8011
f2c05b9e
JM
80122012-08-14 Joseph Myers <joseph@codesourcery.com>
8013
8014 * sysdeps/unix/sysv/linux/kernel-features.h
8015 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8016 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8017 unconditionally.
8018 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8019 unconditionally.
8020 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8021 condition on __ASSUME_CLONE_THREAD_FLAGS.
8022
e11f5155
AJ
80232012-08-14 Andreas Jaeger <aj@suse.de>
8024
8025 * sysdeps/i386/fpu/libm-test-ulps: Update.
8026
51a9ba86
MK
80272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8028
2fdd4f78
AJ
8029 * include/atomic.h (atomic_exchange_and_add): Split into ...
8030 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8031 New atomic macros.
51a9ba86 8032
ba6cba9e
MT
80332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8034
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8036
42443a47
JL
80372012-08-13 Jeff Law <law@redhat.com>
8038
8039 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8040 null byte in the output string.
8041
121dce05
JM
80422012-08-10 Joseph Myers <joseph@codesourcery.com>
8043
8044 * sysdeps/unix/sysv/linux/kernel-features.h
8045 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8046 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8047 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8048 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8049 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8050 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8051 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8052
bf51f568
JL
80532012-08-09 Jeff Law <law@redhat.com>
8054
8055 [BZ #13939]
8056 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8057 When avoid_arena is set, don't retry in the that arena. Pick the
8058 next one, whatever it might be.
8059 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8060 (arena_lock): Pass in new parameter to arena_get2.
8061 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8062 arena_get2.
8063 (__libc_malloc): Unify retrying after main arena failure with
8064 __libc_memalign version.
8065 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8066
f85fa270
L
80672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8068
8069 [BZ #14166]
8070 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8071 to __redirect_strstr.
8072 (__strstr_sse42): Use typeof __redirect_strstr.
8073 (__strstr_ia32): Likewise.
8074 (__libc_strstr): New prototype.
8075 (strstr): Renamed to ...
8076 (__libc_strstr): This.
8077 (strstr): New strong alias of __libc_strstr.
8078 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8079 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8080 __redirect_time.
8081 Include <time.h>.
8082 (__libc_time): New prototype.
8083 (time_ifunc): Replace time with __libc_time.
8084 (time): New strong alias and hidden definition of __libc_time.
8085 (__GI_time): Remove strong alias.
8086 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8087 Include <stddef.h>.
8088 (memmove): Redefined to __redirect_memmove.
8089 (__memmove_sse2): Use typeof __redirect_memmove.
8090 (__memmove_ssse3): Likewise.
8091 (__memmove_ssse3_back): Likewise.
8092 (__libc_memmove): New prototype.
8093 (memmove): Renamed to ...
8094 (__libc_memmove): This.
8095 (memmove): New strong alias of __libc_memmove.
8096
33b4a91e
MS
80972012-08-08 Mark Salter <msalter@redhat.com>
8098
8099 * elf/elf.h
8100 (R_MN10300_TLS_GD): Define.
8101 (R_MN10300_TLS_LD): Likewise.
8102 (R_MN10300_TLS_LDO): Likewise.
8103 (R_MN10300_TLS_GOTIE): Likewise.
8104 (R_MN10300_TLS_IE): Likewise.
8105 (R_MN10300_TLS_LE): Likewise.
8106 (R_MN10300_TLS_DTPMOD): Likewise.
8107 (R_MN10300_TLS_DTPOFF): Likewise.
8108 (R_MN10300_TLS_TPOFF): Likewise.
8109 (R_MN10300_SYM_DIFF): Likewise.
8110 (R_MN10300_ALIGN): Likewise.
8111 (R_MN10300_NUM): Update.
8112
b36137f1
JM
81132012-08-08 Joseph Myers <joseph@codesourcery.com>
8114
8115 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8116 Remove.
8117
cdd915fd
RM
81182012-08-08 Roland McGrath <roland@hack.frob.com>
8119
a2433aac
RM
8120 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8121
cdd915fd
RM
8122 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8123 sysdeps/unix -> sysdeps/posix move.
8124 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8125
bf9b740a
AM
81262012-08-07 Allan McRae <allan@archlinux.org>
8127
8128 [BZ #14303]
8129 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8130 (SUNOS_CPP): Likewise.
8131 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8132 not found.
8133 (open_input): Call CPP using execvp.
8134
93df14ee
JM
81352012-08-07 Joseph Myers <joseph@codesourcery.com>
8136
8137 * sysdeps/unix/sysv/linux/kernel-features.h
8138 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8139 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8140 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8141 (__ASSUME_WAITID_SYSCALL): Likewise.
8142 * sysdeps/unix/sysv/linux/dl-execstack.c
8143 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8144 code unconditional.
8145 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8146 conditional code.
8147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8148 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8149 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8150 code.
8151 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8152 unconditional.
8153 [__ASSUME_WAITID_SYSCALL]: Likewise.
8154 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8155
d34689de
RM
81562012-08-07 Roland McGrath <roland@hack.frob.com>
8157
a281decc
RM
8158 * sysdeps/unix/closedir.c: Renamed to ...
8159 * sysdeps/posix/closedir.c: ... here.
8160 * sysdeps/unix/dirfd.c: Renamed to ...
8161 * sysdeps/posix/dirfd.c: ... here.
8162 * sysdeps/unix/dirstream.h: Renamed to ...
8163 * sysdeps/posix/dirstream.h: ... here.
8164 * sysdeps/unix/fdopendir.c: Renamed to ...
8165 * sysdeps/posix/fdopendir.c: ... here.
8166 * sysdeps/unix/opendir.c: Renamed to ...
8167 * sysdeps/posix/opendir.c: ... here.
8168 * sysdeps/unix/readdir.c: Renamed to ...
8169 * sysdeps/posix/readdir.c: ... here.
8170 * sysdeps/unix/readdir_r.c: Renamed to ...
8171 * sysdeps/posix/readdir_r.c: ... here.
8172 * sysdeps/unix/rewinddir.c: Renamed to ...
8173 * sysdeps/posix/rewinddir.c: ... here.
8174 * sysdeps/unix/seekdir.c: Renamed to ...
8175 * sysdeps/posix/seekdir.c: ... here.
8176 * sysdeps/unix/telldir.c: Renamed to ...
8177 * sysdeps/posix/telldir.c: ... here.
8178 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8179 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8180 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8181 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8182
22895b47
RM
8183 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8184 * bits/fcntl.h: ... here.
8185
707a53b6
RM
8186 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8187 not 0.
8188 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8189 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8190 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8191 (struct flock): Move l_start, l_len to the beginning.
8192 Use __pid_t for l_pid.
8193 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8194 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8195 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8196 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8197 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8198 [__USE_LARGEFILE64] (struct flock64): New type.
8199 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8200
f0bd3e25
RM
8201 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8202 * bits/dirent.h: ... here.
8203
d34689de
RM
8204 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8205 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8206
6dad2c06
JM
82072012-08-07 Joseph Myers <joseph@codesourcery.com>
8208
8209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8210 Change from 2.6.0 to 2.6.16.
8211 * sysdeps/unix/sysv/linux/configure: Regenerated.
8212 * sysdeps/unix/sysv/linux/kernel-features.h
8213 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8214 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8215 version.
8216 (__ASSUME_UTIMES): Likewise.
8217 (__ASSUME_CLONE_STOPPED): Remove.
8218 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8219 architectures, not kernel version.
8220 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8221 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8222 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8223 (__ASSUME_WAITID_SYSCALL): Likewise.
8224 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8225 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8226 * README: State 2.6.16 as minimum Linux kernel version. Do not
8227 refer to older versions.
8228
03af9520
RM
82292012-08-06 Roland McGrath <roland@hack.frob.com>
8230
8e49df1d
RM
8231 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8232 Define alphasort64 as an alias.
8233 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8234 Define versionsort64 as an alias.
8235 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8236 Define scandir64 as an alias.
8237 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8238 Define scandirat64 as an alias.
8239 * dirent/alphasort64.c (alphasort64):
8240 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8241 * dirent/versionsort64.c: Likewise.
8242 * dirent/scandir64.c: Likewise.
8243 * dirent/scandirat64.c: Likewise.
8244 * sysdeps/wordsize-64/alphasort.c: File removed.
8245 * sysdeps/wordsize-64/alphasort64.c: File removed.
8246 * sysdeps/wordsize-64/scandir.c: File removed.
8247 * sysdeps/wordsize-64/scandir64.c: File removed.
8248 * sysdeps/wordsize-64/scandirat.c: File removed.
8249 * sysdeps/wordsize-64/scandirat64.c: File removed.
8250 * sysdeps/wordsize-64/versionsort.c: File removed.
8251 * sysdeps/wordsize-64/versionsort64.c: File removed.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8254 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8255 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8257 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8260
8261 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8263 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8265 [defined __arch64__ || defined __sparcv9]
8266 (__INO_T_MATCHES_INO64_T): New macro.
8267 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8268 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8269 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8270 * sysdeps/unix/sysv/linux/bits/dirent.h
8271 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8272 (_DIRENT_MATCHES_DIRENT64): New macro.
8273
03af9520
RM
8274 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8275 Define lockf64 as an alias.
8276 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8277 Define fseeko64 as an alias.
8278 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8279 Define ftello64 as an alias.
8280 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8281 Define _IO_fgetpos64 and fgetpos64 as aliases.
8282 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8283 Define _IO_fsetpos64 and fsetpos64 as aliases.
8284 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8285 Conditionalize body on this.
8286 * libio/fseeko64.c: Likewise.
8287 * libio/ftello64.c: Likewise.
8288 * libio/iofgetpos64.c: Likewise.
8289 * libio/iofsetpos64.c: Likewise.
8290 * sysdeps/wordsize-64/lockf.c: File removed.
8291 * sysdeps/wordsize-64/lockf64.c: File removed.
8292 * sysdeps/wordsize-64/fseeko.c: File removed.
8293 * sysdeps/wordsize-64/fseeko64.c: File removed.
8294 * sysdeps/wordsize-64/ftello.c: File removed.
8295 * sysdeps/wordsize-64/ftello64.c: File removed.
8296 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8297 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8298 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8299 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8310
8311 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8313 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8315 [defined __arch64__ || defined __sparcv9]
8316 (__OFF_T_MATCHES_OFF64_T): New macro.
8317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8318 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8320 (__OFF_T_MATCHES_OFF64_T): New macro.
8321
c5757acd
L
83222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8323
8324 * stdlib/secure-getenv.c (__secure_getenv): Replace
8325 GLIBC_2_16 with GLIBC_2_17.
8326
3a31811e
L
83272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8330 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8331
faa2bccb
DM
83322012-08-03 David S. Miller <davem@davemloft.net>
8333
8334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8335
85fe1997
JM
83362012-08-03 Joseph Myers <joseph@codesourcery.com>
8337
8338 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8339 Remove.
8340 (__ASSUME_CORRECT_SI_PID): Likewise.
8341 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8342 (__ASSUME_TMPFS_NAME): Likewise.
8343 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8344 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8345 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8346 (HAVE_AUX_SECURE): Make definition unconditional.
8347 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8348 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8349
4f75b7a0
RM
83502012-08-03 Roland McGrath <roland@hack.frob.com>
8351
8352 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8353 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8354 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8355 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8356 __eloop_threshold instead of SYMLOOP_MAX.
8357
8358 * sysdeps/generic/eloop-threshold.h: New file.
8359 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8360 of MAXSYMLINKS.
8361 * elf/chroot_canon.c (chroot_canon): Likewise.
8362
7aab07e4
JM
83632012-08-03 Joseph Myers <joseph@codesourcery.com>
8364
8365 [BZ #13717]
8366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8367 Change to 2.6.0 everywhere.
8368 * sysdeps/unix/sysv/linux/configure: Regenerated.
8369 * sysdeps/unix/sysv/linux/kernel-features.h
8370 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8371 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8372 kernel versions.
8373 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8374 (__ASSUME_FUTEX_REQUEUE): Remove.
8375 (__ASSUME_STATFS64): Define unconditionally.
8376 (__ASSUME_AT_SECURE): Likewise.
8377 (__ASSUME_CORRECT_SI_PID): Likewise.
8378 (__ASSUME_TGKILL): Define without depending on kernel version for
8379 i386.
8380 (__ASSUME_UTIMES): Likewise.
8381 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8382 kernel version.
8383 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8384 (__ASSUME_TMPFS_NAME): Likewise.
8385 * README: Update reference to Linux kernel versions.
8386
b67e9372
MP
83872012-08-02 Marek Polacek <polacek@redhat.com>
8388
1f529f7d 8389 [BZ# 14150]
b67e9372
MP
8390 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8391 libc_cv_asm_type_prefix with %.
8392 * configure: Regenerated.
d2441631
RM
8393 * include/libc-symbols.h: Remove comment about
8394 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8395 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8396 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8397 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8398 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8399 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8400 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8401 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8402 * elf/tst-unique2mod1.c: Likewise.
8403 * elf/tst-unique1mod2.c: Likewise.
8404 * elf/tst-unique1mod1.c: Likewise.
8405 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8406 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8407 Replace ASM_TYPE_DIRECTIVE with .type.
8408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8409 * sysdeps/i386/sysdep.h: Likewise.
8410 * sysdeps/x86_64/sysdep.h: Likewise.
8411 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8413 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8414 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8415 * sysdeps/powerpc/powerpc32/sysdep.h:
8416 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8417 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8418 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8419 * sysdeps/i386/fpu/e_powf.S: Likewise.
8420 * sysdeps/i386/fpu/e_expl.S: Likewise.
8421 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8423 * sysdeps/i386/fpu/e_pow.S: Likewise.
8424 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8426 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8427 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8428 * sysdeps/i386/fpu/e_log2.S: Likewise.
8429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8431 * sysdeps/i386/fpu/e_powl.S: Likewise.
8432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8434 * sysdeps/i386/fpu/e_logl.S: Likewise.
8435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8436 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8437 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8438 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8439 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8440 * sysdeps/i386/fpu/e_log.S: Likewise.
8441 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8442 * sysdeps/i386/fpu/e_logf.S: Likewise.
8443 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8444 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8445 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8446 * sysdeps/i386/fpu/e_log10.S: Likewise.
8447 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8448 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8449 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8450 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8451 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8452 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8453 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8454 * sysdeps/i386/i686/strtok.S: Likewise.
8455 * sysdeps/i386/i386-mcount.S: Likewise.
8456 * sysdeps/i386/strtok.S: Likewise.
8457 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8458 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8459 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8460 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8461 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8463 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8464 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8465 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8466 * sysdeps/x86_64/_mcount.S: Likewise.
8467 * sysdeps/x86_64/strtok.S: Likewise.
8468 * sysdeps/sh/_mcount.S: Likewise.
8469
2747bf9a
RM
84702012-08-01 Roland McGrath <roland@hack.frob.com>
8471
8472 * libio/iofopen.c: Include <fcntl.h>.
8473 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8474 (_IO_fopen64, fopen64): Define as aliases.
8475 * libio/iofopen64.c: Include <fcntl.h>.
8476 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8477 Conditionalize body on this.
8478 * sysdeps/wordsize-64/iofopen.c: File removed.
8479 * sysdeps/wordsize-64/iofopen64.c: File removed.
8480
3fb791b8
MP
84812012-08-01 Marek Polacek <polacek@redhat.com>
8482
8483 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8484 Use dlfcn directly instead of a variable.
8485 (binfmt-subdir): Do not define.
8486 (dlfcn): Likewise.
8487
a9f1039f
JM
84882012-08-01 Joseph Myers <joseph@codesourcery.com>
8489
23bddc06
JM
8490 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8491 Remove all definitions.
8492 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8493 <kernel-features.h>.
8494 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8495 (miss_F_GETOWN_EX): Remove all definitions.
8496 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8497 macro definition.
8498 [!__ASSUME_FCNTL64]: Remove conditional code.
8499 [__ASSUME_FCNTL64]: Make code unconditional.
8500 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8501 <kernel-features.h>.
8502 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8503 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8504 (lockf64) [__NR_fcntl64]: Make code unconditional.
8505 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8506
a9f1039f
JM
8507 * sysdeps/unix/sysv/linux/kernel-features.h
8508 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8509 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8510 Make code unconditional.
8511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8514 [__NR_vfork]: Make code unconditional.
8515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8518 [__NR_vfork]: Make code unconditional.
8519 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8520 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8521
09c0ee5f
RM
85222012-08-01 Roland McGrath <roland@hack.frob.com>
8523
48aec5b9
RM
8524 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8525 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8526
cd97c966
RM
8527 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8528 Define mkstemp64 as an alias.
3f55550c
RM
8529 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8530 Define mkstemps64 as an alias.
cd97c966
RM
8531 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8532 Define mkostemp64 as an alias.
b8625cfc
RM
8533 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8534 Define mkostemps64 as an alias.
cd97c966
RM
8535 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8536 Conditionalize body on this.
8537 * misc/mkostemp64.c: Likewise.
b8625cfc 8538 * misc/mkostemps64.c: Likewise.
3f55550c 8539 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8540 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8541 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8542 * sysdeps/wordsize-64/mkostemp.c: File removed.
8543 * sysdeps/wordsize-64/mkstemp.c: File removed.
8544 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8547 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8548
09c0ee5f
RM
8549 [BZ #14138]
8550 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8551 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8552 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8553 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8554
8555 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8556 compat_symbol macros from <shlib-compat.h> rather than the underlying
8557 default_symbol_version and symbol_version macros, so that DEFAULT
8558 lines in shlib-versions are respected.
8559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8560
7e66ee51
FW
85612012-08-01 Florian Weimer <fweimer@redhat.com>
8562
8563 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8564 Declare with warn_unused_result.
8565 (setgid, setregid, setegid, setresgid): Likewise.
8566 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8567 Likewise.
8568 * WUR-REPORT: Remove set*id functions.
8569
d2a54255
PT
85702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8571
8572 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8573
7ecdb005
RM
85742012-07-31 Roland McGrath <roland@hack.frob.com>
8575
789bd351
RM
8576 * include/sys/socket.h (__libc_accept, __libc_accept4):
8577 Add attribute_hidden.
8578 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8579
40ce302d
RM
8580 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8581 use of PTR_MANGLE.
8582 * inet/getnetgrent_r.c (setup): Likewise.
8583
7ecdb005
RM
8584 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8585
e2eabb2c
DM
85862012-07-31 David S. Miller <davem@davemloft.net>
8587
8588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8589
d0419dbf
JM
85902012-07-31 Joseph Myers <joseph@codesourcery.com>
8591
8592 [BZ #13629]
8593 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8594 value between 1.0 and 2.0 and smaller part has absolute value less
8595 than 1.0.
8596 * math/s_clog10.c (__clog10): Likewise.
8597 * math/s_clog10f.c (__clog10f): Likewise.
8598 * math/s_clog10l.c (__clog10l): Likewise.
8599 * math/s_clogf.c (__clogf): Likewise.
8600 * math/s_clogl.c (__clogl): Likewise.
8601 * math/libm-test.inc (clog_test): Add more tests.
8602 (clog10_test): Likewise.
8603 * sysdeps/i386/fpu/libm-test-ulps: Update.
8604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605
2bc13872
FW
86062012-07-31 Florian Weimer <fweimer@redhat.com>
8607
8608 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8609 Exit with zero in case no suitable GID is found, and write a
8610 message to standard error.
8611
bea9b193
RM
86122012-07-30 Roland McGrath <roland@hack.frob.com>
8613
8614 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8615 rather than to 1.
8616 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8617 (MAXPATHLEN): Removed.
8618 (NOGROUP, NODEV): New macros.
8619 (setbit, clrbit, isset, isclr): New macros.
8620 (howmany, roundup, powerof2): New macros.
8621 (DEV_BSIZE): New macro.
8622
8623 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8624 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8625
8626 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8627 definition on [!__NO_LONG_DOUBLE_MATH].
8628
8629 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8630 PTR_MANGLE and PTR_DEMANGLE.
8631
8632 * socket/accept4.c (accept4): Rename to __libc_accept4.
8633 Define accept4 as a weak alias.
8634
8635 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8636 on [_DIRENT_HAVE_D_TYPE].
8637 * io/ftw.c (ftw_dir): Likewise.
8638
8639 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8640
8641 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8642
8643 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8644 Use the BSD numbers rather than the arbitrary ones we had.
8645 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8646 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8647 (SIGXCPU, SIGXFSZ): New macros.
8648 (_NSIG): Now 32.
8649
8650 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8651 initializer on [_LIBC_REENTRANT].
8652
8653 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8654 definitions inside [_POSIX_MAPPED_FILES].
8655
8656 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8657
8658 * dirent/opendir.c: Include <fcntl.h>.
8659
8660 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8661 (__libc_getspecific): Likewise.
8662 (__libc_key_create): Likewise.
8663
8664 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8665 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8666 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8667 (tmpfile64): Define as alias.
8668 * sysdeps/wordsize-64/tmpfile.c: File removed.
8669 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8672
8673 * stdio-common/vfscanf.c: Include <stdbool.h>.
8674 * nss/makedb.c: Likewise.
8675 * stdio-common/_i18n_number.h: Likewise.
8676 * argp/argp-help.c: Likewise.
8677 * posix/wordexp.c: Likewise.
8678 * sysdeps/posix/spawni.c: Likewise.
8679 * nss/nss_files/files-initgroups.c: Likewise.
8680 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8681 * nss/nss_files/files-initgroups.c: Likewise.
8682 * nss/nss_db/db-netgrp.c: Likewise.
8683 * nss/nss_db/db-initgroups.c: Likewise.
8684 * io/fchmodat.c: Include <sys/stat.h>.
8685
8686 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8687 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8688
8689 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8690 [HAVE_MMAP].
8691
8692 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8693 Add multiple inclusion protection.
8694
e5abc686
DM
86952012-07-27 David S. Miller <davem@davemloft.net>
8696
8697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8698
815e6fa3
GB
86992012-07-27 Gary Benson <gbenson@redhat.com>
8700
8701 [BZ #14298]
8702 * elf/rtld.c: Include <stap-probe.h>.
8703 (dl_main): Added static probes "init_start" and "init_complete".
8704 * elf/dl-load.c: Include <stap-probe.h>.
8705 (lose): Take new parameter "nsid".
8706 Added static probe "map_failed".
8707 (_dl_map_object_from_fd): Pass namespace id to lose.
8708 Added static probe "map_start".
8709 (open_verify): Pass namespace id to lose.
8710 * elf/dl-open.c: Include <stap-probe.h>.
8711 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8712 and "reloc_complete".
8713 * elf/dl-close.c: Include <stap-probe.h>.
8714 (_dl_close_worker): Added static probes "unmap_start" and
8715 "unmap_complete".
8716 * elf/rtld-debugger-interface.txt: New file documenting the above.
8717
9f98c16c
RM
87182012-07-26 Roland McGrath <roland@hack.frob.com>
8719
8720 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8721 rather than a string variable.
8722 * sunrpc/rpc_main.c (h_output): Likewise.
8723 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8724
f3c22df3
PT
87252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8726
8727 * inet/check_native.c: New file.
8728
3129cfc6
JM
87292012-07-26 Joseph Myers <joseph@codesourcery.com>
8730
da865e95
JM
8731 [BZ #13629]
8732 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8733 if larger part has absolute value 1.0.
8734 * math/s_clog10.c (__clog10): Likewise.
8735 * math/s_clog10f.c (__clog10f): Likewise.
8736 * math/s_clog10l.c (__clog10l): Likewise.
8737 * math/s_clogf.c (__clogf): Likewise.
8738 * math/s_clogl.c (__clogl): Likewise.
8739 * math/libm-test.inc (clog_test): Add more tests.
8740 (clog10_test): Likewise.
8741 * sysdeps/i386/fpu/libm-test-ulps: Update.
8742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8743
3129cfc6
JM
8744 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8745 (pltexit): Likewise.
8746 (La_regs): Likewise.
8747 (La_retval): Likewise.
8748 (int_retval): Likewise.
8749 Update #error for removed macros to refer only to definitions in
8750 tst-audit.h.
8751 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8752 macro.
8753 (pltexit): Likewise.
8754 (La_regs): Likewise.
8755 (La_retval): Likewise.
8756 (int_retval): Likewise.
8757 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8758 macro.
8759 (pltexit): Likewise.
8760 (La_regs): Likewise.
8761 (La_retval): Likewise.
8762 (int_retval): Likewise.
8763 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8764 macro.
8765 (pltexit): Likewise.
8766 (La_regs): Likewise.
8767 (La_retval): Likewise.
8768 (int_retval): Likewise.
8769 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8770 macro.
8771 (pltexit): Likewise.
8772 (La_regs): Likewise.
8773 (La_retval): Likewise.
8774 (int_retval): Likewise.
8775 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8776 macro.
8777 (pltexit): Likewise.
8778 (La_regs): Likewise.
8779 (La_retval): Likewise.
8780 (int_retval): Likewise.
8781 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8782 macro.
8783 (pltexit): Likewise.
8784 (La_regs): Likewise.
8785 (La_retval): Likewise.
8786 (int_retval): Likewise.
8787 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8788 macro definitions in tst-audit.h.
8789 * sysdeps/i386/tst-audit.h: New file.
8790 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8791 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8792 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8793 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8794 * sysdeps/sh/tst-audit.h: Likewise.
8795 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8796 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8797 * sysdeps/x86_64/tst-audit.h: Likewise.
8798
bfc07087
AJ
87992012-07-26 Andreas Jaeger <aj@suse.de>
8800
b1b2aaf8
AJ
8801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8802 ptrace.
8803
8804 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8805 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8806 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8807 PTRACE_O_MASK.
8808 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8809 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8810 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8811
bfc07087
AJ
8812 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8813 value.
8814
8815 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8816 _sigsys.
8817 (si_call_addr, si_syscall, si_arch): Define new macro.
8818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8819 _sigsys.
8820 (si_call_addr, si_syscall, si_arch): Define new marcro.
8821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8822 _sigsys.
8823 (si_call_addr, si_syscall, si_arch): Define new macro.
8824 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8825 _sigsys.
8826 (si_call_addr, si_syscall, si_arch): Define new macro.
8827
89b4b02f
JM
88282012-07-25 Joseph Myers <joseph@codesourcery.com>
8829
8830 [BZ #13717]
8831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8832 Change to 2.4.21 where previously 2.4.1.
8833 * sysdeps/unix/sysv/linux/configure: Regenerated.
8834 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8835 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8836 Linux kernel version.
8837 (__ASSUME_STD_AUXV): Remove.
8838 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8839 kernel version.
8840 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8841 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8842 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8843 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8844 (__ASSUME_NETLINK_SUPPORT): Likewise.
8845 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8846 (__no_netlink_support): Remove conditional definition.
8847 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8848 Remove.
8849 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8850 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8852 (if_nameindex_ioctl): Remove.
8853 (if_nameindex_netlink): Do not handle __no_netlink_support.
8854 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8855 code.
8856 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8857 Remove conditional code.
8858 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8859 code.
8860 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8861 unconditional.
8862 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8863 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8864 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8865 Remove.
8866 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8867 [!__ASSUME_STD_AUXV]: Remove conditional code.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8869 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8870 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8872 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8873 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8874 code.
8875 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8877 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8878 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8879 conditional code.
8880 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8882 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8883 code.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8885 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8886 conditional code.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8888 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8889 code unconditional.
8890 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8891 conditional code.
8892 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8893 unconditional.
8894 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8895 conditional code.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8897 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8898 unconditional.
8899 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8900 conditional code.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8902 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8903 code unconditional.
8904 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8905 conditional code.
8906 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8907 unconditional.
8908 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8909 conditional code.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8911 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8912 code unconditional.
8913 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8914 conditional code.
8915 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8916 unconditional.
8917 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8918 conditional code.
8919
842a39cd
AS
89202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8921
8922 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8923 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8924 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8925 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8926 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8927 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8928 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8929 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8930 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8931 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8933 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8934 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8935 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8937 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8938 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8945
84b3fd84
FW
89462012-07-25 Florian Weimer <fweimer@redhat.com>
8947
8948 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8949 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8950 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8951 Introduce __libc_secure_getenv.
0c7936d5
FW
8952 * stdlib/Versions (2.17): Add secure_getenv
8953 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8954 * stdlib/secure-getenv.c: Rename __secure_getenv to
8955 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8956 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8957 * stdlib/tst-secure-getenv.c: New.
8958 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8959 * manual/startup.texi (Environment Access): Document
8960 secure_getenv.
84b3fd84
FW
8961 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8962 __libc_secure_getenv.
8963 * inet/ruserpass.c (ruserpass): Likewise.
8964 * malloc/mtrace.c (mtrace): Likewise.
8965 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8966 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8967 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8968 * sysdeps/posix/tempname.c: Likewise. Evaluate
8969 HAVE_SECURE_GETENV.
8970 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8971 __secure_getenv to __libc_secure_getenv.
84b3fd84 8972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8974 Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8976 Likewise.
8977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8984
56e49b71
JM
89852012-07-25 Joseph Myers <joseph@codesourcery.com>
8986
8987 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8988 (struct La_i86_retval): Likewise.
8989 (struct La_x86_64_regs): Likewise.
8990 (struct La_x86_64_retval): Likewise.
8991 (struct La_x32_regs): Likewise.
8992 (struct La_x32_retval): Likewise.
8993 (struct La_ppc32_regs): Likewise.
8994 (struct La_ppc32_retval): Likewise.
8995 (struct La_ppc64_regs): Likewise.
8996 (struct La_ppc64_retval): Likewise.
8997 (struct La_sh_regs): Likewise.
8998 (struct La_sh_retval): Likewise.
8999 (struct La_s390_32_regs): Likewise.
9000 (struct La_s390_32_retval): Likewise.
9001 (struct La_s390_64_regs): Likewise.
9002 (struct La_s390_64_retval): Likewise.
9003 (struct La_sparc32_regs): Likewise.
9004 (struct La_sparc32_retval): Likewise.
9005 (struct La_sparc64_regs): Likewise.
9006 (struct La_sparc64_retval): Likewise.
9007 (struct audit_ifaces): Remove architecture-specific pltenter and
9008 pltexit members.
9009 * sysdeps/i386/ldsodefs.h: New file.
9010 * sysdeps/powerpc/ldsodefs.h: Likewise.
9011 * sysdeps/s390/ldsodefs.h: Likewise.
9012 * sysdeps/sh/ldsodefs.h: Likewise.
9013 * sysdeps/sparc/ldsodefs.h: Likewise.
9014 * sysdeps/x86_64/ldsodefs.h: Likewise.
9015
354691b7
MP
90162012-07-25 Marek Polacek <polacek@redhat.com>
9017
9018 [BZ #6808]
9019 * math/libm-test.inc (yn_test): Add another test.
9020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9021 to ERANGE when the result is +-Inf.
9022 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9023 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9024 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9025 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9026
bf9e2071
JM
90272012-07-24 Joseph Myers <joseph@codesourcery.com>
9028
9029 * conform/data/time.h-data (NULL): Use macro-constant. Require
9030 equal to 0.
9031 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9032 clock_t.
9033 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9034
57633811
TS
90352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9036
9037 * configure.in <sysdeps resolving>: Correct printing
9038 Implies_before.
9039 * configure: Regenerate.
9040
c23c33b0
TS
90412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9042
9043 * math/w_ilogb.c: Include <limits.h>.
9044 * math/w_ilogbl.c: Likewise.
9045
b5982523
JM
90462012-07-20 Joseph Myers <joseph@codesourcery.com>
9047
9048 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9049 va_copy. Document allowing for unavailable va_copy only as
9050 pre-C99 compatibility.
9051 * manual/string.texi (Copying and Concatenation): Use va_copy
9052 instead of __va_copy in concat example.
9053
ac4ea442
PT
90542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9055
9056 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9057 (__sendto): Use create_address_port. Initialize APORT and deallocate
9058 it if not null.
9059
f98eafbd
PT
9060 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9061 with O_NOLINK passed to __file_name_lookup.
9062
898c7aab
PT
9063 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9064 with O_NOLINK passed to __file_name_lookup.
9065
0ced335a
PT
9066 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9067 negative N or less than NGIDS.
9068
b3404dbd
PT
9069 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9070 type to string_t. Set ERANGE as errno and return it if NAME is not big
9071 enough. Use memcpy instead of strncpy.
9072
0f48659e
JM
90732012-07-20 Joseph Myers <joseph@codesourcery.com>
9074
9075 * elf/Makefile (check-data): Remove.
9076 (localplt.data): New vpath directive.
9077 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9078 instead of $(check-data).
9079 * scripts/data/localplt-generic.data: Move to ...
9080 * sysdeps/generic/localplt.data: ... here.
9081 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9082 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9083 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9085 ... here.
9086 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9088 ... here.
9089 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9091 ... here.
9092 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9094 ... here.
9095 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9097 ... here.
9098 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9100 ... here.
9101
d37cbdaa
AZ
91022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9103
9104 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9105 PPC32 and PPC64 files.
9106 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9107 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9108
46f85fc2
AK
91092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9110
9111 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9112 __makecontext_ret to ...
9113 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9114 ... here and call exit if uc_link is NULL. New file.
9115 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9116 __makecontext_ret.S.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9118 __makecontext_ret to ...
9119 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9120 ... here and call exit if uc_link is NULL. New file.
9121 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9122 __makecontext_ret.S.
9123
08f43f9b
AK
91242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9125
9126 * elf/elf.h (R_390_IRELATIVE): New definition.
9127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9128 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9129 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9131 (elf_machine_lazy_rel): Likewise.
9132 * sysdeps/s390/dl-irel.h: New file.
9133 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9134 * sysdeps/s390/s390-64/memset.S: New asm code.
9135 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9136 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9138 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9139 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9140 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9142 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9143 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9144 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9145 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9146 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9147 * sysdeps/s390/s390-32/memset.S: New asm code.
9148 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9149
3b05db33
MP
91502012-07-17 Marek Polacek <polacek@redhat.com>
9151
9152 [BZ #14349]
9153 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9154 * sysdeps/s390/s390-64/configure.in: Likewise.
9155 * sysdeps/sparc/configure.in: Likewise.
9156 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9157 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9158 * sysdeps/i386/configure.in: Likewise.
9159 * sysdeps/x86_64/configure.in: Likewise.
9160 * sysdeps/sh/configure.in: Likewise.
9161 * sysdeps/s390/s390-32/configure: Regenerated.
9162 * sysdeps/s390/s390-64/configure: Likewise.
9163 * sysdeps/x86_64/configure: Likewise.
9164 * sysdeps/sh/configure: Likewise.
9165 * sysdeps/powerpc/powerpc64/configure: Likewise.
9166 * sysdeps/powerpc/powerpc32/configure: Likewise.
9167 * sysdeps/sparc/configure: Likwise.
9168 * sysdeps/i386/configure: Likewise.
9169
a66877c6
MP
9170 * elf/dl-open.c: Comment fixes.
9171
cfc82fd8
JM
91722012-07-17 Joseph Myers <joseph@codesourcery.com>
9173
bd29910a
JM
9174 * Makefile [CXX] (check-data): Remove.
9175 [CXX] (c++-types.data): New vpath directive.
9176 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9177 vpath. Do not allow for C++ type data being missing.
9178 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9179 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9180 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9181 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9182 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9183 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9184 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9186 ... here.
9187 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9189 ... here.
9190 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9192 ... here.
9193 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9195 ... here.
9196 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9198 ... here.
9199 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9201 ... here.
9202 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9204 ... here.
9205 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9207
cfc82fd8
JM
9208 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9209 definitions to architecture-specific files.
9210 (TLS_IE): Likewise.
9211 (TLS_LD): Likewise.
9212 (TLS_GD): Likewise.
9213 * sysdeps/i386/tls-macros.h: New file.
9214 * sysdeps/powerpc/tls-macros.h: Likewise.
9215 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9216 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9217 * sysdeps/sh/tls-macros.h: Likewise.
9218 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9219 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9220 * sysdeps/x86_64/tls-macros.h: Likewise.
9221
f7db3170
TS
92222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9223
07cbfc23
TS
9224 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9225 zero value for regular exit case.
9226
f7db3170
TS
9227 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9228 (__start_context): Preserve zero value for regular exit case.
9229
dc97c227
TS
92302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9231 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9232
9233 * manual/setjmp.texi (setcontext): Clarify normal process
9234 termination when uc_link is the null pointer.
9235 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9236 exit call.
9237
d0cd7d02
AS
92382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9239
9240 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9241 preprocessor. Test for each exception mask separately.
9242
dd318934
AJ
92432012-07-16 Andreas Jaeger <aj@suse.de>
9244
9245 * po/ru.po: Update from translation team.
9246
8048311a
JM
92472012-07-15 Joseph Myers <joseph@codesourcery.com>
9248
9249 * conform/data/string.h-data (NULL): Use macro-constant. Require
9250 equal to 0.
9251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9252 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9253 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9254 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9256
b637d46e
AJ
92572012-07-13 Andreas Jaeger <aj@suse.de>
9258
9259 * po/fr.po: Update from translation team.
9260
541428fe
MP
92612012-07-12 Marek Polacek <polacek@redhat.com>
9262
9263 [BZ #14173]
9264 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9266 loop condition.
9267
ec332e94
JM
92682012-07-12 Joseph Myers <joseph@codesourcery.com>
9269
9270 [BZ #13717]
9271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9272 Change to 2.4.1 where previously 2.4.0.
9273 * sysdeps/unix/sysv/linux/configure: Regenerated.
9274 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9275 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9276 version.
9277 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9278 (__ASSUME_AT_CLKTCK): Remove.
9279 (__ASSUME_AT_PAGESIZE): Likewise.
9280 (__ASSUME_AT_XID): Likewise.
9281 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9282 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9283 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9284 unconditionally.
9285 (HAVE_AUX_PAGESIZE): Likewise.
9286 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9287 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9288 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9289
7b6e99be
JB
92902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9291
9292 [BZ #14307]
9293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9294 the temporary buffer used to invoke __gethostbyname2_r,
9295 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9296 host_data / struct gaih_addrtuple.
9297 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9298 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9299 header file nss/nsswitch.h.
9300 * nss/nsswitch.h (global scope): Add definition of implementation
9301 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9302 resolv/nss_dns/dns-host.c).
9303
608404eb
AJ
93042012-07-11 Andreas Jaeger <aj@suse.de>
9305
9306 * po/fr.po: Update from translation team.
9307
71220aca
AJ
9308 * po/sv.po: Update from translation team
9309 * po/fr.po: Another update from translation team.
9310
28cfe843
AZ
93112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9312
9313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9314 for subnormals or multiply small sinh result by itself.
9315 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9317
6b90f981
DM
93182012-07-11 David S. Miller <davem@davemloft.net>
9319
9320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9321
c6825772
AS
93222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9323
9324 [BZ #14347]
9325 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9326 (INTERNAL_MARK): Shift it here.
9327
7b8e0d49
MP
93282012-07-10 Marek Polacek <polacek@redhat.com>
9329
9330 [BZ #14151]
9331 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9332 libc_cv_asm_global_directive with .globl.
9333 * configure: Regenerated.
9334 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9335 with .globl.
9336 * sysdeps/i386/configure: Regenerated.
9337 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9338 with .globl.
9339 * sysdeps/x86_64/configure: Regenerated.
9340 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9341 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9342 * elf/tst-unique2mod2.c: Likewise.
9343 * elf/tst-unique2mod1.c: Likewise.
9344 * elf/tst-unique1mod2.c: Likewise.
9345 * elf/tst-unique1mod1.c: Likewise.
9346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9350 * sysdeps/mach/sysdep.h: Likewise.
9351 * sysdeps/i386/sysdep.h: Likewise.
9352 * sysdeps/i386/i386-mcount.S: Likewise.
9353 * sysdeps/x86_64/_mcount.S: Likewise.
9354 * sysdeps/x86_64/sysdep.h: Likewise.
9355 * sysdeps/sh/_mcount.S: Likewise.
9356 * sysdeps/sh/sysdep.h: Likewise.
9357 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9360 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9361 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9364 * locale/localeinfo.h: Likewise.
9365 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9366 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9367
6c55cda3
RM
93682012-07-09 Roland McGrath <roland@hack.frob.com>
9369
9370 [BZ #14336]
9371 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9372 system".
9373 * manual/message.texi (The Uniforum approach): Likewise.
9374 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9375 (glibc iconv Implementation): Likewise.
9376
638a572e
JM
93772012-07-09 Joseph Myers <joseph@codesourcery.com>
9378
9379 [BZ #14337]
9380 * math/s_clog.c (__clog): Avoid scaling a value down where that
9381 could result in underflow.
9382 * math/s_clog10.c (__clog10): Likewise.
9383 * math/s_clog10f.c (__clog10f): Likewise.
9384 * math/s_clog10l.c (__clog10l): Likewise.
9385 * math/s_clogf.c (__clogf): Likewise.
9386 * math/s_clogl.c (__clogl): Likewise.
9387 * math/libm-test.inc (clog_test): Add more tests.
9388 (clog10_test): Likewise.
9389 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9391
261f4859
AS
93922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9393
0abaf3e4
AS
9394 [BZ #14283]
9395 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9396 by 7 not 8 to examine high bit of fractional part.
9397
261f4859
AS
9398 [BZ #14042]
9399 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9400 for call to __mcount_internal.
9401 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9402 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9403 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9404
f17ac40d
JM
94052012-07-06 Joseph Myers <joseph@codesourcery.com>
9406
9ad63c23
JM
9407 [BZ #14154]
9408 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9409 approximation for values within 0x1p-13f of an odd multiple of
9410 pi/4.
9411 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9412 exception. Add more tests.
9413 * sysdeps/i386/fpu/libm-test-ulps: Update.
9414
f17ac40d
JM
9415 [BZ #6778]
9416 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9417 inputs and return -1 for them. Do not check for +Inf in case not
9418 reachable for +Inf.
9419 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9420 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9422 and return -1 for them. Do not check for +Inf in case not
9423 reachable for +Inf.
9424 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9425 define.
9426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9427 and return -1 for them. Do not check for +Inf in case not
9428 reachable for +Inf.
9429 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9430 spurious underflow.
9431 * sysdeps/i386/fpu/libm-test-ulps: Update.
9432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9433
fb21f89b
MF
94342012-07-06 Mike Frysinger <vapier@gentoo.org>
9435
9436 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9437
cdfe2c5e
JM
94382012-07-05 Joseph Myers <joseph@codesourcery.com>
9439
9440 [BZ #14157]
9441 [BZ #14331]
9442 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9443 could result in spurious underflow. Scale down values above
9444 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9445 * math/s_csqrtf.c (__csqrtf): Likewise.
9446 * math/s_csqrtl.c (__csqrtl): Likewise.
9447 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9448 spurious underflow.
9449 * sysdeps/i386/fpu/libm-test-ulps: Update.
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9451
70d35b67
AS
94522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9453
704bc459
AS
9454 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9455 xopen-msg.sed.
9456 * catgets/xopen-msg.awk: New file.
9457 * catgets/xopen-msg.sed: Removed.
9458
70d35b67
AS
9459 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9460 po2text.sed.
9461 * intl/po2test.awk: New file.
9462 * intl/po2test.sed: Removed.
9463
ca61cf32
JM
94642012-07-04 Joseph Myers <joseph@codesourcery.com>
9465
9466 [BZ #14328]
9467 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9468 or multiply small sinh result by itself.
9469 * math/s_ctanf.c (__ctanf): Likewise.
9470 * math/s_ctanh.c (__ctanh): Likewise.
9471 * math/s_ctanhf.c (__ctanhf): Likewise.
9472 * math/s_ctanhl.c (__ctanhl): Likewise.
9473 * math/s_ctanl.c (__ctanl): Likewise.
9474 * math/libm-test.inc (ctan_test_tonearest): New function.
9475 (ctan_test_towardzero): Likewise.
9476 (ctan_test_downward): Likewise.
9477 (ctan_test_upward): Likewise.
9478 (ctanh_test_tonearest): Likewise.
9479 (ctanh_test_towardzero): Likewise.
9480 (ctanh_test_downward): Likewise.
9481 (ctanh_test_upward): Likewise.
9482 (main): Call these new functions.
9483 * sysdeps/i386/fpu/libm-test-ulps: Update.
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9485
ca48a46a
MF
94862012-07-03 Mike Frysinger <vapier@gentoo.org>
9487
9488 * .gitignore: Delete /ports entry.
9489
9d63d37d
AJ
94902012-07-03 Andreas Jaeger <aj@suse.de>
9491
9492 * po/bg.po: Update from translation team.
9493 * po/cs.po: Likewise.
9494 * po/de.po: Likewise.
9495 * po/hr.po: Likewise.
9496 * po/nl.pl: Likewise.
9497 * po/pl.po: Likewise.
9498 * po/vi.po: Likewise.
9499
370ca3d2
JM
95002012-07-03 Joseph Myers <joseph@codesourcery.com>
9501
95f5a9a8
JM
9502 * Makeconfig [!+link] (+link-before-libc): New variable.
9503 [!+link] (+link-after-libc): Likewise.
9504 [!+link] (+link-tests): Likewise.
9505 [!+link] (+link): Define in terms of $(+link-before-libc) and
9506 $(+link-after-libc).
9507 [!+link-static] (+link-static-before-libc): New variable.
9508 [!+link-static] (+link-static-after-libc): Likewise.
9509 [!+link-static] (+link-static-tests): Likewise.
9510 [!+link-static] (+link-static): Define in terms of
9511 $(+link-static-before-libc) and $(+link-static-after-libc).
9512 [build-shared] (link-libc-before-gnulib): New variable.
9513 [build-shared] (link-libc-tests): Likewise.
9514 [build-shared] (link-libc): Define in terms of
9515 $(link-libc-before-gnulib).
9516 [!build-shared] (link-libc-tests): New variable.
9517 (link-libc-static-tests): New variable.
9518 [!gnulib] (gnulib-arch): New variable.
9519 [!gnulib] (gnulib-tests): Likewise.
9520 [!gnulib] (static-gnulib-arch): Likewise.
9521 [!gnulib] (static-gnulib-tests): Likewise.
9522 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9523 Define with "=" instead of ":=".
9524 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9525 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9526 * Rules (binaries-all-notests): New variable.
9527 (binaries-all-tests): Likewise.
9528 (binaries-static-notests): Likewise.
9529 (binaries-static-tests): Likewise.
9530 (binaries-all): Define using $(binaries-all-notests) and
9531 $(binaries-all-tests).
9532 (binaries-static): Define using $(binaries-static-notests) and
9533 $(binaries-static-tests).
9534 (binaries-shared-tests): New variable.
9535 (binaries-shared-notests): Likewise.
9536 (binaries-shared): Remove variable.
9537 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9538 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9539 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9540 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9541 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9542 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9543 * elf/Makefile (sln-modules): New variable.
9544 (extra-objs): Add $(sln-modules:=.o).
9545 (ldconfig-modules): Add static-stubs.
9546 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9547 * elf/static-stubs.c: New file.
9548
7a845b2c
JM
9549 [BZ #14283]
9550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9551 by 7 not 8 to examine high bit of fractional part. Use volatile
9552 variables when splitting into final array of floats if
9553 __FLT_EVAL_METHOD__ != 0.
9554 * math/libm-test.inc (cos_test): Add another test.
9555 (sin_test): Likewise.
9556 * sysdeps/i386/fpu/libm-test-ulps: Update.
9557
e2283f38
JM
9558 [BZ #14273]
9559 * math/libm-test.inc (cosh_test): Add more tests.
9560
370ca3d2
JM
9561 * version.h (RELEASE): Set to "development".
9562 (VERSION): Set to "2.16.90".
9563
ee9247c3
CD
95642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9565
9566 * NEWS: Update copyright. Remove last-updated date.
9567 Mention math library bug fixes and timezone data changes.
9568 * README: Mention GNU/Hurd, x32, and HPPA support status.
9569
4648c381
TS
95702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9571
9572 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9573
aac78a43
AJ
95742012-06-27 Andreas Jaeger <aj@suse.de>
9575
9576 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9577
ed3dbfad
AJ
95782012-06-25 Andreas Jaeger <aj@suse.de>
9579
9580 * sysdeps/s390/fpu/libm-test-ulps: Update.
9581
4d0ee855
AS
95822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9583 Thomas Schwinge <thomas@codesourcery.com>
9584
9585 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9586 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9588 fanotify_mark.
9589
af1bce34
TS
95902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9591
a9fa33ba
TS
9592 * sysdeps/mach/start.c: Remove file.
9593 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9594 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9595 * sysdeps/sh/init-first.c: Likewise.
9596
58f902b8
TS
9597 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9598 registers for frame unwinding purposes, add CFI directives.
9599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9601 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9602 Likewise.
9603
1518f58b
TS
9604 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9605 __fortify_fail returning.
9606 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9607
db9b5059
TS
9608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9609 sysdeps/sh/____longjmp_chk.S.
9610 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9611 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9612 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9613 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9614
967705fe
TS
9615 * sysdeps/sh/abort-instr.h: New file.
9616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9617 process in case exit returns.
9618
a9def8c4
TS
9619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9620 initialize the GOT register before use.
9621
2a649725
TS
9622 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9623 calculation of ARGC > 4.
9624
af1bce34
TS
9625 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9626 meaningful names to some local labels.
9627
d230f50a
KK
96282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9629 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9630
9631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9632 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9633 (__arch_compare_and_exchange_val_16_acq): Likewise.
9634 (__arch_compare_and_exchange_val_32_acq): Likewise.
9635 (atomic_exchange_and_add): Fix gUSA sequence.
9636 (atomic_add): Likewise.
9637 (atomic_add_negative): Likewise.
9638 (atomic_add_zero): Likewise.
9639 (atomic_bit_test_set): Likewise.
9640
0479b305
AS
96412012-06-22 Andreas Schwab <schwab@redhat.com>
9642
9643 [BZ #13579]
9644 * include/link.h (struct link_map): Add l_free_initfini.
9645 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9646 l_initfini.
9647 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9648 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9649 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9650 set.
9651
0e3933b9
CD
96522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9653
9654 * configure.in: Use AC_LANG_SOURCE.
9655 * configure: Regenerate.
9656
4248b1b1
RM
96572012-06-22 Roland McGrath <roland@hack.frob.com>
9658
9659 * configure.in (libc_cv_localstatedir): New substituted variable.
9660 * configure: Regenerated.
9661 * config.make.in (localstatedir): New variable, substituted from
9662 libc_cv_localstatedir.
9663 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9664 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9665 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9666 * sysdeps/gnu/configure: Regenerated.
9667
006dd861
JL
96682012-06-21 Jeff Law <law@redhat.com>
9669
9670 [BZ #14277]
9671 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9672 free. Simplify list management for _LIBC case.
9673
79662d42
JM
96742012-06-21 Joseph Myers <joseph@codesourcery.com>
9675
b7abb4bf
JM
9676 [BZ #14273]
9677 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9678 Clear sign bit of 64-bit integer value before comparing against
9679 overflow value.
9680
79662d42
JM
9681 * sysdeps/mach/configure: Regenerated.
9682
1f150908
L
96832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 [BZ #14278]
9686 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9687
28363bbf
JL
96882012-06-21 Jeff Law <law@redhat.com>
9689
9690 [BZ #13882]
9691 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9692 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9693 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9694 * elf/dl-open.c (dl_open_worker): Likewise.
9695
09615db4
CD
96962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9697
9698 * scripts/list-sources.sh: Scan PORTS for translations.
9699 * po/libc.pot: Regenerated.
9700
2174c6dd
AJ
97012012-06-21 Andreas Jaeger <aj@suse.de>
9702
9703 [BZ #12194]
9704 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9705 warning.
9706 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9707 * bits/byteswap-16.h (__bswap_16): Likewise.
9708 * bits/byteswap.h (__bswap_constant_16): Likewise.
9709
3ee947b1
L
97102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9711
9712 [BZ #14117]
a2f34833
L
9713 * sysdeps/i386/fpu_control.h: Removed.
9714 * sysdeps/x86_64/fpu_control.h: Moved to ...
9715 * sysdeps/x86/fpu_control.h: Here.
9716
3ee947b1
L
9717 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9718 (_FPU_SETCW): Likewise.
9719
ed1825f8
L
97202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9721
25f1282a
L
9722 [BZ #14117]
9723 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9724 * sysdeps/x86/fpu/bits/mathinline.h: This.
9725 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9726
ed1825f8
L
9727 [BZ #14050]
9728 [BZ #14117]
9729 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9730 functions if __x86_64__ is defined.
9731
36d54b74
CLT
97322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9733
9734 * string/endian.h: Add !__ASSEMBLER__ condition for including
9735 conversion interfaces.
9736
10285c21
JM
97372012-06-15 Joseph Myers <joseph@codesourcery.com>
9738
9739 [BZ #14241]
9740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9741 of ABS(x) in calculating zero to negative powers other than odd
9742 integers.
9743 * math/libm-test.inc (pow_test): Add more tests.
9744
06c5abbd
AJ
97452012-06-15 Andreas Jaeger <aj@suse.de>
9746
9747 * manual/contrib.texi (Contributors): Update entry of Liubov
9748 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9749 Machado Filho.
9750
a3aeac40
CH
97512012-06-15 Cyril Hrubis <metan@ucw.cz>
9752
9753 * string/string.h: Add __wur to GNU version of strerror_r.
9754
49bdf4c1
L
97552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9756
9757 [BZ #14229]
9758 * string/Makefile (tests): Add tst-strtok_r.
9759 * string/tst-strtok_r.c: New file.
9760 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9761 RAX_LP/RDX_LP on SAVE_PTR.
9762
834f9b8d
RM
97632012-06-14 Roland McGrath <roland@hack.frob.com>
9764
9765 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9766
75fa1921
JM
97672012-06-14 Joseph Myers <joseph@codesourcery.com>
9768
9769 * libm_test.inc (csqrt_test): Allow more spurious underflow
9770 exceptions.
9771 (j0_test): Likewise.
9772 (j1_test): Likewise.
9773 (y0_test): Likewise.
9774 (y1_test): Likewise.
9775
771766df
CD
97762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9777
9778 * po/Makefile (libc.pot): Use UTF-8 charset.
9779
ceb9e56b
PP
97802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9781
9782 [BZ #14210]
9783 Suppress sign-conversion warning from FD_SET.
9784 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9785 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9786 not unsigned long int.
9787 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9788
ddb28975
L
97892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9790
9791 [BZ #14050]
9792 [BZ #14117]
9793 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9794 __extern_always_inline instead of __extern_inline.
9795 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9796 (__signbit): Likewise.
9797 (__signbitl): Support C++ namespace.
9798 (lrintf): New inline function.
9799 (lrint): Likewise.
9800 (llrintf): Likewise.
9801 (llrint): Likewise.
9802 (fmaxf): Likewise.
9803 (fmax): Likewise.
9804 (fminf): Likewise.
9805 (fmin): Likewise.
9806 (rint): Likewise.
9807 (rintf): Likewise.
9808 (ceil): Likewise.
9809 (ceilf): Likewise.
9810 (floor): Likewise.
9811 (floorf): Likewise.
9812 (nearbyint): Likewise.
9813 (nearbyintf): Likewise.
9814
d7b4fb26
TS
98152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9816
9817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9818 non-default versions.
9819
eb55f5c2
RM
98202012-06-11 Roland McGrath <roland@hack.frob.com>
9821
9822 [BZ #14218]
9823 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9824
366af02c
TS
98252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9826
99ff6e5c
TS
9827 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9828 (FE_UPWARD, FE_DOWNWARD): Don't define.
9829 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9831
366af02c
TS
9832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9833 reading it.
9834 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9836
793ea851
KK
98372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9838
9839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9841 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9843
a728a38f
L
98442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 [BZ #14117]
c08010c7
L
9847 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9848 * sysdeps/i386/fpu/Implies: New file.
9849 * sysdeps/x86_64/fpu/Implies: Likewise.
9850 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9851 * sysdeps/x86/fpu/bits/fenv.h: This.
9852
a728a38f
L
9853 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9854 __SSE_MATH__.
9855
6e230d11
SP
98562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9857
9858 [BZ #14134]
9859 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9860 character 0xffff that matches the last element of the
9861 conversion table.
9862
1b671feb
AZ
98632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9864
9865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9866 fmodl commit.
9867
6043738b
AZ
98682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9869
9870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9871 values higher than 25.6283.
9872
34ae0b32
AZ
98732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9874
9875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9876 subnormal exponent extraction and add some __builtin_expect.
9877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9878 Fix for subnormal mantissa calculation.
9879
1214ec8f
MF
98802012-06-04 Mike Frysinger <vapier@gentoo.org>
9881
9882 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9883 cpu2 is -1 and errno is not ENOSYS.
9884
f3d1f93c
L
98852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 [BZ #14117]
0e4a3cd7
L
9888 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9889 * sysdeps/x86/bits/string.h: This.
9890 * sysdeps/x86_64/bits/string.h: Removed.
9891
6704c645
L
9892 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9893 if not compiling for x86-64, but compiling for >= i486.
9894
48495318
L
9895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9896 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9897
14adcbfc
L
9898 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9899 New macro from Linux kernel 3.4.0.
9900 (FP_XSTATE_MAGIC2): Likewise.
9901 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9902 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9903 (struct _fpx_sw_bytes): New struct.
9904 (struct _xsave_hdr): Likewise.
9905 (struct _ymmh_state): Likewise.
9906 (struct _xstate): Likewise.
9907
68e408ab
L
9908 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9909 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9910 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9911 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9912 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9913 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9914
f3d1f93c
L
9915 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9916 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9917 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9918 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9919 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9920 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9921
d9dc34cd
TMQMF
99222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9923
9924 [BZ #13743]
9925 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9926 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9927 (sysdep_headers): Include sys/platform/ppc.h.
9928 * sysdeps/powerpc/test-gettimebase.c: Test for
9929 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9930 * manual/Makefile (appendices): Include platform.texi.
9931 * manual/contrib.texi (Contributors): Update @node pointers.
9932 * manual/maint.texi (Maintenance): Likewise.
9933 (Platform): New node.
9934 * manual/platform.texi: New file. Document the new features.
9935
4af3879c
SP
99362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 Jakub Jelinek <jakub@redhat.com>
9938
9939 [BZ #14188]
9940 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9941 where __builtin_expect is unavailable.
9942
2fd6ff13
DM
99432012-06-03 David S. Miller <davem@davemloft.net>
9944
9945 * stdlib/longlong.h: Updated from GCC.
9946
173f7220
AS
99472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9948
9949 [BZ #14042]
9950 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9951 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9952 __mcount_internal.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9954 (GLIBC_2.16): Likewise.
9955
f34a1c6f
L
99562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9959
88a4576f
JM
99602012-06-01 Joseph Myers <joseph@codesourcery.com>
9961
ea32bcdd
JM
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9963 (default-abi): New variable.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9965 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9966 variable.
9967 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9968 Likewise.
9969 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9970 Likewise.
9971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9972 Likewise.
9973
88a4576f
JM
9974 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9975 definition. Document in comment.
9976
402fe938
DM
99772012-06-01 David S. Miller <davem@davemloft.net>
9978
9979 * stdlib/longlong.h: Updated from GCC.
9980
3553723f
L
99812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 [BZ #14117]
3bd872c4
L
9984 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9985 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9986 sys/debugreg.h sys/io.h here.
9987 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9988 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9989 sys/io.h.
9990 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9991 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9992 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9993 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9994 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9995 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9996
3553723f
L
9997 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9998 Define only if __x86_64__ is defined.
9999
4842e4fe
JM
100002012-06-01 Joseph Myers <joseph@codesourcery.com>
10001
c5bfe3d5
JM
10002 [BZ #14048]
10003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10004 Use int64_t for variable i.
10005 * math/libm-test.inc (fmod_test): Add more tests.
10006
4842e4fe
JM
10007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10008 z computation is not scheduled after fetestexcept.
10009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10010 Use math_force_eval instead of asm to ensure calculation scheduled
10011 before exception test.
10012 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10013 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10014
efb73488
AJ
100152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10016
10017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10018 computation is not scheduled after fetestexcept.
10019
29bcce7c
L
100202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 [BZ #14117]
10023 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10024 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10025
73a68f94
AZ
100262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10027
10028 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10029 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10030
67b6df78
L
100312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10032
edf2933a 10033 [BZ #14117]
ebc64a18
L
10034 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10035 <bits/wordsize.h>.
10036 (__WCHAR_MIN): Support __WORDSIZE == 64.
10037 (__WCHAR_MAX): Likewise.
10038
edf2933a
L
10039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10041
57c6cf40
L
10042 [BZ #14183]
10043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10044 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10045
67b6df78 10046 [BZ #14117]
8eb6281e
L
10047 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10048 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10049
aac639f4
L
10050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10051 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10052
67b6df78
L
10053 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10054 Defined to 1 if __x86_64__ isn't defined.
10055 (_STAT_VER_LINUX_OLD): New.
10056 (st_atime): Remove duplicate.
10057 (st_mtime): Likewise.
10058 (st_ctime): Likewise.
10059
1c2cfe81
DM
100602012-05-31 David S. Miller <davem@davemloft.net>
10061
10062 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10063 entries.
10064
5be8418c
AS
100652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10066
e7725326
AS
10067 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10068 gen-libm-test.pl.
10069
5be8418c
AS
10070 [BZ #14132]
10071 * elf/dl-reloc.c: Include <_itoa.h>.
10072 (_dl_reloc_bad_type): Remove use of INTUSE.
10073 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10074 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10075 * stdio-common/psiginfo.c (psiginfo): Likewise.
10076 * stdio-common/psignal.c (psignal): Likewise.
10077 * string/strsignal.c (strsignal): Likewise.
10078 * include/signal.h (_sys_siglist): Declare hidden proto.
10079 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10080 INTVARDEF with libc_hidden_data_def.
10081 * stdio-common/itoa-udigits.c: Likewise.
10082 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10083 (_itoa_lower_digits_internal): Remove declaration.
10084 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10085 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10086 (_sys_sigabbrev_internal): Remove aliases.
10087 (_sys_siglist): Define hidden alias.
10088
507352f1
MT
100892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10090
10091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10092 bits/sysctl.h.
10093
42bbb1c3
L
100942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 [BZ #14117]
6bd784b6
L
10097 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10098 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10099
8bca20f0
L
10100 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10101 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10102 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10103 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10105 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10106
f9e890a9
L
10107 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10108 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10109 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10110
471101a1
L
10111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10112 with __addr.
10113 (insw): Likewise.
10114 (insl): Likewise.
10115 (outsb): Likewise.
10116 (outsw): Likewise.
10117 (outsl): Likewise.
10118
6451c862
L
10119 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10121 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10122
a254b8c9
L
10123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10124 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10126 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10127 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10129
b8dfdd92
L
10130 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10131 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10132
578cd270
L
10133 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10134 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10135
de662f5f
L
10136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10137 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10139
25653439
L
10140 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10141 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10142 to ...
10143 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10144
6bad24a0
L
10145 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10146 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10147 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10148
42bbb1c3
L
10149 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10150 for x86-64.
10151 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10152
2d10d547
JM
101532012-05-31 Joseph Myers <joseph@codesourcery.com>
10154
10155 * math/math.h (M_El): Use two more decimal places.
10156 (M_LOG2El): Likewise.
10157 (M_LOG10El): Likewise.
10158 (M_LN2l): Likewise.
10159 (M_LN10l): Likewise.
10160 (M_PIl): Likewise.
10161 (M_PI_2l): Likewise.
10162 (M_PI_4l): Likewise.
10163 (M_1_PIl): Likewise.
10164 (M_2_PIl): Likewise.
10165 (M_2_SQRTPIl): Likewise.
10166 (M_SQRT2l): Likewise.
10167 (M_SQRT1_2l): Likewise.
10168
f230c29b
DM
101692012-05-31 David S. Miller <davem@davemloft.net>
10170
10171 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10172 values between float registers.
10173 * sysdeps/sparc/sparc64/memset.S: Likewise.
10174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10175
fed806c3
MF
101762012-05-31 Mike Frysinger <vapier@gentoo.org>
10177
10178 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10179 -D_FORTIFY_SOURCE=1.
10180 (CPPFLAGS-tst-longjmp_chk.c): Define.
10181 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10182 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10183 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10184 CFLAGS-tst-wchar-h.c.
10185
30917259
MP
101862012-05-31 Marek Polacek <polacek@redhat.com>
10187
10188 [BZ #14132]
10189 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10190 __endmntent_internal): Remove declaration.
10191 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10192 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10193 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10194
1c58d5dc
DM
101952012-05-30 David S. Miller <davem@davemloft.net>
10196
10197 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10198 (___Q_simulate_exceptions): Use real FP ops rather than writing
10199 into the %fsr.
10200 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10201 Likewise.
10202
7dc00e0d
L
102032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10204
10205 [BZ #14117]
0bd53985
L
10206 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10207 * sysdeps/x86/bits/xtitypes.h: This.
10208
3a257e66
L
10209 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10210 * sysdeps/x86/bits/wordsize.h: This.
10211
62f62904
L
10212 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10213 * sysdeps/x86/bits/huge_vall.h: This.
10214
404fe9d9
L
10215 * sysdeps/i386/bits/select.h: Removed.
10216 * sysdeps/x86_64/bits/select.h: Renamed to ...
10217 * sysdeps/x86/bits/select.h: This.
10218
d48d0446
L
10219 * sysdeps/i386/bits/setjmp.h: Removed.
10220 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10221 * sysdeps/x86/bits/setjmp.h: This.
10222
7dc00e0d
L
10223 * sysdeps/i386/bits/mathdef.h: Removed.
10224 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10225 * sysdeps/x86/bits/mathdef.h: This.
10226
03277f8f
AS
102272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10228
10229 [BZ #14132]
10230 * include/sys/socket.h (__connect_internal)
10231 (__libc_sa_len_internal): Remove declaration.
10232 (__connect, __libc_sa_len): Declare hidden_proto.
10233 (SA_LEN): Remove use of INTUSE.
10234 * socket/connect.c: Add libc_hidden_def.
10235 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10236 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10237 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10238 alias.
10239 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10240 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10241 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10242 of adding _internal alias.
10243
13764867
L
102442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 [BZ #14117]
6bd97696
L
10247 * sysdeps/i386/bits/link.h: Removed.
10248 * sysdeps/i386/bits/linkmap.h: Likewise.
10249 * sysdeps/x86_64/bits/link.h: Renamed to ...
10250 * sysdeps/x86/bits/link.h: This.
10251 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10252 * sysdeps/x86/bits/linkmap.h: This.
10253
f726f0bb
L
10254 * sysdeps/i386/bits/endian.h: Removed.
10255 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10256 * sysdeps/x86/bits/endian.h: This.
10257
13764867
L
10258 * sysdeps/i386/bits/byteswap.h: Removed.
10259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10260 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10261 * sysdeps/x86/bits/byteswap.h: This.
10262 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10263 * sysdeps/x86/bits/byteswap-16.h: This.
10264 * sysdeps/i386/Implies: Add x86.
10265 * sysdeps/x86_64/Implies: Likewise.
10266
ae251b0b
DM
102672012-05-30 David S. Miller <davem@davemloft.net>
10268
10269 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10270 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10272 (FP_TRAPPING_EXCEPTIONS): Define.
10273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10274 (FP_TRAPPING_EXCEPTIONS): Define.
10275 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10276 subnormals only when inexact has been signalled or underflow
10277 exceptions are enabled.
10278 (_FP_PACK_CANONICAL): Likewise.
10279
d5c90867
L
102802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10281
10282 [BZ #14183]
10283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10284 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10285
63f1549e
RH
102862012-05-30 Richard Henderson <rth@twiddle.net>
10287
8d8f2279
RH
10288 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10289 with #ifndef NOT_IN_libc.
10290
63f1549e
RH
10291 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10292 marked to avoid plt entry.
10293
0ab0291b
L
102942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10295
10296 [BZ #14112]
10297 * Makeconfig (default-abi): New macro.
10298 (abi-includes): Likewise.
10299 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10300 $(abi-$(default-abi)-lib-soname) for soname if defined.
10301 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10302 abi-variants.
10303 * Makefile (installed-stubs): Likewise.
10304 * include/stubs-biarch.h: Removed.
10305 * scripts/lib-names.awk: Only handle one library at a time.
10306 * scripts/soversions.awk: Remove WORDSIZE support.
10307 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10308 entries.
10309 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10310 Removed.
10311 (syscall-list-default-condition): Likewise.
10312 (syscall-list-default-condition): Likewise.
10313 (syscall-list-includes): Likewise.
10314 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10315 syscall-list-* with abi-*. Handle undefined abi-variants.
10316 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10317 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10318 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10319 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10320 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10321 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10322 Removed.
10323 (syscall-list-32-options): Likewise.
10324 (syscall-list-32-condition): Likewise.
10325 (syscall-list-64-options): Likewise.
10326 (syscall-list-64-condition): Likewise.
10327 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10328 macro.
10329 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10330 Renamed to ...
10331 (abi-*): This.
10332 (abi-64-ld-soname): New macro.
10333 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10334 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10335 Renamed to ...
10336 (abi-*): This.
10337 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10338 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10339
4da0431d
JM
103402012-05-30 Joseph Myers <joseph@codesourcery.com>
10341
3a85279c
JM
10342 * sysdeps/unix/sysv/linux/kernel-features.h
10343 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10344 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10345 include <kernel-features.h>.
10346 [!__NR_ftruncate64]: Remove conditional code.
10347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10348 [__NR_ftruncate64]: Make code unconditional.
10349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10350 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10351 include <kernel-features.h>.
10352 [!__NR_ftruncate64]: Remove conditional code.
10353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10354 [__NR_ftruncate64]: Make code unconditional.
10355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10357 include <kernel-features.h>.
10358 [!__NR_ftruncate64]: Remove conditional code.
10359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10360 [__NR_ftruncate64]: Make code unconditional.
10361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10363 include <kernel-features.h>.
10364 [!__NR_ftruncate64]: Remove conditional code.
10365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10366 [__NR_ftruncate64]: Make code unconditional.
10367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10368
4da0431d
JM
10369 * configure.in (libc_cv_fpie): Weaken to a compile test using
10370 LIBC_TRY_CC_OPTION.
10371 * configure: Regenerated.
10372
11ef492c
AK
103732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10374
10375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10379 Refreshed.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10386 Refreshed.
10387
d66ef399
DM
103882012-05-27 David S. Miller <davem@davemloft.net>
10389
10390 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10391 (___Q_zero): New.
10392 (__Q_simulate_exceptions): Return void. Change to simulate
10393 exceptions by writing into the %fsr.
10394 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10395 (__Qp_handle_exceptions): Likewise.
10396 (numbers): Delete.
10397 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10398 __Qp_handle_exceptions.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10400 __Qp_handle_exceptions.
10401 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10402 as unused and give dummy FP_RND_NEAREST initializer.
10403 (FP_INHIBIT_RESULTS): Define.
10404 (___Q_simulate_exceptions): Update declaration.
10405 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10406 formatting.
10407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10408 as unused and give dummy FP_RND_NEAREST initializer.
10409 (__Qp_handle_exceptions): Update declaration.
10410 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10411 formatting.
10412
04fb54b5
TS
104132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10414
10415 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10416 the temporary FPU control word.
10417 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10418 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10420 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10421 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10422 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10423 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10425 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10426 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10428
3f99608f
KK
104292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10430
10431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10432 fields.
10433
65a4de4e
CLT
104342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10435
10436 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10437 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10438 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10439 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10440 Likewise.
10441 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10442 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10443 Likewise.
10444
15749d40
UD
104452012-05-27 Ulrich Drepper <drepper@gmail.com>
10446
10447 * po/h.po: Update from translation team.
10448
25dbcb27
AS
104492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10450
3d3f8e55
AS
10451 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10452
25dbcb27
AS
10453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10454 handling of denormals.
10455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10456 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10462 Likewise.
10463
7ad47a80 104642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10465
10466 [BZ #14152]
10467 * math/libm-test.inc (fma_test): Don't always expect underflow
10468 exception.
10469
9c6ea9fa
SP
104702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10471
10472 [BZ #12416]
10473 * elf/tst-execstack.c: Include stackinfo.h.
10474 (do_test): Adjust test case to ensure that pthread_getattr_np
10475 behaviour remains the same after marking stack executable.
10476
a8239222
JM
104772012-05-25 Joseph Myers <joseph@codesourcery.com>
10478
10479 * sysdeps/unix/sysv/linux/kernel-features.h
10480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10482 kernel-features.h.
10483 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10484 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10485 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10486 kernel-features.h.
10487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10489
918b5606
L
104902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * configure.in: Define the default includes to being none.
10493 * configure: Regenerated.
10494
3a097cc7
RM
104952012-05-25 Roland McGrath <roland@hack.frob.com>
10496
8422c9a5
RM
10497 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10498 * sysdeps/x86_64/setjmp.S: Likewise.
10499 * sysdeps/i386/bsd-setjmp.S: Likewise.
10500 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10501 * sysdeps/i386/setjmp.S: Likewise.
10502 * sysdeps/i386/__longjmp.S: Likewise.
10503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10504 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10505
3a097cc7
RM
10506 * include/stap-probe.h: New file.
10507 * configure.in: Handle --enable-systemtap.
10508 * configure: Regenerated.
10509 * config.h.in (USE_STAP_PROBE): New #undef.
10510 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10511 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10512 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10513
21708942
JM
105142012-05-25 Joseph Myers <joseph@codesourcery.com>
10515
10516 [BZ #13717]
10517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10518 to 2.4.0 where earlier.
10519 * sysdeps/unix/sysv/linux/configure: Regenerated.
10520 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10521 <kernel-features.h>.
10522 [__ASSUME_32BITUIDS]: Make code unconditional.
10523 [!__ASSUME_32BITUIDS]: Remove conditional code.
10524 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10525 <kernel-features.h>.
10526 [__ASSUME_32BITUIDS]: Make code unconditional.
10527 [!__ASSUME_32BITUIDS]: Remove conditional code.
10528 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10529 [__ASSUME_32BITUIDS]: Make code unconditional.
10530 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10531 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10532 <kernel-features.h>.
10533 [__ASSUME_32BITUIDS]: Make code unconditional.
10534 [!__ASSUME_32BITUIDS]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10536 <kernel-features.h>.
10537 [__ASSUME_32BITUIDS]: Make code unconditional.
10538 [!__ASSUME_32BITUIDS]: Remove conditional code.
10539 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10540 <kernel-features.h>.
10541 [__ASSUME_32BITUIDS]: Make code unconditional.
10542 [!__ASSUME_32BITUIDS]: Remove conditional code.
10543 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10544 <kernel-features.h>.
10545 [__ASSUME_32BITUIDS]: Make code unconditional.
10546 [!__ASSUME_32BITUIDS]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10548 <kernel-features.h>.
10549 [__ASSUME_32BITUIDS]: Make code unconditional.
10550 [!__ASSUME_32BITUIDS]: Remove conditional code.
10551 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10552 <kernel-features.h>.
10553 [__ASSUME_32BITUIDS]: Make code unconditional.
10554 [!__ASSUME_32BITUIDS]: Remove conditional code.
10555 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10556 <kernel-features.h>.
10557 [__ASSUME_32BITUIDS]: Make code unconditional.
10558 [!__ASSUME_32BITUIDS]: Remove conditional code.
10559 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10560 <kernel-features.h>.
10561 [__ASSUME_32BITUIDS]: Make code unconditional.
10562 [!__ASSUME_32BITUIDS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10564 <kernel-features.h>.
10565 [__ASSUME_32BITUIDS]: Make code unconditional.
10566 [!__ASSUME_32BITUIDS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10568 <kernel-features.h>.
10569 [__ASSUME_32BITUIDS]: Make code unconditional.
10570 [!__ASSUME_32BITUIDS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10572 <kernel-features.h>.
10573 [__NR_setresgid] (__setresgid): Do not declare.
10574 [__ASSUME_32BITUIDS]: Make code unconditional.
10575 [!__ASSUME_32BITUIDS]: Remove conditional code.
10576 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10577 <kernel-features.h>.
10578 [__NR_setresuid] (__setresuid): Do not declare.
10579 [__ASSUME_32BITUIDS]: Make code unconditional.
10580 [!__ASSUME_32BITUIDS]: Remove conditional code.
10581 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10582 <kernel-features.h>.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10594 <kernel-features.h>.
10595 [__ASSUME_32BITUIDS]: Make code unconditional.
10596 [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10598 <kernel-features.h>.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10602 <kernel-features.h>.
10603 [__ASSUME_32BITUIDS]: Make code unconditional.
10604 [!__ASSUME_32BITUIDS]: Remove conditional code.
10605 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10606 <kernel-features.h>.
10607 [__ASSUME_32BITUIDS]: Make code unconditional.
10608 [!__ASSUME_32BITUIDS]: Remove conditional code.
10609 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10610 <kernel-features.h>.
10611 [__ASSUME_32BITUIDS]: Make code unconditional.
10612 [!__ASSUME_32BITUIDS]: Remove conditional code.
10613 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10614 <kernel-features.h>.
10615 [__ASSUME_32BITUIDS]: Make code unconditional.
10616 [!__ASSUME_32BITUIDS]: Remove conditional code.
10617 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10618 <kernel-features.h>.
10619 [__ASSUME_32BITUIDS]: Make code unconditional.
10620 [!__ASSUME_32BITUIDS]: Remove conditional code.
10621 * sysdeps/unix/sysv/linux/kernel-features.h
10622 (__ASSUME_SETRESUID_SYSCALL): Remove.
10623 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10624 (__ASSUME_32BITUIDS): Likewise.
10625 (__ASSUME_LDT_WORKS): Likewise.
10626 (__ASSUME_O_DIRECTORY): Likewise.
10627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10628 architecture but not kernel version.
10629 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10630 (__ASSUME_MMAP2_SYSCALL): Likewise.
10631 (__ASSUME_STAT64_SYSCALL): Likewise.
10632 (__ASSUME_IPC64): Likewise.
10633 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10634 <kernel-features.h>.
10635 [__ASSUME_32BITUIDS]: Make code unconditional.
10636 [!__ASSUME_32BITUIDS]: Remove conditional code.
10637 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10638 <kernel-features.h>.
10639 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10640 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10641 132096]: Remove conditional code.
10642 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10643 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10644 <kernel-features.h>.
10645 [__ASSUME_32BITUIDS]: Make code unconditional.
10646 [!__ASSUME_32BITUIDS]: Remove conditional code.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10648 <kernel-features.h>.
10649 [__ASSUME_32BITUIDS]: Make code unconditional.
10650 [!__ASSUME_32BITUIDS]: Remove conditional code.
10651 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10652 <kernel-features.h>.
10653 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10654 unconditional.
10655 (__setresgid): Do not declare.
10656 [__ASSUME_32BITUIDS]: Make code unconditional.
10657 [!__ASSUME_32BITUIDS]: Remove conditional code.
10658 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10659 <kernel-features.h>.
10660 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10661 unconditional.
10662 (__setresuid): Do not declare.
10663 [__ASSUME_32BITUIDS]: Make code unconditional.
10664 [!__ASSUME_32BITUIDS]: Remove conditional code.
10665 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10666 <kernel-features.h>.
10667 [__ASSUME_32BITUIDS]: Make code unconditional.
10668 [!__ASSUME_32BITUIDS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10670 <kernel-features.h>.
10671 [__ASSUME_32BITUIDS]: Make code unconditional.
10672 [!__ASSUME_32BITUIDS]: Remove conditional code.
10673
a386f1cc
RH
106742012-05-25 Richard Henderson <rth@twiddle.net>
10675
10676 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10677 dl_hwcap to ifunc resolver.
10678 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10679 elf_ifunc_invoke.
10680 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10681 dl_hwcap to ifunc resolver.
10682 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10683
b6550497
JM
106842012-05-24 Joseph Myers <joseph@codesourcery.com>
10685
10686 [BZ #14153]
10687 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10688 for |x| <= 2**-26, not 2**-57.
10689 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10690 exception.
10691
b0bc23a1
JL
106922012-05-24 Jeff Law <law@redhat.com>
10693
10694 * stdio-common/Makefile (tests): Add bug25.
10695 * stdio-common/bug25.c: New test.
10696
347c92e9
L
106972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10698
10699 [BZ #13576]
10700 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10701 multiple of MALLOC_ALIGNMENT in size.
10702 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10703
6bcc8b3f
JM
107042012-05-24 Joseph Myers <joseph@codesourcery.com>
10705
10706 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10707 Require >= 256.
10708 (FILENAME_MAX): Use macro-int-constant.
10709 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10710 (_IOFBF): Use macro-int-constant.
10711 (_IOLBF): Likewise.
10712 (_IONBF): Likewise.
10713 (SEEK_CUR): Likewise.
10714 (SEEK_END): Likewise.
10715 (SEEK_SET): Likewise.
10716 (TMP_MAX): Likewise.
10717 (EOF): Use macro-int-constant. Require < 0.
10718 (NULL): Use macro-constant. Require == 0.
10719 (stdin): Require type to be FILE *.
10720 (stdout): Likewise.
10721 (stderr): Likewise.
10722 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10723 macro-int-constant.
10724 (EXIT_SUCCESS): Likewise.
10725 (NULL): Use macro-constant. Require == 0.
10726 (RAND_MAX): Use macro-int-constant.
10727 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10728 [C99-based standards] (strtof): Require function.
10729 [C99-based standards] (strtold): Likewise.
10730 [C99-based standards] (strtoll): Likewise.
10731 [C99-based standards] (strtoull): Likewise.
10732 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10733 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10734 [ISO || ISO99 || ISO11] (math.h): Likewise.
10735 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10736 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10738
d18ea0c5
AS
107392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10740
10741 [BZ #14132]
56d25bb8
AS
10742 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10743 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10744 * intl/dgettext.c (DCGETTEXT): Likewise.
10745 * intl/gettext.c (DCGETTEXT): Likewise.
10746 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10747 * posix/regex_internal.h (gettext): Likewise.
10748 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10749 Remove declaration.
10750 * include/argz.h (__argz_count_internal)
10751 (__argz_stringify_internal): Remove declaration.
10752 (__argz_count, __argz_stringify): Declare hidden proto.
10753 * intl/dcgettext.c: Remove use of INTDEF.
10754 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10755 * string/argz-stringify.c: Likewise.
10756 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10757 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10758 Declare hidden proto.
d18ea0c5
AS
10759 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10760 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10761 Declare hidden proto.
10762 * include/stdio.h (__asprintf_internal): Don't declare.
10763 (__asprintf): Don't define as macro. Declare hidden proto.
10764 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10765 (__fsetlocking): Declare hidden proto.
10766 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10767 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10768 hidden proto.
10769 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10770 (_IO_setlinebuf): Remove use of INTUSE.
10771 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10772 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10773 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10774 Remove declaration.
10775 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10776 (_IO_do_flush): Remove use of INTUSE.
10777 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10778 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10779 (_IO_adjust_column, _IO_least_wmarker)
10780 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10781 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10782 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10783 (_IO_default_doallocate, _IO_wdefault_doallocate)
10784 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10785 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10786 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10787 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10788 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10789 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10790 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10791 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10792 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10793 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10794 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10795 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10796 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10797 proto.
10798 (_IO_flush_all_internal, _IO_adjust_column_internal)
10799 (_IO_default_uflow_internal, _IO_default_finish_internal)
10800 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10801 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10802 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10803 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10804 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10805 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10806 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10807 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10808 (_IO_file_close_internal, _IO_file_close_it_internal)
10809 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10810 (_IO_file_init_internal, _IO_file_attach_internal)
10811 (_IO_file_fopen_internal, _IO_file_read_internal)
10812 (_IO_file_sync_internal, _IO_file_seek_internal)
10813 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10814 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10815 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10816 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10817 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10818 (_IO_list_all_internal, _IO_link_in_internal)
10819 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10820 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10821 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10822 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10823 (_IO_do_write_internal, _IO_padn_internal)
10824 (_IO_getline_info_internal, _IO_getline_internal)
10825 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10826 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10827 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10828 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10829 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10830 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10831 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10832 with libc_hidden_ver, remove use of INTUSE.
10833 * libio/genops.c: Likewise.
10834 * libio/freopen.c: Likewise.
10835 * libio/freopen64.c: Likewise.
10836 * libio/iofclose.c: Likewise.
10837 * libio/iofdopen.c: Likewise.
10838 * libio/iofflush.c: Likewise.
10839 * libio/iofflush_u.c: Likewise.
10840 * libio/iofgets.c: Likewise.
10841 * libio/iofgets_u.c: Likewise.
10842 * libio/iofopen.c: Likewise.
10843 * libio/iofopncook.c: Likewise.
10844 * libio/iofread.c: Likewise.
10845 * libio/iofread_u.c: Likewise.
10846 * libio/ioftell.c: Likewise.
10847 * libio/iofwrite.c: Likewise.
10848 * libio/iogetline.c: Likewise.
10849 * libio/iogets.c: Likewise.
10850 * libio/iogetwline.c: Likewise.
10851 * libio/iopadn.c: Likewise.
10852 * libio/iopopen.c: Likewise.
10853 * libio/ioseekoff.c: Likewise.
10854 * libio/ioseekpos.c: Likewise.
10855 * libio/iosetbuffer.c: Likewise.
10856 * libio/iosetvbuf.c: Likewise.
10857 * libio/ioungetc.c: Likewise.
10858 * libio/ioungetwc.c: Likewise.
10859 * libio/iovdprintf.c: Likewise.
10860 * libio/iovsprintf.c: Likewise.
10861 * libio/iovsscanf.c: Likewise.
10862 * libio/memstream.c: Likewise.
10863 * libio/obprintf.c: Likewise.
10864 * libio/oldfileops.c: Likewise.
10865 * libio/oldiofclose.c: Likewise.
10866 * libio/oldiofdopen.c: Likewise.
10867 * libio/oldiofopen.c: Likewise.
10868 * libio/oldiopopen.c: Likewise.
10869 * libio/oldstdfiles.c: Likewise.
10870 * libio/putc.c: Likewise.
10871 * libio/setbuf.c: Likewise.
10872 * libio/setlinebuf.c: Likewise.
10873 * libio/stdfiles.c: Likewise.
10874 * libio/strops.c: Likewise.
10875 * libio/vasprintf.c: Likewise.
10876 * libio/vscanf.c: Likewise.
10877 * libio/vsnprintf.c: Likewise.
10878 * libio/vswprintf.c: Likewise.
10879 * libio/wfiledoalloc.c: Likewise.
10880 * libio/wfileops.c: Likewise.
10881 * libio/wgenops.c: Likewise.
10882 * libio/wmemstream.c: Likewise.
10883 * libio/wstrops.c: Likewise.
10884 * libio/__fpurge.c: Likewise.
10885 * libio/__fsetlocking.c: Likewise.
10886 * assert/assert.c: Likewise.
10887 * debug/fgets_chk.c: Likewise.
10888 * debug/fgets_u_chk.c: Likewise.
10889 * debug/fread_chk.c: Likewise.
10890 * debug/fread_u_chk.c: Likewise.
10891 * debug/gets_chk.c: Likewise.
10892 * debug/obprintf_chk.c: Likewise.
10893 * debug/vasprintf_chk.c: Likewise.
10894 * debug/vdprintf_chk.c: Likewise.
10895 * debug/vsnprintf_chk.c: Likewise.
10896 * debug/vsprintf_chk.c: Likewise.
10897 * malloc/mtrace.c: Likewise.
10898 * misc/error.c: Likewise.
10899 * misc/syslog.c: Likewise.
10900 * stdio-common/asprintf.c: Likewise.
10901 * stdio-common/fxprintf.c: Likewise.
10902 * stdio-common/getw.c: Likewise.
10903 * stdio-common/isoc99_fscanf.c: Likewise.
10904 * stdio-common/isoc99_scanf.c: Likewise.
10905 * stdio-common/isoc99_vfscanf.c: Likewise.
10906 * stdio-common/isoc99_vscanf.c: Likewise.
10907 * stdio-common/isoc99_vsscanf.c: Likewise.
10908 * stdio-common/printf-prs.c: Likewise.
10909 * stdio-common/printf_fp.c: Likewise.
10910 * stdio-common/printf_fphex.c: Likewise.
10911 * stdio-common/printf_size.c: Likewise.
10912 * stdio-common/putw.c: Likewise.
10913 * stdio-common/scanf.c: Likewise.
10914 * stdio-common/sprintf.c: Likewise.
10915 * stdio-common/tmpfile.c: Likewise.
10916 * stdio-common/vfprintf.c: Likewise.
10917 * stdio-common/vfscanf.c: Likewise.
10918 * stdlib/strfmon_l.c: Likewise.
10919 * sunrpc/openchild.c: Likewise.
10920 * sunrpc/xdr_stdio.c: Likewise.
10921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10922 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10923
d6c33fda
RM
109242012-05-24 Roland McGrath <roland@hack.frob.com>
10925
c1487492
RM
10926 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10927
10928 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10929 in the third column, to generate for the shared library an IFUNC
10930 that uses _dl_vdso_vsym.
10931 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10932 * Makeconfig (object-suffixes-noshared): New variable.
10933
10934 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10935 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10936 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10937 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10938
d6c33fda
RM
10939 [BZ #14132]
10940 * include/sys/time.h (__gettimeofday): Remove macro.
10941 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10942 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10943 Remove INTDEF.
10944 (__gettimeofday): Add libc_hidden_def.
10945 (gettimeofday): Add libc_hidden_weak.
10946 * sysdeps/mach/gettimeofday.c: Likewise.
10947 * sysdeps/posix/gettimeofday.c: Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10951 (__gettimeofday_internal): Remove strong_alias.
10952 (__gettimeofday): Add libc_hidden_def.
10953 (gettimeofday): Add libc_hidden_weak.
10954 * sysdeps/unix/syscalls.list (gettimeofday):
10955 Remove __gettimeofday_internal alias.
10956
b5a2bbe6
L
109572012-05-24 Daniel Jacobowitz <drow@false.org>
10958 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 [BZ #12495]
10961 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10962 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10963 (largebin_index_32_big): New.
10964 (largebin_index): Use it for 16-byte alignment.
10965 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10966 correction with front_misalign.
10967
cfba4fda
L
109682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10969
7f907421
L
10970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10974 Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10976 Likewise.
10977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10978 Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10980 Likewise.
10981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10982 Likewise.
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10984 Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10986 Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10988 Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10990 Likewise.
10991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10992 Likewise.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10994 Likewise.
10995
cfba4fda
L
10996 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10997 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10998
80bad0cc
JM
109992012-05-24 Joseph Myers <joseph@codesourcery.com>
11000
7a25eb06
JM
11001 [BZ #10846]
11002 [BZ #14036]
11003 * math/libm-test.inc (exp_test): Add test from bug 14036.
11004 (pow_test): Add test from bug 10846.
11005
795405f9
JM
11006 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11007 and other flags.
11008 (special_function): Do not include flags in test name.
11009 (parse_args): Likewise.
11010 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11013 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11015
80bad0cc
JM
11016 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11017 exceptions.
11018 * math/libm-test.inc ("Philosophy"): Update comment about
11019 exception testing.
11020 (UNDERFLOW_EXCEPTION): New macro.
11021 (UNDERFLOW_EXCEPTION_OK): Likewise.
11022 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11023 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11024 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11025 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11026 (INVALID_EXCEPTION_OK): Update value.
11027 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11028 (OVERFLOW_EXCEPTION_OK): Likewise.
11029 (IGNORE_ZERO_INF_SIGN): Likewise.
11030 (test_exceptions): Handle underflow exceptions.
11031 (acos_test): Update for underflow exception expectations.
11032 (cexp_test): Likewise.
11033 (clog_test): Likewise.
11034 (clog10_test): Likewise.
11035 (csqrt_test): Likewise.
11036 (ctan_test): Likewise.
11037 (ctanh_test): Likewise.
11038 (exp_test): Likewise.
11039 (exp10_test): Likewise.
11040 (exp2_test): Likewise.
11041 (expm1_test): Likewise.
11042 (fma_test): Likewise.
11043 (j0_test): Likewise.
11044 (jn_test): Likewise.
11045 (nexttoward_test): Likewise.
11046 (pow_test): Likewise.
11047 (scalbn_test): Likewise.
11048 (scalbln_test): Likewise.
11049 (tan_test): Likewise.
11050 (y1_test): Likewise.
11051 * sysdeps/i386/fpu/libm-test-ulps: Update.
11052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11053
9e0e3d0b
DM
110542012-05-23 David S. Miller <davem@davemloft.net>
11055
11056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11057 (__libc_sigaction): Remove unused local variables.
11058
ccd0a08f
L
110592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11060
11061 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11062
62bdf9a6
PE
110632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11064
f8591f80
PE
11065 mktime: avoid signed integer overflow
11066 * time/mktime.c (__mktime_internal): Do not mishandle the case
11067 where diff == INT_MIN.
11068
94c7d826
PE
11069 mktime: simplify computation of average
11070 * time/mktime.c (ranged_convert): Use new time_t_avg function
11071 instead of rolling our own (probably-slower) code.
11072
ce73d683
PE
11073 mktime: do not assume signed right shift propagates sign bit
11074 * time/mktime.c (isdst_differ): New static function.
11075 (__mktime_internal): No need to normalize tm_isdst now.
11076 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11077 tm_isdst values.
11078
72a22e59
PE
11079 mktime: merge another wrapv change from gnulib
11080 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11081 from some compilers.
11082
68605433
PE
11083 mktime: remove incorrect attempt at unusual arithmetics
11084 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11085 The code didn't really work on such machines anyway.
11086 (TYPE_MINIMUM): Assume two's complement.
11087 (twos_complement_arithmetic): Verify that long_int and time_t
11088 are two's complement (or unsigned, in the latter case).
11089
03cf7fe3
PE
11090 mktime: check signed shifts on long_int and time_t, too
11091 * time/mktime.c (SHR): Check that shifts work as desired
11092 on the types long_int and time_t too, as SHR is used on
11093 such types.
11094
f04dfbc2
PE
11095 mktime: do not assume 'long' is wide enough
11096 * time/mktime.c (verify): Move decl up.
11097 (long_int): New type.
11098 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11099 to remove assumption in the code that 'long' is wide enough to
11100 store year values. This assumption is not true on x32 and on
11101 some non-glibc platforms.
11102
62bdf9a6
PE
11103 mktime: merge wrapv change from gnulib
11104 * time/mktime.c (WRAPV): New macro.
11105 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11106 (guess_time_tm, __mktime_internal): Do not assume that signed
11107 integer overflow wraps around; modern compilers generate code
11108 where this assumption is no longer valid.
11109
5e292e4f
L
111102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11111
11112 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11113 Replace "jmp L(pseudo_end)" with "ret".
11114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11115 Likewise.
11116
8caf8c87
AJ
111172012-05-23 Andreas Jaeger <aj@suse.de>
11118
11119 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11120 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11121
1a09dc56
AJ
111222012-05-23 Andreas Jaeger <aj@suse.de>
11123 Maximilian Attems <max@stro.at>
11124
11125 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11126 New macros.
11127
1c87aba0
L
111282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11131 code so that pseudo_end is just ret and the stack pointer is
11132 correct also for static library in error case.
11133
40e45bd5
JM
111342012-05-23 Joseph Myers <joseph@codesourcery.com>
11135
c2670533
JM
11136 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11137 move to syscalls.list.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11142
40e45bd5
JM
11143 * manual/install.texi (Running make install): Do not mention Linux
11144 kernel version for which pt_chown is not needed.
11145 (Linux): Do not mention problems with nscd with 2.0 kernels.
11146 * INSTALL: Regenerated.
11147
be08eda5
AJ
111482012-05-23 Andreas Jaeger <aj@suse.de>
11149
11150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11151 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11152 macro.
11153 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11155 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11157 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11163 * sysdeps/unix/sysv/linux/bits/in.h
11164 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11165
a6a056bb
RM
111662012-05-22 Roland McGrath <roland@hack.frob.com>
11167
11168 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11169 (PREPARE_VERSION): Just use assert instead, it will be elided
11170 under [NDEBUG] anyway.
11171
c9009328
L
111722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * sysdeps/unix/sysv/linux/Makefile: Include
11175 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11176 (sysdep_routines): Remove sysctl.
c9009328
L
11177 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11178 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11179 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11180 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11181 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11182
73338355
AJ
111832012-05-22 Andreas Jaeger <aj@suse.de>
11184
11185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11186 that pseudo_end is just ret and the stack pointer is correct also
11187 for static library in error case.
11188
d44638b0
PP
111892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11190
11191 [BZ #14122]
11192 * nss/nsswitch.c (defconfig_entries): New variable.
11193 (__nss_database_lookup): Don't leak defconfig entries.
11194 (nss_parse_service_list): Don't leak on error paths.
11195 (free_database_entries): New function.
11196 (free_defconfig): New function.
11197 (free_mem): Move common code to free_database_entries.
11198
31a39bd8
L
111992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11200
da0331a8
L
11201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11202 Add arch_prctl.
11203 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11204
31a39bd8
L
11205 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11206 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11208 New macro.
11209 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11210 (INTERNAL_SYSCALL_TYPES): Likewise.
11211 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11212 (LOAD_REGS_TYPES_[1-6]): Likewise.
11213 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11214 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11215
45470df3
AZ
112162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11217
11218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11219 copysignl for GLIBC_2_0.
11220 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11221 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11223 logbl for GLIBC_2_0.
11224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11225 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11226
98a61bcb
L
112272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11228
a4f6e481
L
11229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11231
f63d5db6
L
11232 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11233 Use "neg %eax".
11234
98a61bcb
L
11235 * time/mktime.c: Update copyright years.
11236
95770f14
PE
112372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11238
6226efbd
PE
11239 mktime: merge comment-quoting-style change from gnulib
11240 * time/mktime.c: Quote 'like this' in comments.
11241 The GNU coding standards suggest that we no longer quote `like this',
11242 as "`" and "'" are typically rendered asymmetrically nowadays.
11243 The typical gnulib style is to quote 'like this' when quoting
11244 code, and "like this" when quoting English.
11245
b99e4f78
PE
11246 * time/mktime.c (compile-command): Add "-I.".
11247
643e01e6
PE
11248 mktime: merge mktime-internal.h change from gnulib
11249 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11250
2554247d
PE
11251 mktime: merge time_r change from gnulib
11252 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11253
826dd0ab
PE
11254 mktime: merge DEBUG change from gnulib
11255 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11256 case system <time.h> has a #define.
11257
bd83aabe
PE
11258 mktime: merge <sys/types.h> change from gnulib
11259 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11260 since <time.t> is now guaranteed to define time_t.
11261
95770f14
PE
11262 mktime: merge HAVE_CONFIG_H change from gnulib
11263 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11264
5e1a27a9
L
112652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11266
0e44a77e
L
11267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11268 Use "neg %eax".
11269
5e1a27a9
L
11270 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11271 __rlim_t cast.
11272 (struct rusage): Use anonymous union to pad each field to
11273 __syscall_slong_t.
11274
46259bec
DM
112752012-05-21 David S. Miller <davem@davemloft.net>
11276
11277 * Makefules (o-iterator): Remove .s cases.
11278 (compile-command.s): Delete.
11279 (COMPILE.s): Delete.
11280 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11281
59f0c22e
JM
112822012-05-21 Joseph Myers <joseph@codesourcery.com>
11283
11284 * configure.in (libc_cv_predef_stack_protector): Only consider
11285 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11286 * configure: Regenerated.
11287
20c07380
L
112882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11289
bbb3154b
L
11290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11291 New macro. Use R*LP on int and pointer.
11292 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11293 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11294 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11295 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11296
20c07380
L
11297 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11298 [__WORDSIZE_TIME64_COMPAT32] instead of
11299 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11300 (struct utmp): Likewise.
11301 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11302 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11303 Renamed to ...
11304 (__WORDSIZE_TIME64_COMPAT32): This.
11305 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11306 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11307 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11308 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11309 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11310 (__WORDSIZE_TIME64_COMPAT32): New macro.
11311
d8d1017e
AJ
113122012-05-21 Andreas Jaeger <aj@suse.de>
11313
11314 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11315 only if [SHARED]. Add prototype for __wcschr_ia32.
11316
6c7fb145
RM
113172012-05-21 Roland McGrath <roland@hack.frob.com>
11318
11319 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11320 of %rbp unmolested in the jmp_buf while mangling the low bits.
11321 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11322 unmolested high bits of %rbp while demangling the low bits.
11323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11324
66274218
AJ
113252012-05-21 Andreas Jaeger <aj@suse.de>
11326
07c58f8f
AJ
11327 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11328 * sunrpc/svc_simple.c: Use it for registerrpc.
11329 * sunrpc/xcrypt.c: Use it for passwd2des.
11330
66274218
AJ
11331 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11332
61f65140
L
113332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11336 Don't define if [__SYSCALL_WORDSIZE != 32].
11337 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11338 New macro.
11339
5fefb436
AJ
113402012-05-21 Bruno Haible <bruno@clisp.org>
11341 Andreas Jaeger <aj@suse.de>
11342
11343 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11344 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11345 inptr and inend for must_buffer_ch.
11346 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11347 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11348 * stdio-common/Makefile (tests): Remove bug15.
11349 (bug15-ENV): Remove macro.
11350 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11351 anymore.
11352
d8e272ab
AJ
113532012-05-19 Andreas Jaeger <aj@suse.de>
11354 Roland McGrath <roland@hack.frob.com>
11355
11356 * manual/contrib.texi: Completely rewritten. It contains now an
11357 alphabetical list of contributors and their contributions.
11358
4a56a162
RH
113592012-05-21 Richard Henderson <rth@twiddle.net>
11360
11361 * misc/getauxval.c (__getauxval): Use unsigned long int.
11362 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11363 (getauxval): Use unsigned long int.
11364
d024d23c
L
113652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11368
cbc00a03
RM
113692012-05-21 Roland McGrath <roland@hack.frob.com>
11370
11371 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11372 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11373 __alignof__ (long double).
11374
478143fa
AZ
113752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11376
11377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11378
c7683a6d
RH
113792012-05-20 Richard Henderson <rth@twiddle.net>
11380
11381 * misc/getauxval.c: New file.
11382 * misc/sys/auxv.h: New file.
11383 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11384 (routines): Add getauxval.
11385 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11386 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11387 * elf/dl-sysdep.c (_dl_auxv): Remove.
11388 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11389 * elf/dl-support.c (_dl_auxv): New variable.
11390 (_dl_aux_init): Initialize it.
11391 * manual/startup.texi (Auxiliary Vector): New node.
11392 * sysdeps/generic/bits/hwcap.h: New file.
11393 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11394 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11395 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11396 * sysdeps/sparc/sysdep.h: ... here. Include it.
11397 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11400 Update.
c7683a6d
RH
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11409
a6f1845d
AZ
114102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11411
11412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11413
cbcbe830
DM
114142012-05-19 David S. Miller <davem@davemloft.net>
11415
11416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11417
e0b16cc2
JM
114182012-05-19 Joseph Myers <joseph@codesourcery.com>
11419
11420 [BZ #14123]
11421 * math/s_ccosh.c: Include <float.h>
11422 (__ccosh): Avoid internal overflow calculating sinh and cosh
11423 values before multiplying by sin and cos values.
11424 * math/s_ccoshf.c: Likewise.
11425 * math/s_ccoshl.c: Likewise.
11426 * math/s_csin.c: Likewise.
11427 * math/s_csinf.c: Likewise.
11428 * math/s_csinl.c: Likewise.
11429 * math/s_csinh.c: Likewise.
11430 * math/s_csinhf.c: Likewise.
11431 * math/s_csinhl.c: Likewise.
11432 * math/libm-test.inc (ccos_test): Add more tests.
11433 (ccosh_test): Likewise.
11434 (csin_test): Likewise.
11435 (csinh_test): Likewise.
11436 * sysdeps/i386/fpu/libm-test-ulps: Update.
11437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11438
6ad13e08
L
114392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11440
f66f0ce8
L
11441 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11442 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11443
6ad13e08
L
11444 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11445
b1d072a7
JM
114462012-05-19 Joseph Myers <joseph@codesourcery.com>
11447
11448 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11449 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11450 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11451 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11452 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11453 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11454 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11479
9eae47cb
AJ
114802012-05-18 Andreas Jaeger <aj@suse.de>
11481
11482 * csu/.gitignore: Delete.
11483
bb07f69f
L
114842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11485
11486 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11487 (timex): Use __syscall_slong_t.
11488
e6bdb741
AJ
114892012-05-18 Andreas Jaeger <aj@suse.de>
11490 Carlos O'Donell <carlos_odonell@mentor.com>
11491
11492 * manual/install.texi (Configuring and compiling): Update
11493 description about files modified in the source directory.
d6c33fda 11494 * INSTALL: Regenerated.
e6bdb741 11495
1b74487e
L
114962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11499 value. Use "or" to set return value to -1.
11500 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11501 negate return value.
11502
a88b64b9
TMQMF
115032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11504
11505 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11506 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11507 failure if the compiler has Graphite support disabled.
11508 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11509 Likewise.
11510 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11511 CFLAGS-memmove.c): Likewise.
11512 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11513 Likewise.
11514
3707636e
L
115152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11516
610b8622
L
11517 * sysdeps/x86_64/x32/_itoa.h: New file.
11518
7cd195df
L
11519 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11520 getdents system call only if kernel and user dirents have the
11521 same d_ino and d_off.
11522
94b07d20
L
11523 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11524 LLONG_MAX != LONG_MAX.
11525 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11526 (_fitoa_word): Likewise.
11527
18298070
L
11528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11529 years.
11530 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11531 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11533
553c7ea4
L
11534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11535 include <bits/wordsize.h>. Check __x86_64__ instead of
11536 __WORDSIZE.
11537 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11538 if __x86_64__ is defined. Use anonymous union on fpstate.
11539
3707636e
L
11540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11541 anonymous union.
11542
b53ef01a
AS
115432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11544
37fb1dc0
AS
11545 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11546 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11548 Refer to _rtld_local_ro instead of _rtld_global_ro.
11549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11550 Likewise.
11551 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11552 Likewise.
11553 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11554 Likewise.
11555 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11556 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11557 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11558
b53ef01a
AS
11559 * sysdeps/powerpc/powerpc32/dl-machine.c
11560 (__elf_machine_runtime_setup) [PROF]: Don't reference
11561 _dl_prof_resolve.
11562
7a185db2
AJ
115632012-05-18 Andreas Jaeger <aj@suse.de>
11564
11565 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11566 function only available for GCCs before 3.4 since GCC 3.4
11567 introduced a builtin.
11568 (lrint): Likewise.
11569 (llrintf): Likewise.
11570 (llrint): Likewise.
11571 (fmaxf): Likewise.
11572 (fmax): Likewise.
11573 (fminf): Likewise.
11574 (fmin): Likewise.
11575 (rint): Likewise.
11576 (rintf): Likewise.
11577 (nearbyint): Likewise.
11578 (nearbyintf): Likewise.
11579 (ceil): Likewise.
11580 (ceilf): Likewise.
11581 (floor): Likewise.
11582 (floorf): Likewise.
11583
3e5aef87
L
115842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11585
428bd707
L
11586 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11587 on both fields and cast pointer to __syscall_ulong_t.
11588
3e5aef87
L
11589 * bits/types.h (__fsword_t): New type.
11590 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11591 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11593 (__FSWORD_T_TYPE): Likewise.
11594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11595 (__FSWORD_T_TYPE): Likewise.
11596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11597 (__FSWORD_T_TYPE): Likewise.
11598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11599 (__FSWORD_T_TYPE): Likewise.
11600 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11601 __SWORD_TYPE with __fsword_t.
11602 (statfs64): Likewise.
11603
1ba7c3dc
DM
116042012-05-17 David S. Miller <davem@davemloft.net>
11605
11606 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11607
59910343
AJ
116082012-05-17 Andreas Jaeger <aj@suse.de>
11609
11610 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11611 warning.
11612
2e4c1e9e
L
116132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11616
de7f5ce7
AJ
116172012-05-17 Andreas Jaeger <aj@suse.de>
11618
11619 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11620 when it is used.
11621
286abc3d
CM
116222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11623
11624 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11625
477cc68e
L
116262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11629 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11630
1a0994f5
CD
116312012-05-17 Andreas Jaeger <aj@suse.de>
11632 Carlos O'Donell <carlos_odonell@mentor.com>
11633
11634 [BZ #14059]
11635 * sysdeps/x86_64/multiarch/init-arch.h
11636 (bit_YMM_Usable): Rename to...
11637 (bit_AVX_Usable): ... this.
11638 (bit_FMA4_Usable): New macro.
11639 (bit_XMM_state): New macro.
11640 (bit_YMM_state): New macro.
11641 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11642 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11643 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11644 (CPUID_OSXSAVE): New macro.
11645 (CPUID_AVX): New macro.
11646 (CPUID_FMA4): New macro.
11647 (index_YMM_Usable): Rename to...
11648 (index_AVX_Usable): ... this.
11649 (HAS_AVX): Use HAS_ARCH_FEATURE.
11650 (HAS_FMA4): Likewise.
11651 (HAS_YMM_USABLE): Remove.
11652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11653 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11654 are present.
11655 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11656 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11657 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11658 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11659 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11660
0af797de
CM
116612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11662
11663 * math/libm-test.c: Support platforms without multiple rounding modes.
11664 * math/bug-nextafter.c: Support platforms without FP exceptions.
11665 * math/bug-nexttoward.c: Likewise.
11666 * math/test-fenv.c: Likewise.
11667 * math/test-misc.c: Likewise.
11668 * stdlib/bug-getcontext.c: Likewise.
11669
e39745ff
AJ
116702012-05-17 Andreas Jaeger <aj@suse.de>
11671
11672 * manual/examples/search.c (critter_cmp): Change signature to
11673 avoid warnings.
11674 * manual/string.texi (Collation Functions): Likewise.
11675
48970aba
L
116762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11677
11678 * bits/types.h: Fold copyright years.
11679 * bits/typesizes.h: Likewise.
11680 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11684 * time/time.h: Likewise.
11685
bedee953
PP
116862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11687
11688 [BZ #208]
11689 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11690 in instead of returning them. Return void.
11691 (__libc_mallinfo): Accumulate over all arenas.
11692 (__malloc_stats): Adjust for change in int_mallinfo interface.
11693
61653dfb
RM
116942012-05-16 Roland McGrath <roland@hack.frob.com>
11695
30b99d79
RM
11696 [BZ #10375]
11697 * configure.in (NM): Add AC_CHECK_TOOL for it.
11698 (libc_extra_cflags): New substituted variable.
11699 Check for -fstack-protector being used implicitly.
11700 * configure: Regenerated.
11701 * config.make.in (config-extra-cflags): New variable,
11702 gets @libc_extra_cflags@.
11703 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11704
61653dfb
RM
11705 [BZ #10375]
11706 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11707 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11708 * configure: Regenerated.
11709 * config.make.in (CPPUNDEFS): New substituted variable.
11710 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11711 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11712 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11713
661768bb
L
117142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11717 (mq_attr): Use __syscall_slong_t.
11718
d4261567
L
117192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11722 Check __x86_64__ instead of __WORDSIZE.
11723 (_STAT_VER_LINUX): Likewise.
11724 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11725 __syscall_ulong_t and __syscall_slong_t.
11726 (stat64): Likewise.
11727
cf3ff365
L
117282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11729
11730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11731
76cf3e4d
L
117322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11735
a637753a
L
117362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11739 __syscall_ulong_t.
11740
d5e05119
L
11741 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11742 include <bits/wordsize.h>. Check __x86_64__ instead of
11743 __WORDSIZE.
11744 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11745 defined.
11746 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11747
f62ee380
L
11748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11749 include <bits/wordsize.h>. Check __x86_64__ instead of
11750 __WORDSIZE.
11751 (user_regs_struct): Use "__extension__ unsigned long long"
11752 instead of "unsigned long" if __x86_64__ is defined.
11753 (user): Likewise. Pad after pointer field if __ILP32__ is
11754 defined.
11755
4e124ced
JM
117562012-05-16 Joseph Myers <joseph@codesourcery.com>
11757
6a3951a0
JM
11758 * configure.in (makeinfo): Require version 4.5 or later. Allow
11759 versions 5 to 9.
11760 * configure: Regenerated.
11761 * manual/install.texi (texinfo): Increase version requirement to
11762 4.5 or later.
11763 * INSTALL: Regenerated.
11764
4e124ced
JM
11765 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11766
953ca31a
L
117672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11768
11769 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11770
617aca05
L
11771 * sysdeps/x86_64/x32/ffs.c: New file.
11772
5762f7ae
L
11773 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11774 __syscall_ulong_t.
11775 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11776 defined. Use __syscall_ulong_t.
11777 (shminfo): Use __syscall_ulong_t.
11778 (shm_info): Likewise.
11779
a26b6856
L
11780 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11781 __syscall_ulong_t.
11782
cb2b9ef7
L
11783 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11784 <bits/wordsize.h>.
11785 (msgqnum_t): Use __syscall_ulong_t.
11786 (msglen_t): Likewise.
11787 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11788 __syscall_ulong_t.
11789
34683bb0
L
11790 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11792
84a68786
L
11793 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11794
48baa5f1
L
11795 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11796 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11797
180be88b
L
11798 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11799 __syscall_slong_t.
11800
5e90c8ad
L
11801 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11802 include <bits/wordsize.h>. Check __x86_64__ instead of
11803 __WORDSIZE.
11804
23dfb58b
L
11805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11806 "unsigned long long int" if __x86_64__ is defined.
11807 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11808
ce5d54b0
L
11809 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11811 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11812
13dc9eac
L
11813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11814 <stdint.h>.
11815 (GET_PC): Cast to uintptr_t first.
11816 (GET_FRAME): Likewise.
11817 (GET_STACK): Likewise.
11818
a7895d15
L
11819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11848
656416c9
AS
118492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11850
5bd66283
AS
11851 * Makerules (+depfiles): Also collect depfiles from .oS in
11852 $(extra-objs).
11853 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11854 .oS, $(libnldbl-routines)).
11855
656416c9
AS
11856 * Makerules (native-compile-mkdep-flags): Define.
11857 * sunrpc/Makefile (extra-objs): Add $(addprefix
11858 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11859 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11860 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11861 calling $(make-target-directory).
11862
a46f2169
L
118632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 * bits/types.h (__snseconds_t): Removed.
11866 * time/time.h (struct timespec): Replace __snseconds_t with
11867 __syscall_slong_t.
11868 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11869 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11870 Likewise.
11871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11872 (__SNSECONDS_T_TYPE): Likewise.
11873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11874 (__SNSECONDS_T_TYPE): Likewise.
11875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11876 (__SNSECONDS_T_TYPE): Likewise.
11877
6af6528b
L
118782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11879
11880 * sysdeps/mach/hurd/bits/typesizes.h
11881 (__SYSCALL_SLONG_TYPE): New macro.
11882 (__SYSCALL_ULONG_TYPE): Likewise.
11883
de986b56
L
118842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11885
11886 * bits/types.h (__syscall_slong_t): New type.
11887 (__syscall_ulong_t): Likewise.
11888
11889 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11890 (__SYSCALL_ULONG_TYPE): Likewise.
11891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11892 (__SYSCALL_SLONG_TYPE): Likewise.
11893 (__SYSCALL_ULONG_TYPE): Likewise.
11894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11895 (__SYSCALL_SLONG_TYPE): Likewise.
11896 (__SYSCALL_ULONG_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11898 (__SYSCALL_SLONG_TYPE): Likewise.
11899 (__SYSCALL_ULONG_TYPE): Likewise.
11900
85736dc7
L
119012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11904 Add sigaltstack-offsets.sym.
11905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11906 <sigaltstack-offsets.h>.
11907 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11908 longjmp_msg pointer.
11909 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11910 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11911 signal stack.
11912 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11913
cc03b296
JM
119142012-05-15 Joseph Myers <joseph@codesourcery.com>
11915
a9538892
JM
11916 * elf/stackguard-macros.h: Remove file.
11917 * sysdeps/generic/stackguard-macros.h: New file.
11918 * sysdeps/i386/stackguard-macros.h: Likewise.
11919 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11920 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11921 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11922 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11923 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11924 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11925 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11926 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11927 <elf/stackguard-macros.h>.
11928
cc03b296
JM
11929 [BZ #14109]
11930 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11931 __aligned__ in attribute.
11932 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11933 (gregset_t): Likewise.
11934
93171016
L
119352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11938 * sysdeps/x86_64/64/Implies-after: Here. New file.
11939 * sysdeps/x86_64/x32/Implies-after: New file.
11940
d86813a0
L
119412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11944 and access return value for _dl_profile_fixup. Use R10_LP to
11945 load frame size.
11946
2953ec75
L
119472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11950
3b550e9e
L
119512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11952
11953 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11954 * sysdeps/x86_64/x32/sysdep.h: New file.
11955
eda41706
L
119562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11957
11958 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11959 * sysdeps/x86_64/setjmp.S: Likewise.
11960
9ea01d93
AZ
119612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11962
11963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11964 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11965 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11966 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11967 remove unused global constant.
11968
02a91938
CM
119692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11970
11971 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11972 include of <not-cancel.h>.
11973
6540185f
RM
119742012-05-15 Roland McGrath <roland@hack.frob.com>
11975
11976 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11977
509072a0
AJ
119782012-05-15 Jeff Law <law@redhat.com>
11979 Andreas Jaeger <aj@suse.de>
11980
11981 [BZ #13594]
11982 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11983 out from...
11984 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11985 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11987 code changing __hst_map_handle.map.
11988
ba75122d
RM
119892012-05-15 Roland McGrath <roland@hack.frob.com>
11990
11991 * configure.in (sysnames): Look for Implies-before and Implies-after
11992 files.
11993 * configure: Regenerated.
11994
890d8bd8
L
119952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11998 8-byte data alignment with LP_SIZE alignment.
11999
f6ee6623
L
120002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12003 into R10_LP.
12004
ea2626f6
L
120052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12006
12007 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12008
085f715e
L
120092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12012 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12014 Likewise.
12015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12016
be8498fc
L
120172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12020 (stackinfo_sub_sp): Likewise.
12021
70bc83b9
L
120222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12025 RAX_LP.
12026
9bc0b730
L
120272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12030 into R*_LP.
12031
6d2850e7
L
120322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12033
12034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12035 sizes into R*_LP.
12036
3cb84561
L
120372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12040
54e2ed81
L
120412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12044 into R11_LP and load __x86_64_shared_cache_size_half into
12045 R8_LP.
12046
8a17f349
L
120472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12050 R8_LP.
12051
777b1eea
AZ
120522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12053
12054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12055 logb for POWER7.
12056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12057 logbf for POWER7.
12058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12059 logbl for POWER7.
12060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12061 powerpc32/power7/fpu/s_logb.c via #include.
12062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12063 powerpc32/power7/fpu/s_logbf.c via #include.
12064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12065 powerpc32/power7/fpu/s_logbl.c via #include.
12066
d20d4ac2
JM
120672012-05-15 Joseph Myers <joseph@codesourcery.com>
12068
12069 * README.libm: Remove file.
12070
6cdef1ab
L
120712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12074 count for x32. Use R*_LP and omit operand-size suffix.
12075
0b254d8f
L
120762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12077
12078 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12079 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12080 * sysdeps/x86_64/x32/shlib-versions: New file.
12081
ceb809dc
RM
120822012-05-14 Roland McGrath <roland@hack.frob.com>
12083
12084 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12085 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12086 Use _dl_fatal_printf instead.
12087
37f1abd4
JM
120882012-05-14 Joseph Myers <joseph@codesourcery.com>
12089
12090 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12091 set if not set by the user. Do not allow for being unset.
12092 * sysdeps/unix/sysv/linux/configure: Regenerated.
12093
11de3a33
L
120942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12097 the `q' suffix from lea and replace .quad with ASM_ADDR.
12098
e02f153a
L
120992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12100
12101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12102 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12103 instead of $17.
12104 (PTR_DEMANGLE): Likewise.
12105
520ae0fd
L
121062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12107
12108 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12109 (LP_OP): Likewise.
12110 (ASM_ADDR): Likewise.
12111 (RAX_LP): Likewise.
12112 (RBP_LP): Likewise.
12113 (RBX_LP): Likewise.
12114 (RCX_LP): Likewise.
12115 (RDI_LP): Likewise.
12116 (RSI_LP): Likewise.
12117 (RSP_LP): Likewise.
12118 (R8_LP): Likewise.
12119 (R9_LP): Likewise.
12120 (R10_LP): Likewise.
12121 (R10_LP): Likewise.
12122 (R11_LP): Likewise.
12123 (R12_LP): Likewise.
12124 (R13_LP): Likewise.
12125 (R14_LP): Likewise.
12126 (R15_LP): Likewise.
12127
b985be81
L
121282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12129
12130 * sysdeps/x86_64/x32/dl-machine.h: New file.
12131
6a4888ff
AJ
121322012-05-14 Andreas Jaeger <aj@suse.de>
12133
12134 * manual/Makefile (subdir): Remove export of subdir.
12135 (all): Remove target.
12136 (.PHONY): Remove all from list.
12137 (mkinstalldirs): Remove.
12138 (.PHONY): Remove installdirs from list.
12139 ($(inst_infodir)/libc.info): Use make-target-directory.
12140 (installdirs): Remove.
12141 (subdir_%): Remove.
12142 (glibc-targets): Remove.
12143 (lib): Remove.
12144 (stubs): Remove.
12145 ($(objpfx)stubs ../po/manual.pot): Remove.
12146 ($(objpfx)stamp%): Remove.
12147 (make-target-directory): Remove.
12148 (subdir_install): Remove.
12149 (routines): Remove.
12150 (aux): Remove.
12151 (sources): Remove.
12152 (objects): Remove.
12153 (headers): Remove.
12154
12155 [BZ #13750]
12156 * manual/.gitignore: Remove, it's not needed anymore.
12157 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12158 all files in it.
12159 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12160 directory.
12161 (texis): Renamed to $(objpfx)texis.
12162 (texis-path): New, contains path to generated files.
12163 (chapters.%): Use texis-path for complete path, add extra argument
12164 libc-texinfo.sh.
12165 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12166 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12167 (summary,texi, stamp-summary): Use complete path of
12168 files. Generate files in build dir.
12169 (dir-add.texi): Build in build dir.
12170 (libm-err.texi,stamp-libm-err): Likewise.
12171 (version.texi, stamp-version): Likewise.
12172 (.%c.texi): Likewise.
12173 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12174 (mostlyclean): Remove target.
12175 (realclean): Remove target.
12176 (generated): Add new variable with contents from mostlyclean and
12177 realclean, remove entries duplicated in common-mostlyclean, add
12178 stamp-libm-err and stamp-version.
12179 (generated-dirs): Add libc directory.
12180 ($(inst_infodir)/libc.info): Install files from build dir.
12181
12182 * manual/install.texi (Configuring and compiling): Adjust since
12183 the info files are not part of the tar ball anymore.
12184
7ac77294
AJ
121852012-05-14 Andreas Jaeger <aj@suse.de>
12186
12187 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12188 variable.
12189
ffb7875d
JM
121902012-05-14 Joseph Myers <joseph@codesourcery.com>
12191
12192 [BZ #13717]
12193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12194 to 2.2.0 where earlier.
12195 * sysdeps/unix/sysv/linux/configure: Regenerated.
12196 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12197 Remove conditional code.
12198 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12199 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12200 Remove conditional code.
12201 [!__NR_lchown]: Likewise.
12202 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12203 [__NR_lchown]: Likewise.
12204 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12205 comment referencing __ASSUME_LCHOWN_SYSCALL.
12206 * sysdeps/unix/sysv/linux/i386/sigaction.c
12207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12210 Remove conditional code.
12211 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12212 (__protocol_available): Remove #if 0 code.
12213 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12214 conditional code.
12215 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12216 * sysdeps/unix/sysv/linux/kernel-features.h
12217 (__ASSUME_GETCWD_SYSCALL): Don't define.
12218 (__ASSUME_REALTIME_SIGNALS): Likewise.
12219 (__ASSUME_PREAD_SYSCALL): Likewise.
12220 (__ASSUME_PWRITE_SYSCALL): Likewise.
12221 (__ASSUME_POLL_SYSCALL): Likewise.
12222 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12223 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12224 non-SPARC.
12225 (__ASSUME_SIOCGIFNAME): Don't define.
12226 (__ASSUME_MSG_NOSIGNAL): Likewise.
12227 (__ASSUME_SENDFILE): Define unconditionally.
12228 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12229 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12230 conditional code.
12231 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12232 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12233 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12234 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12236 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12237 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12262 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12263 Remove conditional code.
12264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12265 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12266 Remove conditional code.
12267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12268 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12269 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12270 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12271 Remove conditional code.
12272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12273 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12274 Remove conditional code.
12275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12276 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12277 Remove conditional code.
12278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12279 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12280 Remove conditional code.
12281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12282 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12283 Remove conditional code.
12284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12285 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12288 * sysdeps/unix/sysv/linux/sigaction.c
12289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12291 * sysdeps/unix/sysv/linux/sigpending.c
12292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12294 * sysdeps/unix/sysv/linux/sigprocmask.c
12295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12297 * sysdeps/unix/sysv/linux/sigsuspend.c
12298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12301 (__libc_missing_rt_sigs): Remove.
12302 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12303 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12304 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12305 Remove conditional code.
12306 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12308 return 1.
12309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12310 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12311 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12313
1bfb7291
AJ
123142012-05-14 Andreas Jaeger <aj@suse.de>
12315
caae5a81
AJ
12316 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12317 it's not used in glibc.
12318 (__coshm1): Likewise.
12319 (__acosh1p): Likewise.
12320 (__sgn): Likewise.
12321
1bfb7291
AJ
12322 * manual/string.texi (Copying and Concatenation): Add missing
12323 variable in concat example.
12324 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12325
c044d724
L
123262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12327
144c5467 12328 [BZ #14103]
c044d724
L
12329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12330 __builtin_clzl with __builtin_clzll.
12331
2523c62b
L
123322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12333
12334 [BZ #14104]
12335 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12336 libc_freeres_ptr.
12337
d7bb4c42
LD
123382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12339
12340 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12341 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12342 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12344
9dc4e1fb
MF
123452012-05-14 Mike Frysinger <vapier@gentoo.org>
12346
12347 * NEWS: Update ia64 info.
12348
c7df0112
AS
123492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12350
12351 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12352 used as bcopy.
12353
dc70356c
TS
123542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12355
12356 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12357 * sysdeps/unix/syscalls.list (dup3): Likewise.
12358 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12359 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12360
9fb1a21f
L
123612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12364 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12365
4822a2a5
L
123662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12367
12368 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12369 thread pointer.
12370 (TLS_IE): Use mov/add instead of movq/addq to load thread
12371 pointer.
12372 (TLS_GD_PREFIX): New.
12373 (TLS_GD): Use it.
12374
842b81d6
DM
123752012-05-11 David S. Miller <davem@davemloft.net>
12376
12377 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12378 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12379 (_FPU_SETCW): Likewise.
12380
1cf463cd
L
123812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12382
12383 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12384 is 32-byte aligned.
12385
60cc4a18
AS
123862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 [BZ #11837]
12389 * iconvdata/gb18030.c: Update tables.
12390 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12391 characters specially.
12392 (BODY for TO_LOOP): Add encoding of missing ranges.
12393
febb44a4
TS
123942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12395
12396 [BZ #13673]
12397 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12398 * sysdeps/mach/hurd/dup3.c: Likewise.
12399 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12400 * sysdeps/powerpc/memmove.c:: Likewise.
12401
0a10fb9e
L
124022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12403
12404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12405 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12406
df8a552f
L
124072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * elf/elf.h (R_X86_64_RELATIVE64): New.
12410 (R_X86_64_NUM): Updated.
12411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12412 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12413 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12414 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12415 tst-quad1pie tst-quad2pie
12416 (modules-names): Add tst-quadmod1 tst-quadmod2.
12417 ($(objpfx)tst-quad1): New dependency.
12418 ($(objpfx)tst-quad2): Likewise.
12419 ($(objpfx)tst-quad1pie): Likewise.
12420 ($(objpfx)tst-quad2pie): Likewise.
12421 * sysdeps/x86_64/tst-quad1.c: New file.
12422 * sysdeps/x86_64/tst-quad1pie.c: New file.
12423 * sysdeps/x86_64/tst-quad2.c: Likewise.
12424 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12425 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12426 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12427 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12428 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12429
f34d6f84
ST
124302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12431
f42d41d1
ST
12432 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12433 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12434 * streams/stropts.h (t_scalar_t): Define type.
12435
3c3571fc
ST
12436 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12437 (_PATH_PRESERVE): Set to "/var/lib".
12438 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12439
61f06bd3
ST
12440 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12441 instead of int.
12442
918d4d71
ST
12443 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12444 if __dir_mkfile succeeded.
12445
f34d6f84
ST
12446 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12447 checking for _hurd_dtablesize. Unlock it right after having
12448 finished _hurd_dtable allocation.
12449
10589b4a
TS
124502012-05-10 Thomas Schwinge <thomas@schwinge.name>
12451
674cdbc7
TS
12452 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12453 * sysdeps/mach/hurd/configure: Regenerated.
12454 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12455 special-casing to...
12456 * sysdeps/gnu/configure.in: ... this new file.
12457 * sysdeps/unix/sysv/linux/configure: Regenerated.
12458 * sysdeps/gnu/configure: New generated file.
12459
8e41b99f
TS
12460 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12461 for Linux: use nsec instead of usec, as well as:
12462 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12463 members of type struct timespec.
12464 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12465 New macros.
12466 (struct stat64): Likewise.
12467 (_STATBUF_ST_NSEC): New macro.
12468 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12469
10589b4a
TS
12470 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12471 __strtoul_internal rather than strtoul.
12472
63643c85
PT
124732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12474
12475 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12476 and reject them.
12477
3faebe6a
ST
124782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12479
12480 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12481 which preserves existing values.
12482 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12483
c6474b07
PT
124842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12485
12486 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12487 TIMEOUT values. Return EINVAL for NFDS values either negative or
12488 greater than FD_SETSIZE.
12489
1043890b
ST
124902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12491
12492 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12493 allocated, call __vm_protect to finish enabling the existing space, and
12494 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12495 allocate the remainder.
12496
37ed8b9b
PT
124972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12498
12499 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12500 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12501
db653660
ST
125022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12503
37ed8b9b
PT
12504 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12505 sysdeps/mach/hurd/readlink.c.
b29d4053 12506
db653660
ST
12507 * posix/tst-sysconf.c (posix_options): Only use
12508 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12509 _POSIX_SYNCHRONIZED_IO when they are defined
12510 * sysdeps/mach/hurd/bits/posix_opt.h:
12511 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12512 (_XOPEN_REALTIME): Undefine macro.
12513 (_XOPEN_REALTIME_THREADS): Undefine macro.
12514 (_XOPEN_SHM): Undefine macro.
12515 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12516 macro to -1.
12517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12518 macro to -1.
12519 (_POSIX_ASYNC_IO): Undefine macro.
12520 (_POSIX_PRIORITIZED_IO): Undefine macro.
12521 (_POSIX_SPIN_LOCKS): Define macro to -1.
12522
ee16e894
ST
12523 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12524 SA_NODEFER, SA_RESETHAND.
12525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12526 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12527 F_DUPFD_CLOEXEC.
12528
6103ae3b
TS
125292012-05-10 Thomas Schwinge <thomas@schwinge.name>
12530
12531 * elf/Makefile (pldd-modules): Define unconditionally.
12532
80b4e5f3
TS
125332012-05-10 Thomas Schwinge <thomas@schwinge.name>
12534
12535 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12536
edadcbd6
ST
125372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12538
12539 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12540 Return ENOENT when name is empty.
12541 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12542
80694780
TS
125432012-05-10 Thomas Schwinge <thomas@schwinge.name>
12544
1792c087
TS
12545 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12546
80694780
TS
12547 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12548
6b645f0d
ST
125492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12550
80694780
TS
12551 Fix mlock in all cases except non-readable pages.
12552 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12553 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12554
6b645f0d
ST
12555 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12556 (__mkdir): When path is `/', just fail with EEXIST.
12557 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12558
e468f8a3
TS
125592012-05-10 Thomas Schwinge <thomas@schwinge.name>
12560
12561 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12562 <sys/uio.h> (for writev).
12563 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12564 and <sys/param.h> (for MIN).
12565
a4186cff
PT
125662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12567
12568 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12569 REQUESTED_TIME. Properly set the remaining time and return EINTR
12570 if interrupted.
12571
510bbf14
TS
125722012-05-10 Thomas Schwinge <thomas@schwinge.name>
12573
12574 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12575 Depend on against $(link-rpcuserlibs).
12576
5d5722e8
ST
125772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12578
a4186cff
PT
12579 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12580 (__libc_stack_end): Do not use attribute_relro.
12581 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12582 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12583 to libthread-provided value.
a4186cff
PT
12584 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12585 attribute_relro.
5d5722e8 12586
37233df9
TS
125872012-05-10 Thomas Schwinge <thomas@schwinge.name>
12588
be971a2b
TS
12589 [BZ #3748]
12590 * bits/libc-lock.h (__libc_once_get): New macro.
12591 * sysdeps/mach/bits/libc-lock.h: Likewise.
12592 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12594 instead of using implementation details.
12595
37233df9
TS
12596 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12597 * libio/freopen.c: Likewise.
12598 * libio/freopen64.c: Likewise.
12599 * misc/syslog.c: Likewise.
12600 * nscd/connections.c: Likewise.
12601 * nscd/netgroupcache.c: Likewise.
12602 * sysdeps/posix/getcwd.c: Likewise.
12603
38de94a5
RM
126042012-05-10 Roland McGrath <roland@hack.frob.com>
12605
12606 * math/w_ilogbf.c: Add #include <limits.h>.
12607
67530489
ST
126082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12609
a4186cff 12610 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12611 path instead of returning without unlocking.
12612
67530489
ST
12613 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12614 immediate-write ioctls.
12615 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12616
5aa3a74a
TS
126172012-05-10 Thomas Schwinge <thomas@schwinge.name>
12618
18bad2ae
TS
12619 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12620 __builtin_frame_address instead of making assumptions about the
12621 location of the return address relative to DATA. Force early load of
12622 the return address.
12623 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12624 __builtin_frame_address.
12625
5aa3a74a
TS
12626 dup3 for GNU Hurd.
12627 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12628 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12629 implement dup3 and do some further code clean-ups.
12630 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12631 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12632
ecd0de9a
ST
126332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12634
cd9fa985
ST
12635 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12636
a4186cff
PT
12637 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12638 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12639 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12640 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12641 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12642 d->port.lock.
802ca5a5 12643
a4186cff
PT
12644 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12645 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12646 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12647
bcf55240
TS
126482012-05-10 Thomas Schwinge <thomas@schwinge.name>
12649
6960eb42
TS
12650 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12651 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12652 definitions.
12653
eb43375f
TS
12654 accept4 for GNU Hurd.
12655 * include/sys/socket.h (__libc_accept4): New prototype.
12656 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12657 to implement __libc_accept4.
12658 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12659 __libc_accept4.
12660 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12661
bcf55240
TS
12662 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12663 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12664 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12665 signal-defines.sym.
12666
6178c55b
ST
126672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12668
a4186cff 12669 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12670
6f080c2f
TS
126712012-05-10 Thomas Schwinge <thomas@schwinge.name>
12672
12673 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12674 assertion on O_CLOEXEC flag.
12675 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12676 * hurd/intern-fd.c: Likewise.
12677 * hurd/port2fd.c: Likewise.
12678
bcfe3a54
ST
126792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12680
12681 [BZ #3906]
12682 * bits/in.h (IPV6_PKTINFO): Define new macro.
12683 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12684
89c9aa49
AZ
126852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12686
12687 [BZ #13954]
12688 [BZ #13955]
12689 [BZ #13956]
12690 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12692 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12693 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12695 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12696 * math/libm-test.inc (logb_test) : Additional logb tests.
12697
021db4be
AJ
126982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12699 Andreas Jaeger <aj@suse.de>
12700
12701 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12702 * configure: Regenerated.
12703 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12704 * config.make.in (link-obsolete-rpc): New substituted variable.
12705 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12706 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12707 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12708 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12709 so that libc.a contains the symbols.
12710 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12711 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12712 * sunrpc/auth_none.c: Likewise.
12713 * sunrpc/auth_unix.c: Likewise.
12714 * sunrpc/authdes_prot.c: Likewise.
12715 * sunrpc/authuxprot.c: Likewise.
12716 * sunrpc/clnt_gen.c: Likewise.
12717 * sunrpc/clnt_perr.c: Likewise.
12718 * sunrpc/clnt_raw.c: Likewise.
12719 * sunrpc/clnt_simp.c: Likewise.
12720 * sunrpc/clnt_tcp.c: Likewise.
12721 * sunrpc/clnt_udp.c: Likewise.
12722 * sunrpc/clnt_unix.c: Likewise.
12723 * sunrpc/des_crypt.c: Likewise.
12724 * sunrpc/des_soft.c: Likewise.
12725 * sunrpc/get_myaddr.c: Likewise.
12726 * sunrpc/key_call.c: Likewise.
12727 * sunrpc/key_prot.c: Likewise.
12728 * sunrpc/netname.c: Likewise.
12729 * sunrpc/pm_getmaps.c: Likewise.
12730 * sunrpc/pm_getport.c: Likewise.
12731 * sunrpc/pmap_clnt.c: Likewise.
12732 * sunrpc/pmap_prot.c: Likewise.
12733 * sunrpc/pmap_prot2.c: Likewise.
12734 * sunrpc/pmap_rmt.c: Likewise.
12735 * sunrpc/publickey.c: Likewise.
12736 * sunrpc/rpc_cmsg.c: Likewise.
12737 * sunrpc/rpc_common.c: Likewise.
12738 * sunrpc/rpc_dtable.c: Likewise.
12739 * sunrpc/rpc_prot.c: Likewise.
12740 * sunrpc/rpc_thread.c: Likewise.
12741 * sunrpc/rtime.c: Likewise.
12742 * sunrpc/svc.c: Likewise.
12743 * sunrpc/svc_auth.c: Likewise.
12744 * sunrpc/svc_raw.c: Likewise.
12745 * sunrpc/svc_run.c: Likewise.
12746 * sunrpc/svc_tcp.c: Likewise.
12747 * sunrpc/svc_udp.c: Likewise.
12748 * sunrpc/svc_unix.c: Likewise.
12749 * sunrpc/svcauth_des.c: Likewise.
12750 * sunrpc/xcrypt.c: Likewise.
12751 * sunrpc/xdr.c: Likewise.
12752 * sunrpc/xdr_array.c: Likewise.
12753 * sunrpc/xdr_float.c: Likewise.
12754 * sunrpc/xdr_intXX_t.c: Likewise.
12755 * sunrpc/xdr_mem.c: Likewise.
12756 * sunrpc/xdr_rec.c: Likewise.
12757 * sunrpc/xdr_ref.c: Likewise.
12758 * sunrpc/xdr_sizeof.c: Likewise.
12759 * sunrpc/xdr_stdio.c: Likewise.
12760
b5c086a2
RM
127612012-05-10 Roland McGrath <roland@hack.frob.com>
12762
12763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12764 change. Update copyright years.
12765
6d74dd09
JM
127662012-05-10 Joseph Myers <joseph@codesourcery.com>
12767
12768 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12769
28e72501
MK
127702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12771 Joseph Myers <joseph@codesourcery.com>
12772 Paul Pluzhnikov <ppluzhnikov@google.com>
12773
12774 [BZ #14012]
12775 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12776 requiring rpcgen.
12777 [cross-compiling] (extra-libs): Likewise.
12778 [cross-compiling] (extra-libs-others): Likewise.
12779 [cross-compiling] (librpcsvc-routines): Likewise.
12780 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12781 [cross-compiling] (omit-deps): Likewise.
12782 (sunrpc-CPPFLAGS): New variable.
12783 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12784 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12785 (cross-rpcgen-objs): New variable.
12786 (extra-objs): Append $(cross-rpcgen-objs).
12787 ($(cross-rpcgen-objs)): New rule.
12788 ($(objpfx)cross-rpcgen): Likewise.
12789 (rpcgen-cmd): Define to use $(built-program-file). Expand
12790 comment.
12791 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12792 ($(objpfx)x%.stmp): Likewise.
12793 * sunrpc/proto.h [IS_IN_build] (_): Define.
12794 [IS_IN_build] (_libc_intl_domainname): Likewise.
12795
c8c59454
L
127962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12797
12798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12799 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12800 and R_X86_64_TPOFF64.
12801
6f27cd16
JM
128022012-05-10 Joseph Myers <joseph@codesourcery.com>
12803
12804 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12805 sysdeps/unix/sysv/syscalls.list.
12806 (stime): Likewise.
12807 (utime): Likewise.
12808 * sysdeps/unix/sysv/syscalls.list: Remove file.
12809
02467e1c
PE
128102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12811
12812 [BZ #3440]
12813 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12814 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12815 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12816 (__LC_IDENTIFICATION): Make these macros useful in #if
12817 expressions, as required by C99.
12818
da392631
AS
128192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12820
12821 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12822 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12823 after this.
12824
8115f29b
L
128252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * stdlib/longlong.h: Updated from GCC.
12828
bdd74070
AJ
128292012-05-09 Andreas Jaeger <aj@suse.de>
12830
edfe0dbe
AJ
12831 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12832 default is first entry.
12833 (run_mode): Set type.
12834 (main): Remove informal message about syslog.
12835 (options): Fix typo.
12836
bcfe3a54
ST
12837 [BZ #14053]
12838 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12839 to asm.
bcfe3a54
ST
12840 (lrint): Likewise.
12841 (llrintf): Likewise.
12842 (llrint): Likewise.
12843 (rint): Likewise.
12844 (rintf): Likewise.
12845 (nearbyint): Likewise.
12846 (nearbyintf): Likewise.
bdd74070 12847
91d8d69e
AJ
128482012-05-09 Andreas Jaeger <aj@suse.de>
12849 Pedro Alves <palves@redhat.com>
12850
12851 * nscd/nscd.c (run_mode): Use enum.
12852 (main): Cleanup coding style issue.
12853
bb90b80b
AJ
128542012-05-09 Alexandre Oliva <aoliva@redhat.com>
12855 Andreas Jaeger <aj@suse.de>
12856
bcfe3a54
ST
12857 * nscd/nscd.c (go_background): Replaced with...
12858 (run_mode): ... this.
bb90b80b 12859 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12860 (options): Add -F --foreground.
12861 (main): Implement it.
12862 (parse_opt): Parse it.
bb90b80b 12863
1a4b75a1
AJ
128642012-05-09 Andreas Jaeger <aj@suse.de>
12865
12866 [BZ #14083]
12867 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12868 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12869 -Wconversion warning.
12870 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12871 Likewise.
12872
b1cc2472
JM
128732012-05-09 Joseph Myers <joseph@codesourcery.com>
12874
12875 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12876 == 0.
12877 (LC_ALL): Use macro-int-constant.
12878 (LC_COLLATE): Likewise.
12879 (LC_CTYPE): Likewise.
12880 (LC_MESSAGES): Likewise.
12881 (LC_MONETARY): Likewise.
12882 (LC_NUMERIC): Likewise.
12883 (LC_TIME): Likewise.
12884 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12885 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12887 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12888 Specify type.
12889 [C99-based standards] (float_t): Expect type.
12890 [C99-based standards] (double_t): Expect type.
12891 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12892 type.
12893 [C99-based standards] (HUGE_VALL): Likewise.
12894 [C99-based standards] (INFINITY): Likewise.
12895 [C99-based standards] (NAN): Likewise.
12896 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12897 [C99-based standards] (FP_NAN): Likewise.
12898 [C99-based standards] (FP_NORMAL): Likewise.
12899 [C99-based standards] (FP_SUBNORMAL): Likewise.
12900 [C99-based standards] (FP_ZERO): Likewise.
12901 [C99-based standards] (FP_FAST_FMA): Use
12902 optional-macro-int-constant. Specify type. Require == 1.
12903 [C99-based standards] (FP_FAST_FMAF): Likewise.
12904 [C99-based standards] (FP_FAST_FMAL): Likewise.
12905 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12906 [C99-based standards] (FP_ILOGBNAN): Likewise.
12907 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12908 Specify type.
12909 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12910 [C99-based standards] (math_errhandling): Specify type.
12911 [ISO99 || ISO11] (signgam): Do not allow.
12912 [non-C99-based standards] (copysignf): Do not allow.
12913 [non-C99-based standards] (exp2f): Likewise.
12914 [non-C99-based standards] (log2f): Likewise.
12915 [non-C99-based standards] (modff): Allow.
12916 [non-C99-based standards] (erff): Do not allow.
12917 [non-C99-based standards] (erfcf): Likewise.
12918 [non-C99-based standards] (gammaf): Likewise.
12919 [non-C99-based standards] (hypotf): Likewise.
12920 [non-C99-based standards] (j0f): Likewise.
12921 [non-C99-based standards] (j1f): Likewise.
12922 [non-C99-based standards] (jnf): Likewise.
12923 [non-C99-based standards] (lgammaf): Likewise.
12924 [non-C99-based standards] (tgammaf): Likewise.
12925 [non-C99-based standards] (y0f): Likewise.
12926 [non-C99-based standards] (y1f): Likewise.
12927 [non-C99-based standards] (ynf): Likewise.
12928 [non-C99-based standards] (isnanf): Likewise.
12929 [non-C99-based standards] (acoshf): Likewise.
12930 [non-C99-based standards] (asinhf): Likewise.
12931 [non-C99-based standards] (atanhf): Likewise.
12932 [non-C99-based standards] (cbrtf): Likewise.
12933 [non-C99-based standards] (expm1f): Likewise.
12934 [non-C99-based standards] (ilogbf): Likewise.
12935 [non-C99-based standards] (log1pf): Likewise.
12936 [non-C99-based standards] (logbf): Likewise.
12937 [non-C99-based standards] (nextafterf): Likewise.
12938 [non-C99-based standards] (remainderf): Likewise.
12939 [non-C99-based standards] (rintf): Likewise.
12940 [non-C99-based standards] (scalbf): Likewise.
12941 [non-C99-based standards] (copysignl): Likewise.
12942 [non-C99-based standards] (exp2l): Likewise.
12943 [non-C99-based standards] (log2l): Likewise.
12944 [non-C99-based standards] (modfl): Allow.
12945 [non-C99-based standards] (erfl): Do not allow.
12946 [non-C99-based standards] (erfcl): Likewise.
12947 [non-C99-based standards] (gammal): Likewise.
12948 [non-C99-based standards] (hypotl): Likewise.
12949 [non-C99-based standards] (j0l): Likewise.
12950 [non-C99-based standards] (j1l): Likewise.
12951 [non-C99-based standards] (jnl): Likewise.
12952 [non-C99-based standards] (lgammal): Likewise.
12953 [non-C99-based standards] (tgammal): Likewise.
12954 [non-C99-based standards] (y0l): Likewise.
12955 [non-C99-based standards] (y1l): Likewise.
12956 [non-C99-based standards] (ynl): Likewise.
12957 [non-C99-based standards] (isnanl): Likewise.
12958 [non-C99-based standards] (acoshl): Likewise.
12959 [non-C99-based standards] (asinhl): Likewise.
12960 [non-C99-based standards] (atanhl): Likewise.
12961 [non-C99-based standards] (cbrtl): Likewise.
12962 [non-C99-based standards] (expm1l): Likewise.
12963 [non-C99-based standards] (ilogbl): Likewise.
12964 [non-C99-based standards] (log1pl): Likewise.
12965 [non-C99-based standards] (logbl): Likewise.
12966 [non-C99-based standards] (nextafterl): Likewise.
12967 [non-C99-based standards] (remainderl): Likewise.
12968 [non-C99-based standards] (rintl): Likewise.
12969 [non-C99-based standards] (scalbl): Likewise.
12970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12971 [non-C99-based standards] (FP_*): Do not allow.
12972 [C99-based standards] (FP_*): Change to
12973 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12974 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12975 allow.
12976 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12977 (SIG_ERR): Likewise.
12978 [X/Open-based standards] (SIG_HOLD): Likewise.
12979 (SIG_IGN): Likewise.
12980 (SIGABRT): Use macro-int-constant. Specify type. Require
12981 positive value.
12982 (SIGFPE): Likewise.
12983 (SIGILL): Likewise.
12984 (SIGINT): Likewise.
12985 (SIGSEGV): Likewise.
12986 (SIGTER): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13005 [X/Open-based standards] (SIGTRAP): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13010 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13011 allow.
13012
b9f1922d
IW
130132012-05-08 Ian Wienand <ianw@vmware.com>
13014
13015 [BZ #14080]
13016 * time/tzset.c (__tzset_parse_tz): Update default rules for
13017 daylight time changes in the Energy Policy Act of 2005.
13018
1db86e88
AJ
130192012-05-09 Andreas Jaeger <aj@suse.de>
13020
13021 [BZ #13983]
13022 * elf/ldconfig.c (parse_conf): Change string to make clear that
13023 ldconfig only issued a warning if ld.so.conf does not exist.
13024
dee4a4e3
DM
130252012-05-08 David S. Miller <davem@davemloft.net>
13026
ee0db190
DM
13027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13028 movxtod instead of popping the value on the stack.
13029
dee4a4e3
DM
13030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13031
6a43ec98
CD
130322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13033
13034 * config.h.in: Add HAVE_ARM_PCS_VFP.
13035
05c2c961
RMG
130362012-05-08 Roland Mc Grath <roland@hack.frob.com>
13037
bcfe3a54
ST
13038 [BZ #13979]
13039 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13040 checking but the checks are disabled for any reason.
05c2c961 13041
4b30f61a
L
130422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13045 and ELF64_R_TYPE with ELFW(R_TYPE).
13046
eee2bc67
JM
130472012-05-08 Joseph Myers <joseph@codesourcery.com>
13048
7ea5391a
JM
13049 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13050 (ulimit): Likewise.
13051
eee2bc67
JM
13052 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13053 (settimeofday): Likewise.
13054
abb66a67
MF
130552012-05-08 Mike Frysinger <vapier@gentoo.org>
13056
13057 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13058 a struct th_u2 inside the union, and move tu_block/tu_code into
13059 a new th_u3 union of tu_block/tu_code inside of that. Move
13060 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13061 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13062 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13063 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13064 (th_stuff): Change to th_u1.tu_stuff.
13065 (th_data): Define.
13066 (th_msg): Change to th_u1.th_u2.tu_data.
13067
7f18b530
DM
130682012-05-07 David S. Miller <davem@davemloft.net>
13069
05760585
DM
13070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13071
7f18b530
DM
13072 [BZ #14074]
13073 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13074 (SETUP_PIC_REG): Use it.
13075 (SETUP_PIC_REG_LEAF): Use it.
13076
495fd99f
JM
130772012-05-07 Joseph Myers <joseph@codesourcery.com>
13078
13079 [BZ #13885]
13080 [BZ #13923]
13081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13082 USE_AS_EXPM1L.
13083 (EXPL_FINITE): Likewise.
13084 (FLDLOG): Likewise.
13085 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13086 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13087 e_expl.S.
13088 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13089 USE_AS_EXPM1L.
13090 (EXPL_FINITE): Likewise.
13091 (FLDLOG): Likewise.
13092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13093 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13094 e_expl.S.
13095 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13096 test of -max_value argument for long double.
13097 * sysdeps/i386/fpu/libm-test-ulps: Update.
13098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099
6693d694
DM
131002012-05-06 David S. Miller <davem@davemloft.net>
13101
13102 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13103 quad soft-float symbols whose references which are compiler
13104 generated.
13105 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13106
6c23e11c
JM
131072012-05-06 Joseph Myers <joseph@codesourcery.com>
13108
d8b82cad
JM
13109 [BZ #13884]
13110 [BZ #13914]
13111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13112 USE_AS_EXP10L.
13113 (EXPL_FINITE): Likewise.
13114 (FLDLOG): Likewise.
13115 (c0): Likewise.
13116 (c1): Likewise.
13117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13118 Adjust comments for base varying.
13119 (__expl_finite): Change alias to EXPL_FINITE.
13120 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13121 e_expl.S.
13122 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13123 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13125 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13127 USE_AS_EXP10L.
13128 (EXPL_FINITE): Likewise.
13129 (FLDLOG): Likewise.
13130 (c0): Likewise.
13131 (c1): Likewise.
13132 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13133 Adjust comments for base varying.
13134 (__expl_finite): Change alias to EXPL_FINITE.
13135 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13136 tests for bugs.
13137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13138
6c23e11c
JM
13139 [BZ #14064]
13140 * math/libm-test.inc (check_float_internal): Correct ulp
13141 calculation for subnormal expected results.
13142
29ba805c
AJ
131432012-05-06 Andreas Jaeger <aj@suse.de>
13144
13145 * Makeconfig (+math-flags): New, set to -frounding-math.
13146 (+cflags): Add +math-flags so that all of glibc gets compiled with
13147 it.
13148
13149 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13150
7b17aeda
JM
131512012-05-05 Joseph Myers <joseph@codesourcery.com>
13152
5779f134
JM
13153 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13154 Disable one test.
13155
41498f4d
JM
13156 [BZ #13787]
13157 [BZ #13922]
13158 [BZ #14036]
13159 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13160 (__ieee754_expl): Allow for and saturate large arguments.
13161 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13162 (u_threshold): Likewise.
13163 (__exp): Call __ieee754_exp before checking for overflow and
13164 underflow.
13165 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13166 (u_threshold): Likewise.
13167 (__expf): Call __ieee754_expf before checking for overflow and
13168 underflow.
13169 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13170 (u_threshold): Likewise.
13171 (__expl): Call __ieee754_expl before checking for overflow and
13172 underflow.
13173 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13174 (__ieee754_expl): Allow for and saturate large arguments.
13175 * math/libm-test.inc (exp_test): Add another test. Do not allow
13176 missing overflow exception on overflow.
13177 (expm1_test): Do not allow missing overflow exception on overflow.
13178
6698b8bf
JM
13179 * sysdeps/i386/fpu/e_expl.c: Move to ...
13180 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13181 rather than using inline asm.
13182 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13183 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13184 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13185
7b17aeda
JM
13186 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13187 (nice): Likewise.
13188 (poll): Likewise.
13189 (signal): Likewise.
13190 (time): Likewise.
13191 (times): Likewise.
13192
f7c85819
JM
131932012-05-04 Joseph Myers <joseph@codesourcery.com>
13194
13195 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13196 sysdeps/unix/common/syscalls.list.
13197 (fchmod): Likewise.
13198 (fchown): Likewise.
13199 (ftruncate): Likewise.
13200 (getrusage): Likewise.
13201 (gettimeofday): Likewise.
13202 (setpgid): Likewise.
13203 (setregid): Likewise.
13204 (setreuid): Likewise.
13205 (sigaction): Likewise.
13206 (truncate): Likewise.
13207 (vhangup): Likewise.
13208 * sysdeps/unix/common/syscalls.list: Remove file.
13209 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13210 * sysdeps/unix/sysv/linux/Implies: Likewise.
13211
336270d0
L
132122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13213
13214 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13216 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13217 Moved to ...
13218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13219 Here.
13220 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13221 to ...
13222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13223 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13224 to ...
13225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13226 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13227 to ...
13228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13230 to ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13232 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13233 to ...
13234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13235 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13236 to ...
13237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13238 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13239 to ...
13240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13241 Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13243 to ...
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13245 Here.
13246 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13247 to ...
13248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13249 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13250 Moved to ...
13251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13252 Here.
13253 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13254 to ...
13255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13256
d128e450
JM
132572012-05-04 Joseph Myers <joseph@codesourcery.com>
13258
fa8ee516
JM
13259 * sysdeps/unix/common/bits/dirent.h: Remove file.
13260 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13261
d128e450
JM
13262 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13263 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13264 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13265 * sysdeps/unix/bsd/isatty.c: Likewise.
13266 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13267 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13268 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13269
ff8faaf0 132702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13271
62881be4 13272 [BZ #13563]
31dc8730
AZ
13273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13274 long double comparison inaccuracies.
13275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13277
6fef930c
AS
132782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13279
13280 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13282
8f203e6c
JM
132832012-05-04 Joseph Myers <joseph@codesourcery.com>
13284
13285 [BZ #14049]
13286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13287 nonzero digits before rounding a hex value.
13288 * stdlib/tst-strtod.c (tests): Add another test.
13289
5197d9c2
AK
132902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13291
13292 * sysdeps/s390/fpu/libm-test-ulps: Update.
13293
f0c1dedf
AJ
132942012-05-03 Andreas Jaeger <aj@suse.de>
13295
13296 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13297 does not get optimized out.
13298 (malloc_opt_barrier): New.
13299
a65ef2ae 133002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13301 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13302
2b942cb7 13303 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13304 intermediate file deletion.
2b942cb7 13305 (generated): Add .symlist files.
a65ef2ae 13306
54b71e02
JM
133072012-05-03 Joseph Myers <joseph@codesourcery.com>
13308
13309 [BZ #13775]
13310 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13311 Redirect under this condition.
13312 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13313 [__USE_GNU] (__dprintf_chk): Not under this condition.
13314 [__USE_GNU] (__vdprintf_chk): Likewise.
13315 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13316 under this condition.
13317 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13318 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13319 [__USE_XOPEN2K8] (vdprintf): Likewise.
13320 [__USE_GNU] (__dprintf_chk): Not under this condition.
13321 [__USE_GNU] (__vdprintf_chk): Likewise.
13322 [__USE_GNU] (dprintf): Likewise.
13323 [__USE_GNU] (vdprintf): Likewise.
13324
d3dfcc41
RM
133252012-05-03 Roland McGrath <roland@hack.frob.com>
13326
13327 * elf/Makefile (common-generated): Set this instead of generated for
13328 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13329 $(all-built-dso)-derived lists.
13330
7ac30cc5
AJ
133312012-05-03 Andreas Jaeger <aj@suse.de>
13332
0c51e550
AJ
13333 * sysdeps/i386/fpu/libm-test-ulps: Update.
13334
7ac30cc5
AJ
13335 * FAQ: Removed.
13336 * FAQ.in: Likewise.
13337 * scripts/gen-FAQ.pl: Likewise.
13338 * manual/install.texi (Installation): Point to online location of
13339 FAQ.
13340 * Makefile (files-for-dist): Remove FAQ.
13341 (FAQ): Remove.
13342
d4c2917f
AM
133432012-05-02 Allan McRae <allan@archlinux.org>
13344
13345 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13346 (LDFLAGS-reldepmod5.so): Likewise.
13347 (LDFLAGS-reldep6mod1.so): Likewise.
13348 (LDFLAGS-reldep6mod4.so): Likewise.
13349 (LDFLAGS-reldep8mod3.so): Likewise.
13350 (LDFLAGS-unload4mod1.so): Likewise.
13351 (LDFLAGS-unload4mod2.so): Likewise.
13352 (LDFLAGS-tst-initorder): Likewise.
13353 (LDFLAGS-tst-initordera2.so): Likewise.
13354 (LDFLAGS-tst-initordera3.so): Likewise.
13355 (LDFLAGS-tst-initordera4.so): Likewise.
13356 (LDFLAGS-tst-initorderb2.so): Likewise.
13357 (LDFLAGS-noload): Likewise.
13358 (LDFLAGS-next): Likewise.
13359 (LDFLAGS-order2mod1.so): Likewise.
13360 (LDFLAGS-order2mod2.so): Likewise.
13361 (LDFLAGS-tst-initorder2): Likewise.
13362 (LDFLAGS-tst-initorder2a.so): Likewise.
13363 (LDFLAGS-tst-initorder2b.so): Likewise.
13364 (LDFLAGS-tst-initorder2c.so): Likewise.
13365 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13366
d77f993f
DM
133672012-05-02 David S. Miller <davem@davemloft.net>
13368
13369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13370
171a70b4
PP
133712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13372
13373 [BZ #14055]
13374 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13375
0be196ad
AJ
133762012-05-02 Andreas Jaeger <aj@suse.de>
13377
13378 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13379 since we manipulate rounding mode.
13380 (CPPFLAGS-test-idouble.c): Likewise.
13381 (CPPFLAGS-test-ifloat.c): Likewise.
13382 (CFLAGS-test-ldouble.c): Likewise.
13383 (CFLAGS-test-double.c): Likewise.
13384 (CFLAGS-test-float.c): Likewise.
13385 (CFLAGS-test-misc.c): Likewise.
13386 (CFLAGS-test-test-fenv.c): Likewise.
13387
4f9d04aa
AZ
133882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13389
2b942cb7
RM
13390 [BZ #2550]
13391 [BZ #2570]
13392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13393 comparisons to determine direction to adjust input.
4f9d04aa 13394
82a79e7d
RM
133952012-05-01 Roland McGrath <roland@hack.frob.com>
13396
f5a01ca9
RM
13397 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13398 output to the target.
13399
90fe4186
RM
13400 * scripts/localplt.awk: New file.
13401 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13402 (check-localplt-CFLAGS): Variable removed.
13403 ($(all-built-dso:=.jmprel)): New static pattern rule.
13404 (generated): Add those targets.
13405 (localplt-built-dso): New variable.
13406 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13407
13408 * elf/check-localplt.c: File removed.
13409
82397ed6
RM
13410 * scripts/check-execstack.awk: New file.
13411 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13412 (check-execstack-CFLAGS): Variable removed.
13413 ($(objpfx)check-execstack.h): Target removed.
13414 ($(objpfx)execstack-default): New target.
13415 (generated): Add that instead of check-execstack.h.
13416 ($(all-built-dso:=.phdr)): New static pattern rule.
13417 (generated): Add those targets.
13418 * elf/check-execstack.c: File removed.
13419
82a79e7d
RM
13420 * scripts/check-textrel.awk: New file.
13421 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13422 (check-textrel-CFLAGS): Variable removed.
13423 (all-built-dso): Use := to define.o
13424 ($(all-built-dso:=.dyn)): New static pattern rule.
13425 (generated): Add those targets.
13426 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13427 * config.make.in (READELF): New substituted variable.
13428 * elf/check-textrel.c: File removed.
13429
62fde54f 134302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13431
615605c9
JM
13432 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13433 allow.
13434 * conform/data/ctype.h-data [C99-based standards] (isblank):
13435 Expect function.
13436 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13437 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13439 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13440 Specify type. Require positive value.
13441 (EILSEQ): Likewise.
13442 (ERANGE): Likewise.
13443 [ISO || POSIX] (EILSEQ): Do not expect.
13444 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13445 Specify type. Require positive value.
13446 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13520 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13521 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13522 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13523 Require >= 2.
13524 (FLT_ROUNDS): Expect as macro, not constant.
13525 (FLT_MANT_DIG): Use macro-int-constant.
13526 (DBL_MANT_DIG): Likewise.
13527 (LDBL_MANT_DIG): Likewise.
13528 (FLT_DIG): Likewise.
13529 (DBL_DIG): Likewise.
13530 (LDBL_DIG): Likewise.
13531 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13532 (DBL_MIN_EXP): Likewise.
13533 (LDBL_MIN_EXP): Likewise.
13534 (FLT_MAX_EXP): Use macro-int-constant.
13535 (DBL_MAX_EXP): Likewise.
13536 (LDBL_MAX_EXP): Likewise.
13537 (FLT_MAX_10_EXP): Likewise.
13538 (DBL_MAX_10_EXP): Likewise.
13539 (LDBL_MAX_10_EXP): Likewise.
13540 (FLT_MAX): Use macro-constant.
13541 (DBL_MAX): Likewise.
13542 (LDBL_MAX): Likewise.
13543 (FLT_EPSILON): Use macro-constant. Give upper bound.
13544 (DBL_EPSILON): Likewise.
13545 (LDBL_EPSILON): Likewise.
13546 (FLT_MIN): Likewise.
13547 (DBL_MIN): Likewise.
13548 (LDBL_MIN): Likewise.
13549 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13550 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13551 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13552 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13553 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13554 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13555 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13556 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13557 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13558 [ISO11] (FLT_TRUE_MIN): Likewise.
13559 [ISO11] (LDBL_TRUE_MIN): Likewise.
13560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13561 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13562 (SCHAR_MIN): Use macro-int-constant. Specify type.
13563 (SCHAR_MAX): Likewise.
13564 (UCHAR_MAX): Likewise.
13565 (CHAR_MIN): Likewise.
13566 (CHAR_MAX): Likewise.
13567 (MB_LEN_MAX): Use macro-int-constant.
13568 (SHRT_MIN): Use macro-int-constant. Specify type.
13569 (SHRT_MAX): Likewise.
13570 (USHRT_MAX): Likewise.
13571 (INT_MAX): Likewise.
13572 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13573 bound negative.
13574 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13575 bound with "U".
13576 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13577 bound with "L".
13578 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13579 bound negative. Suffix upper bound with "L".
13580 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13581 bound with "UL".
13582 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13583 Specify type.
13584 [C99-based standards] (LLONG_MAX): Likewise.
13585 [C99-based standards] (ULLONG_MAX): Likewise.
13586 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13587 == 0.
13588 [ISO11] (max_align_t): Require type.
13589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13590
c9140a62
JM
13591 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13592 from $CFLAGS, without defining away __attribute__ calls.
13593 (checknamespace): Use $CFLAGS_namespace.
13594
9af0bf29
JM
13595 * conform/conformtest.pl (@keywords): Only include C99 keywords
13596 for standards based on C99 or C11.
13597
343222a2
JM
13598 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13599 Disable tests.
13600 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13601 UNIX98]: Likewise.
13602
661f8cf0
JM
13603 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13604 usability of symbols in #if.
13605
ee74b9cb
JM
13606 * conform/conformtest.pl: If macro or constant types start
13607 "promoted:", expect the symbol to be of the following type
13608 promoted by the integer promotions.
62fde54f 13609
aafc49b3
JM
13610 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13611 in one place. Also handle "macro-constant".
13612
fefdf574
JM
13613 * conform/conformtest.pl: Only accept expected macro values with
13614 "==". Parse all "macro" lines in one place.
13615 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13616
f2d922fe
JM
13617 * conform/conformtest.pl: Handle braced types on "constant" lines
13618 instead of handling "typed-constant".
13619 * conform/data/signal.h-data: Use "constant" instead of
13620 "typed-constant".
13621
d22956c9
JM
13622 * conform/conformtest.pl: Handle "optional-" at start of lines in
13623 one place rather than duplicating several cases. Handle each
13624 format of "macro" line with initial "optional-".
13625
028e2e38
JM
13626 * conform/conformtest.pl: Only accept expected constant or
13627 optional-constant values with "==". Parse all "constant" lines in
13628 one place. Parse all "optional-constant" lines in one place.
13629 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13630 * conform/data/fmtmsg.h-data: Likewise.
13631 * conform/data/netinet/in.h-data: Likewise.
13632 * conform/data/tar.h-data: Likewise.
13633 * conform/data/limits.h-data: Use "==" form on "constant" and
13634 "optional-constant" lines.
13635
1b8f2850
JM
13636 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13637 Use -std=c99 for XOPEN2K.
13638 (@knownproblems): Remove.
13639 (newtoken): Don't check %isknown.
13640
a05a144b
JM
13641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13642 Do not expect macro.
13643 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13655 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13656 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13673 [XPG3] (acosh): Likewise.
13674 [XPG3] (asinh): Likewise.
13675 [XPG3] (atanh): Likewise.
13676 [XPG3] (cbrt): Likewise.
13677 [XPG3] (expm1): Likewise.
13678 [XPG3] (ilogb): Likewise.
13679 [XPG3] (log1p): Likewise.
13680 [XPG3] (logb): Likewise.
13681 [XPG3] (nextafter): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13684 [XPG3] (remainder): Likewise.
13685 [XPG3] (rint): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13693 [UNIX98 || XOPEN2K] (scalb): Expect.
13694 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13695 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13831
73c5ebe3
JM
13832 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13833 _XOPEN_SOURCE_EXTENDED for XPG4.
13834
39c33b6c
JM
13835 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13836
62fde54f
JM
13837 * Makeconfig (localtime): Remove variable.
13838 (inst_localtime-file): Likewise.
13839
0741d64c
AS
138402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13841
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13843 Update.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13845 Update.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13847 Update.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13849 Update.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13851 Update.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13853 Update.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13855 Update.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13857 Update.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13859 Update.
13860
7cb029ee
JM
138612012-05-01 Joseph Myers <joseph@codesourcery.com>
13862
13863 [BZ #2550]
13864 [BZ #2570]
13865 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13866 comparisons to determine direction to adjust input.
13867 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13868 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13870 Likewise.
13871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13872 Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13874 Likewise.
13875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13877 Likewise.
13878 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13879 Likewise.
13880 * math/libm-test.inc (nexttoward_test): Add more tests.
13881
412bd966
AS
138822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13883
13884 [BZ #14040]
13885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13886 in version GLIBC_2.1, not GLIBC_2.0.
13887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13888 Likewise.
13889
9568c0c2
JM
138902012-04-30 Joseph Myers <joseph@codesourcery.com>
13891
adfbc8ac
JM
13892 [BZ #13942]
13893 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13894 (1 - x) * (1 + x).
13895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13896 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13897 * math/libm-test.inc (acos_test): Add more tests.
13898 (asin_test): Likewise.
13899 * sysdeps/i386/fpu/libm-test-ulps: Update.
13900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901
5ba3cc69
JM
13902 [BZ #14034]
13903 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13904 of square root.
13905 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13906 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13907 * math/libm-test.inc (acos_test_tonearest): New function.
13908 (acos_test_towardzero): Likewise.
13909 (acos_test_downward): Likewise.
13910 (acos_test_upward): Likewise.
13911 (asin_test_tonearest): Likewise.
13912 (asin_test_towardzero): Likewise.
13913 (asin_test_downward): Likewise.
13914 (asin_test_upward): Likewise.
13915 (main): Call the new functions.
13916 * sysdeps/i386/fpu/libm-test-ulps: Update.
13917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13918
9568c0c2
JM
13919 [BZ #13884]
13920 [BZ #13924]
13921 * math/e_exp10.c: Include <float.h>.
13922 (__ieee754_exp10): Handle underflow here rather than multiplying
13923 large negative argument by M_LN10.
13924 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13925 of __ieee754_expf.
13926 * math/e_exp10l.c: Include <float.h>.
13927 (__ieee754_exp10l): Handle underflow here rather than multiplying
13928 large negative argument by M_LN10l.
13929 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13930 spurious overflow exception on underflow.
13931
5ac3ea17
MP
139322012-04-29 Marek Polacek <polacek@redhat.com>
13933
13934 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13935 (__fortify_function): New macro.
13936 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13937 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13938 __extern_always_inline.
13939 * libio/bits/stdio2.h: Likewise.
13940 * libio/bits/stdio.h: Likewise.
13941 * string/string.h: Likewise.
13942 * string/bits/string3.h: Likewise.
13943 * include/stdio.h: Likewise.
13944 * stdlib/bits/stdlib.h: Likewise.
13945 * stdlib/stdlib.h: Likewise.
13946 * rt/bits/mqueue2.h: Likewise.
13947 * rt/mqueue.h: Likewise.
13948 * posix/bits/unistd.h: Likewise.
13949 * posix/unistd.h: Likewise.
13950 * io/bits/poll2.h: Likewise.
13951 * io/bits/fcntl2.h: Likewise.
13952 * io/fcntl.h: Likewise.
13953 * io/sys/poll.h: Likewise.
13954 * misc/bits/syslog.h: Likewise.
13955 * misc/bits/syslog-ldbl.h: Likewise.
13956 * misc/sys/syslog.h: Likewise.
13957 * socket/bits/socket2.h: Likewise.
13958 * socket/sys/socket.h: Likewise.
13959 * debug/tst-chk1.c: Likewise.
13960 * wcsmbs/bits/wchar2.h: Likewise.
13961 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13962 * wcsmbs/wchar.h: Likewise.
13963
ecf0ebfb
AJ
139642012-04-29 Andreas Jaeger <aj@suse.de>
13965
13966 * Makerules (tests): Remove enable-check-abi protection.
13967 (check-abi-warn): Remove.
13968 (check-abi-%): Remove check-abi-warn usage.
13969
13970 * configure.in: Remove check-abi configure option.
13971 * configure: Regenerated.
13972 * config.make.in (enable-check-abi): Remove.
13973
6d5c57fa
AS
139742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13975
24c5d07e 13976 [BZ #14033]
ded5180a
AS
13977 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13978 double functions to double *_finite functions.
13979
7e0d315d
AS
13980 [BZ #13941]
13981 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13982 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13983 LDBL_MIN_EXP.
13984 * stdio-common/Makefile (tests): Add tst-sprintf3.
13985 * stdio-common/tst-sprintf3.c: New file.
13986
6d5c57fa
AS
13987 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13988 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13989
0749ff8b
JM
139902012-04-28 Joseph Myers <joseph@codesourcery.com>
13991
13992 * conform/conformtest.pl: Remove duplicate typed-constant
13993 handling.
13994
8dbd5d7b
DM
139952012-04-28 David S. Miller <davem@davemloft.net>
13996
13997 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13998 (check-abi-%): Remove AWK script prerequisite and explicit
13999 abilist directory.
14000 (check-abi): Rewrite to just diff the symlist with the abilist.
14001 (config-tls, config-abi-config): Delete, no longer used.
14002 (update-abi-%): Remove AWK script and explicit abilist directory.
14003 (update-abi): Rewrite to simply compare and conditionally copy the
14004 symlist and the sysdep abilist file. Remove update-abi-config
14005 checks.
14006 * abilist/ld.abilist: Remove.
14007 * abilist/libBrokenLocale.abilist: Remove.
14008 * abilist/libanl.abilist: Remove.
14009 * abilist/libcrypt.abilist: Remove.
14010 * abilist/libdl.abilist: Remove.
14011 * abilist/librt.abilist: Remove.
14012 * abilist/libthread_db.abilist: Remove.
14013 * abilist/libutil.abilist: Remove.
14014 * scripts/extract-abilist.awk: Remove.
14015 * scripts/merge-abilist.awk: Remove.
14016 * sysdeps/generic/libcidn.abilist: New file.
14017 * sysdeps/generic/libnss_compat.abilist: New file.
14018 * sysdeps/generic/libnss_db.abilist: New file.
14019 * sysdeps/generic/libnss_dns.abilist: New file.
14020 * sysdeps/generic/libnss_files.abilist: New file.
14021 * sysdeps/generic/libnss_hesiod.abilist: New file.
14022 * sysdeps/generic/libnss_nis.abilist: New file.
14023 * sysdeps/generic/libnss_nisplus.abilist: New file.
14024 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14025 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14026 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14027 file.
14028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14029 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14030 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14031 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14032 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14033 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14034 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14035 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14036 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14037 file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14039 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14041 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14042 file.
14043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14046 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14047 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14048 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14049 file.
14050 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14051 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14053 file.
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14058 New file.
14059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14060 New file.
14061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14062 New file.
14063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14064 New file.
14065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14066 New file.
14067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14068 New file.
14069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14070 New file.
14071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14072 New file.
14073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14074 New file.
14075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14076 New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14078 New file.
14079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14080 New file.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14082 file.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14086 New file.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14088 file.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14090 New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14092 New file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14094 file.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14096 New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14098 New file.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14100 New file.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14102 New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14104 New file.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14106 New file.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14109 file.
14110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14111 New file.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14113 file.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14115 file.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14117 file.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14119 file.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14121 file.
14122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14123 New file.
14124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14125 file.
14126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14127 file.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14129 New file.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14134 file.
14135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14136 New file.
14137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14138 file.
14139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14142 file.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14144 file.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14146 file.
14147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14148 New file.
14149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14150 file.
14151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14152 file.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14154 New file.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14156 file.
14157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14158 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14159 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14160 file.
14161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14162 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14163 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14164 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14165 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14166 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14167 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14168 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14169 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14170 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14173 file.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14175 New file.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14177 file.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14179 file.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14181 file.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14183 file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14185 file.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14187 New file.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14189 New file.
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14191 file.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14193 New file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14195 file.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14198 file.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14200 New file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14202 file.
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14204 file.
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14206 file.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14208 file.
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14210 file.
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14212 New file.
14213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14214 New file.
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14216 file.
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14218 New file.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14220 file.
14221
41d73a1b
JM
142222012-04-28 Joseph Myers <joseph@codesourcery.com>
14223
14224 * conform/conformtest.pl: Fix typo in handling typed-constant from
14225 allow-header.
14226
28aeeda4
JM
142272012-04-27 Joseph Myers <joseph@codesourcery.com>
14228
adae8f5e
JM
14229 * README: Cut down references to pre-2.6 Linux kernels and
14230 Linuxthreads. Update lists of configurations in libc and ports
14231 and sort alphabetically. Say "or newer" with Linux kernel version
14232 requirements.
14233
28aeeda4
JM
14234 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14235
a462cb63
RA
142362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14237
14238 [BZ #887]
14239 * math/libm-test.inc (logb_test_downward): New test to expose
14240 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14241 rounding mode.
14242
6ad3493e
JM
142432012-04-27 Joseph Myers <joseph@codesourcery.com>
14244
14245 [BZ #14027]
14246 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14247 to be done.
14248 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14249 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14250
2ce4f015
JM
142512012-04-26 Joseph Myers <joseph@codesourcery.com>
14252
5aeb141a
JM
14253 * sysdeps/unix/i386/brk.S: Remove file.
14254 * sysdeps/unix/i386/dl-brk.S: Likewise.
14255 * sysdeps/unix/i386/pipe.S: Likewise.
14256 * sysdeps/unix/i386/sigreturn.S: Likewise.
14257 * sysdeps/unix/i386/syscall.S: Likewise.
14258 * sysdeps/unix/i386/vfork.S: Likewise.
14259 * sysdeps/unix/i386/wait.S: Likewise.
14260
7143acae
JM
14261 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14262 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14263
2ce4f015
JM
14264 * configure.in (arm*-none*): Do not allow without
14265 --enable-hacker-mode.
14266 (netbsd*): Remove case setting base_os.
14267 (386bsd*): Likewise.
14268 (freebsd*): Likewise.
14269 (bsdi*): Likewise.
14270 (osf*): Likewise.
14271 (sunos*): Likewise.
14272 (ultrix*): Likewise.
14273 (newsos*): Likewise.
14274 (dynix*): Likewise.
14275 (*bsd*): Likewise.
14276 (sysv*): Likewise.
14277 (isc*): Likewise.
14278 (esix*): Likewise.
14279 (sco*): Likewise.
14280 (minix*): Likewise.
14281 (irix4*): Likewise.
14282 (irix6*): Likewise.
14283 (solaris[2-9]*): Likewise.
14284 (none): Likewise.
14285 * configure: Regenerated.
14286
0ac229c8
AZ
142872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288
14289 [BZ #11521]
14290 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14291 overflow or cancellation in calculating denominator.
14292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14294 down expression to avoid unexpected rounding in newer GCCs.
14295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14296
33f244f4
DM
142972012-04-26 David S. Miller <davem@davemloft.net>
14298
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14300 long-double compat symbols.
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14314
cfa1f3e8
DM
143152012-04-25 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14318 HWCAP_* values only after the memory barriers have been defined.
14319 (atomic_full_barrier): Define.
14320 (atomic_read_barrier): Define.
14321 (atomic_write_barrier): Define.
14322
6e236b92
SP
143232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14324
14325 * shlib-versions: Add libgcc_s version information.
14326 * sysdeps/generic/libgcc_s.h: Remove.
14327 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14328 libgcc_s.h.
14329 * sysdeps/gnu/unwind-resume.c: Likewise.
14330 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14331
aab39a09
DM
143322012-04-25 David S. Miller <davem@davemloft.net>
14333
14334 * sysdeps/unix/sparc/brk.S: Delete.
14335 * sysdeps/unix/sparc/dl-brk.S: Delete.
14336 * sysdeps/unix/sparc/pipe.S: Delete.
14337 * sysdeps/unix/sparc/sysdep.S: Delete.
14338 * sysdeps/unix/sparc/sysdep.h: Delete.
14339 * sysdeps/unix/sparc/vfork.S: Delete.
14340 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14341 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14343 ret_ERRVAL, r0, r1, MOVE): Define.
14344 (JUMPTARGET): Remove.
14345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14346 sysdeps/unix/sparc/sysdep.h
14347 (ENTRY, END): Remove.
14348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14349
a3cc4f48
JM
143502012-04-25 Joseph Myers <joseph@codesourcery.com>
14351
2ed8cda2
JM
14352 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14353 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14354 -DIS_IN_build.
14355
35d76d59
JM
14356 * timezone/README: Update upstream location and email address for
14357 tzcode and tzdata.
14358 * timezone/zdump.c: Update from tzcode 2012b.
14359 * timezone/zic.c: Likewise.
14360
a3cc4f48
JM
14361 * configure.in (libc_cv_as_needed): Remove test.
14362 * configure: Regenerated.
14363 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14364 conditional definition.
14365 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14366 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14367 * config.make.in (have-as-needed): Remove variable.
14368
ceab42c3
SP
143692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14370 Paul Pluzhnikov <ppluzhnikov@google.com>
14371
14372 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14373 strings correctly.
14374
3ce2865f
CLT
143752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14376
14377 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14378 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14379 * sysdeps/sh/strlen.S: Likewise.
14380
f37e0d68
JM
143812012-04-24 Joseph Myers <joseph@codesourcery.com>
14382
ae186e9a
JM
14383 * sysdeps/unix/fork.S: Remove file.
14384 * sysdeps/unix/i386/fork.S: Likewise.
14385 * sysdeps/unix/sparc/fork.S: Likewise.
14386
b96914af
JM
14387 * sysdeps/unix/system.c: Remove file.
14388 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14389
f37e0d68
JM
14390 * sysdeps/unix/getegid.S: Remove file.
14391 * sysdeps/unix/geteuid.S: Likewise.
14392
87ef29ca
RM
143932012-04-24 Roland McGrath <roland@hack.frob.com>
14394
83bcd236
RM
14395 * scripts/check-localplt.awk: New file.
14396 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14397 of diff.
14398 * scripts/data/localplt-generic.data: Add a comment.
14399
87ef29ca
RM
14400 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14401 NODE when __dir_mkfile failed.
14402 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14403 Reported by Ludovic Courtès <ludo@gnu.org>.
14404
e5a6e567
AJ
144052012-04-24 Andreas Jaeger <aj@suse.de>
14406
14407 * Makerules (common-clean): Also remove gen-as-const-headers
14408 files.
14409
c1820385
JM
144102012-04-24 Joseph Myers <joseph@codesourcery.com>
14411
14412 * Makerules (native-compile): Do not change working directory for
14413 build. Use $(OUTPUT_OPTION) in command.
14414 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14415
94e02fc4
AZ
144162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14417
14418 [BZ #13886]
14419 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14420 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14421 * math/libm-test.inc (floor_test): Add more tests.
14422 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14423
3a533ca3
JM
144242012-04-24 Joseph Myers <joseph@codesourcery.com>
14425
940ab4b3
JM
14426 * sysdeps/unix/getdents.c: Remove file.
14427 * sysdeps/unix/sysv/getdents.c: Likewise.
14428 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14429
90e037bd
JM
14430 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14431 sysdeps/unix/mman/syscalls.list.
14432 (mmap): Likewise.
14433 (mprotect): Likewise.
14434 (msync): Likewise.
14435 (munmap): Likewise.
14436 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14437 * sysdeps/unix/mman/syscalls.list: Remove.
14438 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14439
3a533ca3
JM
14440 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14441 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14442 * configure: Regenerated.
14443 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14444 $(libgcc_s_suffix).
14445 * config.make.in (libgcc_s_suffix): Remove variable.
14446
1ad743de
JM
144472012-04-23 Joseph Myers <joseph@codesourcery.com>
14448
4ad451e2
JM
14449 * sysdeps/unix/sysv/gethostname.c: Move to ...
14450 * sysdeps/posix/gethostname.c: ... here.
14451
5e37ce39
JM
14452 * sysdeps/unix/execve.S: Remove file.
14453
1ad743de
JM
14454 * sysdeps/unix/_exit.S: Remove file.
14455
4e681b5b
AJ
144562012-04-23 Andreas Jaeger <aj@suse.de>
14457
14458 [BZ #13739]
14459 * manual/Makefile: Remove make dist support, there's no
14460 need for a stand-alone documentation tar ball.
14461 (TEXI2DVI): Define always, it's not in Makeconfig.
14462 (dist): Removed.
14463 (tar-it): Removed.
14464 (edition): Removed.
14465 (glibc-doc-$(edition).tar): Removed
14466 (%.Z): Removed.
14467 (%.gz): Removed.
14468 (%.uu): Removed.
14469 (ETAGS): Remove, it's in Makeconfig.
14470 (move-if-change): Remove, it's in Makeconfig.
14471
38686a03 144722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14473
14474 [BZ #13970]
14475 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14476 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14477 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14478 (strtod_l, strtof_l, strtold_l): Remove __wur.
14479 It is not necessarily an error to ignore strtol's return value.
14480 One can reliably look at the stored endptr to decide whether
14481 the number had valid syntax.
14482
7c0616fa
AJ
144832012-04-21 Andreas Jaeger <aj@suse.de>
14484
803cb6b7 14485 [BZ #13739]
7c0616fa
AJ
14486 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14487
b0fe253f
JM
144882012-04-21 Joseph Myers <joseph@codesourcery.com>
14489
14490 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14491 * sysdeps/unix/sysv/Versions: Remove file.
14492
8280f22d
MT
144932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14494
14495 [BZ #13927]
14496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14497
75ce411f 144982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14499
14500 [BZ #7064]
14501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14502 version from __vm86.
14503
097d59fa
JM
145042012-04-20 Joseph Myers <joseph@codesourcery.com>
14505
a90f3bcb
JM
14506 * sysdeps/unix/common/lxstat.c: Remove file.
14507 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14508
edc7ea78
JM
14509 * sysdeps/unix/sysv/Makefile: Remove file.
14510
cb78c221
JM
14511 * sysdeps/unix/sysv/direct.h: Remove file.
14512
efa6a45f
JM
14513 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14514 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14515 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14516 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14517 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14518 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14519 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14520
9c9f2d0c
JM
14521 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14522
4541c83b
JM
14523 * sysdeps/unix/xmknod.c: Remove file.
14524 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14525
f5d153a0
JM
14526 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14527
aa746595
JM
14528 * sysdeps/unix/sysv/i386/time.S: Remove file.
14529
cce5905e
JM
14530 * sysdeps/unix/fxstat.c: Remove file.
14531 * sysdeps/unix/xstat.c: Likewise.
14532 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14533
37fa3841
JM
14534 * sysdeps/unix/sysv/sigaction.c: Remove file.
14535
ff1962a3
JM
14536 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14537 (sysdep_headers): Remove variable.
14538 [termio.h not in sysdep_headers] (generated): Likewise.
14539 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14540 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14541 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14542 * sysdeps/unix/sysv/tcflow.c: Likewise.
14543 * sysdeps/unix/sysv/tcflush.c: Likewise.
14544 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14545 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14546 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14547 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14548 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14549
e7740d31
JM
14550 * sysdeps/unix/siglist.c: Remove file.
14551
ee06f18b
JM
14552 * sysdeps/unix/getppid.S: Remove file.
14553
097d59fa
JM
14554 * sysdeps/unix/mkdir.c: Remove file.
14555 * sysdeps/unix/rmdir.c: Likewise.
14556
ff3d51ec
AS
145572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14558
14559 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14560 ERR_MAX value.
14561 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14562 errlist-compat value.
14563
50f81fd7
DM
145642012-04-18 David S. Miller <davem@davemloft.net>
14565
14566 * sysdeps/generic/memcopy.h (reg_char): Delete.
14567 * debug/strcat_chk.c: Use char, not reg_char.
14568 * debug/strcpy_chk.c: Likewise.
14569 * debug/strncat_chk.c: Likewise.
14570 * debug/strncpy_chk.c: Likewise.
14571 * string/memchr.c: Likewise.
14572 * string/memrchr.c: Likewise.
14573 * string/rawmemchr.c: Likewise.
14574 * string/strcat.c: Likewise.
14575 * string/strchr.c: Likewise.
14576 * string/strchrnul.c: Likewise.
14577 * string/strcmp.c: Likewise.
14578 * string/strcpy.c: Likewise.
14579 * string/strncat.c: Likewise.
14580 * string/strncmp.c: Likewise.
14581 * string/strncpy.c: Likewise.
14582
8ff41c46
WS
145832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14584
14585 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14586 __builtin_memcopy is called when src and dest ranges are known to not
14587 overlap.
14588
6b652f46
WS
145892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14590
14591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14592 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14593 fwd_align_merge macro call.
14594 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14595 bwd_align_merge macro call.
14596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14597
b282631e
WS
145982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14599
14600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14601 bwd_align_merge macros.
14602 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14603 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14605
95aa737c
DM
146062012-04-18 David S. Miller <davem@davemloft.net>
14607
14608 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14609
7a99a614
AJ
146102012-04-18 Andreas Jaeger <aj@suse.de>
14611
14612 [BZ# 6794]
14613 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14614 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14616
14617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14618 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14620
14621 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14622 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14623 Adjust for changed ldbl-128 files.
14624
14625 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14626 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14628
e5270c23
DM
146292012-04-17 David S. Miller <davem@davemloft.net>
14630
14631 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14632
fb5e92c9
AS
146332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14634
14635 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14636 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14637 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14638 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14640 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14641
76da7265
AZ
146422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14643
14644 [BZ #6794]
14645 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14646 * math/libm-test.inc: Add ilogb errno and exception tests.
14647 * math/w_ilogb.c: New file: ilogb wrapper.
14648 * math/w_ilogbf.c: New file: ilogbf wrapper.
14649 * math/w_ilogbl.c: New file: ilogbl wrapper.
14650 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14651 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14652 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14653 exception being thrown with 0.0 as argument.
14654 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14655 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14656 exception being thrown with 0.0 as argument.
14657 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14658 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14659 exception being thrown with 0.0 as argument.
14660 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14661 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14662 exception being thrown with 0.0 as argument.
14663 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14664 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14665 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14666 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14667 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14668 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14669 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14670 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14671 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14672
0396e69d
PB
146732012-04-17 Petr Baudis <pasky@ucw.cz>
14674
14675 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14676 with altivec.
14677
750b5926
MP
146782012-04-16 Marek Polacek <polacek@redhat.com>
14679
14680 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14681
751728a1
MP
146822012-04-16 Marek Polacek <polacek@redhat.com>
14683
14684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14685 operands of fdivp instruction.
14686
34a27407
L
146872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14690 * elf/tst-auditmod3b.c: Likewise.
14691 * elf/tst-auditmod4b.c: Likewise.
14692 * elf/tst-auditmod5b.c: Likewise.
14693 * elf/tst-auditmod6b.c: Likewise.
14694 * elf/tst-auditmod6c.c: Likewise.
14695 * elf/tst-auditmod7b.c: Likewise.
14696 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14697 * sysdeps/x86_64/preconfigure.in: Likewise.
14698 * sysdeps/x86_64/preconfigure: Regenerated.
14699
7e73e17d
L
147002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14701
14702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14703 __ILP32__.
14704
c7a6ab72
AB
147052012-04-13 Antoine Balestrat <merkil33@gmail.com>
14706
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14708 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14709
a9e8e0e0
CL
147102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14711
14712 [BZ #13973]
14713 * locale/iso-639.def: Fix gl language name. Spotted by
14714 Yaron Shahrabani.
14715
ec98af7d
RM
147162012-04-12 Roland McGrath <roland@hack.frob.com>
14717
14718 [BZ #2074]
14719 * libio/libio.h (__io_write_fn): Update comment.
14720
247c3ede
PB
147212012-04-12 Petr Baudis <pasky@ucw.cz>
14722
14723 [BZ #2074]
14724 * stdio.texi (Hook Functions): The user provided writer function
14725 is not allowed to return -1.
14726
55939d6d
DM
147272012-04-11 David S. Miller <davem@davemloft.net>
14728
14729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14730
90020f5a
MF
147312012-04-11 Mike Frysinger <vapier@gentoo.org>
14732
14733 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14734 Add a leading slash to rtkaio.
14735
288f9098
JM
147362012-04-11 Jim Meyering <meyering@redhat.com>
14737
90020f5a
MF
14738 [BZ #11959]
14739 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14740 It is not necessarily an error to ignore fwrite's return
14741 value. One can reliably use ferror to test for errors after
14742 the fact.
288f9098 14743
4be2b570
L
147442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14745
14746 * bits/types.h (__snseconds_t): New type.
14747 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14748
14749 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14751 (__SNSECONDS_T_TYPE): Likewise.
14752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14753 (__SNSECONDS_T_TYPE): Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14755 (__SNSECONDS_T_TYPE): Likewise.
14756
288f9098 147572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14758
14759 [BZ #2636]
14760 * manual/time.texi (Processor Time): Return type of times is
14761 elapsed real time since an arbitrary point in the past.
14762 (CPU Time): Move CLK_TCK from here...
14763 (Processor Time): ...to here. Correct description.
14764 * manual/conf.texi (Constants for Sysconf): Correct description of
14765 _SC_CLK_TCK.
14766
d7dd4413
DM
147672012-04-10 David S. Miller <davem@davemloft.net>
14768
14769 [BZ #13967]
14770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14771 where the is a gap between DT_REL(A) and DT_JMPREL.
14772
b46068fc
L
147732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14776 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14777 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14778
73d65cc3
SP
147792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14780
14781 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14782 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14783 (dl_main): Handle --inhibit-cache.
14784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14785 _dl_inhibit_cache.
14786 * elf/dl-load.c (_dl_map_object): Use it.
14787 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14788
bcc8d661
JM
147892012-04-09 Joseph Myers <joseph@codesourcery.com>
14790
8f9a2fae
JM
14791 [BZ #13872]
14792 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14793 (__ieee754_powl): Saturate large exponents rather than testing for
14794 overflow of y*log2(x).
14795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14796 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14797 exceptions.
14798
bcc8d661
JM
14799 [BZ #11521]
14800 * math/s_ctan.c: Include <float.h>.
14801 (__ctan): Avoid internal overflow or cancellation in calculating
14802 denominator.
14803 * math/s_ctanf.c: Likewise.
14804 * math/s_ctanl.c: Likewise.
14805 * math/s_ctanh.c: Likewise.
14806 * math/s_ctanhf.c: Likewise.
14807 * math/s_ctanhl.c: Likewise.
14808 * math/libm-test.inc (ctan_test): Add more tests.
14809 (ctanh_test): Likewise.
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14812
823fbbb4
AJ
148132012-04-09 Andreas Jaeger <aj@suse.de>
14814
03879793
AJ
14815 [BZ #6894]
14816 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14817 is an optional BSD extension.
14818
823fbbb4
AJ
14819 [BZ #10254]
14820 * manual/stdio.texi (Opening Streams): Document additional fopen
14821 parameters.
14822
8de131cb
RM
148232012-04-09 Roland McGrath <roland@hack.frob.com>
14824
14825 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14826 %eax without telling the compiler.
14827
c0ed9d7d
CD
148282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14829
14830 [BZ # 13963]
14831 * manual/install.texi: Use sourceware.org.
14832
c483f6b4
JM
148332012-04-09 Joseph Myers <joseph@codesourcery.com>
14834
d7dd9453
JM
14835 [BZ #13873]
14836 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14837 (__ieee754_pow): Generate overflow and underflow using huge*huge
14838 and tiny*tiny rather than just returning constant infinity or zero
14839 for large exponents.
14840 * math/libm-test.inc (pow_test): Require overflow exceptions for
14841 applicable cases of large exponents.
14842
c483f6b4
JM
14843 [BZ #706]
14844 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14845 (__ieee754_pow): Use iterative multiplication algorithm only for
14846 integer exponents with absolute value below 1024. Check for odd
14847 integer exponents when using algorithm for real exponents.
14848 * math/libm-test.inc (pow_test): Add more tests.
14849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14850
d2de7579
JM
148512012-04-08 Joseph Myers <joseph@codesourcery.com>
14852
14853 [BZ #13705]
14854 * math/libm-test.inc (exp_test): Do not allow overflow exception
14855 on underflow test.
14856
f77f1232
AJ
148572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14858
14859 [BZ #13705]
14860 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14861 instead of __kernel_standard_f.
14862
3884932b
MF
148632012-04-08 Mike Frysinger <vapier@gentoo.org>
14864
14865 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14866 * sysdeps/x86_64/memset_chk.S: Likewise.
14867
54472e9c
AJ
148682012-04-08 Andreas Jaeger <aj@suse.de>
14869
6ab0fbfc
AJ
14870 [BZ #10153]
14871 * manual/startup.texi (Environment Access): Describe return value
14872 for putenv and setenv.
14873
61efba8c
AJ
14874 [BZ #6895]
14875 * manual/filesys.texi (Directory Entries): Add description for
14876 DT_LNK.
14877
95c3f29a
AJ
14878 [BZ #6890]
14879 * manual/filesys.texi (Directory Entries): Clarify that it's file
14880 system not operating system in the description of DT_UNKNOWN.
14881
54472e9c
AJ
14882 [BZ #6578]
14883 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14884
624254b1
SC
148852012-04-08 Stephen Compall <s11@member.fsf.org>
14886
14887 [BZ #6649]
14888 * manual/llio.texi (Opening and Closing Files): Add cross
14889 reference to explain mode argument.
14890
1e4920e0
MF
148912012-04-07 Mike Frysinger <vapier@gentoo.org>
14892
14893 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14894 * sysdeps/x86_64/memset_chk.S: Likewise.
14895
5ed848f3
DM
148962012-04-07 David S. Miller <davem@davemloft.net>
14897
14898 * elf/elf.h (R_SPARC_WDISP10): Define.
14899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14900 R_SPARC_SIZE32.
14901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14902 R_SPARC_SIZE64 and R_SPARC_H34.
14903
96154cd8
CD
149042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14905
14906 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14907 conditions and remove no longer applicable assertion.
14908
9904dc47
L
149092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14910
14911 * bits/byteswap.h: Include <features.h>.
14912 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14913 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14914
f8887d0a
L
149152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 * bits/byteswap.h (__bswap_16): Removed.
14918 Include <bits/byteswap-16.h> to get __bswap_16.
14919 * sysdeps/i386/bits/byteswap.h: Likewise.
14920 * sysdeps/s390/bits/byteswap.h: Likewise.
14921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14922 * bits/byteswap-16.h: New file.
14923 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14924 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14925 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14926 * string/Makefile (headers): Add bits/byteswap-16.h.
14927
62470f60
PP
149282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14929
14930 [BZ #13895]
14931 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14932 extra indirection.
14933 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14934 * nss/tst-nss-static.c: New.
14935
4dad7bab
RM
149362012-04-06 Robert Millan <rmh@gnu.org>
14937
14938 [BZ #6486]
14939 * manual/llio.texi (File Position Primitive): lseek
14940 refers to WHENCE when it really means OFFSET.
14941
e9142a17
AJ
149422012-04-06 Andreas Jaeger <aj@suse.de>
14943
2c040eff
AJ
14944 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14945 strncmp declarations.
14946
e9142a17
AJ
14947 * abilist/libc.abilist: Add __poll and __ppoll.
14948
ff9f1c5f
DM
149492012-04-05 David S. Miller <davem@davemloft.net>
14950
dcd2ae90
DM
14951 * scripts/check-local-headers.sh: Accept a host triplet in the
14952 path matched by the exclude regexp.
14953
993eb054
DM
14954 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14955 definition.
14956 * sysdeps/powerpc/powerpc32/dl-machine.h
14957 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14958 * sysdeps/s390/s390-32/dl-machine.h
14959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14960 * sysdeps/sparc/sparc32/dl-machine.h
14961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14962 * sysdeps/sparc/sparc64/dl-machine.h
14963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14964
ff9f1c5f
DM
14965 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14966 lazy binding.
48e2e132 14967 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14968 undefined symbol errors.
14969
48e2e132 14970 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14971 DT_NEEDED entries.
14972
e80d6f94
MM
149732012-04-05 Michael Matz <matz@suse.de>
14974
14975 [BZ #13592]
14976 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14977
349fa79f
AJ
149782012-04-05 Andreas Jaeger <aj@suse.de>
14979
14980 [BZ #13908]
14981 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14982 comment.
14983
f402708f
KK
149842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14985
14986 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14987 which ROUND is no valid rounding mode.
14988
2ecccfc9
KK
149892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14990
14991 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14992 read again.
14993 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14994
8a53f50f
KK
149952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14996
14997 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14998 an exception using FPU order intentionally.
14999
150002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15001
15002 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15003 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15004 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15005 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15006
d653abb7
SJ
150072012-04-05 Simon Josefsson <simon@josefsson.org>
15008
15009 [BZ #12340]
15010 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15011 EINVAL when BUFLEN is too smal.
15012
c3b1bf7d
TS
150132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15014
15015 [BZ #13553]
15016 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15017 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15018
b1aa60f3
AJ
150192012-04-03 Andreas Jaeger <aj@suse.de>
15020
c3b1bf7d 15021 [BZ #13938]
67f60a26
AJ
15022 * manual/setjmp.texi (System V contexts): Fix sentence.
15023
b1aa60f3
AJ
15024 [BZ #13926]
15025 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15026 New macro for this case.
15027 [!__GNUC__] (__bswap_64): New inline function for this case.
15028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15029 * bits/byteswap.h: Likewise.
15030 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15031 ull, guard with __GLIBC_HAVE_LONG_LONG.
15032
15033 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15034 __GLIBC_HAVE_LONG_LONG.
15035
15036 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15037 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15038
39c59c35
TMQMF
150392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15040
15041 [BZ #13691]
15042 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15043 inptr and inend, rather than using last_ch.
15044
135ffda8
DM
150452012-04-02 David S. Miller <davem@davemloft.net>
15046
15047 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15048 * stdio-common/printf-parse.h (read_int): Change return type to
15049 'int', return -1 on INT_MAX overflow.
15050 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15051 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15052 overflows INT_MAX. Check for overflow of in-format-string precision
15053 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15054 SIZE_MAX not INT_MAX for integer overflow test.
15055 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15056 skip the construct in the format string but do not record anything.
15057 * stdio-common/bug22.c: Adjust to test both width/prevision
15058 INT_MAX overflow as well as total length INT_MAX overflow. Check
15059 explicitly for proper errno values.
15060
228c019e
TS
150612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15062
302cadd3
TS
15063 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15064 CHAR_MAX.
15065 * string/test-strcmp.c [! WIDE]: Likewise.
15066 * time/tst-mktime2.c: Likewise for INT_MAX.
15067 * string/test-string.h: #include <sys/param.h> for MIN.
15068
228c019e
TS
15069 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15070 * sysdeps/i386/init-first.c (init): Likewise.
15071 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15072 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15073 * sysdeps/sh/init-first.c (init): Likewise.
15074
cfa633f5
UD
150752012-04-01 Ulrich Drepper <drepper@gmail.com>
15076
15077 * po/ru.po: Update from translation team.
d1635ef8 15078 * po/vi.po: Likewise.
cfa633f5 15079
6cd0a5ea
SP
150802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15081
15082 * resolv/nss_dns/dns-host.c: Merge copyright years.
15083
4b43400f
LD
150842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15085
15086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15087 Optimize memcpy with prefetch if
15088 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15089 src, dst pointers have unequal 16 byte alignments.
15090
48c41d04
SP
150912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15092
15093 [BZ #13928]
15094 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15095 from a CNAME entry and return the minimum ttl for the query.
15096 (gaih_getanswer_slice): Likewise.
15097
b8dc394d
JL
150982012-03-30 Jeff Law <law@redhat.com>
15099
15100 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15101 due to long keys.
15102 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15103 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15104
2f5a5ed0
JL
15105 * resolv/nss_dns/dns-host.c: Update copyright year.
15106
1d39e359
UD
151072012-03-30 Ulrich Drepper <drepper@gmail.com>
15108
c030f70c 15109 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15110 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15111
1d39e359
UD
15112 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15113 comments for sendmmsg.
15114
151152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15116
15117 [BZ #13691]
15118 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15119 with only 1 character between 0x0041 and 0x01b0.
15120 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15121 * wcsmbs/tst-mbsnrtowcs.c: New file.
15122
20fde227
DM
151232012-03-29 David S. Miller <davem@davemloft.net>
15124
15125 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15126 small copies by hand.
15127
984a4237
JL
151282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15129
15130 [BZ #13761]
15131 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15132 _nss_compat_initgroups_dyn): Fall back to malloc/free
15133 for large group memberships.
15134
18c9d62b
DM
151352012-03-28 David S. Miller <davem@davemloft.net>
15136
88d85d4f
DM
15137 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15138 that branches into memcpy.
15139 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15142 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15144 bits.
15145 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15146 implementation too.
15147 * sysdeps/sparc/mempcpy.S: New file.
15148
e5aa83e1
DM
15149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15150 the IFUNC routine in the libc case.
15151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15152
88570753
DM
15153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15154 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15155 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15156 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15157 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15158 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15159 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15160 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15161
249d7567
DM
15162 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15163 loop to 256 bytes instead of 64 bytes and fix test signedness.
15164
18c9d62b
DM
15165 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15166 * sysdeps/sparc/sparc32/Makefile: rather than here...
15167 * sysdeps/sparc/sparc64/Makefile: and here.
15168
05f3d1f6
UD
151692012-03-28 Ulrich Drepper <drepper@gmail.com>
15170
15171 * malloc/mallocbug.c: Avoid warnings about unused variables.
15172
86ae07a8
JL
151732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15174
15175 [BZ #13760]
15176 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15177 in the right place. Discard and retry query if response is
15178 larger than input buffer size.
15179
41bf21a1
JM
151802012-03-28 Joseph Myers <joseph@codesourcery.com>
15181
d6270972
JM
15182 [BZ #369]
15183 [BZ #2678]
15184 [BZ #3866]
15185 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15186 x for large integer exponent.
15187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15188 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15189 sign of result as needed afterwards.
15190 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15191 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15192 result for underflowing pow the same as for overflow.
15193 (__kernel_standard_l): Handle powl overflow and underflow here
15194 rather than calling __kernel_standard.
15195 * math/libm-test.inc (pow_test): Add more tests.
15196
414fca03 15197 [BZ #3868]
41bf21a1
JM
15198 [BZ #13879]
15199 [BZ #13910]
15200 [BZ #13911]
15201 [BZ #13912]
15202 [BZ #13913]
15203 [BZ #13915]
15204 [BZ #13916]
15205 [BZ #13917]
15206 [BZ #13918]
15207 [BZ #13919]
15208 [BZ #13920]
15209 [BZ #13921]
15210 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15211 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15212 (__kernel_standard_l): New function.
15213 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15214 __kernel_standard.
15215 * math/w_acosl.c (__acosl): Likewise.
15216 * math/w_asinl.c (__asinl): Likewise.
15217 * math/w_atan2l.c (__atan2l): Likewise.
15218 * math/w_atanhl.c (__atanhl): Likewise.
15219 * math/w_coshl.c (__coshl): Likewise.
15220 * math/w_exp10l.c (__exp10l): Likewise.
15221 * math/w_exp2l.c (__exp2l): Likewise.
15222 * math/w_fmodl.c (__fmodl): Likewise.
15223 * math/w_hypotl.c (__hypotl): Likewise.
15224 * math/w_j0l.c (__j0l, __y0l): Likewise.
15225 * math/w_j1l.c (__j1l, __y1l): Likewise.
15226 * math/w_jnl.c (__jnl, __ynl): Likewise.
15227 * math/w_lgammal.c (__lgammal): Likewise.
15228 * math/w_log10l.c (__log10l): Likewise.
15229 * math/w_log2l.c (__log2l): Likewise.
15230 * math/w_logl.c (__logl): Likewise.
15231 * math/w_powl.c (__powl): Likewise.
15232 * math/w_remainderl.c (__remainderl): Likewise.
15233 * math/w_scalbl.c (sysv_scalbl): Likewise.
15234 * math/w_sinhl.c (__sinhl): Likewise.
15235 * math/w_sqrtl.c (__sqrtl): Likewise.
15236 * math/w_tgammal.c (__tgammal): Likewise.
15237 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15238 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15239 * math/libm-test.inc (acos_test): Add more tests.
15240 (acosh_test): Likewise.
15241 (asin_test): Likewise.
15242 (atanh_test): Likewise.
15243 (exp_test): Likewise.
15244 (exp10_test): Likewise.
15245 (exp2_test): Likewise.
15246 (expm1_test): Likewise.
15247 (lgamma_test): Likewise.
15248 (log_test): Likewise.
15249 (log10_test): Likewise.
15250 (log1p_test): Likewise.
15251 (log2_test): Likewise.
15252 (pow_test): Do not allow some spurious overflow exceptions.
15253 (sqrt_test): Add more tests.
15254 (tgamma_test): Likewise.
15255 (y0_test): Likewise.
15256 (y1_test): Likewise.
15257 (yn_test): Likewise.
15258
dd62fda6
AB
152592012-03-27 Anton Blanchard <anton@samba.org>
15260
15261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15262 MAP_HUGETLB.
15263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15266
1e3cdfda
AJ
152672012-03-27 David S. Miller <davem@davemloft.net>
15268
b855ab85
DM
15269 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15270
1e3cdfda
AJ
15271 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15272 have-as-vis3 check.
15273
152742012-03-27 Andreas Jaeger <aj@suse.de>
15275
15276 * sysdeps/x86_64/elf/configure.in: Moved to ...
15277 * sysdeps/x86_64/configure.in: ... here.
15278 * sysdeps/x86_64/elf/start.S: Moved to ...
15279 * sysdeps/x86_64/start.S: ... here.
15280 * sysdeps/x86_64/elf/configure: Delete.
15281
15282 * sysdeps/x86_64/configure.in: Merge contents from
15283 sysdeps/i386/configure.in (without i686 check).
15284
15285 * sysdeps/i386/elf/Versions: Merge into ...
15286 * sysdeps/i386/Versions: ... this.
15287 * sysdeps/i386/elf/Versions: Delete file.
15288 * sysdeps/i386/elf/start.S: Moved to ...
15289 * sysdeps/i386/start.S: ...here.
15290 * sysdeps/i386/elf/configure.in: Merge into...
15291 * sysdeps/i386/configure.in: ...here.
15292 * sysdeps/i386/elf/configure.in: Delete file.
15293 * sysdeps/i386/elf/configure: Delete file.
15294
15295 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15296 * debug/backtracesyms.c: ... here.
15297 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15298 * debug/backtracesymsfd.c: ... here.
15299 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15300 * sysdeps/generic/ifunc-sel.h: ... here.
15301
15302 * sysdeps/unix/i386/start.c: Delete file.
15303 * sysdeps/unix/sparc/start.c: Delete file.
15304 * sysdeps/unix/start.c: Delete file.
15305
15306 * sysdeps/sh/elf/configure.in: Moved to ...
15307 * sysdeps/sh/configure.in: ... here.
15308 * sysdeps/sh/elf/start.S: Moved to ...
15309 * sysdeps/sh/start.S: ... here.
15310 * sysdeps/sh/elf/configure: Delete file.
15311
15312 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15313 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15314 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15315 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15316 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15317 * sysdeps/powerpc/powerpc64/start.S: here.
15318 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15319 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15320 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15321 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15322 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15323
15324 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15325 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15326 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15327 * sysdeps/powerpc/powerpc32/start.S: ... here.
15328 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15329 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15330 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15331
15332 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15333 * sysdeps/powerpc/ifunc-sel.h: ... here.
15334 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15335 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15336
15337 * sysdeps/sparc/elf/configure.in: Moved to ...
15338 * sysdeps/sparc/configure.in: ... here.
15339 * sysdeps/sparc/elf/configure: Delete file.
15340 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15341 * sysdeps/sparc/sparc32/start.S: ... here.
15342 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15343 * sysdeps/sparc/sparc64/start.S: ... here.
15344 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15345 * sysdeps/sparc/sparc32/Makefile: ... this.
15346 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15347 * sysdeps/sparc/sparc64/Makefile: ... this.
15348
15349 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15350 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15351 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15352 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15353 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15354 * sysdeps/s390/s390-32/setjmp.S: ... here.
15355 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15356 * sysdeps/s390/s390-32/configure.in: ... here.
15357 * sysdeps/s390/s390-32/elf/configure: Delete file.
15358 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15359 * sysdeps/s390/s390-32/start.S: ... here.
15360
15361 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15362 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15363 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15364 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15365 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15366 * sysdeps/s390/s390-64/setjmp.S: ... here.
15367 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15368 * sysdeps/s390/s390-64/configure.in: ... here
15369 * sysdeps/s390/s390-64/elf/configure: Delete file.
15370 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15371 * sysdeps/s390/s390-64/start.S: ... here.
15372 * sysdeps/s390/s390-64/elf/configure: Delete.
15373
15374 * configure.in: Remove support for elf directories in sysdeps.
15375
15376 * configure: Regenerated.
15377 * sysdeps/i386/configure: Regenerated.
15378 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15379 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15380 * sysdeps/s390/s390-32/configure: Regenerated.
15381 * sysdeps/s390/s390-64/configure: Regenerated.
15382 * sysdeps/sh/configure: Regenerated.
15383 * sysdeps/sparc/configure: Regenerated.
15384 * sysdeps/x86_64/configure: Regenerated.
15385
a3f61311
AS
153862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15387
c876e002
AS
15388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15389
a3f61311
AS
15390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15391 denormal result into account.
15392
ac4c54f0
RM
153932012-03-25 Roland McGrath <roland@hack.frob.com>
15394
15395 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15396 Reported by Allan McRae <allan@archlinux.org>.
15397
6a9b9c02
JL
153982012-03-23 Jeff Law <law@redhat.com>
15399
15400 * nss/getnssent.c (__nss_getent): Fix typo.
15401
4c42a0c1
DM
154022012-03-23 David S. Miller <davem@davemloft.net>
15403
15404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15405
1532c7ac
L
154062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15407
15408 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15409 to pad to uint64_t for each field.
15410 (dl_tls_index): Replace unsigned long with uint64_t.
15411
3ff42526
PP
154122012-03-23 Daniel Jacobowitz <dmj@google.com>
15413 Paul Pluzhnikov <ppluzhnikov@google.com>
15414
15415 [BZ #6528]
15416 * grp/Makefile (otherlibs): Don't set it.
15417 * inet/Makefile (otherlibs): Likewise.
15418 * login/Makefile (otherlibs): Likewise.
15419 * nscd/Makefile (otherlibs): Likewise.
15420 * posix/Makefile (otherlibs): Likewise.
15421 * pwd/Makefile (otherlibs): Likewise.
15422 * rt/Makefile (otherlibs): Likewise.
15423 * sunrpc/Makefile (otherlibs): Likewise.
15424 * nss/Makefile (otherlibs): Likewise.
15425 Add libnss_files to routines and static-only-routines.
15426 ($(objpfx)getent): Remove rule.
15427 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15428 static-only-routines.
15429
7c69cd14
JM
154302012-03-22 Joseph Myers <joseph@codesourcery.com>
15431
15432 [BZ #13892]
15433 * math/s_cexp.c: Include <float.h>.
15434 (__cexp): Handle exp result overflowing not necessarily
15435 overflowing both real and imaginary parts of result.
15436 * math/s_cexpf.c: Likewise.
15437 * math/s_cexpl.c: Likewise.
15438 * math/libm-test.inc (cexp_test): Add more tests.
15439 * sysdeps/i386/fpu/libm-test-ulps: Update.
15440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15441
81b035fe
L
154422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15443
15444 * include/link.h (ELFW): New macro.
15445 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15446 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15447
1da7940c
L
154482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15449
15450 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15451 with uint64_t.
15452
b749dbb9
L
154532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15454
15455 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15456 declaration.
15457 (struct La_x32_retval): Likewise.
15458
2ff87f3f
L
154592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15460
15461 * sysdeps/x86_64/preconfigure.in: New file.
15462 * sysdeps/x86_64/preconfigure: New generated file.
15463
c0df8e69
JM
154642012-03-22 Joseph Myers <joseph@codesourcery.com>
15465
48e44791
JM
15466 [BZ #13824]
15467 * math/e_exp2l.c: Include <float.h>.
15468 (__ieee754_exp2l): Handle overflow and underflow cases
15469 separately. Only pass fractional part of argument to
15470 __ieee754_expl.
15471 * math/libm-test.inc (exp2_test): Add more tests.
15472
c0df8e69
JM
15473 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15474 negating x to take absolute value.
15475 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15476 Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15479 Likewise.
15480 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15481 computing low part if x was negated.
15482 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15483
c8e43ba7
L
154842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15485
15486 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15487 la_x32_gnu_pltexit.
15488 (pltexit): Cast int_retval to ptrdiff_t.
15489 * elf/tst-auditmod3b.c: Likewise.
15490 * elf/tst-auditmod4b.c: Likewise.
15491 * elf/tst-auditmod5b.c: Likewise.
15492 * elf/tst-auditmod6b.c: Likewise.
15493 * elf/tst-auditmod6c.c: Likewise.
15494 * elf/tst-auditmod7b.c: Likewise.
15495
15496 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15497 and x32_gnu_pltexit.
15498
15499 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15500 __ELF_NATIVE_CLASS.
15501 (La_x32_regs): New macro.
15502 (La_x32_retval): Likewise.
15503 (la_x32_gnu_pltenter): New function prototype.
15504 (la_x32_gnu_pltexit): Likewise.
15505
7998fa78
AS
155062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15507
dcb33988
AS
15508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15509 exponent.
15510
233fc563
AS
15511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15512
7998fa78
AS
15513 * configure.in (libc_cv_cc_nofma): Check for option to disable
15514 generation of FMA instructions.
15515 * configure: Regenerate.
15516 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15517 * sysdeps/ieee754/dbl-64/Makefile: New file.
15518 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15519 Remove brandred-fma4.
15520 (CFLAGS-brandred-fma4.c): Remove.
15521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15523 define.
15524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15525 define.
15526
8e95c99a
L
155272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15530 LLONG_MAX != LONG_MAX.
15531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15532 (_fitoa_word): Likewise.
15533 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15534 LLONG_MAX != LONG_MAX.
15535 * stdio-common/_itowa.h: Include <_itoa.h>.
15536 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15537 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15538 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15539 only if not defined.
15540 (_ITOA_WORD_TYPE): Likewise.
15541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15542 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15543
6f4db457
DM
155442012-03-21 David S. Miller <davem@davemloft.net>
15545
15546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15547
7785fe5a
L
155482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15551 of x86_64 when setting libc_cv_slibdir, libdir and
15552 libc_cv_localedir.
15553 * sysdeps/unix/sysv/linux/configure: Regenerated.
15554
4535cd55
JM
155552012-03-21 Joseph Myers <joseph@codesourcery.com>
15556
15557 * manual/lang.texi (Old Varargs): Remove section.
15558 (How Variadic): Update menu.
15559 (va_start): Do not mention varargs.h.
15560
17228132
TS
155612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15562 Joseph Myers <joseph@codesourcery.com>
15563
15564 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15565 link test.
15566 * configure: Regenerated.
15567
8149f976
TS
155682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15569
05f3d1f6
UD
15570 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15571 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15572 conformtest.pl
8149f976 15573
1a4ac776
JM
155742012-03-21 Joseph Myers <joseph@codesourcery.com>
15575
be22ce65
JM
15576 * NOTES: Remove.
15577 * Makefile (files-for-dist): Remove NOTES.
15578 (NOTES): Remove rule.
15579 * README: Don't refer to NOTES.
15580 * manual/creature.texi: Don't include macros.texi.
15581 * manual/intro.texi (creature.texi): Remove comment referring to
15582 NOTES.
15583
40b601fb
JM
15584 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15585 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15586 * configure: Regenerated.
15587 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15588 LIBC_TRY_CC_OPTION.
15589 (libc_cv_as_i686): Likewise.
15590 (libc_cv_cc_avx): Likewise.
15591 (libc_cv_cc_sse2avx): Likewise.
15592 (libc_cv_cc_fma4): Likewise.
15593 (libc_cv_cc_novzeroupper): Likewise.
15594 * sysdeps/i386/configure: Regenerated.
15595
1a4ac776
JM
15596 [BZ #13883]
15597 * sysdeps/i386/fpu/s_cexp.S: Remove.
15598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15599 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15600 * math/libm-test.inc (cexp_test): Add more tests.
15601 * sysdeps/i386/fpu/libm-test-ulps: Update.
15602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15603
a458e7fe
AM
156042012-03-21 Allan McRae <allan@archlinux.org>
15605
15606 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15607
0cb7efc5
JM
156082012-03-21 Joseph Myers <joseph@codesourcery.com>
15609
15610 [BZ #13871]
15611 * math/w_exp2.c: Do not include <float.h>.
15612 (o_threshold, u_threshold): Remove.
15613 (__exp2): Calculate result before checking finiteness and calling
15614 __kernel_standard.
15615 * math/w_exp2f.c: Likewise.
15616 * math/w_exp2l.c: Likewise.
15617 * math/libm-test.inc (exp2_test): Require overflow exception for
15618 1e6 input.
2460d3aa
JM
15619
15620 [BZ #3866]
15621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15622 range of signed 64-bit integers before using fistpll. Remove
15623 checks for whether integers fit in mantissa bits.
15624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15625 the range of signed 32-bit integers before using fistpl. Remove
15626 checks for whether integers fit in mantissa bits.
15627 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15628 (__ieee754_powl): Test for y outside the range of signed 64-bit
15629 integers before using fistpll. Reduce 64-bit values to 63-bit
15630 ones as needed.
15631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15632 divide-by-zero is raised for zero to large negative powers.
15633 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15634 (__ieee754_powl): Test for y outside the range of signed 64-bit
15635 integers before using fistpll. Reduce 64-bit values to 63-bit
15636 ones as needed.
15637 * math/libm-test.inc (pow_test): Add more tests.
15638
eb96ffb0
L
156392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15642 <stdio-common/_itoa.h>.
15643 * debug/segfault.c: Likewise.
15644 * elf/dl-cache.c: Likewise.
15645 * elf/dl-minimal.c: Likewise.
15646 * elf/dl-misc.c: Likewise.
15647 * elf/dl-sysdep.c: Likewise.
15648 * elf/dl-version.c: Likewise.
15649 * elf/rtld.c: Likewise.
15650 * hurd/hurdsock.c: Likewise.
15651 * hurd/lookup-retry.c: Likewise.
15652 * malloc/malloc.c: Likewise.
15653 * malloc/mtrace.c: Likewise.
15654 * nscd/nscd_getgr_r.c: Likewise.
15655 * nscd/nscd_getpw_r.c: Likewise.
15656 * nscd/nscd_getserv_r.c: Likewise.
15657 * posix/getopt_init.c: Likewise.
15658 * posix/wordexp.c: Likewise.
15659 * stdio-common/_itoa.c: Likewise.
15660 * stdio-common/printf_fphex.c: Likewise.
15661 * stdio-common/vfprintf.c: Likewise.
15662 * string/_strerror.c: Likewise.
15663 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15664 * sysdeps/i386/i686/hp-timing.h: Likewise.
15665 * sysdeps/mach/_strerror.c: Likewise.
15666 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15667 * sysdeps/mach/hurd/sethostid.c: Likewise.
15668 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15669 * sysdeps/mach/xpg-strerror.c: Likewise.
15670 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15672 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15673 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15675 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15677 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15678 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15679 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15680 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15681 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15682 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15683 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15684 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15685 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15686 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15687 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15688 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15689 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15690 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15691
15692 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15693
15694 * stdio-common/_itoa.h: Moved to ...
15695 * sysdeps/generic/_itoa.h: Here.
15696
15697 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15698
15699 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15700 instead of "_itoa.h" and "_itowa.h".
15701 * stdio-common/vfprintf.: Likewise.
15702
d1af992d
L
157032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15704
15705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15706 <bits/wordsize.h>.
15707 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15708 (__signbit): Likwise.
15709 (llrintf): Likwise.
15710 (llrint): Likwise.
15711
114883e0
L
157122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15715 __WORDSIZE != 64.
15716
c135cc1b
JM
157172012-03-20 Joseph Myers <joseph@codesourcery.com>
15718
15719 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15720 OVERFLOW_EXCEPTION_OK.
15721 * math/libm-test.inc ("Philosophy"): Update comment about
15722 exception testing.
15723 (OVERFLOW_EXCEPTION): Define.
15724 (OVERFLOW_EXCEPTION_OK): Likewise.
15725 (INVALID_EXCEPTION_OK): Renumber.
15726 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15727 (IGNORE_ZERO_INF_SIGN): Likewise.
15728 (test_exceptions): Handle FE_OVERFLOW.
15729 (exp10_test): Expect overflow exceptions.
15730 (exp2_test): Likewise.
15731 (expm1_test): Likewise.
15732 (nextafter_test): Likewise.
15733 (pow_test): Likewise.
15734 (scalbn_test): Likewise.
15735 (scalbln_test): Likewise.
15736
95443d88
L
157372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15738
15739 * sysdeps/x86_64/bits/atomic.h
15740 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15741 64bit integer.
15742 (atomic_exchange_acq): Likewise.
15743 (__arch_exchange_and_add_body): Likewise.
15744 (__arch_add_body): Likewise.
15745 (atomic_add_negative): Likewise.
15746 (atomic_add_zero): Likewise.
15747
490df6c4
L
157482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15749
c2722551 15750 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15751 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15752
5e52b189
L
157532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15754
15755 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15756 Check __x86_64__ instead of __WORDSIZE.
15757
a9879d4c
L
157582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15761
5df98260
DM
157622012-03-19 David S. Miller <davem@davemloft.net>
15763
e1497744
DM
15764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15765
5df98260
DM
15766 * sysdeps/sparc/fpu/fenv_private.h: New file.
15767 * sysdeps/sparc/fpu/math_private.h: Use it.
15768 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15769 Remove.
15770 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15771 (libc_feholdexcept_setroundl): Remove.
15772 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15773 Remove.
15774 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15775 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15776
b4c35121
L
157772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15778
15779 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15780 int64_t instead of long int.
15781 (INSERT_WORDS64): Likwise.
15782
56965fd7
L
157832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15784
15785 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15786 _Unwind_GetCFA return to _Unwind_Ptr first.
15787
83d1aec8
JM
157882012-03-19 Joseph Myers <joseph@codesourcery.com>
15789
1897ad44
JM
15790 [BZ #13629]
15791 * math/s_clog.c: Include <float.h>.
15792 (__clog): Scale large or subnormal inputs.
15793 * math/s_clogf.c: Likewise.
15794 * math/s_clogl.c: Likewise.
15795 * math/s_clog10.c: Include <float.h>.
15796 (M_LOG10_2): Define.
15797 (__clog10): Scale large or subnormal inputs.
15798 * math/s_clog10f.c: Likewise.
15799 * math/s_clog10l.c: Likewise.
15800 * math/libm-test.inc (clog_test): Add more tests.
15801 (clog10_test): Likewise.
15802 * sysdeps/i386/fpu/libm-test-ulps: Update.
15803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15804
7726d6a9
JM
15805 [BZ #11451]
15806 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15807 x and y.
15808 * math/libm-test.inc (atan2_test): Add another test.
15809
83d1aec8
JM
15810 * Makerules (common-objdir-compile): Remove.
15811 * sysdeps/unix/Makefile (config-generated): Do not add
15812 $(unix-generated) to variable.
15813 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15814 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15815 Remove rule.
15816 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15817 Likewise.
15818 [generic bits/local_lim.h] (before-compile): Do not append to
15819 variable.
15820 [generic bits/local_lim.h] (common-generated): Likewise.
15821 [generic sys/param.h] (before-compile): Do not append to variable.
15822 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15823 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15825 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15826 include.
15827 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15828 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15829 [generic sys/param.h] ($(addprefix
15830 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15831 [generic sys/param.h] (common-generated): Do not append to
15832 variable.
15833 [generic sys/param.h] (sysdep_headers): Likewise.
15834 [generic bits/errno.h] (before-compile): Do not append to
15835 variable.
15836 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15837 rule.
15838 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15839 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15840 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15841 [generic bits/errno.h] (common-generated): Do not append to
15842 variable.
15843 [generic bits/ioctls.h] (before-compile): Do not append to
15844 variable.
15845 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15846 rule.
15847 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15848 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15849 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15850 rule.
15851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15852 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15853 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15854 [generic bits/ioctls.h] (common-generated): Do not append to
15855 variable.
15856 [generic sys/syscall.h] (syscall.h): Remove variable.
15857 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15858 rule.
15859 [generic sys/syscall.h] (before-compile): Do not append to
15860 variable.
15861 [generic sys/syscall.h] (common-generated): Likewise.
15862 * sysdeps/unix/errnos-tmpl.c: Remove file.
15863 * sysdeps/unix/errnos.awk: Likewise.
15864 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15865 * sysdeps/unix/ioctls.awk: Likewise.
15866 * sysdeps/unix/mk-local_lim.c: Likewise.
15867 * sysdeps/unix/snarf-ioctls: Likewise.
15868
4851a949
RH
158692012-03-19 Richard Henderson <rth@twiddle.net>
15870
bd37f2ee
RH
15871 * sysdeps/i386/fpu/fenv_private.h: New file.
15872 * sysdeps/i386/fpu/math_private.h: Use it.
15873 (math_opt_barrier, math_force_eval): Remove.
15874 (libc_feholdexcept_setround_53bit): Remove.
15875 (libc_feupdateenv_53bit): Remove.
15876 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15877 (math_opt_barrier, math_force_eval): Remove.
15878 (libc_feholdexcept): Remove.
15879 (libc_feholdexcept_setround): Remove.
15880 (libc_fetestexcept, libc_fesetenv): Remove.
15881 (libc_feupdateenv_test): Remove.
15882 (libc_feupdateenv, libc_feholdsetround): Remove.
15883 (libc_feresetround): Remove.
15884
d0adc922
RH
15885 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15886 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15887
0fe0f1f8
RH
15888 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15889 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15890 (libc_feupdateenv_testl): New.
15891 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15892 (libc_feupdateenv_testf): New.
15893 (libc_feupdateenv): Use libc_feupdateenv_test.
15894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15896
eb92c487
RH
15897 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15898 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15899 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15900 (libc_feresetround_noex): New.
15901 (libc_feresetround_noexf): New.
15902 (libc_feresetround_noexl): New.
15903 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15904 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15905 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15907 SET_RESTORE_ROUND.
15908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15910 (__cos): Likewise.
15911 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15913 SET_RESTORE_ROUND_NOEX.
15914 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15915 SET_RESTORE_ROUND_NOEXF.
15916 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15917 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15918 (libc_feholdsetroundf): New.
15919 (libc_feresetround, libc_feresetroundf): New.
15920
7d2e8012
RH
15921 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15922 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15923 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15924
b4dabbb4
RH
15925 * sysdeps/generic/math_private.h: Include <fenv.h>.
15926 (default_libc_feholdexcept): New.
15927 (default_libc_feholdexcept_setround): New.
15928 (default_libc_fesetenv, default_libc_feupdateenv): New.
15929 (libc_feholdexcept): Only define if undefined.
15930 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15931 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15932 (libc_feholdexcept_setroundl): Likewise.
15933 (libc_feholdexcept_setround_53bit): Likewise.
15934 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15935 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15936 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15937 (libc_feupdateenv_53bit): Likewise.
15938 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15939 (libc_feholdexcept): Convert from macro to inline function.
15940 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15941 (libc_fesetenv, libc_feupdateenv): Likewise.
15942
4851a949
RH
15943 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15944 not previously defined.
15945 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15946 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15947 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15948 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15949 * sysdeps/ieee754/flt-32/math_private.h: New file.
15950 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15951 math_private.h below SET_FLOAT_WORD.
15952 (__isnan, __isinf_ns, __finite): Remove.
15953 (__isnanf, __isinf_nsf, __finitef): Remove.
15954
e79d442e
AS
159552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15956
15957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15958
90b80344
DM
159592012-03-17 David S. Miller <davem@davemloft.net>
15960
15961 [BZ #6471]
15962 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15963 for 2.16.
15964
edc21804
DM
159652012-03-16 David S. Miller <davem@davemloft.net>
15966
77e927af
DM
15967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15968 warnings.
15969
374976dd
DM
15970 [BZ #6471]
15971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15972 properly.
15973 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15974 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15975 sysdep_routines when subdir is sysvipc.
15976 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15977 __getshmlba helper.
15978
edc21804
DM
15979 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15980
473c3ef3
L
159812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15984 [__LP64__].
15985
eb0f39b6
L
159862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15987
15988 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15989 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15990 (__lround): Renamed to ...
15991 (__llround): This. Replace long int with long long int.
15992 Define lround functions as aliases of llround functions.
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15994
6b6cd74b
L
159952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15996
15997 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15998 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15999 adresses to uintptr_t. Replace "long int" and "unsigned long
16000 int" with "greg_t" on va_arg.
16001
f1a77b01
L
160022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16003
16004 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16005 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16006
16007 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16008 Move e_machine check before EI_CLASS check. Handle x32
16009 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16010 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16011 SKIP_EM_IA_64 and include
16012 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16013
16014 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16015 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16016 (add_system_dir): New macro.
16017
16018 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16019 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16020
11b90b9f
JM
160212012-03-16 Joseph Myers <joseph@codesourcery.com>
16022
c36e1d23
JM
16023 [BZ #2551]
16024 [BZ #2552]
16025 [BZ #2553]
16026 [BZ #2554]
16027 [BZ #2562]
16028 [BZ #2563]
16029 [BZ #2565]
16030 [BZ #2566]
16031 [BZ #2576]
16032 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16033 (y0): Likewise.
16034 * math/w_j0f.c (j0f): Likewise.
16035 (y0f): Likewise.
16036 * math/w_j0l.c (__j0l): Likewise.
16037 (__y0l): Likewise.
16038 * math/w_j1.c (j1): Likewise.
16039 (y1): Likewise.
16040 * math/w_j1f.c (j1f): Likewise.
16041 (y1f): Likewise.
16042 * math/w_j1l.c (__j1l): Likewise.
16043 (__y1l): Likewise.
16044 * math/w_jn.c (jn): Likewise.
16045 (yn): Likewise.
16046 * math/w_jnf.c (jnf): Likewise.
16047 (ynf): Likewise.
16048 * math/w_jnl.c (__jnl): Likewise.
16049 (__ynl): Likewise.
16050 * math/libm-test.inc (j0_test): Add more tests.
16051 (j1_test): Likewise.
16052 (jn_test): Likewise. Add trailing semicolon to existing test.
16053 (y0_test): Likewise.
16054 (y1_test): Likewise.
16055 * sysdeps/i386/fpu/libm-test-ulps: Update.
16056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16057
11b90b9f
JM
16058 [BZ #13851]
16059 [BZ #13854]
16060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16061 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16062 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16064 (__tanl): Set errno for infinite argument.
16065 * sysdeps/i386/fpu/mptan.c: Remove.
16066 * sysdeps/i386/fpu/s_tan.S: Likewise.
16067 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16068 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16069 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16070 * math/libm-test.inc (tan_test): Add more tests and enable more
16071 tests for double and long double.
16072 * sysdeps/i386/fpu/libm-test-ulps: Update.
16073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16074
6a1bd2a1
JK
160752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16076
16077 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16078 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16079
10a803e0
RM
160802012-03-16 Roland McGrath <roland@hack.frob.com>
16081
16082 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16083 * configure.in: Use it for both main tree and add-ons.
16084 * configure: Regenerated.
16085
f196c7f7
L
160862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16087
16088 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16089
8848d99d
JM
160902012-03-16 Joseph Myers <joseph@codesourcery.com>
16091
96cbe7f4
JM
16092 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16093 in comment.
16094
8848d99d
JM
16095 [BZ #13851]
16096 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16097 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16101 infinite argument.
16102 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16104 != 0 for prec == 2.
16105 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16106 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16107 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16108 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16109 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16110 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16111 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16112 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16113 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16114 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16115 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16116 * math/libm-test.inc (cos_test): Add more tests and enable more
16117 tests for long double.
16118 (sin_test): Likewise.
16119 (sincos_test): Likewise.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122
dd7f4703
DM
161232012-03-16 David S. Miller <davem@davemloft.net>
16124
16125 * sysdeps/sparc/fpu/math_private.h: New file.
16126
006f1daa
DM
161272012-03-15 David S. Miller <davem@davemloft.net>
16128
c0c83bc8
DM
16129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16130 file.
e6a62e18 16131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16133 file.
e6a62e18
DM
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16140 sysdep routines.
16141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16142
88cb87d9
DM
16143 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16144 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16145
006f1daa 16146 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16148 sparc-ifunc.h
006f1daa 16149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16151 Likewise.
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16153 Likewise.
006f1daa
DM
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16158 Likewise.
006f1daa
DM
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16164 Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16166 Likewise.
006f1daa
DM
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16191
11e0098e
AS
161922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16193
16194 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16195 scaling.
16196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16197
e85b09d0
AJ
161982012-03-15 Andreas Jaeger <aj@suse.de>
16199
16200 [BZ #13852]
16201 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16202 ieee754/flt-32 implementation for sin, cos and sincos.
16203 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16204 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16205 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16206 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16207 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16208 ieee754/flt-32 implementation for tan.
16209
16210 * math/libm-test.inc (cos_test): Enable some large input tests for
16211 float as well
16212 (sin_test): Likewise.
16213 (sincos_test): Likewise.
16214 (tan_test): Add tests for large input.
16215
16216 * sysdeps/i386/fpu/libm-test-ulps: Update.
16217
81c64153
AJ
162182012-03-15 Andreas Jaeger <aj@suse.de>
16219
16220 [BZ #13658]
16221 * math/libm-test.inc (cos_test): Add more test cases.
16222 (sin_test): Likewise.
16223 (sincos_test): Likewise.
16224
7bbfa5c6
AJ
162252012-03-15 Andreas Jaeger <aj@suse.de>
16226
16227 [BZ #13837]
16228 * math/libm-test.inc (cos_test): Add a test case for large input
16229 value.
16230 (sin_test): Likewise.
16231 (sincos_test): Likewise.
16232
162332012-03-15 Andreas Jaeger <aj@suse.de>,
16234 Joseph Myers <joseph@codesourcery.com>
16235
16236 [BZ #13658]
0671f479 16237 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16238 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16239 * sysdeps/i386/fpu/branred.c: Likewise.
16240 * sysdeps/i386/fpu/dosincos.c: Likewise.
16241 * sysdeps/i386/fpu/mpa.c: Likewise.
16242 * sysdeps/i386/fpu/s_cos.S: Likewise.
16243 * sysdeps/i386/fpu/s_sin.S: Likewise.
16244 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16245 * sysdeps/i386/fpu/sincos32.c: Likewise.
16246
16247 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16248 Define.
16249 (libc_feupdateenv_53bit): Define.
16250 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16251 Define.
16252 (libc_feupdateenv_53bit): Define.
16253
16254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16255 53 bit (without extend i386 double precision).
16256
16257 * math/libm-test.inc (sincos_test): Add tests for large input.
16258 (sin): Likewise.
16259 (cos): Likewise.
16260
16261 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16262
9cad04ea
AS
162632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16264
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266
f7062b9a
DM
162672012-03-15 David S. Miller <davem@davemloft.net>
16268
16269 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16270 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16271 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16285 file.
f7062b9a 16286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16288 file.
f7062b9a 16289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16291 file.
f7062b9a 16292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16294 file.
f7062b9a
DM
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16297 fmin/fmax sysdep routines.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16299
7bd951ff
DM
163002012-03-14 David S. Miller <davem@davemloft.net>
16301
559398ab
DM
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16331 routines.
16332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16333 file.
559398ab 16334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16336 file.
559398ab 16337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16339 file.
559398ab 16340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16342 file.
559398ab 16343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16345 file.
559398ab 16346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16348 file.
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16350 file.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16352 file.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16354 file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16356 New file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16358 file.
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16360 file.
559398ab 16361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16363 file.
559398ab 16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16366 file.
559398ab 16367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16369 file.
559398ab 16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16372 VIS3 routines.
559398ab
DM
16373
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16375 New file.
16376
5a1c1e32
DM
16377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16378
eae47a36
DM
16379 * sysdeps/sparc/configure.in: New file.
16380 * sysdeps/sparc/configure: Generate.
16381 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16382 * configure: Regenerate.
16383 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16384 * config.make.in (have-as-vis3): New.
16385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16386 available use -Av9d instead of -Av9a.
16387 * sysdeps/sparc/sparc64/Makefile: Likewise.
16388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16390 New file.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16392 file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16394 New file.
16395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16396 file.
eae47a36
DM
16397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16402
c0c83bc8
DM
16403 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16404 fzeros/fnegs to load 0x80000000 into a float register instead of
16405 using the stack.
7bd951ff
DM
16406 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16407
bd951ccb
JM
164082012-03-14 Joseph Myers <joseph@codesourcery.com>
16409
16410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16411 bits/syscall.h.
16412 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16413 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16414 ($(inst_includedir)/bits/syscall.h): Remove rule.
16415 ($(objpfx)bits/syscall.d): Include instead of
16416 $(objpfx)syscall-list.d.
16417 (generated): Change syscall-list.h and syscall-list.d to
16418 bits/syscall.h and bits/syscall.d.
16419
bb4e6db2
RM
164202012-03-14 Roland McGrath <roland@hack.frob.com>
16421
16422 [BZ #13846]
16423 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16424
aa4a2ae1
JM
164252012-03-14 Joseph Myers <joseph@codesourcery.com>
16426
e456826d
JM
16427 [BZ #13841]
16428 * math/s_csqrt.c: Include <float.h>.
16429 (__csqrt): Scale large or subnormal inputs.
16430 * math/s_csqrtf.c: Likewise.
16431 * math/s_csqrtl.c: Likewise.
16432 * math/libm-test.inc (csqrt_test): Add more tests.
16433 * sysdeps/i386/fpu/libm-test-ulps: Update.
16434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16435
aa4a2ae1
JM
16436 [BZ #13840]
16437 * math/libm-test.inc (hypot_test): Add more tests.
16438
7c10fd35
DM
164392012-03-13 David S. Miller <davem@davemloft.net>
16440
16441 [BZ #13840]
16442 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16443 double-precision for the calculation instead of scaling.
16444
f453b98b
JM
164452012-03-13 Joseph Myers <joseph@codesourcery.com>
16446
16447 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16448 manipulate bits before adding and subtracting TWO52[sx].
16449 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16451 Likewise.
16452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16453
09a3453f
DM
164542012-03-13 David S. Miller <davem@davemloft.net>
16455
8e59da90
DM
16456 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16457 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16459 rtld-global-offsets.h
16460 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16461
2a8ab7f2
DM
16462 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16463 large parameters.
16464
10f62770
DM
16465 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16466
5f0bdb18
DM
16467 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16468 'err' in the ifdef scope in which it is actually used.
16469
09a3453f
DM
16470 * nss/nss_db/db-init.c: Include string.h
16471
b4b2eb5e
DM
164722012-03-12 David S. Miller <davem@davemloft.net>
16473
98bb2f1c
DM
16474 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16475 masking out of the most significant byte of random value used.
16476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16477 Fix coding style in previous change.
16478
b4b2eb5e
DM
16479 * sysdeps/unix/sysv/linux/kernel-features.h
16480 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16481 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16482 expression.
16483 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16484 later.
16485
6e226b09
DM
164862012-03-11 David S. Miller <davem@davemloft.net>
16487
a1bcbd40
DM
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16489 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16491 for 'resultvar' otherwise things get truncated on 64-bit.
16492
cb9d6174
DM
16493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16494 Fix masking out of the most significant byte of random value used.
16495
6e226b09
DM
16496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16497
058c132d
AS
164982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16499
16500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16501
2d2cd515
DM
165022012-03-09 David S. Miller <davem@davemloft.net>
16503
16504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16505 variables with appropriate CPP guards.
16506 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16507 frame pointer, not the stack pointer. Correct layout comments. Fix test
16508 on resulting framesize and the management of the outregs buffer for pltexit.
16509 Preserve floating point return values across _dl_call_pltexit call.
16510 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16511 framesize and the management of the outregs buffer for pltexit.
16512 Preserve floating point return values across _dl_call_pltexit
16513 call.
16514 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16515 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16516 (print_exit): Fix format string for return register value.
16517
9a07f9d0
JM
165182012-03-10 Joseph Myers <joseph@codesourcery.com>
16519
16520 * sunrpc/Makefile (others): Add rpcgen.
16521 ($(objpfx)rpcgen): Remove special build rule and dependency on
16522 libc.
16523 * sunrpc/rpcgen.c: New file.
16524
547b5e30
PE
165252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16526
c524201a
PE
16527 [BZ #13673]
16528 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16529 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16530 * sysdeps/i386/crti.S: Likewise.
16531 * sysdeps/i386/crtn.S: Likewise.
16532 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16533 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16534 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16535 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16536 * sysdeps/sh/crti.S: Likewise.
16537 * sysdeps/sh/crtn.S: Likewise.
16538 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16539
7b6235f2
PE
16540 [BZ #13673]
16541 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16542 with URL.
16543 * locale/programs/locfile-kw.gperf: Likewise.
16544 * locale/programs/charmap-kw.h: Regenerated.
16545 * locale/programs/locfile-kw.h: Likewise.
16546
547b5e30
PE
16547 [BZ #13673]
16548 * intl/plural.y: Replace FSF snail mail address with URL.
16549 * intl/plural.c: Regenerated.
16550
5f0a5dae
RH
165512012-03-09 Richard Henderson <rth@twiddle.net>
16552
16553 * include/math_private.h: Remove file.
16554 * math/math_private.h: Move file ...
16555 * sysdeps/generic/math_private.h: ... here.
16556
b8c03620
RH
16557 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16558 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16559 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16560
4e234f5d 16561 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16562 and <math_private.h>.
16563 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16564 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16565 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16566 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16567 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16712 * sysdeps/ieee754/k_standard.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16873 * sysdeps/ieee754/s_lib_version.c: Likewise.
16874 * sysdeps/ieee754/s_matherr.c: Likewise.
16875 * sysdeps/ieee754/s_signgam.c: Likewise.
16876 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16877 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16878 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16879 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16881 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16882 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16883 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16884 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16885 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16887 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16888 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16889 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16890 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16891 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16897
1991fa03
JM
168982012-03-09 Joseph Myers <joseph@codesourcery.com>
16899
16900 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16901 * sunrpc/rpc_main.c: Likewise.
16902 * sunrpc/rpc_svcout.c: Likewise.
16903
60d6f5a6
DM
169042012-03-09 David S. Miller <davem@davemloft.net>
16905
16906 * include/math_private.h: New file.
16907
4962050e
JM
169082012-03-09 Joseph Myers <joseph@codesourcery.com>
16909
02a6f887
JM
16910 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16911 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16912 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16913 from <bits/socket_type.h>.
16914 (enum __socket_type): Don't define here.
16915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16917 bits/socket_type.h.
16918
c6e013c1
JM
16919 [BZ #13566]
16920 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16921 checking __USE_GNU.
16922
4962050e
JM
16923 * Makerules ($(inst_includedir)/%.h): New rule.
16924 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16925 (install-others): Remove variable setting.
16926 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16927
38842f45
RH
169282012-03-08 Richard Henderson <rth@twiddle.net>
16929
67bb6da6
RH
16930 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16931 from macro to inline function; merge with the
16932 !__LIBC_INTERNAL_MATH_INLINES version.
16933 (__ieee754_sqrtf): Likewise.
16934
15194b4b
RH
16935 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16936 to inline function.
16937 (__rintf, __floor, __floorf): Likewise.
16938
64e21ede
RH
16939 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16940 macro to inline function.
16941 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16942
38842f45
RH
16943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16944 not <math/math_private.h>.
16945
c64bf5fe
DM
169462012-03-08 David S. Miller <davem@davemloft.net>
16947
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16949 copyright year.
16950 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16951
82d86f28
TS
169522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16953
16954 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16955 normalization.
16956 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16957 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16958
aea5d727
UD
169592012-03-08 Ulrich Drepper <drepper@gmail.com>
16960
16961 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16962 be defined individually, they must be defined as a block. Define
16963 S for printing a string instead of hidint the different by using a
16964 macro for adding the 'l'.
16965 * stdio-common/tst-fphex-wide.c: Adjust.
16966
70bca0a3
MP
169672012-03-07 Marek Polacek <polacek@redhat.com>
16968
16969 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16970
65b81130
MP
169712012-03-08 Marek Polacek <polacek@redhat.com>
16972
16973 [BZ #13806]
16974 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16975 * stdio-common/tst-fphex.c: Define a few macros to make the
16976 test reusable. Use them.
16977 * stdio-common/tst-fphex-wide.c: New file.
16978
07037eeb
JM
169792012-03-08 Joseph Myers <joseph@codesourcery.com>
16980
a7a93d50
JM
16981 [BZ #6911]
16982 * manual/macros.texi (gnusystems): New macro.
16983 (nongnusystems): Likewise.
16984 (gnulinuxhurdsystems): Likewise.
16985 (gnuhurdsystems): Likewise..
16986 (gnulinuxsystems): Likewise.
16987 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16988 variants of the GNU system, not "GNU system".
16989 * manual/conf.texi: Likewise.
16990 * manual/errno.texi: Likewise. Update example of errno macro
16991 expansion.
16992 * manual/filesys.texi: Likewise.
16993 (getumask): Document as specific to GNU/Hurd.
16994 * manual/install.texi: Likewise. Reword some references to
16995 GNU/Linux.
16996 * manual/intro.texi: Likewise.
16997 * manual/io.texi: Likewise.
16998 (File Name Portability): Detail which constraints are inapplicable
16999 to all GNU systems and which are only inapplicable to GNU/Hurd.
17000 * manual/job.texi: Likewise.
17001 * manual/llio.texi: Likewise.
17002 (O_NOCTTY): Document as present on GNU/Linux.
17003 * manual/maint.texi: Likewise.
17004 * manual/memory.texi: Likewise.
17005 * manual/pattern.texi: Likewise.
17006 * manual/pipe.texi: Likewise.
17007 * manual/process.texi: Likewise.
17008 * manual/resource.texi: Likewise.
17009 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17010 child on GNU/Hurd.
17011 * manual/setjmp.texi: Likewise.
17012 * manual/signal.texi: Likewise.
17013 * manual/startup.texi: Likewise.
17014 * manual/stdio.texi: Likewise.
17015 * manual/terminal.texi: Likewise.
17016 (ONLCR): Document as POSIX.
17017 (OXTABS): Document availability on GNU/Linux as XTABS.
17018 (ONOEOT): Document availability separately from other bits.
17019 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17020 * manual/time.texi: Likewise.
17021 * manual/users.texi: Likewise.
17022 * INSTALL: Regenerated.
17023 * sysdeps/gnu/errlist.c: Regenerated.
17024
07037eeb
JM
17025 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17026 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17027 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17028 puts.
17029 * configure: Regenerated.
17030
d1d3431a
JM
170312012-03-07 Joseph Myers <joseph@codesourcery.com>
17032
af6a1e37
JM
17033 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17034 default includes instead of AC_HEADER_CHECK.
17035 * sysdeps/i386/configure: Regenerated.
17036
d1d3431a
JM
17037 [BZ #10716]
17038 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17039 * math/s_cacoshf.c (__cacoshf): Likewise.
17040 * math/s_cacoshl.c (__cacoshl): Likewise.
17041 * math/s_casinh.c (__casinh): Set signs of result from argument.
17042 * math/s_casinhf.c (__casinhf): Likewise.
17043 * math/s_casinhl.c (__casinhl): Likewise.
17044 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17045 (casinh_test): Add more tests.
17046 * sysdeps/i386/fpu/libm-test-ulps: Update.
17047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17048
482ff4da
UD
170492012-03-07 Ulrich Drepper <drepper@gmail.com>
17050
872fda05
UD
17051 * po/zh_TW.po: Update from translation team.
17052
a4300c7a
UD
17053 * login/Makefile (distribute): Remove variable.
17054 * catgets/Makefile: Likewise.
17055 * mach/Makefile: Likewise.
17056 * malloc/Makefile: Likewise.
17057 * misc/Makefile: Likewise.
17058 * iconv/Makefile: Likewise.
17059 * nscd/Makefile: Likewise.
17060 * hurd/Makefile: Likewise.
17061 * manual/Makefile: Likewise.
17062 * locale/Makefile: Likewise.
17063 * intl/Makefile: Likewise.
17064 * conform/Makefile: Likewise.
17065 * nss/Makefile: Likewise.
17066 * time/Makefile: Likewise.
17067 * soft-fp/Makefile: Likewise.
17068 * dirent/Makefile: Likewise.
17069 * gmon/Makefile: Likewise.
17070 * po/Makefile: Likewise.
17071 * rt/Makefile: Likewise.
17072 * socket/Makefile: Likewise.
17073 * math/Makefile: Likewise.
17074 * signal/Makefile: Likewise.
17075 * debug/Makefile: Likewise.
17076 * elf/Makefile: Likewise.
17077 * timezone/Makefile: Likewise.
17078 * stdlib/Makefile: Likewise.
17079 * iconvdata/Makefile: Likewise.
17080 * sunrpc/Makefile: Likewise.
17081 * io/Makefile: Likewise.
17082 * argp/Makefile: Likewise.
17083 * inet/Makefile: Likewise.
17084 * hesiod/Makefile: Likewise.
17085 * grp/Makefile: Likewise.
17086 * csu/Makefile: Likewise.
17087 * wctype/Makefile: Likewise.
17088 * crypt/Makefile: Likewise.
17089 * libio/Makefile: Likewise.
17090 * string/Makefile: Likewise.
17091 * nis/Makefile: Likewise.
17092 * resolv/Makefile: Likewise.
17093 * stdio-common/Makefile: Likewise.
17094 * wcsmbs/Makefile: Likewise.
17095 * dlfcn/Makefile: Likewise.
17096 * posix/Makefile: Likewise.
17097
3b7c4e74 17098 [BZ #6959]
482ff4da
UD
17099 * timezone/Makefile: Don't install timezone files, just the programs
17100 and scripts.
17101
f72ed77d
UD
171022012-03-06 Ulrich Drepper <drepper@gmail.com>
17103
a000466f
UD
17104 * nss/databases.def: Add missing gshadow entry.
17105
f72ed77d
UD
17106 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17107
a53b7a4e
MP
171082012-03-06 Marek Polacek <polacek@redhat.com>
17109
17110 [BZ #13726]
17111 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17112 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17113 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17114 * stdio-common/tst-long-dbl-fphex.c: New file.
17115
e9258400
DM
171162012-03-06 David S. Miller <davem@davemloft.net>
17117
17118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17119 (set_obp_int): New function.
17120 (get_obp_int): New function.
17121 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17123 Avoid unused variable warnings on 'val' and use builtin_expect.
17124 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17125 __builtin_expect.
e9258400
DM
17126 (INLINE_CLONE_SYSCALL): Likewise.
17127
3bd2c723
DM
171282012-03-05 David S. Miller <davem@davemloft.net>
17129
17130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17131
bbb78d03
AS
171322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17133
884c5db4
AS
17134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17135
bbb78d03
AS
17136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17137 only for |x| >= 40.
17138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17139
1c9f702a 171402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17141
17142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17143 Replace gettimeofday with __vdso_gettimeofday.
17144
7be16f82
RM
17145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17146 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17147 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17148
17149 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17150 time with __vdso_time.
17151
ed58a00f
JM
171522012-03-05 Joseph Myers <joseph@codesourcery.com>
17153
17154 * manual/lang.texi (size_t): Note types to which size_t may be
17155 equivalent with the GNU C Library, but do not describe when
17156 differences between them are significant.
17157
30ee4ced
AJ
171582012-03-05 Andreas Jaeger <aj@suse.de>
17159
17160 * sysdeps/i386/fpu/libm-test-ulps: Update.
17161
b7cd39e8
JM
171622012-03-05 Joseph Myers <joseph@codesourcery.com>
17163
17164 [BZ #3976]
17165 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17166 (__ieee754_pow): Save and restore rounding mode and use
17167 round-to-nearest for main computations.
17168 * math/libm-test.inc (pow_test_tonearest): New function.
17169 (pow_test_towardzero): Likewise.
17170 (pow_test_downward): Likewise.
17171 (pow_test_upward): Likewise.
17172 (main): Call the new functions.
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17175
17176 [BZ #3976]
17177 * math/libm-test.inc (cosh_test_tonearest): New function.
17178 (cosh_test_towardzero): Likewise.
17179 (cosh_test_downward): Likewise.
17180 (cosh_test_upward): Likewise.
17181 (sinh_test_tonearest): Likewise.
17182 (sinh_test_towardzero): Likewise.
17183 (sinh_test_downward): Likewise.
17184 (sinh_test_upward): Likewise.
17185 (main): Call the new functions.
17186 * sysdeps/i386/fpu/libm-test-ulps: Update.
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17188
6c6a98c9
TV
171892012-03-05 Tom de Vries <tom@codesourcery.com>
17190
17191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17192 default stack guard is set in last bytes.
17193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17194
21bb2d2e 171952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17196
21bb2d2e 17197 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17198
21bb2d2e
AJ
17199 [BZ #13656]
17200 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17201 possibly allocate from heap instead of stack.
17202 * stdio-common/bug-vfprintf-nargs.c: New file.
17203 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17204
c6922934
AS
172052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17206
17207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208
bc957d53
MP
172092012-03-03 Marek Polacek <polacek@redhat.com>
17210
17211 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17212 * math/math_private.h: Likewise.
17213 * stdlib/tst-strtod.c: Likewise.
17214 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17215 * sysdeps/x86_64/bits/atomic.h: Likewise.
17216
6358490d
DM
172172012-03-02 David S. Miller <davem@davemloft.net>
17218
17219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17223 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17224 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17225 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17226 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17227
01ae168d
RM
172282012-03-02 Roland McGrath <roland@hack.frob.com>
17229
d9a17c07
RM
17230 [BZ #13792]
17231 * manual/examples/README: New file, says the example source files
17232 can be used under GPL>=2.
17233 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17234 line containing just "*/".
17235 * manual/examples/add.c: Add copyright header (GPL>=2).
17236 * manual/examples/argp-ex1.c: Likewise.
17237 * manual/examples/argp-ex2.c: Likewise.
17238 * manual/examples/argp-ex3.c: Likewise.
17239 * manual/examples/argp-ex4.c: Likewise.
17240 * manual/examples/atexit.c: Likewise.
17241 * manual/examples/db.c: Likewise.
17242 * manual/examples/dir.c: Likewise.
17243 * manual/examples/dir2.c: Likewise.
17244 * manual/examples/execinfo.c: Likewise.
17245 * manual/examples/filecli.c: Likewise.
17246 * manual/examples/filesrv.c: Likewise.
17247 * manual/examples/fmtmsgexpl.c: Likewise.
17248 * manual/examples/genpass.c: Likewise.
17249 * manual/examples/inetcli.c: Likewise.
17250 * manual/examples/inetsrv.c: Likewise.
17251 * manual/examples/isockad.c: Likewise.
17252 * manual/examples/longopt.c: Likewise.
17253 * manual/examples/memopen.c: Likewise.
17254 * manual/examples/memstrm.c: Likewise.
17255 * manual/examples/mkfsock.c: Likewise.
17256 * manual/examples/mkisock.c: Likewise.
17257 * manual/examples/mygetpass.c: Likewise.
17258 * manual/examples/pipe.c: Likewise.
17259 * manual/examples/popen.c: Likewise.
17260 * manual/examples/rprintf.c: Likewise.
17261 * manual/examples/search.c: Likewise.
17262 * manual/examples/select.c: Likewise.
17263 * manual/examples/setjmp.c: Likewise.
17264 * manual/examples/sigh1.c: Likewise.
17265 * manual/examples/sigusr.c: Likewise.
17266 * manual/examples/stpcpy.c: Likewise.
17267 * manual/examples/strdupa.c: Likewise.
17268 * manual/examples/strftim.c: Likewise.
17269 * manual/examples/strncat.c: Likewise.
17270 * manual/examples/subopt.c: Likewise.
17271 * manual/examples/swapcontext.c: Likewise.
17272 * manual/examples/termios.c: Likewise.
17273 * manual/examples/testopt.c: Likewise.
17274 * manual/examples/testpass.c: Likewise.
17275 * manual/examples/timeval_subtract.c: Likewise.
17276
01ae168d
RM
17277 [BZ #13792]
17278 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17279 function to ...
17280 * manual/timeval_subtract.c.texi: ... here, new file.
17281
49efa33d
DM
172822012-03-02 David S. Miller <davem@davemloft.net>
17283
17284 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17285
28afd92d
JM
172862012-03-02 Joseph Myers <joseph@codesourcery.com>
17287
804360ed
JM
17288 [BZ #3976]
17289 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17290 (__sin): Save and restore rounding mode and use round-to-nearest
17291 for all computations.
17292 (__cos): Save and restore rounding mode and use round-to-nearest
17293 for all computations.
17294 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17295 <fenv.h>.
17296 (tan): Save and restore rounding mode and use round-to-nearest for
17297 all computations.
17298 * math/libm-test.inc (cos_test_tonearest): New function.
17299 (cos_test_towardzero): Likewise.
17300 (cos_test_downward): Likewise.
17301 (cos_test_upward): Likewise.
17302 (sin_test_tonearest): Likewise.
17303 (sin_test_towardzero): Likewise.
17304 (sin_test_downward): Likewise.
17305 (sin_test_upward): Likewise.
17306 (tan_test_tonearest): Likewise.
17307 (tan_test_towardzero): Likewise.
17308 (tan_test_downward): Likewise.
17309 (tan_test_upward): Likewise.
17310 (main): Call the new functions.
17311 * sysdeps/i386/fpu/libm-test-ulps: Update.
17312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17313
a6d06d7b
JM
17314 [BZ #10135]
17315 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17316 small n, then large n, before computing and testing k+n.
17317 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17319 Likewise.
17320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17321 Likewise.
17322 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17323 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17328 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17330 * math/libm-test.inc (scalbn_test): Add more tests.
17331 (scalbln_test): Likewise.
17332
07e12bb3
JM
17333 * manual/filesys.texi (mode_t): Describe constraints on size and
17334 signedness, not exact equivalence to a particular type.
17335 (ino_t): Likewise.
17336 (ino64_t): Likewise.
17337 (dev_t): Likewise.
17338 (nlink_t): Likewise.
17339 (blkcnt_t): Likewise.
17340 (blkcnt64_t): Likewise.
17341 * manual/llio.texi (off_t): Likewise.
17342
28afd92d
JM
17343 [BZ #3976]
17344 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17345 (__ieee754_exp): Save and restore rounding mode and use
17346 round-to-nearest for all computations.
17347 * math/libm-test.inc (exp_test_tonearest): New function.
17348 (exp_test_towardzero): Likewise.
17349 (exp_test_downward): Likewise.
17350 (exp_test_upward): Likewise.
17351 (main): Call the new functions.
17352 * sysdeps/i386/fpu/libm-test-ulps: Update.
17353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17354
b1eeb65d
CD
173552012-03-01 Chris Demetriou <cgd@google.com>
17356
17357 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17358 have predictable order.
17359
53362a4b
DM
173602012-03-01 David S. Miller <davem@davemloft.net>
17361
3c969083
DM
17362 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17363
759707de
DM
17364 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17365 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17366 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17367 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17368
dfdb8ff2
DM
17369 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17370 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17371 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17373 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17374 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17375 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17376 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17377 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17378
ead89f96
DM
17379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17380
7f66bd07
DM
17381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17382 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17384
53362a4b
DM
17385 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17387 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17388 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17389 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17392 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17393 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17394 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17395 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17401 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17402 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17403 * sysdeps/sparc/elf/configure: Regenerated.
17404
7b1902cb
JM
174052012-03-01 Joseph Myers <joseph@codesourcery.com>
17406
bec039bc
JM
17407 * configure.in (AS, LD): Require binutils 2.20 or later.
17408 * configure: Regenerated.
17409 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17410 as required minimum version.
17411 * INSTALL: Regenerated.
17412
7b1902cb
JM
17413 [BZ #2541]
17414 [BZ #4108]
17415 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17416 before squaring exponent.
17417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17418 bottom long double and 27 bits of top long double before squaring
17419 exponent.
17420 * math/libm-test.inc (erfc_test): Add more tests.
17421 * sysdeps/i386/fpu/libm-test-ulps: Update.
17422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17424
f775c276
KT
174252012-03-01 Kai Tietz <ktietz@redhat.com>
17426
17427 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17428 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17429 containing bit-fields.
17430 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17431 * soft-fp/single.h (_FP_UNION_S): Likewise.
17432 * soft-fp/double.h (_FP_UNION_D): Likewise.
17433
5b8a4d4a
JM
174342012-02-29 Joseph Myers <joseph@codesourcery.com>
17435
0bab47b6
JM
17436 [BZ #13786]
17437 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17438 not include ../strcmp.S.
17439 [USE_AS_STRNCASECMP_L]: Likewise.
17440 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17441 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17442 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17443 (__strncasecmp_l_ia32): Define as alias to
17444 __strncasecmp_l_nonascii.
17445
0fcad3e2
JM
17446 [BZ #5794]
17447 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17448 * sysdeps/i386/fpu/libm-test-ulps: Update.
17449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450
5b8a4d4a
JM
17451 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17453
8fdceb2e
JL
174542012-02-29 Jeff Law <law@redhat.com>
17455
17456 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17457 out of bounds read.
17458
1f393a11
MP
174592012-02-29 Marek Polacek <polacek@redhat.com>
17460
17461 [BZ #13706]
17462 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17463 * elf/Makefile: Add rules to run tst-unused-dep.out.
17464
8847f037
DM
174652012-02-28 David S. Miller <davem@davemloft.net>
17466
17467 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17468 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17471 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17472 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17473
169d7f11
JM
174742012-02-29 Joseph Myers <joseph@codesourcery.com>
17475
17476 * math/libm-test.inc (llround_test): Move one test from
17477 lround_test. Use TEST_f_L in moved test.
17478 (lround_test): Move misplaced test to llround_test. Add testcase
17479 from bug 2561.
17480
39adf059
UD
174812012-02-28 Ulrich Drepper <drepper@gmail.com>
17482
17483 * sysdeps/x86_64/fpu/e_expf.S: New file.
17484 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17485
71b5d1c5
SB
174862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17487
17488 [BZ #13637]
17489 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17490 of remain_len that may cause incomplete multi-byte character and
17491 false match.
17492 * posix/bug-regex33.c: New file.
17493 * posix/Makefile (tests): Add bug-regex33.
17494
1f77f049
JM
174952012-02-28 Joseph Myers <joseph@codesourcery.com>
17496
17497 * manual/macros.texi: New file.
17498 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17499 * manual/libc.texinfo: Include macros.texi.
17500 * manual/creatute.texi: Likewise.
17501 * manual/install.texi: Likewise.
17502 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17503 @glibcadj{} in references to the GNU C Library.
17504 * manual/charset.texi: Likewise.
17505 * manual/conf.texi: Likewise.
17506 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17507 when not using those macros.
17508 * manual/creature.texi: Likewise.
17509 * manual/crypt.texi: Likewise.
17510 * manual/errno.texi: Likewise.
17511 * manual/filesys.texi: Likewise.
17512 * manual/header.texi: Likewise.
17513 * manual/install.texi: Likewise.
17514 * manual/intro.texi: Likewise.
17515 * manual/io.texi: Likewise.
17516 * manual/job.texi: Likewise.
17517 * manual/lang.texi: Likewise.
17518 * manual/libc.texiinfo: Likewise.
17519 * manual/llio.texi: Likewise.
17520 * manual/locale.texi: Likewise.
17521 * manual/maint.texi: Likewise.
17522 * manual/math.texi: Likewise.
17523 * manual/memory.texi: Likewise.
17524 * manual/message.texi: Likewise.
17525 * manual/nss.texi: Likewise.
17526 * manual/pattern.texi: Likewise.
17527 * manual/process.texi: Likewise.
17528 * manual/resource.texi: Likewise.
17529 * manual/search.texi: Likewise.
17530 * manual/setjmp.texi: Likewise.
17531 * manual/signal.texi: Likewise.
17532 * manual/socket.texi: Likewise.
17533 * manual/startup.texi: Likewise.
17534 * manual/stdio.texi: Likewise.
17535 * manual/string.texi: Likewise.
17536 * manual/sysinfo.texi: Likewise.
17537 * manual/syslog.texi: Likewise.
17538 * manual/terminal.texi: Likewise.
17539 * manual/time.texi: Likewise.
17540 * manual/users.texi: Likewise.
17541 * INSTALL: Regenerated.
17542 * NOTES: Regenerated.
d40c5d54 17543 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17544
450bf206
AS
175452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17546
17547 * include/dirent.h: Include <dirstream.h> before
17548 <dirent/dirent.h>.
17549
741a235b
DM
175502012-02-28 David S. Miller <davem@davemloft.net>
17551
17552 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17553 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17554 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17555 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17556
d6b5aa58
DM
175572012-02-27 David S. Miller <davem@davemloft.net>
17558
1aff59a3
DM
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17561 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17562 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17563
d6b5aa58
DM
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17565 frame pointer instead of stack pointer relative arg slot.
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17567 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17568 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17569
433f48bf
CD
175702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17571
17572 [BZ #3992]
17573 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17574
d674b76d
DM
175752012-02-27 David S. Miller <davem@davemloft.net>
17576
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17585
0e7727f7
JM
175862012-02-27 Joseph Myers <joseph@codesourcery.com>
17587
17588 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17589 later. Allow versions 5-9.
43be4ca2 17590 * configure: Regenerated.
0e7727f7
JM
17591 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17592 required minimum version and 4.6 as recommended version. Do not
17593 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17594 * INSTALL: Regenerated.
0e7727f7 17595
a78bc654
DM
175962012-02-27 David S. Miller <davem@davemloft.net>
17597
428d5830
DM
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17602 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17603 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17604 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17605 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17606
a78bc654
DM
17607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17608 manipulate bits before adding and subtracting TWO112[sx].
17609 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17610
4579f81c
RM
176112012-02-27 Roland McGrath <roland@hack.frob.com>
17612
36c8acb4
RM
17613 [BZ #13775]
17614 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17615 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17616 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17617 being in POSIX, because they are in 1003.1-2008.
17618
84ad622b
RM
17619 * rt/tst-aio.c: Include <fcntl.h>.
17620 * rt/tst-aio7.c: Likewise.
17621 * rt/tst-aio64.c: Likewise.
17622
4579f81c
RM
17623 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17624
abd923db
JM
176252012-02-27 Joseph Myers <joseph@codesourcery.com>
17626
17627 * manual/install.texi (--with-headers): Describe headers as
17628 interface headers, not private headers.
17629 (Specific advice for GNU/Linux systems): Describe use of headers
17630 from "make headers_install", not private headers from older
17631 kernels.
43be4ca2 17632 * INSTALL: Regenerated.
abd923db
JM
17633 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17634 Change to 2.6.19.
17635 * sysdeps/unix/sysv/linux/configure: Regenerated.
17636
6664049b
JM
17637 * manual/llio.texi (fclean): Remove documentation.
17638
bb8b6697
JM
17639 * manual/Makefile (libc-texi-generated): New variable. Include
17640 version.texi.
17641 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17642 $(libc-texi-generated), not duplicated list of files.
17643 (version.texi, stamp-version): New rules.
17644 (realclean): Remove $(libc-texi-generated), not individual files
17645 from that list. Do not remove dir-add.texinfo.
17646 * manual/libc.texinfo: Comment out uses of edition numbers and
17647 references to printed manual. Remove last-updated dates.
17648 (EDITION): Comment out.
17649 (ISBN): Likewise.
17650 (VERSION, UPDATED): Remove.
17651 (version.texi): Include.
17652
12e5c3b9
AS
176532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17654
17655 * sysdeps/posix/spawni.c: Include <signal.h>.
17656 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17657 * sysdeps/pthread/aio_fsync.c: Likewise.
17658
4efeffc1 176592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17660
ba63ba08
UD
17661 * conform/Makefile (tests): Run only when not cross-compiling and
17662 when fast-check is not defined.
17663
d94a4670
UD
17664 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17665 * conform/data/limits.h-data: Fixes for POSIX2008.
17666 * conform/run-conformtest.sh: Run all tests.
17667 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17668 headers.
17669 * include/bits/dlfcn.h: Likewise.
17670 * include/langinfo.h: Likewise.
17671 * include/monetary.h: Likewise.
17672 * include/sys/poll.h: Likewise.
17673
17674 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17675 for __USE_GNU.
17676 * posix/spawn.h: Define __need_sigset_t.
17677 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17678 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17679 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17680 to get sigevent_t only.
17681 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17682 only for __USE_GNU.
17683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17684 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17685 process_vm_writev only for __USE_GNU.
17686 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17687
17688 * conform/Makefile: For now ignore errors from run-conformtest.
17689 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17690 POSIX to avoid namespace pollution. Don't prepend headers.
17691 * conform/data/aio.h-data: Fixes for POSIX testing.
17692 * conform/data/fcntl.h-data: Likewise.
17693 * conform/data/glob.h-data: Likewise.
17694 * conform/data/grp.h-data: Likewise.
17695 * conform/data/pthread.h-data: Likewise.
17696 * conform/data/pwd.h-data: Likewise.
17697 * conform/data/signal.h-data: Likewise.
17698 * conform/data/spawn.h-data: Likewise.
17699 * conform/data/stdio.h-data: Likewise.
17700 * conform/data/stdlib.h-data: Likewise.
17701 * conform/data/stropts.h-data: Likewise.
17702 * conform/data/sys/mman.h-data: Likewise.
17703 * conform/data/sys/stat.h-data: Likewise.
17704 * conform/data/sys/types.h-data: Likewise.
17705 * conform/data/sys/wait.h-data: Likewise.
17706 * conform/data/time.h-data: Likewise.
17707 * conform/data/unistd.h-data: Likewise.
17708 * conform/data/utime.h-data: Likewise.
17709
17710 * io/sys/stat.h: fchmod was always in POSIX.
17711 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17712 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17713 * rt/aio.h: Define __need_timespec before including <time.h>.
17714 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17715 struct. Add forward declaration of pthread_attr_t and use it in
17716 sigevent.
17717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17719 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17720 always remove CLK_TCK definition.
17721
c20105c3
AS
177222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17723
17724 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17725
7a270350
UD
177262012-02-25 Ulrich Drepper <drepper@gmail.com>
17727
31341567
UD
17728 * conform/run-conformtest.sh: New file.
17729 * conform/Makefile: Run run-conformtest for tests.
17730 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17731 support.
17732
17733 * conform/data/uchar.h-data: New file.
17734 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17735 * conform/data/arpa/inet.h-data: Likewise.
17736 * conform/data/assert.h-data: Likewise.
17737 * conform/data/complex.h-data: Likewise.
17738 * conform/data/cpio.h-data: Likewise.
17739 * conform/data/ctype.h-data: Likewise.
17740 * conform/data/dirent.h-data: Likewise.
17741 * conform/data/dlfcn.h-data: Likewise.
17742 * conform/data/errno.h-data: Likewise.
17743 * conform/data/fcntl.h-data: Likewise.
17744 * conform/data/float.h-data: Likewise.
17745 * conform/data/fmtmsg.h-data: Likewise.
17746 * conform/data/fnmatch.h-data: Likewise.
17747 * conform/data/ftw.h-data: Likewise.
17748 * conform/data/glob.h-data: Likewise.
17749 * conform/data/grp.h-data: Likewise.
17750 * conform/data/iconv.h-data: Likewise.
17751 * conform/data/inttypes.h-data: Likewise.
17752 * conform/data/langinfo.h-data: Likewise.
17753 * conform/data/libgen.h-data: Likewise.
17754 * conform/data/limits.h-data: Likewise.
17755 * conform/data/locale.h-data: Likewise.
17756 * conform/data/math.h-data: Likewise.
17757 * conform/data/monetary.h-data: Likewise.
17758 * conform/data/mqueue.h-data: Likewise.
17759 * conform/data/ndbm.h-data: Likewise.
17760 * conform/data/net/if.h-data: Likewise.
17761 * conform/data/netdb.h-data: Likewise.
17762 * conform/data/netinet/in.h-data: Likewise.
17763 * conform/data/nl_types.h-data: Likewise.
17764 * conform/data/poll.h-data: Likewise.
17765 * conform/data/pthread.h-data: Likewise.
17766 * conform/data/pwd.h-data: Likewise.
17767 * conform/data/regex.h-data: Likewise.
17768 * conform/data/sched.h-data: Likewise.
17769 * conform/data/search.h-data: Likewise.
17770 * conform/data/semaphore.h-data: Likewise.
17771 * conform/data/setjmp.h-data: Likewise.
17772 * conform/data/signal.h-data: Likewise.
17773 * conform/data/spawn.h-data: Likewise.
17774 * conform/data/stdarg.h-data: Likewise.
17775 * conform/data/stdio.h-data: Likewise.
17776 * conform/data/stdlib.h-data: Likewise.
17777 * conform/data/string.h-data: Likewise.
17778 * conform/data/strings.h-data: Likewise.
17779 * conform/data/stropts.h-data: Likewise.
17780 * conform/data/sys/ipc.h-data: Likewise.
17781 * conform/data/sys/mman.h-data: Likewise.
17782 * conform/data/sys/msg.h-data: Likewise.
17783 * conform/data/sys/resource.h-data: Likewise.
17784 * conform/data/sys/select.h-data: Likewise.
17785 * conform/data/sys/sem.h-data: Likewise.
17786 * conform/data/sys/shm.h-data: Likewise.
17787 * conform/data/sys/socket.h-data: Likewise.
17788 * conform/data/sys/stat.h-data: Likewise.
17789 * conform/data/sys/statvfs.h-data: Likewise.
17790 * conform/data/sys/time.h-data: Likewise.
17791 * conform/data/sys/timeb.h-data: Likewise.
17792 * conform/data/sys/times.h-data: Likewise.
17793 * conform/data/sys/types.h-data: Likewise.
17794 * conform/data/sys/uio.h-data: Likewise.
17795 * conform/data/sys/un.h-data: Likewise.
17796 * conform/data/sys/utsname.h-data: Likewise.
17797 * conform/data/sys/wait.h-data: Likewise.
17798 * conform/data/syslog.h-data: Likewise.
17799 * conform/data/tar.h-data: Likewise.
17800 * conform/data/termios.h-data: Likewise.
17801 * conform/data/utime.h-data: Likewise.
17802 * conform/data/utmpx.h-data: Likewise.
17803 * conform/data/varargs.h-data: Likewise.
17804 * conform/data/wchar.h-data: Likewise.
17805 * conform/data/wctype.h-data: Likewise.
17806 * conform/data/wordexp.h-data: Likewise.
17807
17808 * include/stropts.h: New file.
17809 * include/uchar.h: New file.
17810 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17811 * include/assert.h: Likewise.
17812 * include/ctype.h: Likewise.
17813 * include/dirent.h: Likewise.
17814 * include/dlfcn.h: Likewise.
17815 * include/fcntl.h: Likewise.
17816 * include/fnmatch.h: Likewise.
17817 * include/glob.h: Likewise.
17818 * include/grp.h: Likewise.
17819 * include/libio.h: Likewise.
17820 * include/locale.h: Likewise.
17821 * include/math.h: Likewise.
17822 * include/net/if.h: Likewise.
17823 * include/netdb.h: Likewise.
17824 * include/netinet/in.h: Likewise.
17825 * include/pthread.h: Likewise.
17826 * include/pwd.h: Likewise.
17827 * include/regex.h: Likewise.
17828 * include/sched.h: Likewise.
17829 * include/search.h: Likewise.
17830 * include/setjmp.h: Likewise.
17831 * include/signal.h: Likewise.
17832 * include/stdio.h: Likewise.
17833 * include/stdlib.h: Likewise.
17834 * include/string.h: Likewise.
17835 * include/sys/cdefs.h: Likewise.
17836 * include/sys/mman.h: Likewise.
17837 * include/sys/msg.h: Likewise.
17838 * include/sys/resource.h: Likewise.
17839 * include/sys/select.h: Likewise.
17840 * include/sys/socket.h: Likewise.
17841 * include/sys/stat.h: Likewise.
17842 * include/sys/statvfs.h: Likewise.
17843 * include/sys/time.h: Likewise.
17844 * include/sys/times.h: Likewise.
17845 * include/sys/uio.h: Likewise.
17846 * include/sys/utsname.h: Likewise.
17847 * include/sys/wait.h: Likewise.
17848 * include/termios.h: Likewise.
17849 * include/time.h: Likewise.
17850 * include/ulimit.h: Likewise.
17851 * include/unistd.h: Likewise.
17852 * include/utime.h: Likewise.
17853 * include/wchar.h: Likewise.
17854 * include/wctype.h: Likewise.
17855 * include/wordexp.h: Likewise.
17856
17857 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17858
7a270350
UD
17859 * time/time.h: TIME_UTC must be a macro.
17860 Make timespec_get available for ISO C11 only as well.
17861
7724defc
UD
178622012-02-24 Ulrich Drepper <drepper@gmail.com>
17863
17864 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17865 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17866
6b1d1d46
JM
178672012-02-24 Joseph Myers <joseph@codesourcery.com>
17868
17869 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17870
0f8bbd69
JM
178712012-02-24 Joseph Myers <joseph@codesourcery.com>
17872
17873 * manual/texinfo.tex: Update to version 2012-01-19.16.
17874
66ab80bc
JM
178752012-02-24 Joseph Myers <joseph@codesourcery.com>
17876
17877 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17878
74981cc5
RM
178792012-02-24 Roland McGrath <roland@hack.frob.com>
17880
ee968201
RM
17881 [BZ #13738]
17882 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17883 * manual/fdl-1.3.texi: New file.
17884 * manual/fdl-1.1.texi: File removed.
17885
74981cc5
RM
17886 [BZ #13738]
17887 * manual/libc.texinfo (FDL_VERSION): New @set.
17888 Use it for mention of FDL in cover text.
17889 (Documentation License): Use it in @include file name.
17890
7bb764bc
JM
178912012-02-22 Joseph Myers <joseph@codesourcery.com>
17892 Roland McGrath <roland@hack.frob.com>
17893
17894 [BZ #5461]
17895 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17896 not LONG_LONG_MAX and LONG_LONG_MIN.
17897 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17898 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17899 name.
17900 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17901
6cbeae47
JM
179022012-02-22 Joseph Myers <joseph@codesourcery.com>
17903
17904 [BZ #2547]
17905 [BZ #11365]
17906 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17907 manipulate bits before adding and subtracting TWO23[sx].
17908 * math/libm-test.inc (nearbyint_test): Add more tests.
17909
fe45ce09
JM
179102012-02-22 Joseph Myers <joseph@codesourcery.com>
17911
17912 [BZ #2548]
17913 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17914 bits before adding and subtracting TWO23[sx].
17915 * math/libm-test.inc (rint_test): Add more tests.
17916 (rint_test_tonearest): Likewise.
17917 (rint_test_towardzero): Likewise.
17918 (rint_test_downward): Likewise.
17919 (rint_test_upward: Likewise.
17920
ff3b3d82
JM
179212012-02-22 Joseph Myers <joseph@codesourcery.com>
17922
17923 [BZ #10110]
17924 * include/stdc-predef.h: New file. Extracted from features.h.
17925 * include/features.h: Include stdc-predef.h.
17926 * Makefile (headers): Add stdc-predef.h.
17927 * CONFORMANCE (Compiler limitations): Update.
17928
ef0aab35
JM
179292012-02-22 Joseph Myers <joseph@codesourcery.com>
17930
17931 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17932
58639409
DM
179332012-02-21 David S. Miller <davem@davemloft.net>
17934
17935 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17937
c0e70b25
DM
179382012-02-20 David S. Miller <davem@davemloft.net>
17939
17940 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17941 using a normal save/restore sequence, rather than allocating a
17942 dummy stack frame just to store a frame pointer and restore.
17943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17944
fb06851d
JM
179452012-02-21 Joseph Myers <joseph@codesourcery.com>
17946
17947 * manual/install.texi: Fix stray word in line-wrapped comment.
17948
7a8b71c3
DM
179492012-02-20 David S. Miller <davem@davemloft.net>
17950
d510c123
DM
17951 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17952 both binutils and gcc support GOTDATA.
17953
0722d7c2
DM
17954 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17955 "rd %pc" in the PIC register setup sequences.
17956
3d2b3019
DM
17957 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17958 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17959 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17960 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17961 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17963 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17966 (SYSCALL_ERROR_HANDLER): Likewise.
17967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17970 (SYSCALL_ERROR_HANDLER): Likewise.
17971
c80098a9
DM
17972 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17973 (HAVE_GCC_GOTDATA): New.
17974 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17975 relocation support in both binutils and gcc.
17976 * sysdeps/sparc/elf/configure: Regenerate.
17977
3a2545a0
DM
17978 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17979 * sysdeps/sparc/sparc32/elf/configure: Delete.
17980 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17981 * sysdeps/sparc/sparc64/elf/configure: Delete.
17982 * sysdeps/sparc/elf/configure.in: New file.
17983 * sysdeps/sparc/elf/configure: Generate.
17984
7a8b71c3
DM
17985 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17986 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17987 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17988 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17989 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17990
f1e86fca
JM
179912012-02-21 Joseph Myers <joseph@codesourcery.com>
17992
17993 * manual/install.texi: Do not mention specific glibc version
17994 numbers.
17995 * manual/libc.texinfo (VERSION, UPDATED): Update.
17996 (@copying): Use @copyright{} and range of years.
17997
0e7dfaef
JM
179982012-02-21 Joseph Myers <joseph@codesourcery.com>
17999
18000 [BZ #13695]
18001 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18002 [crti.S not in sysdirs] (generated): Do not append.
18003 [crti.S not in sysdirs] (omit-deps): Likewise.
18004 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18005 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18006 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18007 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18008 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18009 Likewise.
18010 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18011 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18012 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18013 * csu/defs.awk: Remove file.
18014 * sysdeps/generic/initfini.c: Likewise.
18015 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18016 variable.
18017 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18018 Likewise.
18019
599af3ca
JM
180202012-02-20 Joseph Myers <joseph@codesourcery.com>
18021
18022 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18023 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18024 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18027 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18028 <bits/epoll.h>.
18029 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18030 (__EPOLL_PACKED): Define to empty if not defined by
18031 <bits/epoll.h>.
18032 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18034 bits/epoll.h.
18035
0e499750
JM
180362012-02-20 Joseph Myers <joseph@codesourcery.com>
18037
18038 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18039 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18040 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18041 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18042 <bits/timerfd.h>.
18043 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18045 bits/timerfd.h.
18046
5ad91f6e
JM
180472012-02-20 Joseph Myers <joseph@codesourcery.com>
18048
18049 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18050 in C locale.
18051 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18052 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18055
06b99b02
AJ
180562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18057
18058 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18059 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18060
7638c0fd
AS
180612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18062
18063 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18064 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18065 defined.
18066 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18067 Likewise.
18068 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18069 entry for 2.16.
18070
92221550
AJ
180712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18072
18073 * math/w_acos.c: Use non-signaling floating-point comparisons.
18074 * math/w_acosf.c: Likewise.
18075 * math/w_acosh.c: Likewise.
18076 * math/w_acoshf.c: Likewise.
18077 * math/w_acoshl.c: Likewise.
18078 * math/w_acosl.c: Likewise.
18079 * math/w_asin.c: Likewise.
18080 * math/w_asinf.c: Likewise.
18081 * math/w_asinl.c: Likewise.
18082 * math/w_atanh.c: Likewise.
18083 * math/w_atanhf.c: Likewise.
18084 * math/w_atanhl.c: Likewise.
18085 * math/w_exp2.c: Likewise.
18086 * math/w_exp2f.c: Likewise.
18087 * math/w_exp2l.c: Likewise.
18088 * math/w_j0.c: Likewise.
18089 * math/w_j0f.c: Likewise.
18090 * math/w_j0l.c: Likewise.
18091 * math/w_j1.c: Likewise.
18092 * math/w_j1f.c: Likewise.
18093 * math/w_j1l.c: Likewise.
18094 * math/w_jn.c: Likewise.
18095 * math/w_jnf.c: Likewise.
18096 * math/w_log.c: Likewise.
18097 * math/w_log10.c: Likewise.
18098 * math/w_log10f.c: Likewise.
18099 * math/w_log10l.c: Likewise.
18100 * math/w_log2.c: Likewise.
18101 * math/w_log2f.c: Likewise.
18102 * math/w_log2l.c: Likewise.
18103 * math/w_logf.c: Likewise.
18104 * math/w_logl.c: Likewise.
18105 * math/w_sqrt.c: Likewise.
18106 * math/w_sqrtf.c: Likewise.
18107 * math/w_sqrtl.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18110 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18113
ebaf36eb
JM
181142012-02-19 Joseph Myers <joseph@codesourcery.com>
18115
18116 [BZ #9739]
18117 * manual/string.texi (strnlen): Use correct parameter name in
18118 equivalent expression.
18119
71c254a6
JM
181202012-02-19 Joseph Myers <joseph@codesourcery.com>
18121
18122 [BZ #11174]
18123 * manual/users.texi (seteuid): Consistently use neweuid for
18124 argument name.
18125
16d2c631
JM
181262012-02-19 Joseph Myers <joseph@codesourcery.com>
18127
18128 [BZ #13704]
18129 * manual/nss.texi (Services in the NSS configuration): Correct
18130 list of services in example configuration file.
18131
cd837b09
NB
181322012-02-19 Nick Bowler <nbowler@draconx.ca>
18133
18134 [BZ #11322]
18135 * manual/arith.texi: Remove statements about negative zero
18136 behaving identically to zero.
18137
02c4bbad
JM
181382012-02-18 Joseph Myers <joseph@codesourcery.com>
18139
18140 [BZ #5993]
18141 * manual/install.texi: Do not document upgrading from libc5.
18142
366842e7
JM
181432012-02-18 Joseph Myers <joseph@codesourcery.com>
18144
18145 [BZ #4596]
18146 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18147
dd54084d
DM
181482012-02-18 David S. Miller <davem@davemloft.net>
18149
18150 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18151 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18152 %o7 across the call.
18153 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18154 instead.
18155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18156 SETUP_PIC_REG_LEAF.
18157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18158 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18159 * sysdeps/sparc/crtn.S: Likewise.
18160
2bcc53a3
UD
181612012-02-17 Ulrich Drepper <drepper@gmail.com>
18162
18163 * aout/Makefile: Remove.
18164
09c093b5
RK
181652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18166
18167 [BZ #13058]
18168 * manual/examples/argp-ex1.c (main): Format definition in GNU
18169 style.
18170 * manual/examples/argp-ex2.c (main): Likewise.
18171 * manual/examples/argp-ex3.c (main): Likewise.
18172 * manual/examples/argp-ex4.c (main): Likewise.
18173 * manual/examples/longopt.c (main): Use new-style prototype
18174 definition.
18175 * manual/examples/strncat.c (main): Specify return type and use
18176 (void) for arguments.
18177 * manual/examples/subopt.c (main): Use char **argv argument.
18178
2ee633a2
JM
181792012-02-17 Joseph Myers <joseph@codesourcery.com>
18180
18181 [BZ #5077]
18182 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18183 rounding modes.
18184
0520adde
FB
181852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18186
18187 [BZ #6907]
18188 * manual/string.texi (strchr): Change when strchrnul is
18189 recommended.
18190
3f4081cd
DGM
181912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18192
18193 [BZ #174]
18194 * manual/locale.texi (setlocale): Document LOCPATH.
18195
d1b10e78
JM
181962012-02-17 Joseph Myers <joseph@codesourcery.com>
18197
18198 [BZ #10210]
18199 * manual/process.texi (execle): Move @dots{} before last argument.
18200
79c6869c
PB
182012012-02-17 Paul Bolle <pebolle@tiscali.nl>
18202
18203 [BZ #12047]
18204 * manual/charset.texi (Generic Charset Conversion): Fix typo
18205 (LC_TYPE -> LC_CTYPE).
18206
cc6e48bc
NB
182072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18208
18209 [BZ #5805]
18210 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18211 (scalbnf): Likewise.
18212 (scalbnl): Likewise.
18213 (scalbln): Likewise.
18214 (scalblnf): Likewise.
18215 (scalblnl): Likewise.
18216 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18217 (vwarnx): Likewise.
18218 (verr): Likewise.
18219 (verrx): Likewise.
18220 * manual/filesys.texi (telldir): Use braces around return type.
18221 * manual/llio.texi (mmap): Add space after comma.
18222 (mmap64): Likewise.
18223 * manual/math.texi (jn): Use @var{} on parameter names.
18224 (jnf): Likewise.
18225 (jnl): Likewise.
18226 (yn): Likewise.
18227 (ynf): Likewise.
18228 (ynl): Likewise.
18229 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18230 line.
18231 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18232 "...".
18233 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18234 (sched_get_priority_max): Likewise.
18235 * manual/signal.texi (sigvec): Add space after comma.
18236 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18237 names.
18238 (if_indextoname): Likewise.
18239 (if_freenameindex): Likewise.
18240 (sendto): Use ',' instead of '.' in prototype.
18241 * manual/startup.texi (syscall): Use @dots{} instead of literal
18242 "...".
18243 * manual/stdio.texi (__fpending): Separate initial words of
18244 paragraph from @deftypefun line.
18245 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18246 "...".
18247 (vsyslog): Use @var{} on parameter names.
18248 * manual/terminal.texi (stty): Use @var{} on parameter names.
18249 * manual/users.texi (getutmp): Use @var{} on parameter names.
18250 (getutmpx): Likewise.
18251
5b23062f
JM
182522012-02-17 Joseph Myers <joseph@codesourcery.com>
18253
18254 [BZ #6884]
18255 * manual/stdio.texi (fopen): Fix typos in description of
18256 ",ccs=STRING".
18257
8dee4833
AJ
182582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18259
18260 [BZ #4026]
18261 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18262 get clock_id definition.
18263
9078ce93
TS
182642012-02-17 Thomas Schwinge <thomas@schwinge.name>
18265
18266 [BZ #4822]
18267 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18268 (madvise): Cast every argument to void on its own.
18269
3835c55f
JM
182702012-02-17 Joseph Myers <joseph@codesourcery.com>
18271
18272 [BZ #9902]
18273 * manual/startup.texi (Exit Status): Fix typo.
18274
35c47e37
JM
182752012-02-17 Joseph Myers <joseph@codesourcery.com>
18276
18277 [BZ #10140]
18278 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18279 * manual/examples/argp-ex2.c: Likewise.
18280 * manual/examples/argp-ex3.c: Likewise.
18281
e3b69ca7
RH
182822012-02-16 Richard Henderson <rth@redhat.com>
18283
18284 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18285 * sysdeps/s390/s390-32/initfini.c: Remove.
18286 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18287 * sysdeps/s390/s390-64/initfini.c: Remove.
18288
df83af67
KK
182892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18290
18291 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18292 compiler output for sysdeps/generic/initfini.c.
18293 * sysdeps/sh/elf/initfini.c: Remove file.
18294
f63f3380
DM
182952012-02-16 David S. Miller <davem@davemloft.net>
18296
fb59b3a4
DM
18297 [BZ #11494]
18298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18299
f63f3380
DM
18300 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18301 * sysdeps/sparc/crti.S: New file.
18302 * sysdeps/sparc/crtn.S: New file.
18303 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18304 * sysdeps/sparc/sparc64/Makefile: Likewise.
18305
df6a4a4a
MF
183062012-02-15 Mike Frysinger <vapier@gentoo.org>
18307
6dd8f3dc 18308 [BZ #3335]
df6a4a4a
MF
18309 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18310
1cac7236
RM
183112012-02-15 Roland McGrath <roland@hack.frob.com>
18312
d2c736f8
RM
18313 [BZ #4822]
18314 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18315
1cac7236
RM
18316 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18317 (write, read, close): Likewise.
18318 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18319
8e475601
JM
183202012-02-15 Joseph Myers <joseph@codesourcery.com>
18321
18322 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18323 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18324 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18325 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18326 <bits/signalfd.h>.
18327 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18329 bits/signalfd.h.
18330
ed656b40
MP
183312012-02-14 Marek Polacek <polacek@redhat.com>
18332
18333 * sysdeps/x86_64/crti.S: New file.
18334 * sysdeps/x86_64/crtn.S: New file.
18335 * sysdeps/x86_64/elf/initfini.c: Remove file.
18336
2a979d3a
JM
183372012-02-13 Joseph Myers <joseph@codesourcery.com>
18338
18339 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18340 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18341 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18342 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18343 <bits/inotify.h>.
18344 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18346 bits/inotify.h.
18347
2a418ac3
JM
183482012-02-13 Joseph Myers <joseph@codesourcery.com>
18349
18350 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18351 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18352 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18353 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18354 <bits/eventfd.h>.
18355 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18357 bits/eventfd.h.
18358
fb779be7
TS
183592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18360
e19e83c5
RM
18361 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18362 __feraiseexcept instead of feraiseexcept.
7c35ffed 18363
fb779be7
TS
18364 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18365 nanosleep invocations.
18366 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18367 strings, and add error checking for a nanosleep invocations.
18368
59ba27a6
PE
183692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18370
18371 Replace FSF snail mail address with URLs, as per GNU coding standards.
18372 Most of the snail mail addresses were wrong anyway, and omitting
18373 them makes the source code easier to maintain. Almost all of the
18374 changes are to license notices and to locale LC_IDENTIFICATION
18375 addresses, except for this one:
18376 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18377 not its snail mail address.
18378
57b957eb
RH
183792012-02-09 Richard Henderson <rth@twiddle.net>
18380
af850b1c
RH
18381 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18382 of kernel-features.h.
18383
57b957eb
RH
18384 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18385
6b73181a
MP
183862012-02-08 Marek Polacek <polacek@redhat.com>
18387
18388 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18389 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18390 * sysdeps/gnu/_G_config.h: Likewise.
18391 * sysdeps/generic/_G_config.h: Likewise.
18392
26ecc33a
AS
183932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18394
6c6dbc63
AS
18395 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18396 tests.
18397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18398
e216c012
AS
18399 * sysdeps/powerpc/powerpc32/crti.S: New file.
18400 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18401 * sysdeps/powerpc/powerpc64/crti.S: New file.
18402 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18403
26ecc33a
AS
18404 * Makeconfig (have-initfini): Don't set.
18405 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18406 * configure.in (nopic_initfini): Don't substitute.
18407 * config.h.in (HAVE_INITFINI): Don't #undef.
18408 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18409 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18410
3add8e13
JM
184112012-02-08 Joseph Myers <joseph@codesourcery.com>
18412
18413 Support crti.S and crtn.S provided directly by architectures.
18414 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18415 [crti.S in sysdirs] (omit-deps): Likewise.
18416 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18417 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18418 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18419 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18420 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18421 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18422 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18423 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18424 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18425 compiler output for sysdeps/generic/initfini.c.
18426 * sysdeps/i386/elf/Makefile: Remove file.
18427 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18428
a22f12b4
MP
184292012-02-07 Marek Polacek <polacek@redhat.com>
18430
18431 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18432 * sysdeps/gnu/_G_config.h: Likewise.
18433 * sysdeps/mach/hurd/_G_config.h: Likewise.
18434
148cf100
MP
184352012-02-07 Marek Polacek <polacek@redhat.com>
18436
18437 * math/Makefile (tests): Add tst-CMPLX2.
18438 * math/tst-CMPLX2.c: New file.
18439
cfdc0dd7
AS
184402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18441
84ba42c4
AS
18442 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18443
cfdc0dd7
AS
18444 * math/libm-test.inc (jn_test): Add missing L suffix.
18445
622c86f4
MP
184462012-02-06 Marek Polacek <polacek@redhat.com>
18447
18448 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18449 * sysdeps/i386/fpu/e_powf.S: Likewise.
18450 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18451 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18453 * sysdeps/i386/fpu/e_pow.S: Likewise.
18454 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18456 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18457 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18458 * sysdeps/i386/fpu/e_log2.S: Likewise.
18459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18461 * sysdeps/i386/fpu/e_powl.S: Likewise.
18462 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18463 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18464 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18465 * sysdeps/i386/fpu/e_logl.S: Likewise.
18466 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18467 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18468 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18469 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18472 * sysdeps/i386/fpu/e_log.S: Likewise.
18473 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18474 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18475 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18476 * sysdeps/i386/fpu/e_logf.S: Likewise.
18477 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18479 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18480 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18481 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18482 * sysdeps/i386/fpu/e_log10.S: Likewise.
18483 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18485 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18486 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18488 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18489 * sysdeps/i386/asm-syntax.h: Likewise.
18490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18491 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18493 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18494 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18496 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18497 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18498 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18499 * sysdeps/powerpc/sysdep.h: Likewise.
18500 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18501 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18502
d4a54ac6
JM
185032012-02-06 Joseph Myers <joseph@codesourcery.com>
18504
18505 [BZ #411]
18506 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18507
314054ea
JM
185082012-02-06 Joseph Myers <joseph@codesourcery.com>
18509
18510 * sysdeps/i386/sysdep.h: Include <features.h>.
18511 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18512 version.
18513
d8e0ca50
JM
185142012-02-05 Joseph Myers <joseph@codesourcery.com>
18515
18516 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18517 Define.
18518 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18519 LOAD_PIC_REG_STR.
18520
b1da7dd9
JM
185212012-02-03 Joseph Myers <joseph@codesourcery.com>
18522
18523 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18524 (SETUP_PIC_REG): Use GET_PC_THUNK.
18525 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18526 macro.
18527
9a1d9254
JM
185282012-02-03 Joseph Myers <joseph@codesourcery.com>
18529
18530 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18531 for non-PIC compilation.
18532 (SETUP_PIC_REG): Add .p2align directive.
18533 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18534 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18574
65dc3b75
JM
185752012-02-03 Joseph Myers <joseph@codesourcery.com>
18576
18577 * math/tst-CMPLX.c: Include <stdio.h>.
18578
d55bf177
JM
185792012-01-31 Joseph Myers <joseph@codesourcery.com>
18580
18581 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18582 float.
18583 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18584 * sysdeps/sparc/bits/mathdef.h: Likewise.
18585
69db4f8f
MP
185862012-01-31 Marek Polacek <polacek@redhat.com>
18587
18588 * libio/libio.h: Don't define _PARAMS.
18589 * locale/programs/config.h: Don't define PARAMS.
18590 * stdlib/strtol_l.c: Likewise.
18591 (__strtol_l): Remove PARAMS from the prototype.
18592
41b81892
UD
185932012-01-31 Ulrich Drepper <drepper@gmail.com>
18594
3b49edc0
UD
18595 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18596 names. Just use the correct names. Remove unnecessary wrapper
18597 functions.
18598 * malloc/arena.c: Likewise.
18599 * malloc/hooks.c: Likewise.
18600
41b81892
UD
18601 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18602 ARENA_TEST says not to. Simplify test for creation of a new arena.
18603 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18604
27a25b6e
UD
186052012-01-30 Ulrich Drepper <drepper@gmail.com>
18606
18607 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18608 into tail calls.
18609 (update_get_addr): New function.
18610 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18611 GET_ADDR_MODULE parameter.
18612
c8a89e7d
JM
186132012-01-30 Joseph Myers <joseph@codesourcery.com>
18614
18615 * crypt/cert.c: Remove __STDC__ conditionals.
18616 * crypt/crypt-entry.c: Likewise.
18617 * crypt/crypt_util.c: Likewise.
18618 * libio/filedoalloc.c: Likewise.
18619 * libio/fileops.c: Likewise.
18620 * libio/genops.c: Likewise.
18621 * libio/iofclose.c: Likewise.
18622 * libio/iofdopen.c: Likewise.
18623 * libio/iofopen.c: Likewise.
18624 * libio/iofopen64.c: Likewise.
18625 * libio/iogetdelim.c: Likewise.
18626 * libio/iopopen.c: Likewise.
18627 * libio/obprintf.c: Likewise.
18628 * libio/oldfileops.c: Likewise.
18629 * libio/oldiofclose.c: Likewise.
18630 * libio/oldiofdopen.c: Likewise.
18631 * libio/oldiofopen.c: Likewise.
18632 * libio/oldiopopen.c: Likewise.
18633 * libio/wfiledoalloc.c: Likewise.
18634 * libio/wgenops.c: Likewise.
18635 * locale/programs/xmalloc.c: Likewise.
18636 * misc/syslog.c: Likewise.
18637 * stdio-common/xbug.c: Likewise.
18638 * string/memchr.c: Likewise.
18639 * string/memcmp.c: Likewise.
18640 * string/memrchr.c: Likewise.
18641 * string/rawmemchr.c: Likewise.
18642 * sysdeps/posix/getcwd.c: Likewise.
18643 * time/strftime_l.c: Likewise.
18644
3b100462
JM
186452012-01-30 Joseph Myers <joseph@codesourcery.com>
18646
18647 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18648 * config.make.in (config-cflags-sse2avx): Define.
18649 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18650 Fix typo.
18651
607998af
CM
186522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18653
18654 * scripts/config.guess: Update from upstream config git repository.
18655 * scripts/config.sub: Likewise.
18656
3601428f
CM
186572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18658
3ac8b282
CM
18659 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18660 (EM_NUM): Update.
18661 (R_TILEPRO_*, R_TILEGX_*): New macros.
18662
e034841e
CM
18663 * scripts/firstversions.awk: Fix bug in version range handling.
18664
540d7568
CM
18665 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18666
3601428f
CM
18667 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18668
463de862
CM
18669 * include/sys/epoll.h: New file.
18670 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18671 libc_hidden_def.
18672
73139a76
UD
186732012-01-28 Ulrich Drepper <drepper@gmail.com>
18674
96bc5b45
UD
18675 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18676 Avoid unnecessary __WORDSIZE == 64 test.
18677 (fmaxf): Use VEX format if possible.
18678 (fmax): Likewise.
18679 (fminf): Likewise.
18680 (fmin): Likewise.
18681
56f6f6a2
UD
18682 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18683 * math/math_private.h: Remove libc_fegetround* and
18684 libc_fesetround*.
18685 * sysdeps/i386/configure.in: Check for -msse2avx.
18686 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18687 also if SSE2AVX is defined.
18688 Remove libc_fegetround* and libc_fesetround*.
18689 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18690 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18692 of HAS_YMM_USABLE.
18693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18694 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18696 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18698
73139a76
UD
18699 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18700
d73f93a4
AZ
187012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18702
18703 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18704 size is not set.
18705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18706
6ee65ed6
UD
187072012-01-27 Ulrich Drepper <drepper@gmail.com>
18708
18709 [BZ #13618]
18710 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18711 relocation.
18712 * Makeconfig (libm): Define.
18713 * elf/Makefile: Add rules to build and run tst-relsort1.
18714 * elf/tst-relsort1.c: New file.
18715 * elf/tst-relsort1mod1.c: New file.
18716 * elf/tst-relsort1mod2.c: New file.
18717
8db21882
JM
187182012-01-27 Joseph Myers <joseph@codesourcery.com>
18719
18720 * math/s_ldexp.c: Remove __STDC__ conditionals.
18721 * math/s_ldexpf.c: Likewise.
18722 * math/s_ldexpl.c: Likewise.
18723 * math/s_nextafter.c: Likewise.
18724 * math/s_nexttowardf.c: Likewise.
18725 * math/s_significand.c: Likewise.
18726 * math/s_significandf.c: Likewise.
18727 * math/s_significandl.c: Likewise.
18728 * math/w_jnl.c: Likewise.
18729 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18730 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18731 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18732 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18733 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18757 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18769 * sysdeps/ieee754/k_standard.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18849 * sysdeps/ieee754/s_matherr.c: Likewise.
18850 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18851 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18854
965a54a4
JM
188552012-01-26 Joseph Myers <joseph@codesourcery.com>
18856
18857 * crypt/md5.h: Remove __STDC__ conditionals.
18858 * libio/libioP.h: Likewise.
18859 * locale/programs/config.h: Likewise.
18860 * sysdeps/generic/sysdep.h: Likewise.
18861 * sysdeps/i386/asm-syntax.h: Likewise.
18862 * sysdeps/s390/asm-syntax.h: Likewise.
18863 * sysdeps/unix/sysdep.h: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18866
7071ad79
JM
188672012-01-26 Joseph Myers <joseph@codesourcery.com>
18868
18869 * libio/libio.h: Remove __STDC__ conditionals.
18870 * malloc/obstack.h: Likewise.
18871 * math/complex.h: Likewise.
18872 * math/math.h: Likewise.
18873 * sysdeps/generic/_G_config.h: Likewise.
18874 * sysdeps/gnu/_G_config.h: Likewise.
18875 * sysdeps/mach/hurd/_G_config.h: Likewise.
18876 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18877 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18878 * sysdeps/sparc/bits/mathdef.h: Likewise.
18879
afc5ed09
UD
188802012-01-26 Ulrich Drepper <drepper@gmail.com>
18881
18882 [BZ #13583]
18883 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18884 Clean up HAS_* macros.
afc5ed09 18885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18886 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18887 possible.
18888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18889 HAS_AVX.
18890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18895
bdb6de1d
JM
188962012-01-25 Joseph Myers <joseph@codesourcery.com>
18897
18898 * elf/tst-unique3.cc (gets): Remove declaration.
18899 * elf/tst-unique3lib.cc (gets): Likewise.
18900 * elf/tst-unique3lib2.cc (gets): Likewise.
18901 * elf/tst-unique4.cc (gets): Likewise.
18902
b15549e6
UD
189032012-01-24 Ulrich Drepper <drepper@gmail.com>
18904
18905 * include/stdio.h: Add C++ protection. Add gets declarations and
18906 definitions.
18907 * debug/tst-chk1.c: Don't declare gets here.
18908 * stdio-common/tst-gets.c: Likewise.
18909
a037381f
JM
189102012-01-24 Joseph Myers <joseph@codesourcery.com>
18911
18912 * posix/glob: Remove directory.
18913
f1d4aa75
JM
189142012-01-24 Joseph Myers <joseph@codesourcery.com>
18915
18916 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18917
81c0c964
PT
189182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18919
18920 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18921 of the non-standard EPFNOSUPPORT.
18922
0ea698ae
ST
189232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18924
18925 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18926 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18927 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18928
d220b117
UD
189292012-01-21 Ulrich Drepper <drepper@gmail.com>
18930
18931 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18932
3e1aa84e
UD
189332012-01-20 Ulrich Drepper <drepper@gmail.com>
18934
18935 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18936 transient errors.
18937 * nscd/grpcache.c (cache_addgr): Likewise.
18938 * nscd/hstcache.c (cache_addhst): Likewise.
18939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18940 * nscd/pwdcache.c (cache_addpw): Likewise.
18941 * nscd/servicescache.c (cache_addserv): Likewise.
18942
400aa020
UD
189432012-01-16 Ulrich Drepper <drepper@gmail.com>
18944
d77e7869
UD
18945 * malloc/malloc.c: Various cleanups.
18946 * malloc/hooks.c: Likewise.
18947
400aa020
UD
18948 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18949 * stdlib/bug-fmtmsg1.c: New file.
18950
18951 * stdlib/fmtmsg.c (init): Add missing unlock.
18952 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18953
e0a309cf
MP
189542012-01-12 Marek Polacek <polacek@redhat.com>
18955
18956 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18957 and _GNU_SOURCE.
18958
929d11c7
WS
189592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18960
18961 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18962 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18963 macro to ensure uniqueness of label name.
18964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18966
41d0e869
UD
189672012-01-11 Ulrich Drepper <drepper@gmail.com>
18968
0cc5ed3b
UD
18969 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18970
41d0e869
UD
18971 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18972 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18973 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18975
a47a831a
UD
189762012-01-10 Ulrich Drepper <drepper@gmail.com>
18977
daa891c0
UD
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18979
18980 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18981 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18982 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18983
e58ef0f2
UD
18984 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18985
a47a831a 18986 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18987 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18990
18991 * math/bits/math-finite.h: Add ldexp support.
18992
a0bfc9c7
MP
189932012-01-10 Marek Polacek <polacek@redhat.com>
18994
18995 * locale/programs/localedef.h (show_archive_content): Add noreturn
18996 attribute.
18997
d6e97a1d
UD
189982012-01-09 Ulrich Drepper <drepper@gmail.com>
18999
19000 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19001
d5835c26
UD
190022012-01-08 Ulrich Drepper <drepper@gmail.com>
19003
e5f484c6
UD
19004 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19005
d5835c26
UD
19006 * io/Makefile (headers): Add bits/poll2.h.
19007
d1f741e9
WS
190082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19009
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19011 typo #include statement.
19012
ec09c1c4
UD
190132012-01-08 Ulrich Drepper <drepper@gmail.com>
19014
19015 * include/sys/cdefs.h: Define __attribute_alloc_size.
19016 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19017 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19018 * elf/pldd.c: Likewise.
19019 * iconv/iconv_charmap.c: Likewise.
19020 * iconv/iconvconfig.c: Likewise.
19021 * iconv/strtab.c: Likewise.
19022 * locale/programs/locale.c: Likewise.
19023 * locale/programs/localedef.h: Likewise.
19024 * locale/programs/simple-hash.c: Likewise.
19025 * nscd/nscd.h: Likewise.
19026 * nss/makedb.c: Likewise.
19027 * sysdeps/generic/ldconfig.h: Likewise.
19028 * locale/programs/localedef.c: Remove xmalloc prototype.
19029 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19030
20b38e03
PP
190312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19032
19033 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19034 appropriate.
19035
a0da5fe1
UD
190362012-01-08 Ulrich Drepper <drepper@gmail.com>
19037
1d5a644a 19038 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19039 * math/tst-CMPLX.c: New file.
1d5a644a 19040
8784a6db
UD
19041 * math/complex.h (CMPLXL): Fix typo.
19042
d9a216c0
UD
19043 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19044 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19045 GLIBC_2.16.
19046 * debug/tst-chk1.c: Add poll and ppoll tests.
19047 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19048 * include/sys/poll.h: Add hidden proto for ppoll.
19049 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19050 * sysdeps/mach/hurd/ppoll.c: Likewise.
19051 * io/ppoll.c: Likewise.
19052 * debug/poll_chk.c: New file.
19053 * debug/ppoll_chk.c: New file.
19054 * include/bits/poll2.h: New file.
19055 * io/bits/poll2.h: New file.
19056
ac097f5c
UD
19057 [BZ #1350]
19058 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19059
2119dcfa
UD
19060 * configure.in: static is always set to yes. Remove.
19061 * config.make.in: Don't set build-static.
19062 * Makeconfig: Remove use of build-static.
19063 * dlfcn/Makefile: Likewise.
19064 * elf/Makefile: Likewise.
19065 * math/Makefile: Likewise.
19066 * misc/Makefile: Likewise.
19067 * nptl/Makefile: Likewise.
19068 * sysdeps/mach/hurd/Makefile: Likewise.
19069
121766a9
UD
19070 * configure.in: PWD_P is not used anymore.
19071 * config.make.in: Remove PWD_P entry.
19072
51a1d39c 19073 * configure.in: Remove last remnants of RANLIB.
8720d066 19074 No need to check for signed size_t anymore.
215f4bdc
UD
19075 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19076 and IA-64.
3857022a 19077 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19078 * aclocal.m4: Likewise.
19079
d3ed7225
UD
19080 * wcsmbs/mbrtoc16.c: Implement using towc function.
19081 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19082 * wcsmbs/wcsmbsload.c: Likewise.
19083 * iconv/gconv_simple.c: Likewise.
19084 * iconv/gconv_int.h: Likewise.
19085 * iconv/gconv_builtin.h: Likewise.
19086 * iconv/iconv_prog.c: Remove CHAR16 handling.
19087
19088 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19089
19090 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19091
a0da5fe1
UD
19092 * configure.in: Remove --with-elf and --enable-bounded options.
19093 Dont set base_machine for ia64. More non-ELF conditions removed.
19094 Remove testing and setting of leading underscore information.
19095 * config.make.in (build-bounded): Set to no.
19096 * config.h.in: Remove NO_UNDERSCORES entry.
19097 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19098 them.
19099 * csu/start.c: Remove !NO_UNDERSCORE code.
19100 * locale/localeinfo.h: Likewise.
19101 * sysdeps/generic/machine-gmon.h: Likewise.
19102 * sysdeps/generic/sysdep.h: Likewise.
19103 * sysdeps/i386/sysdep.h: Likewise.
19104 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19105 * sysdeps/mach/sysdep.h: Likewise.
19106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19108 * sysdeps/sh/sysdep.h: Likewise.
19109 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19110 * sysdeps/unix/i386/sysdep.S: Likewise.
19111 * sysdeps/unix/sparc/start.c: Likewise.
19112 * sysdeps/unix/sparc/sysdep.S: Likewise.
19113 * sysdeps/unix/sparc/sysdep.h: Likewise.
19114 * sysdeps/unix/start.c: Likewise.
19115 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19116 * sysdeps/x86_64/sysdep.h: Likewise.
19117
df78418a
UD
191182012-01-07 Ulrich Drepper <drepper@gmail.com>
19119
a784e502
UD
19120 [BZ #13553]
19121 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19122 for non-gcc.
19123 * argp/argp-fmtstream.h: Use const instead __const.
19124 * argp/argp.h: Likewise.
19125 * assert/assert.h: Likewise.
19126 * bits/fenv.h: Likewise.
19127 * bits/sched.h: Likewise.
19128 * bits/sigset.h: Likewise.
19129 * bits/sigthread.h: Likewise.
19130 * catgets/nl_types.h: Likewise.
19131 * conform/data/pthread.h-data: Likewise.
19132 * crypt/crypt-private.h: Likewise.
19133 * crypt/crypt.h: Likewise.
19134 * crypt/crypt_util.c: Likewise.
19135 * ctype/ctype.h: Likewise.
19136 * debug/execinfo.h: Likewise.
19137 * debug/mbsnrtowcs_chk.c: Likewise.
19138 * debug/mbsrtowcs_chk.c: Likewise.
19139 * debug/wcsnrtombs_chk.c: Likewise.
19140 * debug/wcsrtombs_chk.c: Likewise.
19141 * debug/wcstombs_chk.c: Likewise.
19142 * dirent/dirent.h: Likewise.
19143 * dlfcn/dlfcn.h: Likewise.
19144 * elf/neededtest4.c: Likewise.
19145 * grp/grp.h: Likewise.
19146 * gshadow/gshadow.h: Likewise.
19147 * iconv/gconv.h: Likewise.
19148 * iconv/gconv_int.h: Likewise.
19149 * iconv/gconv_simple.c: Likewise.
19150 * iconv/iconv.h: Likewise.
19151 * iconv/loop.c: Likewise.
19152 * iconv/skeleton.c: Likewise.
19153 * include/aio.h: Likewise.
19154 * include/aliases.h: Likewise.
19155 * include/argz.h: Likewise.
19156 * include/arpa/inet.h: Likewise.
19157 * include/assert.h: Likewise.
19158 * include/dirent.h: Likewise.
19159 * include/dlfcn.h: Likewise.
19160 * include/execinfo.h: Likewise.
19161 * include/fcntl.h: Likewise.
19162 * include/fenv.h: Likewise.
19163 * include/glob.h: Likewise.
19164 * include/grp.h: Likewise.
19165 * include/libintl.h: Likewise.
19166 * include/mntent.h: Likewise.
19167 * include/netdb.h: Likewise.
19168 * include/pwd.h: Likewise.
19169 * include/rpc/netdb.h: Likewise.
19170 * include/sched.h: Likewise.
19171 * include/search.h: Likewise.
19172 * include/shadow.h: Likewise.
19173 * include/signal.h: Likewise.
19174 * include/stdio.h: Likewise.
19175 * include/stdlib.h: Likewise.
19176 * include/string.h: Likewise.
19177 * include/sys/socket.h: Likewise.
19178 * include/sys/stat.h: Likewise.
19179 * include/sys/statfs.h: Likewise.
19180 * include/sys/statvfs.h: Likewise.
19181 * include/sys/syslog.h: Likewise.
19182 * include/sys/time.h: Likewise.
19183 * include/sys/uio.h: Likewise.
19184 * include/time.h: Likewise.
19185 * include/unistd.h: Likewise.
19186 * include/utmp.h: Likewise.
19187 * include/wchar.h: Likewise.
19188 * include/wctype.h: Likewise.
19189 * inet/aliases.h: Likewise.
19190 * inet/arpa/inet.h: Likewise.
19191 * inet/netinet/ether.h: Likewise.
19192 * inet/netinet/in.h: Likewise.
19193 * intl/libintl.h: Likewise.
19194 * io/bits/fcntl2.h: Likewise.
19195 * io/fcntl.h: Likewise.
19196 * io/ftw.h: Likewise.
19197 * io/sys/poll.h: Likewise.
19198 * io/sys/stat.h: Likewise.
19199 * io/sys/statfs.h: Likewise.
19200 * io/sys/statvfs.h: Likewise.
19201 * io/utime.h: Likewise.
19202 * libio/bits/stdio.h: Likewise.
19203 * libio/bits/stdio2.h: Likewise.
19204 * libio/libio.h: Likewise.
19205 * libio/libioP.h: Likewise.
19206 * libio/stdio.h: Likewise.
19207 * locale/lc-ctype.c: Likewise.
19208 * locale/locale.h: Likewise.
19209 * login/utmp.h: Likewise.
19210 * malloc/arena.c: Likewise.
19211 * malloc/malloc.c: Likewise.
19212 * malloc/malloc.h: Likewise.
19213 * malloc/mcheck.c: Likewise.
19214 * malloc/mtrace.c: Likewise.
19215 * math/bits/mathcalls.h: Likewise.
19216 * math/fenv.h: Likewise.
19217 * math/math_private.h: Likewise.
19218 * misc/bits/error.h: Likewise.
19219 * misc/bits/syslog.h: Likewise.
19220 * misc/err.h: Likewise.
19221 * misc/error.h: Likewise.
19222 * misc/fstab.h: Likewise.
19223 * misc/mntent.h: Likewise.
19224 * misc/regexp.h: Likewise.
19225 * misc/search.h: Likewise.
19226 * misc/sgtty.h: Likewise.
19227 * misc/sys/mman.h: Likewise.
19228 * misc/sys/syslog.h: Likewise.
19229 * misc/sys/uio.h: Likewise.
19230 * misc/sys/xattr.h: Likewise.
19231 * misc/ttyent.h: Likewise.
19232 * nis/rpcsvc/ypclnt.h: Likewise.
19233 * nss/nss.h: Likewise.
19234 * posix/bits/unistd.h: Likewise.
19235 * posix/fnmatch.h: Likewise.
19236 * posix/glob.h: Likewise.
19237 * posix/sched.h: Likewise.
19238 * posix/spawn.h: Likewise.
19239 * posix/sys/wait.h: Likewise.
19240 * posix/unistd.h: Likewise.
19241 * posix/wordexp.h: Likewise.
19242 * pwd/pwd.h: Likewise.
19243 * resolv/netdb.h: Likewise.
19244 * resource/sys/resource.h: Likewise.
19245 * rt/aio.h: Likewise.
19246 * rt/bits/mqueue2.h: Likewise.
19247 * rt/mqueue.h: Likewise.
19248 * shadow/shadow.h: Likewise.
19249 * signal/signal.h: Likewise.
19250 * socket/send.c: Likewise.
19251 * socket/sendto.c: Likewise.
19252 * socket/sys/socket.h: Likewise.
19253 * stdio-common/printf.h: Likewise.
19254 * stdlib/bits/stdlib.h: Likewise.
19255 * stdlib/fmtmsg.h: Likewise.
19256 * stdlib/monetary.h: Likewise.
19257 * stdlib/stdlib.h: Likewise.
19258 * stdlib/ucontext.h: Likewise.
19259 * streams/stropts.h: Likewise.
19260 * string/argz.h: Likewise.
19261 * string/bits/string2.h: Likewise.
19262 * string/string.h: Likewise.
19263 * string/strings.h: Likewise.
19264 * sunrpc/rpc/auth.h: Likewise.
19265 * sunrpc/rpc/auth_des.h: Likewise.
19266 * sunrpc/rpc/clnt.h: Likewise.
19267 * sunrpc/rpc/netdb.h: Likewise.
19268 * sunrpc/rpc/pmap_clnt.h: Likewise.
19269 * sunrpc/rpc/xdr.h: Likewise.
19270 * sysdeps/generic/inttypes.h: Likewise.
19271 * sysdeps/generic/net/if.h: Likewise.
19272 * sysdeps/generic/sys/swap.h: Likewise.
19273 * sysdeps/gnu/net/if.h: Likewise.
19274 * sysdeps/gnu/utmpx.h: Likewise.
19275 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19276 * sysdeps/i386/i486/bits/string.h: Likewise.
19277 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19278 * sysdeps/s390/bits/string.h: Likewise.
19279 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19280 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19281 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19282 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19283 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19284 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19285 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19286 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19287 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19288 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19289 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19290 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19291 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19292 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19293 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19294 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19301 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19302 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19303 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19304 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19306 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19307 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19309 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19310 * sysvipc/sys/ipc.h: Likewise.
19311 * sysvipc/sys/msg.h: Likewise.
19312 * sysvipc/sys/sem.h: Likewise.
19313 * sysvipc/sys/shm.h: Likewise.
19314 * termios/termios.h: Likewise.
19315 * time/sys/time.h: Likewise.
19316 * time/time.h: Likewise.
19317 * wcsmbs/bits/wchar2.h: Likewise.
19318 * wcsmbs/uchar.h: Likewise.
19319 * wcsmbs/wchar.h: Likewise.
19320 * wctype/wctype.h: Likewise.
19321
0269750c
UD
19322 [BZ #13551]
19323 * Makeconfig: Remove all but ELF support including AIX support.
19324 * Makerules: Likewise.
19325 * config.h.in: Likewise.
19326 * config.make.in: Likewise.
19327 * configure: Likewise.
19328 * configure.in: Likewise.
19329 * csu/Makefile: Likewise.
19330 * csu/version.c: Likewise.
19331 * debug/Makefile: Likewise.
19332 * dlfcn/Makefile: Likewise.
19333 * elf/Makefile: Likewise.
19334 * extra-lib.mk: Likewise.
19335 * iconv/Makefile: Likewise.
19336 * include/libc-symbols.h: Likewise.
19337 * include/shlib-compat.h: Likewise.
19338 * resolv/Makefile: Likewise.
19339 * resolv/res_libc.c: Likewise.
19340 * rt/Makefile: Likewise.
19341 * sysdeps/i386/asm-syntax.h: Likewise.
19342 * sysdeps/i386/sysdep.h: Likewise.
19343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19344 * sysdeps/mach/sysdep.h: Likewise.
19345 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19346 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19347 * sysdeps/s390/asm-syntax.h: Likewise.
19348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19350 * sysdeps/sh/sysdep.h: Likewise.
19351 * sysdeps/unix/sparc/sysdep.h: Likewise.
19352 * sysdeps/wordsize-32/divdi3.c: Likewise.
19353 * sysdeps/x86_64/sysdep.h: Likewise.
19354
00bbd29b
UD
19355 * argp/Versions: Remove _argp_unlock_xxx.
19356
19357 [BZ #13559]
19358 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19359 * abilist/libBrokenLocale.abilist: Likewise.
19360 * abilist/libanl.abilist: Likewise.
19361 * abilist/libc.abilist: Likewise.
19362 * abilist/libcrypt.abilist: Likewise.
19363 * abilist/libdl.abilist: Likewise.
19364 * abilist/libm.abilist: Likewise.
19365 * abilist/libnsl.abilist: Likewise.
19366 * abilist/libpthread.abilist: Likewise.
19367 * abilist/libresolv.abilist: Likewise.
19368 * abilist/librt.abilist: Likewise.
19369 * abilist/libthread_db.abilist: Likewise.
19370 * abilist/libutil.abilist: Likewise.
19371 * abilist/libnss_db.abilist: New file.
19372
19373 * scripts/abilist.awk: Add support for indirect functions.
19374
a2693a0e
UD
19375 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19376
3f05895f
UD
19377 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19378
ecb6fb48
UD
19379 * shlib-versions: Remove entries for ports architectures.
19380
664f8cb9
UD
19381 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19382 files in ports.
19383 * elf/stackguard-macros.h: Remove support for IA-64.
19384 * elf/tst-auditmod1.c: Likewise.
19385 * sysdeps/generic/ldsodefs.h: Likewise.
19386
7ae81d88
UD
19387 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19388 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19389 configure files.
19390
bdeba135
UD
19391 [BZ #13552]
19392 * configure.in: Remove --enable-omitfp support.
19393 * FAQ.in: Adjust.
19394 * config.make.in: Likewise.
19395 * Makeconfig: Likewise.
19396 * manual/install.texi: Likewise.
19397
d75a0a62
UD
19398 In case anyone cares, the IA-64 architecture could move to ports.
19399 * sysdeps/ia64/*: Removed.
19400 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19401 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19402
dcc9756b
UD
19403 [BZ #13555]
19404 * configure.in: Remove entries for unsupported architectures.
19405
d3761ebc 19406 [BZ #13533]
9954432e
UD
19407 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19408 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19409 routines.
19410 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19411 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19412 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19413 fall back to using wcrtomb.
19414 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19415 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19416 renaming.
19417 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19418 * wcsmbs/tst-c16c32-1.c: New file.
19419
19420 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19421 local variable.
19422
c3a87236
UD
19423 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19424
28926a1b
UD
19425 * elf/tst-unique3.cc: Add explicit declaration of gets.
19426 * elf/tst-unique3lib.cc: Likewise.
19427 * elf/tst-unique3lib2.cc: Likewise.
19428 * elf/tst-unique4.cc: Likewise.
19429
df78418a
UD
19430 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19431
8ecd6b2a
JM
194322012-01-06 Joseph Myers <joseph@codesourcery.com>
19433
19434 [BZ #13566]
19435 * assert/assert.h (static_assert): Don't define for C++.
19436 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19437 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19438
9f115170
UD
194392012-01-03 Ulrich Drepper <drepper@gmail.com>
19440
5e0d0300
UD
19441 * iconv/loop.c (single loop): Fix assertion in storing of
19442 remaining bytes.
19443
9f115170
UD
19444 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19445
81fb02b0
UD
194462012-01-01 Ulrich Drepper <drepper@gmail.com>
19447
19448 * posix/getconf.c: Update copyright year.
19449 * nss/getent.c: Likewise.
a316c1f6 19450 * nss/makedb.c: Likewise.
81fb02b0
UD
19451 * iconv/iconvconfig.c: Likewise.
19452 * iconv/iconv_prog.c: Likewise.
19453 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19454 * elf/pldd.c: Likewise.
19455 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19456 * catgets/gencat.c: Likewise.
19457 * csu/version.c: Likewise.
19458 * elf/ldd.bash.in: Likewise.
19459 * elf/sprof.c (print_version): Likewise.
19460 * locale/programs/locale.c: Likewise.
19461 * locale/programs/localedef.c: Likewise.
a316c1f6 19462 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19463 * nscd/nscd.c (print_version): Likewise.
19464 * debug/xtrace.sh: Likewise.
19465 * malloc/memusage.sh: Likewise.
19466 * malloc/mtrace.pl: Likewise.
19467 * debug/catchsegv.sh: Likewise.
19468
2ba92745
JJ
194692011-12-30 Jakub Jelinek <jakub@redhat.com>
19470
19471 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19472 pure attribute.
19473
dadebdae
UD
194742011-12-24 Ulrich Drepper <drepper@gmail.com>
19475
d3761ebc 19476 [BZ #13533]
db6af3eb
UD
19477 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19478 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19479 transformations.
19480 * iconv/gconv_int.h: Likewise.
19481 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19482 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19483 from libc for GLIBC_2.16.
19484 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19485 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19486 * wcsmbs/uchar.h: Really define mbstate_t.
19487 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19488 * wcsmbs/c16rtomb.c: New file.
19489 * wcsmbs/mbrtoc16.c: New file.
19490 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19491 for C/POSIX locale.
19492 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19493 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19494
dadebdae
UD
19495 * wcsmbs/wchar.h: Add missing __restrict.
19496
67371b56
UD
194972011-12-23 Ulrich Drepper <drepper@gmail.com>
19498
74033a25
UD
19499 [BZ #13532]
19500 * time/Makefile (routines): Add timespec_get.
19501 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19502 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19503 timespec for ISO C11.
19504 * time/timespec_get.c: New file.
19505 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19506 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19507
380d7e87
UD
19508 [BZ #13531]
19509 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19510 * stdlib/stdlib.h: Declare aligned_alloc.
19511 * Versions.def: Add GLIBC_2.16 for libc.
19512 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19513
4e9e7a35
UD
19514 [BZ 13527]
19515 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19516 ISO C11.
19517
380d7e87 19518 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19519 code.
19520
03a71829
UD
19521 [BZ #13528]
19522 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19523
839e283e
UD
19524 [BZ #13529]
19525 * assert/assert.h (static_assert): Define.
19526
ce5294e2 19527 * version.h: Update for 2.16 development version.
90fa7312 19528
8d44e150 19529 [BZ #13526]
d7809905
UD
19530 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19531 _ISOC11_SOURCE.
19532
c0da14cd
UD
19533 * version.h (RELEASE): Bump for 2.15 release.
19534 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19535
530a3249
MP
19536 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19537 Patch by Marek Polacek <mpolacek@redhat.com>.
19538
67371b56
UD
19539 * bits/byteswap.h: Protect long long constants with __extension__.
19540 * sysdeps/i386/bits/byteswap.h: Likewise.
19541 * sysdeps/ia64/bits/byteswap.h: Likewise.
19542 * sysdeps/s390/bits/byteswap.h: Likewise.
19543 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19544
15db4de1
LD
195452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19546
19547 [BZ #13540]
bbe315ea
LD
19548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19549 destination buffer.
15db4de1
LD
19550 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19551
2b2596b1
MP
195522011-12-23 Marek Polacek <polacek@redhat.com>
19553
19554 * elf/dl-addr.c (determine_info): Add inline keyword.
19555 * elf/tst-auditmod4b.c (check_avx): Likewise.
19556 * elf/tst-auditmod6b.c (check_avx): Likewise.
19557 * elf/tst-auditmod6c.c (check_avx): Likewise.
19558 * elf/tst-auditmod7b.c (check_avx): Likewise.
19559
70c6c246
UD
195602011-12-23 Ulrich Drepper <drepper@gmail.com>
19561
19562 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19563 !__SSE_MATH__.
19564
c044cf14
LD
195652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19566
15db4de1 19567 [BZ #13540]
c044cf14
LD
19568 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19569 processing for last bytes.
19570
6b13d9d9
BH
195712011-08-06 Bruno Haible <bruno@clisp.org>
19572
d455f537
BH
19573 [BZ #13061]
19574 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19575 U+0385, not to U+1FEE.
19576
6b13d9d9
BH
19577 [BZ #13062]
19578 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19579 entry for U+00A5 U+0301.
19580
db910efd
UD
195812011-12-22 Ulrich Drepper <drepper@gmail.com>
19582
27deeafc
UD
19583 [BZ #13166]
19584 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19585 buffer for the output is too small.
19586
aed9d171
UD
19587 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19588 optimization.
19589
db910efd
UD
19590 [BZ #13185]
19591 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19592 SSE flags if possible.
19593
2bd779ae
LD
195942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19595
e7f9dac3 19596 [BZ #13540]
2bd779ae
LD
19597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19598 processing for last bytes.
19599
154bfc16
JM
196002011-12-22 Joseph Myers <joseph@codesourcery.com>
19601
19602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19603 (syscall-list-default-options, syscall-list-default-condition)
19604 (syscall-list-includes): Define.
19605 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19606 list of ABIs and options and #if conditions for each ABI. Do not
19607 handle common syscalls between ABIs specially.
19608 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19609 Remove.
19610 (syscall-list-variants, syscall-list-32bit-options)
19611 (syscall-list-32bit-condition, syscall-list-64bit-options)
19612 (syscall-list-64bit-condition): Define.
19613 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19614 (syscall-list-variants, syscall-list-32bit-options)
19615 (syscall-list-32bit-condition, syscall-list-64bit-options)
19616 (syscall-list-64bit-condition): Define.
19617 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19618 Remove.
19619 (syscall-list-variants, syscall-list-32bit-options)
19620 (syscall-list-32bit-condition, syscall-list-64bit-options)
19621 (syscall-list-64bit-condition): Define.
19622 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19623 Remove.
19624 (syscall-list-variants, syscall-list-32bit-options)
19625 (syscall-list-32bit-condition, syscall-list-64bit-options)
19626 (syscall-list-64bit-condition): Define.
19627
21eaf3a5
UD
196282011-12-22 Ulrich Drepper <drepper@gmail.com>
19629
16c6f992
UD
19630 * locale/iso-639.def: Add brx entry.
19631
41043168
UD
19632 [BZ #13328]
19633 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19634 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19635
21eaf3a5
UD
19636 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19637 __feraiseexcept_renamed.
19638
e3a851a2
UD
196392011-12-21 Ulrich Drepper <drepper@gmail.com>
19640
4920765e
UD
19641 [BZ #13538]
19642 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19643 EPOLLET with unsigned values.
19644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19646
e3a851a2
UD
19647 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19648 to large cancellation.
19649 * math/s_cacoshf.c: Likewise.
19650 * math/s_cacoshl.c: Likewise.
19651
b27e24b8
RK
196522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19653
19654 [BZ #13305]
aebefeee 19655 [BZ #12786]
b27e24b8
RK
19656 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19657 * math/s_cacoshf.c: Likewise.
19658 * math/s_cacoshl.c: Likewise.
19659
ee190f67
UD
196602011-12-21 Ulrich Drepper <drepper@gmail.com>
19661
19662 [BZ #13439]
19663 * iconv/gconv.h: Define __GCONV_SWAP.
19664 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19665 * iconvdata/utf-16.c: Likewise.
19666 * iconvdata/utf-32.c: Likewise.
19667
707f25df
AS
196682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19669
19670 [BZ #13524]
19671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19672 numerator after shifting it by one limb.
19673
d2daaa1e
RÁE
196742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19675
19676 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19677 under [__USE_EXTERN_INLINES].
19678
a4647e72
UD
196792011-12-17 Ulrich Drepper <drepper@gmail.com>
19680
19681 [BZ #13446]
19682 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19683
f0b264f1
AZ
196842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685
19686 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19687 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19688 optimized code.
19689 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19690 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19691 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19692 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19693 for strncasecmp/strncasecmp_l compilation.
19694 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19695 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19696
8ef4f244
MP
196972011-12-08 Marek Polacek <mpolacek@redhat.com>
19698
19699 [BZ #13484]
19700 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19701 of __asm__.
19702
97ac2654
UD
197032011-12-17 Ulrich Drepper <drepper@gmail.com>
19704
19705 [BZ #13506]
19706 * time/tzfile.c (__tzfile_read): Check values from file header.
19707
91d2a845
WS
197082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19709
19710 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19711 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19712 * powerpc/powerpc32/dl-start.S: Likewise.
19713 * powerpc/powerpc32/elf/start.S: Likewise.
19714 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19715 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19716 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19717 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19718 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19719 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19720 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19721 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19722 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19723 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19724 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19725 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19726 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19727 * powerpc/powerpc32/memset.S: Likewise.
19728 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19729 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19730 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19731 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19732 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19733 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19734 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19735 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19736 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19737 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19738 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19739 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19740 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19741
a1267ba1
AZ
197422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19743
19744 * math/libm-test.inc: Added more nearbyint tests.
19745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19749
ad8ac1bd
RL
197502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19751
19752 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19753 FD_CLOEXEC.
19754
1d3e4b61
UD
197552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19756
19757 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19758 Add wcscpy-ssse3 wcscpy-c.
19759 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19760 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19761 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19762 * sysdeps/x86_64/wcschr.S: New file.
19763 * sysdeps/x86_64/wcsrchr.S: New file.
19764 * string/test-strcmp.c: Remove checking of wcscmp function for
19765 wrong alignments.
19766 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19767 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19768 wcsrchr-sse2 wcsrchr-c.
19769 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19770 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19771 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19772 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19773 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19774 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19775 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19776 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19777 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19778 * wcsmbc/wcschr.c (WCSCHR): New macro.
19779
5b330a2d
UD
197802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19781
19782 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19783 * wcsmbs/test-wcsrchr.c: New file.
19784 * string/test-strrchr.c: Add wcsrchr support.
19785 (WIDE): New macro.
19786 * wcsmbs/test-wcscpy.c: New file.
19787 * string/test-strcpy.c: Add wcscpy support.
19788 (WIDE): New macro.
26428b7c 19789
f039c043
UD
197902011-12-10 Ulrich Drepper <drepper@gmail.com>
19791
19792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19793 the inner loop.
19794
850fb039
AS
197952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19796
19797 [BZ #13472]
19798 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19799
4efbd5cb
UD
198002011-12-04 Ulrich Drepper <drepper@gmail.com>
19801
52ff5dd0 19802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19803 Minor optimizations.
52ff5dd0 19804
4efbd5cb
UD
19805 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19806 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19807 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19808
8a426e12
UD
198092011-12-03 Ulrich Drepper <drepper@gmail.com>
19810
aff2453d
UD
19811 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19812 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19813 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19814 for gcc to avoid warnings.
19815 * inet/Makefile (tests): Add tst-checks.
19816 * inet/tst-checks.c: New file.
19817
19818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19819 warning.
19820
19821 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19822 __wmemcmp_sse2.
19823
19824 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19825 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19826
8a426e12
UD
19827 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19828
9bea3473
UD
198292011-12-02 Ulrich Drepper <drepper@gmail.com>
19830
3a965496
UD
19831 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19832 problem.
19833
9bea3473
UD
19834 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19835
f101631b
UD
198362011-11-29 Joseph Myers <joseph@codesourcery.com>
19837
19838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19839 conditional on GCC version.
19840 (__arch_compare_and_exchange_val_8_acq)
19841 (__arch_compare_and_exchange_val_16_acq)
19842 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19843 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19844 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19845
a98275aa
UD
198462011-12-02 Joseph Myers <joseph@codesourcery.com>
19847
19848 * sysdeps/sh/backtrace.c: New file.
19849
d4cc29a2
AS
198502011-12-02 Andreas Schwab <schwab@redhat.com>
19851
19852 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19853 parenthesis.
19854
6257af2d
AS
198552011-12-01 Andreas Schwab <schwab@redhat.com>
19856
19857 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19858 falling back to utime.
19859
b5f44c1a
AS
198602011-11-30 Andreas Schwab <schwab@redhat.com>
19861
19862 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19863 expectations for float.
19864
f3a6cc0a
AS
198652011-11-29 Andreas Schwab <schwab@redhat.com>
19866
19867 * locale/weight.h (findidx): Add parameter len.
19868 * locale/weightwc.h (findidx): Likewise.
19869 * posix/fnmatch_loop.c (FCT): Adjust caller.
19870 * posix/regcomp.c (build_equiv_class): Likewise.
19871 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19872 * posix/regexec.c (check_node_accept_bytes): Likewise.
19873 * string/strcoll_l.c (STRCOLL): Likewise.
19874 * string/strxfrm_l.c (STRXFRM): Likewise.
19875
9d65ea3a
UD
198762011-11-17 Ulrich Drepper <drepper@gmail.com>
19877
19878 * Makefile.in: Remove CVSOPT handling.
19879 * configure.in: Remove use of AC_REVISION.
19880 * iconvdata/Makefile (distribute): No need to filter out CVS.
19881 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19882 handling.
19883
5583a086
AS
198842011-11-16 Andreas Schwab <schwab@redhat.com>
19885
19886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19887 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19888 [USE_AS_STRNCASECMP_L]: Likewise.
19889 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19890 NO_TLS_DIRECT_SEG_REFS.
19891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19892 Fix argument offsets for non-PIC.
19893 [USE_AS_STRNCASECMP_L]: Likewise.
19894 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19895 NO_TLS_DIRECT_SEG_REFS.
19896
d62a8200
UD
198972011-11-15 Ulrich Drepper <drepper@gmail.com>
19898
9d65ea3a 19899 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19900 O_CLOEXEC.
19901 * locale/loadlocale.c (_nl_load_locale): Likewise.
19902
09f93bd3
AS
199032011-11-15 Andreas Schwab <schwab@redhat.com>
19904
446514f9
AS
19905 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19906 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19908 (SYSCALL_GETTIME): Set errno on error.
19909
09f93bd3
AS
19910 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19911 count references to noai6ai_cached.
19912
312be3f9
UD
199132011-11-15 Ulrich Drepper <drepper@gmail.com>
19914
19915 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19916
19917 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19918 FD_CLOEXEC for /proc/self/maps.
19919
19920 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19921 FD_CLOEXEC for /proc/meminfo.
19922
19923 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19924 gai.conf.
19925
19926 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19927 FD_CLOEXEC for given file.
19928
19929 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19930
19931 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19932 FD_CLOEXEC for /etc/hosts.
19933 (_gethtent): Likewise.
19934
19935 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19936
19937 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19938 cancellation and set FD_CLOEXEC for /etc/netgroup.
19939
19940 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19941 reading /etc/publickey.
19942
19943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19944 allow cancellation when reading /etc/group.
19945
19946 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19947 cancellation.
19948 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19949
19950 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19951 when using data file.
19952
19953 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19954
19955 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19956 (write_nis_obj): Use "c" and "e" in fopen.
19957
19958 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19959
19960 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19961
19962 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19963
19964 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19965
19966 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19967 locale.alias.
19968
19969 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19970
19971 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19972
19973 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19974
19975 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19976 file parsing and set FD_CLOEXEC.
19977
82af0fa8
UD
199782011-11-14 Ulrich Drepper <drepper@gmail.com>
19979
19980 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19981
a5fb313c
AS
199822011-11-14 Andreas Schwab <schwab@redhat.com>
19983
19984 * malloc/arena.c (arena_get2): Don't call reused_arena when
19985 _int_new_arena failed.
19986
6abf3465
UD
199872011-11-14 Ulrich Drepper <drepper@gmail.com>
19988
19989 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19990 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19993 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19995 to compile strcasecmp and strncasecmp.
19996 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19997 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19998
19999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20000
76e3966e
UD
200012011-11-13 Ulrich Drepper <drepper@gmail.com>
20002
20003 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20004 locale-defines.sym to gen-as-const-headers.
20005 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20006 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20008 to compile strcasecmp and strncasecmp.
20009 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20010 strcasecmp_l and strncasecmp_l.
20011 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20012 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20013 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20014 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20015 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20016 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20017 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20018 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20019 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20020 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20021 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20022
ab26144e
UD
200232011-11-12 Ulrich Drepper <drepper@gmail.com>
20024
7edb22ef
UD
20025 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20026 result of SYSDEP_GETTIME_CPU to retval.
20027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20028 parameter list to macro. Remove trailing semicolon. Adjust users.
20029
9694fc44
UD
20030 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20031 variable.
20032
8ad89ef8
UD
20033 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20034 mantissa words.
20035 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20036
0c822ef9
UD
20037 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20038 from unused variable.
20039
874e0564
UD
20040 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20041 DWARF definitions.
20042 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20043 for assembling.
20044
3a2edc79
UD
20045 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20046 over namespaces.
20047
f3c2577f
UD
20048 * sunrpc/rpc_prot.c (rejected): Fix case value.
20049
294ce126
UD
20050 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20051 unsigned long long int to avoid warnings in shift.
20052
5e2b63c6
UD
20053 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20054 of use of trans.
20055 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20056 variable tmp.
20057
e7f4b08e
UD
20058 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20059 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20061
ab26144e
UD
20062 * nis/nis_table.c (nis_list): Use variable of correct type for
20063 result of __follow_path call.
20064
8a6d5255
AZ
200652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20066
20067 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20068 of math functions ceil, trunc, floor, round, and sqrt, when
20069 avaliable on the platform.
20070 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20071 name clash.
20072 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20073 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20074 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20075
aaddc98c
MP
200762011-10-30 Marek Polacek <mpolacek@redhat.com>
20077
20078 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20079 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20080
95b7042b
RM
200812011-11-11 Roland McGrath <roland@hack.frob.com>
20082
20083 * include/unistd.h: Fix __readlink return type.
20084 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20085
57769839
UD
200862011-11-11 Ulrich Drepper <drepper@gmail.com>
20087
20088 * stdlib/ucontext.h: Undo last change for makecontext.
20089
edc5984d
AS
200902011-11-11 Andreas Schwab <schwab@redhat.com>
20091
98591e58
AS
20092 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20093
edc5984d
AS
20094 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20095 * setjmp/setjmp.h: Mark functions as non-leaf.
20096 * setjmp/bits/setjmp2.h: Likewise.
20097 * stdlib/ucontext.h: Likewise.
20098
77cdc054
AS
200992011-11-10 Andreas Schwab <schwab@redhat.com>
20100
20101 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20102 (reused_arena): Don't check arena limit.
20103 (arena_get2): Atomically check arena limit.
20104
fe72eebd
UD
201052011-11-08 Ulrich Drepper <drepper@gmail.com>
20106
5f078c32
UD
20107 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20108 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20109
fe72eebd
UD
20110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20111 instructions.
20112
ae1bc2fa
AS
201132011-11-07 Andreas Schwab <schwab@redhat.com>
20114
7583a88d
AS
20115 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20116 handler when locking.
20117
ae1bc2fa
AS
20118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20119 Fix size of allocated buffer.
20120
10fb0bfa
AS
201212011-11-04 Andreas Schwab <schwab@redhat.com>
20122
998832a4
AS
20123 [BZ #10103]
20124 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20125 declarations for long double functions.
20126 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20127
10fb0bfa
AS
20128 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20129
3d7ba52b
AS
201302011-11-03 Andreas Schwab <schwab@redhat.com>
20131
a9ae54a1
AS
20132 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20133 installed.
20134
3d7ba52b
AS
20135 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20136 is disabled.
20137
bc8db248
ST
201382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20139
20140 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20141
45b96dd6
AS
201422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20143
647776f6
AS
20144 * include/alloca.h (stackinfo_alloca_round): Define.
20145 (extend_alloca): Use it.
20146 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20147 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20148 here.
20149
d91a8b93
AS
20150 * scripts/check-local-headers.sh: Ignore libaudit.h.
20151
45b96dd6
AS
20152 * nscd/Makefile (extra-objs): Make recursively expanded.
20153
432d41ce
UD
201542011-11-01 Ulrich Drepper <drepper@gmail.com>
20155
34372fc6
UD
20156 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20158
fadb59f8
UD
20159 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20160 * posix/tst-rfc3484-2.c: Likewise.
20161 * posix/tst-rfc3484-3.c: Likewise.
20162
78239589
UD
20163 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20164 process_vm_writev.
20165 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20166 process_vm_writev.
20167 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20168 process_vm_writev from libc using GLIBC_2.15 version.
20169
432d41ce
UD
20170 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20171
02f9c6cf
PP
201722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20173
20174 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20175 stack usage.
20176
3a2c0242
UD
201772011-10-31 Ulrich Drepper <drepper@gmail.com>
20178
f4ec4833
UD
20179 [BZ #13367]
20180 * nss/getent.c (initgroups_keys): Show error message in case no group
20181 names are given.
20182
3a2c0242
UD
20183 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20184 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20185 __bump_nl_timestamp.
20186 * nscd/connections (nscd_init): When host database is served open
20187 netlink socket and request notification about configuration changes.
20188 (main_loop_poll): Track netlink file descriptor and bump timestamp
20189 in case data becomes available.
20190 (main_loop_epoll): Likewise.
20191 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20192 (database_pers_head): Add extra_data fileds.
20193 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20194 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20195 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20196 Adjust caller.
20197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20198 in6ai data, call __free_in6ai.
20199 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20200 Add -DHAVE_NETLINK.
20201 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20202 interface information. Reuse previous data if netlink timestamp
20203 is not changed.
20204 (__bump_nl_timestamp): New function.
20205 (__free_in6ai): New function.
20206
636064eb
UD
202072011-10-30 Ulrich Drepper <drepper@gmail.com>
20208
20209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20210 close_not_cancel_no_status here.
20211 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20212
9beb2334
UD
202132011-10-29 Ulrich Drepper <drepper@gmail.com>
20214
6ef76f3b
UD
20215 [BZ #13276]
20216 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20217 return value.
20218
0ffc4f3e 20219 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20220 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20221 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20222
cb95113e
UD
202232011-07-03 Andreas Jaeger <aj@suse.de>
20224
20225 [BZ #10709]
20226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20227 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20228 * math/libm-test.inc (sin_test): Add test case.
20229
a1b560ff
UD
202302011-10-29 Ulrich Drepper <drepper@gmail.com>
20231
c9aaface
UD
20232 [BZ #13337]
20233 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20234 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20235
d272e7f1
UD
20236 * elf/chroot_canon.c (chroot_canon): Cleanups.
20237
1bc33071
UD
20238 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20239
1760874d
TJ
20240 [BZ #13335]
20241 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20242 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20243
51d91b18
UD
20244 * string/test-strchr.c: Make usable for strchrnul testing.
20245 * string/test-strchrnul.c: New file.
20246 * string/Makefile (strop-tests): Add strchrnul.
20247
a1b560ff 20248 * po/it.po: Update from translation team.
b611fb81 20249 * po/es.po: Likewise.
a1b560ff 20250
a5b81e1f
UD
202512011-10-28 Ulrich Drepper <drepper@gmail.com>
20252
fd52bc6d
UD
20253 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20254 the three constants needed as parameters. Drop the others.
20255 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20256 __m128i_strloadu_tolower.
52e4b9eb
UD
20257 Create and initialize variable zero and use it in all the places
20258 where _mm_setzero_si128 was used.
fd52bc6d 20259
a5b81e1f
UD
20260 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20261 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20262 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20263 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20264 anymore.
20265 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20266 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20267 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20268 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20269 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20270 __mpranred, __mptan.
20271 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20272 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20273 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20274 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20275 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20276 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20278 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20280
b4343346
AS
202812011-10-28 Andreas Schwab <schwab@redhat.com>
20282
0c92d8a8
AS
20283 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20284 redefine if SHARED.
20285 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20286
b4343346
AS
20287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20288 wide char related routines to wcsmbs subdir.
20289
3871f58f
AS
202902011-10-27 Andreas Schwab <schwab@redhat.com>
20291
20292 [BZ #13344]
20293 * misc/sys/cdefs.h (__THROWNL): Define.
20294 * posix/unistd.h: Use __THREADNL instead of __THREAD
20295 for memory synchronization functions.
20296
94d44d9f
RM
202972011-10-26 Roland McGrath <roland@hack.frob.com>
20298
21b64b15 20299 [BZ #13349]
94d44d9f
RM
20300 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20301 doesn't exist.
20302 * manual/stdio.texi (Obstack Streams): Node removed.
20303
f6ce9294
AS
203042011-10-26 Andreas Schwab <schwab@redhat.com>
20305
80479147
AS
20306 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20307 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20309
f6ce9294
AS
20310 * math/math_private.h (math_force_eval): Allow non-addressable
20311 arguments.
20312 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20313
618280a1
UD
203142011-10-25 Ulrich Drepper <drepper@gmail.com>
20315
e0016b11
UD
20316 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20317 file is not needed.
20318
20319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20320 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20326 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20327 Add AVX variants.
20328 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20329 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20331 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20332 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20334 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20335 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20337 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20340 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20341 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20347
20348 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20349 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20350
618280a1
UD
20351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20352 place. Use VEX encoding when compiling for AVX.
20353
37822576
AS
203542011-10-25 Andreas Schwab <schwab@redhat.com>
20355
1f1e1947
AS
20356 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20357 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20358
37822576
AS
20359 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20360
31ea014d
UD
203612011-10-25 Ulrich Drepper <drepper@gmail.com>
20362
d7826aa1 20363 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20364 useless if() expression.
d7826aa1
UD
20365 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20375 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20376 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20377 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20378 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20379 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20380 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20383 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20384
31ea014d
UD
20385 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20386
16437fec
AS
203872011-10-25 Andreas Schwab <schwab@redhat.com>
20388
20389 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20390 condition.
20391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20392
31d3cc00
UD
203932011-10-25 Ulrich Drepper <drepper@gmail.com>
20394
20395 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20396 .text section. Avoid duplicate constants.
20397 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20407 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20409 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20412 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20414 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20420 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20421 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20422 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20423 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20442
58985aa9
UD
204432011-10-24 Ulrich Drepper <drepper@gmail.com>
20444
202c9deb
UD
20445 * sysdeps/x86_64/dla.h: Move to ...
20446 * sysdeps/x86_64/fpu/dla.h: ...here.
20447 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20448 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20449
af968f62
UD
20450 * config.make.in: Add have-mfma4 entry.
20451 * configure.in: Substitute libc_cv_cc_fma4.
20452 * math/Makefile (dbl-only-routines): Add sincostab.
20453 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20454 Use __sincostab not sincos.
20455 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20456 name is a macro.
20457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20461 using __copysign.
20462 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20463 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20464 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20465 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20466 and __inv.
20467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20468 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20469 __copysign.
20470 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20471 define aliases when function name is a macro.
20472 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20473 sysdeps/ieee754/dbl-64/sincos.tbl.
20474 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20475 fma4-enabled routines.
20476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20477 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20478 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20479 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20506
58985aa9
UD
20507 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20508 rename.
20509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20517
a201fbcf
AS
205182011-10-24 Andreas Schwab <schwab@redhat.com>
20519
20520 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20521
fc2ee42a
LD
205222011-10-23 Ulrich Drepper <drepper@gmail.com>
20523
bb3129bd
UD
20524 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20525
0275fff8
UD
20526 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20527 prediction.
20528 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20529
2fa2ae85
UD
20530 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20531 Remove unused variable magic_bits.
20532 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20533
fc2ee42a
LD
20534 * string/strnlen.c: Define and use STRNLEN macro.
20535 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20536 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20538 * wcsmbs/wcslen.c: Define and use WCSLEN.
20539 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20540 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20541 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20542 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20543 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20544 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20545 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20546
ce7dd29f
LD
205472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20548
20549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20550 strnlen-sse2-no-bsf.
20551 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20553 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20554 Add strnlen support.
20555 (USE_AS_STRNLEN): New macro.
20556 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20557 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20558 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20559 * sysdeps/x86_64/wcslen.S: New file.
20560
979c70a3
MZ
205612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20562
20563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20564 XMM-moves are used for copying on small sizes.
20565
2d09f82f
LD
205662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20567
20568 * wcsmbs/Makefile (strop-tests): Add wcschr.
20569 * wcsmbs/test-wcschr.c: New file.
20570 * string/test-strchr.c: Update.
20571 Add wcschr support.
20572 (WIDE): New macro.
20573
619fccca
LD
205742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20575
2d09f82f 20576 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20577 * wcsmbs/test-wcslen.c: New file.
20578 * string/test-strlen.c: Update.
20579 Add wcslen support.
20580 (WIDE): New macro.
20581
09f699ea
UD
205822011-10-23 Ulrich Drepper <drepper@gmail.com>
20583
20584 * po/it.po: Update from translation team.
20585
95584d3b
LD
205862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20587
20588 * sysdeps/x86_64/wcscmp.S: Update.
20589 Fix wrong comparison semantics.
20590 wcscmp shall use signed comparison not unsigned.
20591 Don't use substraction to avoid overflow bug.
20592 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20593 * wcsmbc/wcscmp.c: Likewise.
20594 * string/test-strcmp.c: Likewise.
20595 Add new tests to check cases with negative values.
20596
c8b3296b
UD
205972011-10-23 Ulrich Drepper <drepper@gmail.com>
20598
20599 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20600 * sysdeps/x86_64/dla.h: ...here. New file.
20601 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20610
246ad57a
AS
206112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20612
20613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20614 __ynl_finite aliases.
20615
a1a87169
UD
206162011-10-22 Ulrich Drepper <drepper@gmail.com>
20617
0d355eb7
UD
20618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20619
a1a87169
UD
20620 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20621 define DLA_FMA.
20622 [DLA_FMA] (EMULV): Use DLA_FMA.
20623 [DLA_FMA] (MUL12): Use EMULV.
20624 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20625 that are not needed.
20626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20633
ee2aafe0
AS
206342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20635
20636 * math/s_nan.c: Undef __nan.
20637 * math/s_nanf.c: Undef __nanf.
20638 * math/s_nanl.c: Undef __nanl.
20639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20640 "math_private.h".
20641
bc62c2fb
UD
206422011-10-22 Ulrich Drepper <drepper@gmail.com>
20643
77425c63
UD
20644 * math/s_catan.c: Add branch predictions.
20645 * math/s_catanf.c: Likewise.
20646 * math/s_catanh.c: Likewise.
20647 * math/s_catanhf.c: Likewise.
20648 * math/s_catanhl.c: Likewise.
20649 * math/s_catanl.c: Likewise.
20650 * math/s_cexp.c: Likewise.
20651 * math/s_cexpf.c: Likewise.
20652 * math/s_cexpl.c: Likewise.
20653 * math/s_clog.c: Likewise.
20654 * math/s_clog10.c: Likewise.
20655 * math/s_clog10f.c: Likewise.
20656 * math/s_clog10l.c: Likewise.
20657 * math/s_clogf.c: Likewise.
20658 * math/s_clogl.c: Likewise.
20659 * math/s_csqrt.c: Likewise.
20660 * math/s_csqrtf.c: Likewise.
20661 * math/s_csqrtl.c: Likewise.
20662 * math/s_ctanf.c: Likewise.
20663 * math/s_ctanh.c: Likewise.
20664 * math/s_ctanhf.c: Likewise.
20665 * math/s_ctanhl.c: Likewise.
20666 * math/s_ctanl.c: Likewise.
20667
bc62c2fb
UD
20668 * math/math_private.h: Define __nan, __nanf, __nanl.
20669 * math/s_cacosh.c: Include <math_private.h>.
20670 * math/s_cacoshl.c: Likewise.
20671 * math/s_casinh.c: Likewise.
20672 * math/s_casinhf.c: Likewise.
20673 * math/s_casinhl.c: Likewise.
20674 * math/s_ccos.c: Rely entire on ccosh.
20675 * math/s_ccosf.c: Rely entire on ccoshf.
20676 * math/s_ccosl.c: Rely entirely on ccoshl.
20677 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20678 Remove tests for FE_INVALID.
20679 * math/s_ccoshf.c: Likewise.
20680 * math/s_ccoshl.c: Likewise.
20681 * math/s_csin.c: Likewise.
20682 * math/s_csinf.c: Likewise.
20683 * math/s_csinh.c Likewise.
20684 * math/s_csinhf.c: Likewise.
20685 * math/s_csinhl.c: Likewise.
20686 * math/s_csinl.c: Likewise.
20687 * math/s_ctan.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20689 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20691
8ec250a4
UD
206922011-10-21 Ulrich Drepper <drepper@gmail.com>
20693
c196fed8
UD
20694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20695 compilation problems.
20696
8ec250a4
UD
20697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20698 __builtin_expect.
20699
8d4f46c6
UD
207002011-10-20 Ulrich Drepper <drepper@gmail.com>
20701
ed72b654
UD
20702 * sysdeps/i386/configure.in: Test for -mfma4 option.
20703 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20704 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20705 COMMON_CPUID_INDEX_80000001.
20706 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20707 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20708 use it if FMA3 is not supported.
20709 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20710
8d4f46c6
UD
20711 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20712 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20713
d45c60c2
AS
207142011-10-20 Andreas Schwab <schwab@redhat.com>
20715
20716 [BZ #12892]
20717 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20718 it would create a cycle with a link time dependency.
20719
d9a4d2ab
UD
207202011-10-19 Ulrich Drepper <drepper@gmail.com>
20721
855d1560
UD
20722 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20723 instruction.
20724 * string/Makefile (strop-tests): Add rawmemchr.
20725 * string/test-rawmemchr.c: New file.
20726
d9a4d2ab
UD
20727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20729 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20730 when compiling str{,n}casecmp and when AVX is available. Hook up
20731 new optimized code in initializers.
20732
8f3b1ffe
AS
207332011-10-19 Andreas Schwab <schwab@redhat.com>
20734
20735 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20736 __feraiseexcept instead of feraiseexcept.
20737
d38f1dba
UD
207382011-10-18 Ulrich Drepper <drepper@gmail.com>
20739
d9a8d0ab
UD
20740 * math/math_private.h: Define defaults for libc_fetestexcept and
20741 libc_feupdateenv.
20742 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20743 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20744 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20745 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20747 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20748 libc_fetestexcept and libc_feupdateenv.
20749
4855e3dd
UD
20750 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20751 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20752 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20753 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20754 libc_feholdexcept_setround.
20755
581d30e3
UD
20756 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20757 Add s_nearbyint-c and s_nearbyintf-c.
20758 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20759 nearbyintf inlines.
20760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20763 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20764
d38f1dba
UD
20765 * math/math_private.h: Define defaults for libc_fegetround,
20766 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20767 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20768 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20770 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20771 standard functions.
20772 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20773 Remove comments and hacks for old compiler versions.
20774 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20775 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20776 libc_feholdexceptl.
20777
caa6c9d8
AS
207782011-10-18 Andreas Schwab <schwab@redhat.com>
20779
20780 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20781 (__feraiseexcept_renamed): Add __NTH.
20782 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20783 namespace violations.
20784
97c066e6
UD
207852011-10-17 Ulrich Drepper <drepper@gmail.com>
20786
99ce7b04
UD
20787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20788
1004d182
UD
20789 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20790
228a984d
UD
20791 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20792 recently added interfaces.
20793 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20794
c8553a6a
UD
20795 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20796 about macro parameter expansion.
20797
ed22dcf6
UD
20798 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20799 __NO_MATH_INLINES is defined. Cleanups.
20800
20801 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20802 and __floorf is target has SSE4.1.
20803 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20804 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20805 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20806 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20807
b171c137
UD
20808 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20809 name.
20810 (floorf): Likewise.
20811
97c066e6
UD
20812 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20813
629f62ef
AS
208142011-10-17 Andreas Schwab <schwab@redhat.com>
20815
49a43d80
AS
20816 * misc/sys/cdefs.h: Fix last change.
20817
629f62ef
AS
20818 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20819 database lookup.
20820
e453f6cd
UD
208212011-10-16 Ulrich Drepper <drepper@gmail.com>
20822
aa78043a
UD
20823 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20824
ad0f5cad
UD
20825 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20831 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20833 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20834 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20835 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20836 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20837 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20838 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20840 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20841 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20842 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20843 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20844 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20845 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20846 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20847
20848 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20849 ceil, ceilf, floor, floorf.
20850
20851 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20852 Perform IRELATIVE relocations last.
20853
e453f6cd
UD
20854 * elf/do-rel.h: Add another parameter nrelative, replacing the
20855 local variable with the same name. Change name of the function
20856 to end in Rel or Rela (uppercase).
20857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20858 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20859 elf_dynamic_do_##reloc function.
20860
fd5bdc09
UD
208612011-10-15 Ulrich Drepper <drepper@gmail.com>
20862
79b195b5
UD
20863 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20864 is sufficient, at least on modern CPUs.
20865
d4a28569
UD
20866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20867
b61099b5
UD
20868 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20870
bcf01e6d
UD
20871 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20872 __expl_finite.
20873 * math/bits/math-finite.h: Add entries for exp.
20874 * math/e_expl.c: Add __*_finite alias.
20875 * sysdeps/i386/fpu/e_exp.S: Likewise.
20876 * sysdeps/i386/fpu/e_expf.S: Likewise.
20877 * sysdeps/i386/fpu/e_expl.c: Likewise.
20878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20879 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20880 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20883 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20885
ba1a0d59
UD
20886 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20887 is sufficient, at least on modern CPUs.
20888
fd5bdc09
UD
20889 * ctype/ctype-info.c (__ctype_init): Define.
20890 * include/ctype.h (__ctype_init): Declare.
20891 (__ctype_b_loc): The variable is always initialized.
20892 (__ctype_toupper_loc): Likewise.
20893 (__ctype_tolower_loc): Likewise.
20894 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20895 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20896
7872cfb0
AS
208972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20898
b468825a
AS
20899 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20900
7872cfb0
AS
20901 * configure.in: Also look in $cxxmachine/include for C++ system
20902 headers.
20903
be13f7bf
LD
209042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20905
20906 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20907 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20908 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20909 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20911 (USE_AS_WMEMCMP): New macro.
20912 Fixing indents.
20913 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20914 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20915 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20916 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20918 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20919 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20920 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20921 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20922 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20923 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20924 (USE_AS_WMEMCMP): New macro.
20925 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20926 * sysdeps/string/test-memcmp.c: Update.
20927 Fix simple_wmemcmp.
20928 Add new tests.
20929 * wcsmbs/wmemcmp.c: Update.
20930 (WMEMCMP): New macro.
20931 Fix overflow bug.
20932
556a2007
AJ
209332011-10-12 Andreas Jaeger <aj@suse.de>
20934
20935 [BZ #13268]
20936 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20937
538faaa7
UD
209382011-10-15 Ulrich Drepper <drepper@gmail.com>
20939
ab6737ff
UD
20940 * libio/iofwide.c (do_length): Avoid warning.
20941
538faaa7
UD
20942 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20943
396a21b1
UD
209442011-10-14 Ulrich Drepper <drepper@gmail.com>
20945
cdf2901f
UD
20946 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20947
38ad40ce
UD
20948 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20949 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20950 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20951 * sysdeps/i386/i686/fpu/e_log.S: New file.
20952 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20953 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20954
396a21b1
UD
20955 * ctype/ctype.h: Add support for inlined isXXX functions when
20956 compiling C++ code.
20957
6b1f68c9
AS
209582011-10-14 Andreas Schwab <schwab@redhat.com>
20959
349290c0
AS
20960 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20961
6b1f68c9
AS
20962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20963
f2282d42
RM
209642011-10-13 Roland McGrath <roland@hack.frob.com>
20965
20966 [BZ #13291]
20967 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20968
5298ffa8
AS
209692011-10-13 Andreas Schwab <schwab@redhat.com>
20970
714fad23
AS
20971 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20972 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20973 feraiseexcept.
20974
81dcc7fb
AS
20975 * sysdeps/x86_64/memrchr.S: Check for zero size.
20976
5298ffa8
AS
20977 * string/stratcliff.c: Add memrchr tests.
20978
951fbcec
LD
209792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20980
20981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20982 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20983 rawmemchr-sse2 rawmemchr-sse2-bsf.
20984 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20985 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20986 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20987 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20988 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20989 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20990 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20991 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20993 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20994 * string/memrchr.c (MEMRCHR): New macro.
20995
0ac5ae23
UD
209962011-10-12 Ulrich Drepper <drepper@gmail.com>
20997
20998 Add integration with gcc's -ffinite-math-only and optimize wrapper
20999 functions in libm.
21000 * Versions.def: Define GLIBC_2.15 version for libm.
21001 * math/Makefile (headers): Add bits/math-finite.h.
21002 * math/bits/math-finite.h: New file.
21003 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21004 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21005 * math/e_acoshl.c: Add __*_finite alias.
21006 * math/e_acosl.c: Likewise.
21007 * math/e_asinl.c: Likewise.
21008 * math/e_atan2l.c: Likewise.
21009 * math/e_atanhl.c: Likewise.
21010 * math/e_coshl.c: Likewise.
21011 * math/e_exp10.c: Likewise.
21012 * math/e_exp10f.c: Likewise.
21013 * math/e_exp10l.c: Likewise.
21014 * math/e_exp2l.c: Likewise.
21015 * math/e_fmodl.c: Likewise.
21016 * math/e_gammal_r.c: Likewise.
21017 * math/e_hypotl.c: Likewise.
21018 * math/e_j0l.c: Likewise.
21019 * math/e_j1l.c: Likewise.
21020 * math/e_jnl.c: Likewise.
21021 * math/e_lgammal_r.c: Likewise.
21022 * math/e_log10l.c: Likewise.
21023 * math/e_log2l.c: Likewise.
21024 * math/e_logl.c: Likewise.
21025 * math/e_powl.c: Likewise.
21026 * math/e_sinhl.c: Likewise.
21027 * math/e_sqrtl.c: Likewise.
21028 * math/e_scalb.c: Completely rewritten and optimized.
21029 * math/e_scalbf.c: Likewise.
21030 * math/e_scalbl.c: Likewise.
21031 * math/w_acos.c: Likewise.
21032 * math/w_acosf.c: Likewise.
21033 * math/w_acosl.c: Likewise.
21034 * math/w_acosh.c: Likewise.
21035 * math/w_acoshf.c: Likewise.
21036 * math/w_acoshl.c: Likewise.
21037 * math/w_asin.c: Likewise.
21038 * math/w_asinf.c: Likewise.
21039 * math/w_asinl.c: Likewise.
21040 * math/w_atan2.c: Likewise.
21041 * math/w_atan2f.c: Likewise.
21042 * math/w_atan2l.c: Likewise.
21043 * math/w_atanh.c: Likewise.
21044 * math/w_atanhf.c: Likewise.
21045 * math/w_atanhl.c: Likewise.
21046 * math/w_exp10.c: Likewise.
21047 * math/w_exp10f.c: Likewise.
21048 * math/w_exp10l.c: Likewise.
21049 * math/w_fmod.c: Likewise.
21050 * math/w_fmodf.c: Likewise.
21051 * math/w_fmodl.c: Likewise.
21052 * math/w_j0.c: Likewise.
21053 * math/w_j0f.c: Likewise.
21054 * math/w_j0l.c: Likewise.
21055 * math/w_j1.c: Likewise.
21056 * math/w_j1f.c: Likewise.
21057 * math/w_j1l.c: Likewise.
21058 * math/w_jn.c: Likewise.
21059 * math/w_jnf.c: Likewise.
21060 * math/w_log.c: Likewise.
21061 * math/w_logf.c: Likewise.
21062 * math/w_logl.c: Likewise.
21063 * math/w_log10.c: Likewise.
21064 * math/w_log10f.c: Likewise.
21065 * math/w_log10l.c: Likewise.
21066 * math/w_log2.c: Likewise.
21067 * math/w_log2f.c: Likewise.
21068 * math/w_log2l.c: Likewise.
21069 * math/w_pow.c: Likewise.
21070 * math/w_powf.c: Likewise.
21071 * math/w_powl.c: Likewise.
21072 * math/w_remainder.c: Likewise.
21073 * math/w_remainderf.c: Likewise.
21074 * math/w_remainderl.c: Likewise.
21075 * math/w_scalb.c: Likewise.
21076 * math/w_scalbf.c: Likewise.
21077 * math/w_scalbl.c: Likewise.
21078 * math/w_sqrt.c: Likewise.
21079 * math/w_sqrtf.c: Likewise.
21080 * math/w_sqrtl.c: Likewise.
21081 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21082 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21083 used.
21084 * math/math_private.h: Declare __kernel_standard_f.
21085 * math/w_cosh.c: Remove cruft and optimize a bit.
21086 * math/w_coshf.c: Likewise.
21087 * math/w_coshl.c: Likewise.
21088 * math/w_exp2.c: Likewise.
21089 * math/w_exp2f.c: Likewise.
21090 * math/w_exp2l.c: Likewise.
21091 * math/w_hypot.c: Likewise.
21092 * math/w_hypotf.c: Likewise.
21093 * math/w_hypotl.c: Likewise.
21094 * math/w_lgamma.c: Likewise.
21095 * math/w_lgamma_r.c: Likewise.
21096 * math/w_lgammaf.c: Likewise.
21097 * math/w_lgammaf_r.c: Likewise.
21098 * math/w_lgammal.c: Likewise.
21099 * math/w_lgammal_r.c: Likewise.
21100 * math/w_sinh.c: Likewise.
21101 * math/w_sinhf.c: Likewise.
21102 * math/w_sinhl.c: Likewise.
21103 * math/w_tgamma.c: Likewise.
21104 * math/w_tgammaf.c: Likewise.
21105 * math/w_tgammal.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21108 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21109 Minor optimizations. Pretty printing. Remove cruft.
21110 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21111 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21113 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21114 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21115 * sysdeps/i386/fpu/e_asin.S: Likewise.
21116 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21117 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21118 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21119 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21121 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21122 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21123 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21124 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21125 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21126 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21127 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21128 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21129 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21130 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21131 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21132 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21133 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21134 * sysdeps/i386/fpu/e_log.S: Likewise.
21135 * sysdeps/i386/fpu/e_log10.S: Likewise.
21136 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21137 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21138 * sysdeps/i386/fpu/e_log2.S: Likewise.
21139 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21140 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21141 * sysdeps/i386/fpu/e_logf.S: Likewise.
21142 * sysdeps/i386/fpu/e_logl.S: Likewise.
21143 * sysdeps/i386/fpu/e_pow.S: Likewise.
21144 * sysdeps/i386/fpu/e_powf.S: Likewise.
21145 * sysdeps/i386/fpu/e_powl.S: Likewise.
21146 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21147 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21148 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21151 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21152 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21153 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21154 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21179 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21184 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21248 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21250 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21251 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21252 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21253 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21254 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21255 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21256 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21257 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21258 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21259 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21262 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21263 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21264 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21265 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21266 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21267 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21268 (__isnanf): Likewise.
21269 (__isinf_ns): Likewise.
21270 (__isinf_nsf): Likewise.
21271 (__finite): Likewise.
21272 (__finitef): Likewise.
21273 (__ieee754_sqrt): Define as macro.
21274 (__ieee754_sqrtf): Define as macro.
21275 (__ieee754_sqrtl): Define as macro.
21276 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21277 inlined copy.
21278 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21279 __FINITE_MATH_ONLY__ consistent.
21280 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21281
12cc2fcd
AS
212822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21283
a843a204
AS
21284 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21285 of rawmemchr.
21286
12cc2fcd
AS
21287 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21288
c853acd5
UD
212892011-10-09 Ulrich Drepper <drepper@gmail.com>
21290
21291 * po/ja.po: Update from translation team.
21292
c658d255
RM
212932011-10-08 Roland McGrath <roland@hack.frob.com>
21294
110946e4
RM
21295 * locale/programs/locarchive.c (prepare_address_space): New function.
21296 (create_archive, enlarge_archive, open_archive): Use it.
21297
50604220
RM
21298 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21299 inside [SHARED], where it is used.
21300
c658d255
RM
21301 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21302
21303 * nss/getent.c (netgroup_keys): Remove unused variable.
21304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21305
6a621eb7
UD
213062011-10-08 Ulrich Drepper <drepper@gmail.com>
21307
7edb55ce
UD
21308 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21309 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21311 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21312 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21313 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21314 * math/Makefile (libm-calls): Add s_isinf_ns.
21315 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21316 * math/multc3.c: Likewise.
21317 * math/s_casin.c: Likewise.
21318 * math/s_casinf.c: Likewise.
21319 * math/s_casinl.c: Likewise.
21320 * math/s_ccos.c: Likewise.
21321 * math/s_ccosf.c: Likewise.
21322 * math/s_ccosl.c: Likewise.
21323 * math/s_ctan.c: Likewise.
21324 * math/s_ctanf.c: Likewise.
21325 * math/s_ctanh.c: Likewise.
21326 * math/s_ctanhf.c: Likewise.
21327 * math/s_ctanhl.c: Likewise.
21328 * math/s_ctanl.c: Likewise.
21329 * math/w_fmod.c: Likewise.
21330 * math/w_fmodf.c: Likewise.
21331 * math/w_fmodl.c: Likewise.
21332 * math/w_remainder.c: Likewise.
21333 * math/w_remainderf.c: Likewise.
21334 * math/w_remainderl.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21336 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21337 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21339 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21340 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21341 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21342 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21343
187da0ae
UD
21344 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21345 of the number.
21346 * stdio-common/printf_fphex.c: Likewise.
21347 * stdio-common/printf_size.c: Likewise.
21348
9277c064
UD
21349 * math/e_exp10.c: Include math_private.h using <...> not "...".
21350 * math/e_exp10f.c: Likewise.
21351 * math/e_exp10l.c: Likewise.
21352 * math/e_exp2l.c: Likewise.
21353 * math/e_j0l.c: Likewise.
21354 * math/e_j1l.c: Likewise.
21355 * math/e_jnl.c: Likewise.
21356 * math/e_lgammal_r.c: Likewise.
21357 * math/e_rem_pio2l.c: Likewise.
21358 * math/e_scalb.c: Likewise.
21359 * math/e_scalbf.c: Likewise.
21360 * math/e_scalbl.c: Likewise.
21361 * math/k_cosl.c: Likewise.
21362 * math/k_sinl.c: Likewise.
21363 * math/k_tanl.c: Likewise.
21364 * math/s_cacoshf.c: Likewise.
21365 * math/s_catan.c: Likewise.
21366 * math/s_catanf.c: Likewise.
21367 * math/s_catanh.c: Likewise.
21368 * math/s_catanhf.c: Likewise.
21369 * math/s_catanhl.c: Likewise.
21370 * math/s_catanl.c: Likewise.
21371 * math/s_ccosh.c: Likewise.
21372 * math/s_ccoshf.c: Likewise.
21373 * math/s_ccoshl.c: Likewise.
21374 * math/s_cexp.c: Likewise.
21375 * math/s_cexpf.c: Likewise.
21376 * math/s_cexpl.c: Likewise.
21377 * math/s_clog.c: Likewise.
21378 * math/s_clog10.c: Likewise.
21379 * math/s_clog10f.c: Likewise.
21380 * math/s_clog10l.c: Likewise.
21381 * math/s_clogf.c: Likewise.
21382 * math/s_clogl.c: Likewise.
21383 * math/s_csin.c: Likewise.
21384 * math/s_csinf.c: Likewise.
21385 * math/s_csinh.c: Likewise.
21386 * math/s_csinhf.c: Likewise.
21387 * math/s_csinhl.c: Likewise.
21388 * math/s_csinl.c: Likewise.
21389 * math/s_csqrt.c: Likewise.
21390 * math/s_csqrtf.c: Likewise.
21391 * math/s_csqrtl.c: Likewise.
21392 * math/s_ctan.c: Likewise.
21393 * math/s_ctanf.c: Likewise.
21394 * math/s_ctanh.c: Likewise.
21395 * math/s_ctanhf.c: Likewise.
21396 * math/s_ctanhl.c: Likewise.
21397 * math/s_ctanl.c: Likewise.
21398 * math/s_ldexp.c: Likewise.
21399 * math/s_ldexpf.c: Likewise.
21400 * math/s_ldexpl.c: Likewise.
21401 * math/s_significand.c: Likewise.
21402 * math/s_significandf.c: Likewise.
21403 * math/s_significandl.c: Likewise.
21404 * math/w_acos.c: Likewise.
21405 * math/w_acosf.c: Likewise.
21406 * math/w_acosh.c: Likewise.
21407 * math/w_acoshf.c: Likewise.
21408 * math/w_acoshl.c: Likewise.
21409 * math/w_acosl.c: Likewise.
21410 * math/w_asin.c: Likewise.
21411 * math/w_asinf.c: Likewise.
21412 * math/w_asinl.c: Likewise.
21413 * math/w_atan2.c: Likewise.
21414 * math/w_atan2f.c: Likewise.
21415 * math/w_atan2l.c: Likewise.
21416 * math/w_atanh.c: Likewise.
21417 * math/w_atanhf.c: Likewise.
21418 * math/w_atanhl.c: Likewise.
21419 * math/w_cosh.c: Likewise.
21420 * math/w_coshf.c: Likewise.
21421 * math/w_coshl.c: Likewise.
21422 * math/w_dremf.c: Likewise.
21423 * math/w_exp10.c: Likewise.
21424 * math/w_exp10f.c: Likewise.
21425 * math/w_exp10l.c: Likewise.
21426 * math/w_exp2.c: Likewise.
21427 * math/w_exp2f.c: Likewise.
21428 * math/w_fmod.c: Likewise.
21429 * math/w_fmodf.c: Likewise.
21430 * math/w_fmodl.c: Likewise.
21431 * math/w_hypot.c: Likewise.
21432 * math/w_hypotf.c: Likewise.
21433 * math/w_hypotl.c: Likewise.
21434 * math/w_j0.c: Likewise.
21435 * math/w_j0f.c: Likewise.
21436 * math/w_j0l.c: Likewise.
21437 * math/w_j1.c: Likewise.
21438 * math/w_j1f.c: Likewise.
21439 * math/w_j1l.c: Likewise.
21440 * math/w_jn.c: Likewise.
21441 * math/w_jnf.c: Likewise.
21442 * math/w_jnl.c: Likewise.
21443 * math/w_lgamma.c: Likewise.
21444 * math/w_lgamma_r.c: Likewise.
21445 * math/w_lgammaf.c: Likewise.
21446 * math/w_lgammaf_r.c: Likewise.
21447 * math/w_lgammal.c: Likewise.
21448 * math/w_lgammal_r.c: Likewise.
21449 * math/w_log.c: Likewise.
21450 * math/w_log10.c: Likewise.
21451 * math/w_log10f.c: Likewise.
21452 * math/w_log10l.c: Likewise.
21453 * math/w_log2.c: Likewise.
21454 * math/w_log2f.c: Likewise.
21455 * math/w_log2l.c: Likewise.
21456 * math/w_logf.c: Likewise.
21457 * math/w_logl.c: Likewise.
21458 * math/w_pow.c: Likewise.
21459 * math/w_powf.c: Likewise.
21460 * math/w_powl.c: Likewise.
21461 * math/w_remainder.c: Likewise.
21462 * math/w_remainderf.c: Likewise.
21463 * math/w_remainderl.c: Likewise.
21464 * math/w_scalb.c: Likewise.
21465 * math/w_scalbf.c: Likewise.
21466 * math/w_scalbl.c: Likewise.
21467 * math/w_sinh.c: Likewise.
21468 * math/w_sinhf.c: Likewise.
21469 * math/w_sinhl.c: Likewise.
21470 * math/w_sqrt.c: Likewise.
21471 * math/w_sqrtf.c: Likewise.
21472 * math/w_sqrtl.c: Likewise.
21473 * math/w_tgamma.c: Likewise.
21474 * math/w_tgammaf.c: Likewise.
21475 * math/w_tgammal.c: Likewise.
21476
6a621eb7
UD
21477 * po/ja.po: Update from translation team.
21478
bf582445
AJ
214792011-09-29 Andreas Jaeger <aj@suse.de>
21480
f9efbf3a
AJ
21481 [BZ #13179]
21482 * sunrpc/netname.c (netname2host): Fix logic.
21483
bf582445
AJ
21484 [BZ #6779]
21485 [BZ #6783]
21486 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21487 correctly.
21488 * math/w_remainder.c (__remainder): Likewise.
21489 * math/w_remainderf.c (__remainderf): Likewise.
21490 * math/libm-test.inc (remainder_test): Add test cases.
21491
48693bea
AK
214922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21493
21494 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21495 sdiv_qrnnd.
21496
42622229
LD
214972011-10-07 Ulrich Drepper <drepper@gmail.com>
21498
21499 * string/test-memcmp.c: Avoid unncessary #defines.
21500 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21501
093ecf92
LD
215022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21503
21504 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21505 Use new sse2 version for core i3 - i7 as it's faster
21506 than sse42 version.
21507 (bit_Prefer_PMINUB_for_stringop): New.
21508 * sysdeps/x86_64/rawmemchr.S: Update.
21509 Replace with faster SSE2 version.
21510 * sysdeps/x86_64/memrchr.S: New file.
21511 * sysdeps/x86_64/memchr.S: Update.
21512 Replace with faster SSE2 version.
21513
fde56e5c
MP
215142011-09-12 Marek Polacek <mpolacek@redhat.com>
21515
21516 * elf/dl-load.c (lose): Add cast to avoid warning.
21517
21fd49a9
UD
215182011-10-07 Ulrich Drepper <drepper@gmail.com>
21519
5a06e643
UD
21520 * po/ca.po: Update from translation team.
21521
684ae515
UD
21522 * inet/getnetgrent_r.c: Hook up nscd.
21523 * nscd/Makefile (routines): Add nscd_netgroup.
21524 (nscd-modules): Add netgroupcache.
21525 (CFLAGS-netgroupcache.c): Define.
21526 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21527 (cache_search): Add const to second parameter.
21528 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21529 INNETGR.
21530 (dbs): Add netgrdb entry.
21531 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21532 (verify_persistent_db): Handle netgrdb.
21533 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21534 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21535 GETFDNETGR.
21536 (netgroup_response_header): Define.
21537 (innetgroup_response_header): Define.
21538 (datahead): Add netgroup_response_header and innetgroup_response_header
21539 elements.
21540 * nscd/nscd.conf: Add entries for netgroup cache.
21541 * nscd/nscd.h (dbtype): Add netgrdb.
21542 (_PATH_NSCD_NETGROUP_DB): Define.
21543 (netgroup_iov_disabled): Declare.
21544 (xmalloc, xcalloc, xrealloc): Move declarations here.
21545 (cache_search): Adjust prototype.
21546 Add netgroup-related prototypes.
21547 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21548 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21549 (__nscd_innetgr): Declare.
21550 * nscd/selinux.c (perms): Use access_vector_t as element type and
21551 add netgroup-related initializers.
21552 * nscd/netgroupcache.c: New file.
21553 * nscd/nscd_netgroup.c: New file.
21554 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21555 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21556 For four parameters use innetgr.
21557 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21558 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21559 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21560 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21561
21fd49a9
UD
21562 * nscd/connections.c (register_traced_file): Don't register file
21563 for disabled databases.
21564
054c0457
UD
215652011-10-06 Ulrich Drepper <drepper@gmail.com>
21566
32b63198
UD
21567 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21568
054c0457
UD
21569 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21570 from tree and freeing node.
21571
64031225
JO
215722011-09-25 Jiri Olsa <jolsa@redhat.com>
21573
21574 * nss/nsswitch.c (__nss_database_lookup): Handle
21575 nss_parse_service_list out of memory case.
21576
0490345c
JO
215772011-09-15 Jiri Olsa <jolsa@redhat.com>
21578
21579 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21580 out of memory case.
21581
3a62d00d
AS
215822011-10-04 Andreas Schwab <schwab@redhat.com>
21583
21584 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21585 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21586 pass it down.
21587 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21588 elf_machine_rela, elf_machine_lazy_rel.
21589 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21590 (ELF_DYNAMIC_DO_REL): Likewise.
21591 (ELF_DYNAMIC_DO_RELA): Likewise.
21592 (ELF_DYNAMIC_RELOCATE): Likewise.
21593 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21594 to ELF_DYNAMIC_DO_REL.
21595 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21596 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21597 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21598 elf_machine_rela.
21599 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21600 skip_ifunc, don't call ifunc function if non-zero.
21601 (elf_machine_rela): Likewise.
21602 (elf_machine_lazy_rel): Likewise.
21603 (elf_machine_lazy_rela): Likewise.
21604 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21605 (elf_machine_lazy_rel): Likewise.
21606 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21607 Likewise.
21608 (elf_machine_lazy_rel): Likewise.
21609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21610 Likewise.
21611 (elf_machine_lazy_rel): Likewise.
21612 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21613 (elf_machine_lazy_rel): Likewise.
21614 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21615 (elf_machine_lazy_rel): Likewise.
21616 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21617 (elf_machine_lazy_rel): Likewise.
21618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21619 (elf_machine_lazy_rel): Likewise.
21620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21621 (elf_machine_lazy_rel): Likewise.
21622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21623 (elf_machine_lazy_rel): Likewise.
21624
68577918
UD
216252011-09-28 Ulrich Drepper <drepper@gmail.com>
21626
21627 * nss/nss_files/files-init.c (_nss_files_init): Use static
21628 initialization for all the *_traced_file variables.
21629
68822d74
AS
216302011-09-28 Andreas Schwab <schwab@redhat.com>
21631
21632 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21633
2056100b
RM
216342011-09-27 Roland McGrath <roland@hack.frob.com>
21635
21636 [BZ #13226]
21637 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21638
32c76b63
AS
216392011-09-27 Andreas Schwab <schwab@redhat.com>
21640
21641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21642 Reread the line before reparsing it.
21643
bf972c9d
AS
216442011-09-26 Andreas Schwab <schwab@redhat.com>
21645
21646 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21647
e057a1b5
JM
216482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21649 Maxim Kuvyrkov <maxim@codesourcery.com>
21650 Joseph Myers <joseph@codesourcery.com>
21651
21652 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21653 if needed for __stack_chk_guard.
21654
bc7e1c36
RM
216552011-09-19 Roland McGrath <roland@hack.frob.com>
21656
ecb1482f
RM
21657 * sysdeps/posix/spawni.c (script_execute): Always define it.
21658 It will be optimized away if unused.
21659 (maybe_script_execute): New function.
21660 (__spawni): Call it.
21661
bc7e1c36
RM
21662 * Makerules: Don't include tls.make.
21663 (config-tls): Always set to thread.
21664 * tls.make.c: File removed.
21665
1c3b002b
MF
216662011-09-19 Mike Frysinger <vapier@gentoo.org>
21667
21668 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21669 * config.make.in (CPPFLAGS-config): New substituted variable.
21670
2840865d
UD
216712011-09-15 Ulrich Drepper <drepper@gmail.com>
21672
88738eb6
UD
21673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21674
cbf645a6 21675 [BZ #13192]
2840865d
UD
21676 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21677 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21678
b402e91a
RM
216792011-09-15 Roland McGrath <roland@hack.frob.com>
21680
21681 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21682 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21684 (CALL_FAIL): Likewise.
21685 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21686 (CALL_FAIL): Macro removed.
21687 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21688
4c1a1f71
UD
216892011-09-15 Ulrich Drepper <drepper@gmail.com>
21690
21691 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21692 for __FINITE_MATH_ONLY__ == 1.
21693
edc121be
AS
216942011-09-15 Andreas Schwab <schwab@redhat.com>
21695
21696 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21697 __ieee754_sqrt instead of sqrt.
21698 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21699 __ieee754_sqrtf instead of sqrtf.
21700 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21701 __floorf instead of floorf.
21702 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21703 __floorf, __truncf instead of floorf, truncf.
21704
cd205654
UD
217052011-09-14 Ulrich Drepper <drepper@gmail.com>
21706
ee4d0315
UD
21707 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21708
cd205654
UD
21709 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21710 __extern_always_inline.
21711 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21712 32-bit.
21713
48b67d71
AS
217142011-09-14 Andreas Schwab <schwab@redhat.com>
21715
21716 * elf/rtld.c (dl_main): Also relocate in dependency order when
21717 doing symbol dependency testing.
21718
1ae12c75
AS
217192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21720
21721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21722 Always define `refsym'.
21723
995a80df
AS
217242011-09-13 Andreas Schwab <schwab@redhat.com>
21725
e529793b
AS
21726 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21727 (__FD_ELT): Renamed from __FDELT.
21728 * misc/bits/select2.h (__FD_ELT): Likewise.
21729 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21730 __FD_MASK instead of __FDELT, __FDMASK.
21731 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21732 Likewise.
21733 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21734 Likewise.
21735
52d4fef8
AS
21736 * elf/Makefile (gen-ldd): Fix pattern.
21737
995a80df
AS
21738 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21739 (init_tls): Likewise.
21740
8682f8b0
UD
217412011-09-12 Ulrich Drepper <drepper@gmail.com>
21742
21743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21744
de82006d
AS
217452011-09-12 Andreas Schwab <schwab@redhat.com>
21746
a7c8e6a1
AS
21747 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21748 `struct cmsghdr *' instead of `void *'.
21749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21750 Likewise.
21751
0f31fe77
AS
217522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21753
21754 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21755 if non-absolute.
21756 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21757 ldd_rewrite_script.
0f31fe77 21758
32b4c839
UD
217592011-09-11 Ulrich Drepper <drepper@gmail.com>
21760
83cd1420
UD
21761 * configure.in: Remove --with-tls option.
21762 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21763 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21764 out in case it is missing.
21765 * sysdeps/ia64/elf/configure.in: Likewise.
21766 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21767 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21768 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21769 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21770 * sysdeps/sh/elf/configure.in: Likewise.
21771 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21772 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21773 * sysdeps/x86_64/elf/configure.in: Likewise.
21774 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21775 * sysdeps/mach/hurd/tls.h: Likewise.
21776
633f745d
UD
21777 [BZ #13067]
21778 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21779
f318beb8
UD
21780 [BZ #13090]
21781 * configure.in: Fix use of AC_INIT.
21782
32b4c839
UD
21783 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21784
3ce1f295
UD
217852011-09-10 Ulrich Drepper <drepper@gmail.com>
21786
bb016596
UD
21787 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21788 __set_errno.
8e58439c
UD
21789 * malloc/hooks.c: Likewise.
21790
aebae053 21791 [BZ #11929]
02d46fc4
UD
21792 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21793 variables statically.
21794 (narenas): Initialize.
21795 (list_lock): Initialize.
bb016596
UD
21796 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21797 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21798 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21799 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21800 Add initializers to main_arena and mp_.
21801 (malloc_state): Remove pagesize member. Change all users to use
21802 GLRO(dl_pagesize).
21803
21804 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21805 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21806 is always initialized.
21807
22a89187
UD
21808 * malloc/malloc.c: Removed unused configurations and dead code.
21809 * malloc/arena.c: Likewise.
21810 * malloc/hooks.c: Likewise.
02d46fc4 21811 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21812
d063d164
UD
21813 * include/tls.h: Removed. USE___THREAD must always be defined.
21814 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21815 * elf/dl-libc.c: Likewise.
21816 * elf/dl-tsd.c: Likewise.
21817 * include/errno.h: Likewise.
21818 * include/netdb.h: Likewise.
21819 * include/resolv.h: Likewise.
21820 * inet/herrno-loc.c: Likewise.
21821 * inet/herrno.c: Likewise.
21822 * malloc/arena.c: Likewise.
21823 * malloc/hooks.c: Likewise.
21824 * malloc/malloc.c: Likewise.
21825 * resolv/res-state.c: Likewise.
21826 * resolv/res_libc.c: Likewise.
21827 * sysdeps/i386/dl-machine.h: Likewise.
21828 * sysdeps/ia64/dl-machine.h: Likewise.
21829 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21830 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21831 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21832 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21833 * sysdeps/sh/dl-machine.h: Likewise.
21834 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21835 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21836 * sysdeps/unix/i386/sysdep.S: Likewise.
21837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21838 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21843 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21848 * sysdeps/x86_64/dl-machine.h: Likewise.
21849 * tls.make.c: Likewise.
21850
3ce1f295
UD
21851 * configure.in: Remove --with-__thread option. Make tests for
21852 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21853 tls_model attribute fail if no support is available. Remove
21854 USE_IN_LIBIO.
21855 * Makeconfig: Adjust for dropped configure option. All features are
21856 now mandatory.
21857 * Makerules: Likewise.
21858 * Versions.def: Likewise.
21859 * argp/argp-fmtstream.c: Likewise.
21860 * argp/argp-fmtstream.h: Likewise.
21861 * argp/argp-help.c: Likewise.
21862 * assert/assert.c: Likewise.
21863 * config.h.in: Likewise.
21864 * config.make.in: Likewise.
21865 * configure: Likewise.
21866 * configure.in: Likewise.
21867 * csu/Versions: Likewise.
21868 * csu/init.c: Likewise.
21869 * elf/tst-audit2.c: Likewise.
21870 * elf/tst-tls10.c: Likewise.
21871 * elf/tst-tls10.h: Likewise.
21872 * elf/tst-tls11.c: Likewise.
21873 * elf/tst-tls12.c: Likewise.
21874 * elf/tst-tls14.c: Likewise.
21875 * elf/tst-tlsmod11.c: Likewise.
21876 * elf/tst-tlsmod12.c: Likewise.
21877 * elf/tst-tlsmod13.c: Likewise.
21878 * elf/tst-tlsmod13a.c: Likewise.
21879 * elf/tst-tlsmod14a.c: Likewise.
21880 * elf/tst-tlsmod15b.c: Likewise.
21881 * elf/tst-tlsmod16a.c: Likewise.
21882 * elf/tst-tlsmod16b.c: Likewise.
21883 * elf/tst-tlsmod7.c: Likewise.
21884 * elf/tst-tlsmod8.c: Likewise.
21885 * elf/tst-tlsmod9.c: Likewise.
21886 * gmon/gmon.c: Likewise.
21887 * grp/fgetgrent_r.c: Likewise.
21888 * grp/putgrent.c: Likewise.
21889 * hurd/fopenport.c: Likewise.
21890 * include/libc-symbols.h: Likewise.
21891 * include/tls.h: Likewise.
21892 * intl/gettextP.h: Likewise.
21893 * intl/loadinfo.h: Likewise.
21894 * locale/global-locale.c: Likewise.
21895 * locale/localeinfo.h: Likewise.
21896 * mach/devstream.c: Likewise.
21897 * malloc/arena.c: Likewise.
21898 * malloc/set-freeres.c: Likewise.
21899 * misc/err.c: Likewise.
21900 * misc/getttyent.c: Likewise.
21901 * misc/mntent_r.c: Likewise.
21902 * posix/getopt.c: Likewise.
21903 * posix/wordexp.c: Likewise.
21904 * pwd/fgetpwent_r.c: Likewise.
21905 * resolv/Versions: Likewise.
21906 * resolv/res_hconf.c: Likewise.
21907 * shadow/fgetspent_r.c: Likewise.
21908 * shadow/putspent.c: Likewise.
21909 * stdio-common/printf_fphex.c: Likewise.
21910 * stdio-common/tmpfile.c: Likewise.
21911 * stdlib/abort.c: Likewise.
21912 * stdlib/fmtmsg.c: Likewise.
21913 * sunrpc/auth_unix.c: Likewise.
21914 * sunrpc/clnt_perr.c: Likewise.
21915 * sunrpc/clnt_tcp.c: Likewise.
21916 * sunrpc/clnt_udp.c: Likewise.
21917 * sunrpc/clnt_unix.c: Likewise.
21918 * sunrpc/openchild.c: Likewise.
21919 * sunrpc/svc_simple.c: Likewise.
21920 * sunrpc/svc_tcp.c: Likewise.
21921 * sunrpc/svc_udp.c: Likewise.
21922 * sunrpc/svc_unix.c: Likewise.
21923 * sunrpc/xdr.c: Likewise.
21924 * sunrpc/xdr_array.c: Likewise.
21925 * sunrpc/xdr_rec.c: Likewise.
21926 * sunrpc/xdr_ref.c: Likewise.
21927 * sunrpc/xdr_stdio.c: Likewise.
21928
1248c1c4
PB
219292011-09-09 Ulrich Drepper <drepper@gmail.com>
21930
21931 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21932
219332011-07-03 Andreas Jaeger <aj@suse.de>
21934
21935 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21936 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21937 regenerate with gen-libm-tests.pl.
21938
219392010-05-12 Petr Baudis <pasky@suse.cz>
21940
21941 [BZ #11589]
21942 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21943 around j0() zero points by switching to j1().
21944 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21948
f22e1074
UD
219492011-09-09 Ulrich Drepper <drepper@gmail.com>
21950
f19009c1
UD
21951 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21952 instead of 0.
21953 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21954 instead of 0.
f19009c1
UD
21955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21956 Patch in part by Pavel Roskin <proski@gnu.org>.
21957
3f8cc204
UD
21958 [BZ #13138]
21959 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21960 realloc.
21961 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21962 Free memory block if necessary.
21963
f22e1074
UD
21964 [BZ #12847]
21965 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21966 be NULL. Don't lock in this case.
21967
0a2349f9
RM
219682011-09-09 Roland McGrath <roland@hack.frob.com>
21969
21970 * elf/elf.h (ELFOSABI_GNU): New macro.
21971 (ELFOSABI_LINUX): Define to that.
21972
f3cdd467
DZ
219732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21974
21975 * string/strncat.c (strncat): Undef the symbol in case it has been
21976 defined in bits/string.h.
21977
74718d13
UD
219782011-09-09 Ulrich Drepper <drepper@gmail.com>
21979
633e9e0f
UD
21980 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21981
0a2349f9 21982 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21983 link map.
21984
f9924780
AJ
219852011-08-17 Andreas Jaeger <aj@suse.de>
21986
21987 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21988
7f5517aa
PP
219892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21990 Ian Lance Taylor <iant@google.com>
21991
21992 * math/libm-test.inc (lround_test): New testcase.
21993 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21994
762011fe
UD
219952011-09-08 Ulrich Drepper <drepper@gmail.com>
21996
92963737
UD
21997 * Makefile: Remove support for automatic cvs check-ins.
21998 * Makerules: Likewise.
21999 * config.make.in: Likewise.
22000 * configure.in: Likewise.
22001 * intl/Makefile: Likewise.
22002 * locale/Makefile: Likewise.
22003 * po/Makefile: Likewise.
22004 * posix/Makefile: Likewise.
22005 * sysdeps/gnu/Makefile: Likewise.
22006 * sysdeps/mach/hurd/Makefile: Likewise.
22007 * sysdeps/sparc/sparc32/Makefile: Likewise.
22008
b0727fd8
JS
22009 [BZ #13118]
22010 * posix/Makefile (bug-regex32-ENV): Define.
22011 Patch by John Stanley <jpsinthemix@verizon.net>.
22012
a0f33f99
UD
22013 * misc/Makefile (headers): Add bits/select2.h.
22014 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22015 * misc/bits/select2.h: New file.
22016 * include/bits/select2.h: New file.
22017 * debug/Makefile (routines): Add fdelt_chk.
22018 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22019 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22020 FD_ISSET.
22021 * debug/fdelt_chk.c: New file.
22022
762011fe
UD
22023 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22024 * wcsmbs/test-wmemcmp.c: Likewise.
22025 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22026 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22027
220282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22029
22030 * string/Makefile (strop-tests): Add memcmp.
22031 * string/test-wmemcmp.c: New file.
22032 * string/test-memcmp.c: Add wmemcmp support.
22033
7f513ec8
RM
220342011-09-08 Roland McGrath <roland@hack.frob.com>
22035
0442afb4
RM
22036 [BZ #13153]
22037 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22038 2011-07-19 change.
22039
7f513ec8
RM
22040 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22041 garbage value in a __mach_port_mod_refs call in the cases of the
22042 task-self and thread-self ports.
22043
a12b2239
ST
220442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22045
22046 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22047
610f9ab4
AS
220482011-09-08 Andreas Schwab <schwab@redhat.com>
22049
7f513ec8 22050 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22051
48882a1a
LD
220522011-09-07 Ulrich Drepper <drepper@gmail.com>
22053
b49865be
UD
22054 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22055
fdc86bc9
UD
22056 * elf/dl-libc.c (dlerror_run): Pass back error code from
22057 dl_catch_error.
22058
c966526a
UD
22059 [BZ #13123]
22060 * elf/dl-load.c (lose): Free l_origin if it is valid.
22061
48882a1a
LD
22062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22063 names.
22064 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22065 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22069 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22070
77a2a8b4
AZ
220712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072
22073 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22074 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22075 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22076 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22077 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22078 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22079 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22080 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22081 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22082 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22083
24f579d8
AM
220842011-08-15 Alan Modra <amodra@gmail.com>
22085
22086 [BZ #13092]
22087 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22088 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22089 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22090 ppc_mcount to static-only-routines.
22091 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22092 __mcount_internal.
22093 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22094 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22095
3d4837df
UD
220962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22097
22098 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22099 for finite and infinity parameters.
22100
22700377
WS
221012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22102
22103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22104 and add nop instructions for throughput optimization.
22105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22106
5025581e
WS
221072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22108
22109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22110 aligned copy for power7 with vector-scalar instructions.
22111 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22112
08a300c9
L
221132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22116 AVX check.
22117
59178ef9
AS
221182011-09-07 Andreas Schwab <schwab@redhat.com>
22119
22120 [BZ #13144]
22121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22122 last change.
22123
e38ba7ab
UD
221242011-09-07 Ulrich Drepper <drepper@gmail.com>
22125
22126 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22127 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22128 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22129 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22130 clock_gettime.
22131
d53a73ac
UD
221322011-09-06 Ulrich Drepper <drepper@gmail.com>
22133
fc8bffcc
UD
22134 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22135 Forgot to demangle the pointer.
22136
ceaa0c5d
UD
22137 * sysdeps/i386/sysdep.h: Define atom_text_section.
22138 * sysdeps/x86_64/sysdep.h: Likewise.
22139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22140 section with atom_text_section.
22141 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22142 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22143 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22144 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22145 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22146
a77d3c17
UD
22147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22149 already be defined. Change to take two parameters and don't assign
22150 result to variable. Adjust all users.
22151 Define INTERNAL_GETTIME if not already defined.
22152 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22153 call.
22154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22155 HAVE_CLOCK_GETTIME_VSYSCALL.
22156 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22157
d53a73ac
UD
22158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22159 gettimeofday vsyscall, just use time.
22160
a8f84144
AS
221612011-09-06 Andreas Schwab <schwab@redhat.com>
22162
22163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22164 <errno.h>.
22165
ef606249
UD
221662011-09-06 Ulrich Drepper <drepper@gmail.com>
22167
22168 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22169 syscall on x86-64.
22170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22171 syscall.
22172 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22174 syscall if possible.
22175
6585cb60
UD
221762011-09-05 Ulrich Drepper <drepper@gmail.com>
22177
22178 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22179 e_ident. Don't pass to find_mapsXX.
22180 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22181
a5f524e4
LD
221822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22183
22184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22185 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22186 * sysdeps/x86_64/multiarch/strchr.S: Update.
22187 Check bit_slow_BSF bit.
22188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22189 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22190 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22191
554881ef
UD
221922011-09-05 Ulrich Drepper <drepper@gmail.com>
22193
d96de963
UD
22194 [BZ #13134]
22195 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22196 before glibc 2.15.
22197 (tryshell): Define.
22198 (__spawni): Change last parameter to be flag. Test
22199 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22200 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22201 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22202 * posix/spawni.c: Likewise.
22203 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22204 * posix/spawnp.c: Likewise. Change normal version to use
22205 SPAWN_XFLAGS_USE_PATH.
22206 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22207 SPAWN_XFLAGS_TRY_SHELL.
22208
d48e5868
UD
22209 [BZ #13150]
22210 * posix/glob.h: Remove gcc 1.x support.
22211
554881ef
UD
22212 [BZ #13068]
22213 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22214
693fb948
LD
222152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22216
22217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22218 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22219 strrchr-sse2-bsf
22220 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22221 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22222 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22224 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22225 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22226
1b48c537
UD
222272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22228
49d42c37
UD
22229 * sysdeps/x86_64/wcscmp.S: New file.
22230
1b48c537
UD
22231 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22232 wcscmp-c wcscmp-sse2
22233 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22234 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22235 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22236 * wcsmbs/wcscmp.c: Allow renaming.
22237
15c95c5d
DM
222382011-09-05 David S. Miller <davem@davemloft.net>
22239
22240 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22241 stack slot, rather than the struct return pointer slot.
22242 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22243 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22245 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22246
2f0ad8f3
UD
222472011-09-05 Ulrich Drepper <drepper@gmail.com>
22248
d88ae418
UD
22249 * po/ja.po: Update from translation team.
22250
2f0ad8f3
UD
22251 [BZ #13144]
22252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22253 kernel in 64-bit binaries.
22254
5f4318d1
DM
222552011-09-01 David S. Miller <davem@davemloft.net>
22256
22257 * elf/elf.h (HWCAP_SPARC_*): Move to..
22258 * sysdeps/sparc/sysdep.h: this new file and add new values.
22259 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22260 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22261 _DL_HWCAP_COUNT to 24.
22262 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22263 entries.
22264 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22265 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22266 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22268 instead of magic constants.
22269 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22270
3ba57516
DM
222712011-08-31 David S. Miller <davem@davemloft.net>
22272
22273 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22275 Reimplement to do errno handling inline.
22276 (SYSCALL_ERROR_HANDLER): New macro.
22277 (__SYSCALL_STRING): Do not do errno handling in asm.
22278 (__CLONE_SYSCALL_STRING): Delete.
22279 (__INTERNAL_SYSCALL_STRING): Delete.
22280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22281 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22282 (PSEUDO): Reimplement to do errno handling inline.
22283 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22284 (SYSCALL_ERROR_HANDLER): New macro.
22285 (__SYSCALL_STRING): Do not do errno handling in asm.
22286 (__CLONE_SYSCALL_STRING): Delete.
22287 (__INTERNAL_SYSCALL_STRING): Delete.
22288 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22289 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22290 i386.
22291 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22292 (inline_syscall*): Add 'err' argument.
22293 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22294 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22295 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22296 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22297
22298 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22299 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22300
2bc17433
AS
223012011-08-30 Andreas Schwab <schwab@redhat.com>
22302
22303 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22304
fbeb5f4d
JO
223052011-08-29 Jiri Olsa <jolsa@redhat.com>
22306
22307 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22308 directive.
22309
ad69cc26
DM
223102011-08-24 David S. Miller <davem@davemloft.net>
22311
22312 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22313
39dd69df
AS
223142011-08-24 Andreas Schwab <schwab@redhat.com>
22315
22316 * elf/Makefile: Add rules to build and run unload8 test.
22317 * elf/unload8.c: New file.
22318 * elf/unload8mod1.c: New file.
22319 * elf/unload8mod1x.c: New file.
22320 * elf/unload8mod2.c: New file.
22321 * elf/unload8mod3.c: New file.
22322
22323 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22324 it wasn't used.
22325
2c0b250a
DM
223262011-08-23 David S. Miller <davem@davemloft.net>
22327
22328 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22329 subtract stack bias.
22330 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22331 %sp not %fp in calculations.
22332 (_JMPBUF_UNWINDS_ADJ): Likewise.
22333
22044b48
DM
22334 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22335 (aio_suspend): Call it to force an exception region around the
22336 AIO_MISC_WAIT() invocation.
22337
2cae4995
AS
223382011-08-23 Andreas Schwab <schwab@redhat.com>
22339
22340 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22341 backslash.
22342
873a772e
AJ
223432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22344
22345 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22346 protection macro.
22347 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22348 and <dl-machine.h>.
22349 (Elf64_FuncDesc): Remove.
22350
25ad0df1
DM
223512011-08-22 David S. Miller <davem@davemloft.net>
22352
22353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22354 sigaltstack check, add missing cfi directives.
22355 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22356 missing cfi directives, and sigaltstack handling.
22357
e888bcbe
AS
223582011-08-16 Andreas Schwab <schwab@redhat.com>
22359
22360 [BZ #11724]
22361 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22362 object is seen twice.
22363 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22364
22365 * elf/Makefile (distribute): Add tst-initorder2.c.
22366 (tests): Add tst-initorder2.
22367 (modules-names): Add tst-initorder2a tst-initorder2b
22368 tst-initorder2c tst-initorder2d. Add rules to build them.
22369 ($(objpfx)tst-initorder2.out): New rule.
22370 * elf/tst-initorder2.c: New file.
22371 * elf/tst-initorder2.exp: New file.
22372
87162f46
AS
223732011-08-22 Andreas Schwab <schwab@redhat.com>
22374
70538b7f
AS
22375 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22376
f55ffe58
AS
22377 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22378 dependencies back to end of function.
22379
87162f46
AS
22380 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22381 $(elfobjdir)/ld.so.
22382
91b392a4
UD
223832011-08-21 Ulrich Drepper <drepper@gmail.com>
22384
22385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22386 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22388 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22389 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22390 of __vdso_gettimeofday.
22391 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22392 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22393 attribute_hidden.
22394 (_libc_vdso_platform_setup): Remove initialization of
22395 __vdso_gettimeofday and __vdso_time.
22396
5c43483f
UD
223972011-08-20 Ulrich Drepper <drepper@gmail.com>
22398
775a77e7
UD
22399 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22400 and fgetc_unlocked.
22401 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22402 getc_unlocked.
89f447ed 22403
49c74ba9
UD
22404 * elf/dl-open.c (add_to_global): Report additions to the global scope
22405 for LD_DEBUG=scopes.
22406 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22407 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22408
5c43483f
UD
22409 [BZ #13114]
22410 * stdio-common/Makefile (tests): Add bug24.
22411 * stdio-common/bug24.c: New file.
22412
a101b025
AJ
224132011-08-19 Andreas Jaeger <aj@suse.de>
22414
22415 [BZ #13114]
22416 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22417 non-existant file when using close-on-exec mode.
22418
c88f1766
UD
224192011-08-20 Ulrich Drepper <drepper@gmail.com>
22420
0276a718
UD
22421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22422 the very first instruction.
22423
c88f1766
UD
22424 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22425 the CFI state in the end.
22426 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22427 inclusion of dl-trampoline.h.
22428 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22429
51ccffa0
AS
224302011-08-19 Andreas Schwab <schwab@redhat.com>
22431
94d7165f
AS
22432 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22433 expectations for long double.
22434
51ccffa0
AS
22435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22436 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22437
fd708658 224382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22439
22440 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22441 artificual limit depends upon the system page size.
22442
44f0a71e
UD
224432011-08-17 Ulrich Drepper <drepper@gmail.com>
22444
22445 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22446 * resolv/Makefile: Define CFLAGS-libresolv.
22447
8de79a24
AS
224482011-08-17 Andreas Schwab <schwab@redhat.com>
22449
22450 * nss/makedb.c (compute_tables): Make variables used in nested
22451 function static.
22452
27724598
UD
224532011-08-17 Ulrich Drepper <drepper@gmail.com>
22454
c5305d88
UD
22455 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22456 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22457 if buffer was too small.
22458
27724598
UD
22459 * elf/pldd.c (main): Attach to all threads in the process.
22460 Rewrite /proc handling to use *at functions.
22461
076fe015
UD
224622011-08-16 Ulrich Drepper <drepper@gmail.com>
22463
174baab3
UD
22464 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22465 specifies first scope to show.
22466 (dl_open_worker): Update callers. Move printing scope of new
22467 object to before the relocation.
44f0a71e 22468 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22469 * sysdeps/generic/ldsodefs.h: Update declaration.
22470
076fe015
UD
22471 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22472 string for the scope number.
22473
a60df2c3
UD
224742011-08-14 Ulrich Drepper <drepper@gmail.com>
22475
22476 * nscd/servicescache.c (cache_addserv): Make sure written is always
22477 initialized.
22478
5e4287d1
RM
224792011-08-14 Roland McGrath <roland@hack.frob.com>
22480
85ae0589
RM
22481 * sysdeps/i386/i486/bits/atomic.h
22482 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22483 statement expression, so as to suppress "set but not used" warning.
22484 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22485
69f63097
RM
22486 * string/strncat.c (STRNCAT): Use prototype definition.
22487
675456ef
RM
22488 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22489 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22490 -Iprograms here.
22491 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22492 (localedef-modules): Add localedef.
22493 (locale-modules): Add locale.
22494
5e4287d1
RM
22495 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22496 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22497 to avoid a warning.
22498
9c96ff23
DM
224992011-08-14 David S. Miller <davem@davemloft.net>
22500
22501 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22502 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22503
f9ddf089
UD
225042011-08-13 Ulrich Drepper <drepper@gmail.com>
22505
44f0a71e 22506 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22507 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22508 * elf/rtld.c (dl_main): Set l_name of vDSO.
22509 Call _dl_show_scope when DL_DEBUG_SCOPES.
22510 (process_dl_debug): Recognize scopes flag and also set it for all.
22511 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22512 Declare _dl_show_scope.
22513
1dc27704
UD
22514 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22515 (do_dlopen): Pass caller_dlopen to dl_open.
22516 (__libc_dlopen_mode): Initialize caller_dlopen.
22517
f9ddf089
UD
22518 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22519 of libc. Make tolower call locale-independent. Optimize a bit by
22520 using isdigit instead of isalnum.
22521 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22522
9ac533d3
UD
225232011-08-12 Ulrich Drepper <drepper@gmail.com>
22524
22525 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22526 was a dependency or dynamically loaded.
22527
89edf2e9
UD
225282011-08-11 Ulrich Drepper <drepper@gmail.com>
22529
8e999d29
UD
22530 * intl/l10nflist.c: Allow architecture-specific pop function.
22531 * sysdeps/x86_64/l10nflist.c: New file.
22532
89edf2e9
UD
22533 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22534 classification.
22535
14d96785
AS
225362011-08-10 Andreas Schwab <schwab@redhat.com>
22537
22538 * include/dirent.h: Add libc_hidden_proto for scandirat and
22539 scandirat64. Don't declare __scandirat64.
22540 * dirent/scandirat.c: Add libc_hidden_def.
22541 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22542 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22543
6761ac04
DM
225442011-08-10 David S. Miller <davem@davemloft.net>
22545
22546 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22547 enum.
22548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22550 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22551
c55fbd1e
UD
225522011-08-09 Ulrich Drepper <drepper@gmail.com>
22553
22554 * Versions.def [libc]: Add GLIBC_2.15.
22555 * dirent/Makefile (routines): Add scandirat and scandirat64.
22556 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22557 GLIBC_2.15.
22558 * dirent/dirent.h: Declare scandirat and scandirat64.
22559 * dirent/scandirat.c: New file.
22560 * dirent/scandirat64.c: New file.
22561 * sysdeps/wordsize-64/scandirat.c: New file.
22562 * sysdeps/wordsize-64/scandirat64.c: New file.
22563 * dirent/opendir.c: Define opendirat.
22564 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22565 using scandirat.
22566 * dirent/scandir64.c: Adjust for scandir.c change.
22567 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22568 __scandirat64, and __scandir_cancel_handler.
22569 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22570 additional parameter and use openat instead of open (outside of ld.so).
22571 Add new __opendir as wrapper around __opendirat.
22572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22573 here without requiring old scandirat implementation.
22574
879165f2
UD
225752011-08-08 Ulrich Drepper <drepper@gmail.com>
22576
22577 * dirent/scandir.c (cancel_handler): Renamed to
22578 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22579 defined. Adjust users.
22580 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22581 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22582
cb7e923b
UD
225832011-08-04 Ulrich Drepper <drepper@gmail.com>
22584
16292edd
UD
22585 * string/test-string.h (IMPL): Use __STRING to expand name and then
22586 stringify it.
22587
cb7e923b
UD
22588 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22589 of cleanups.
22590
cff82933
LD
225912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22592
22593 * string/Makefile: Update.
22594 (strop-tests): Append strncat.
22595 * string/test-wcscmp.c: New file.
22596 New comprehensive test for wcscmp.
22597 * string/test-strcmp.c: Update.
22598 (WIDE): New define.
22599
9be9bfcc
AS
226002011-07-22 Andreas Schwab <schwab@redhat.com>
22601
22602 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22603 line.
22604
2e96f1c7
AS
226052011-07-26 Andreas Schwab <schwab@redhat.com>
22606
22607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22608 encoding to ACE if AI_IDN.
22609
85188888
JJ
226102011-08-01 Jakub Jelinek <jakub@redhat.com>
22611
22612 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22613 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22614
5fa16e9b
LD
226152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22616
22617 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22618 Fix overflow bug in strncat.
22619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22620
22621 * string/test-strncat.c: Update.
22622 Add new tests for checking overflow bugs.
22623
226242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22625
22626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22627 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22628 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22629 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22631 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22632 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22633 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22634 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22635
22636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22637 (USE_AS_STRCAT): Define.
22638 Add strcat and strncat support.
22639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22640
8c1a459f
AS
226412011-07-25 Andreas Schwab <schwab@redhat.com>
22642
22643 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22644 __n bigger than INT_MAX+1.
22645 (__strncmp_g): Likewise.
22646
bba33c28
UD
226472011-07-23 Ulrich Drepper <drepper@gmail.com>
22648
798be72d
UD
22649 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22650 * libio/stido.h: Likewise.
22651
8accd4dc
UD
22652 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22653 (AF_NFC): Define.
22654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22655 (AF_NFC): Define.
22656
cbff0d96
UD
22657 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22658 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22660 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22662
9191c04a
UD
22663 [BZ #13021]
22664 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22665 installed.
22666
bba33c28
UD
22667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22668 typo.
22669 (_dl_x86_64_save_sse): Likewise.
22670
90f139dd
UD
226712011-07-22 Ulrich Drepper <drepper@gmail.com>
22672
1aae088a
UD
22673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22674 OSXSAVE.
22675 (_dl_x86_64_save_sse): Likewise.
22676
8e2045f5
UD
22677 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22678
90f139dd
UD
22679 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22680
1d002f25
AS
226812011-07-21 Andreas Schwab <schwab@redhat.com>
22682
22683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22684 change.
22685 (_dl_x86_64_save_sse): Use correct AVX check.
22686
21137f89
UD
226872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22688
22689 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22690 bug in strncpy/strncat.
22691 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22692
a65c0b7a
UD
226932011-07-21 Ulrich Drepper <drepper@gmail.com>
22694
22695 * string/tester.c (test_strcat): Add tests for different alignments
22696 of source and destination.
22697 (test_strncat): Likewise.
22698
6986b98a
UD
226992011-07-20 Ulrich Drepper <drepper@gmail.com>
22700
90bb2039
UD
22701 [BZ #12852]
22702 * posix/glob.c (glob): Check passed in values before using them in
22703 expressions to avoid some overflows.
22704 (glob_in_dir): Likewise.
22705
5644ef54
UD
22706 [BZ #13007]
22707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22708 check for AVX enablement so that we don't crash with old kernels and
22709 new hardware.
22710 * elf/tst-audit4.c: Add same checks here.
22711 * elf/tst-audit6.c: Likewise.
22712
22713 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22714
bfc9dc9b
AS
227152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22716
22717 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22718
702e64bb
UD
227192011-07-20 Ulrich Drepper <drepper@gmail.com>
22720
22721 * po/cs.po: Update from translation team.
22722 * po/bg.po: Likewise.
22723
295e904f
MP
227242011-07-12 Marek Polacek <mpolacek@redhat.com>
22725
22726 * misc/sys/cdefs.h: Add support for const attribute.
22727 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22728 to gnu_dev_{major,minor,makedev} functions.
22729
3ff94596
MP
227302011-07-20 Marek Polacek <mpolacek@redhat.com>
22731
22732 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22733
28b59fca
AS
227342011-07-20 Andreas Schwab <schwab@redhat.com>
22735
22736 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22737 strlen results.
22738
19df733e
AK
227392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22740
22741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22742 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22743 register in order to avoid conflicts with the soft frame pointer
22744 being held in r11 when necessary.
22745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22746 (INTERNAL_VSYSCALL_NCS): Likewise.
22747
c8835729
MP
227482011-07-14 Marek Polacek <mpolacek@redhat.com>
22749
22750 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22751 * elf/dl-fini.c (_dl_fini): Adjust caller.
22752 * elf/dl-close.c (_dl_close_worker): Likewise.
22753 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22754
b902330c
MP
227552011-07-15 Marek Polacek <mpolacek@redhat.com>
22756
8991e135
MP
22757 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22758 "aux_cache->nlibs < 0".
22759
b902330c
MP
22760 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22761 in the reload-count case.
22762
99710781
LD
227632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22764
22765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22766 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22767 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22768 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22769 * sysdeps/x86_64/multiarch/strcat.S: New file.
22770 * sysdeps/x86_64/multiarch/strncat.S: New file.
22771 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22772 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22773 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22774 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22775 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22776 (USE_AS_STRCAT): Define.
22777 Add strcat and strncat support.
22778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22779 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22780 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22781 * string/strncat.c: Update.
22782 (USE_AS_STRNCAT): Define.
22783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22784 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22785 and i7.
22786 * sysdeps/x86_64/multiarch/init-arch.h
22787 (bit_Prefer_PMINUB_for_stringop): New.
22788 (index_Prefer_PMINUB_for_stringop): Likewise.
22789 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22790 bit_Prefer_PMINUB_for_stringop.
22791
7dc6bd90
UD
227922011-07-19 Ulrich Drepper <drepper@gmail.com>
22793
22794 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22795 buffer64.
22796 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22797 of casting of buffer.
22798 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22799 buffer32 and buffer64.
22800 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22801 writes instead of casting of buffer.
22802 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22803 buffer32.
22804 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22805 casting of buffer.
22806
e0e72284
AS
228072011-07-19 Andreas Schwab <schwab@redhat.com>
22808
22809 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22810
feb1eb0b
UD
228112011-07-19 Ulrich Drepper <drepper@gmail.com>
22812
22813 * nscd/nscd.c (termination_handler): Don't do anything for a database
22814 if it has not yet been initialized.
22815
298711ff
UD
228162011-07-18 Ulrich Drepper <drepper@gmail.com>
22817
22818 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22819
228202011-07-15 Marek Polacek <mpolacek@redhat.com>
22821
22822 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22823
f9d68389
UD
228242011-07-18 Ulrich Drepper <drepper@gmail.com>
22825
22826 * po/nl.po: Update from translation team.
22827 * po/sv.po: Likewise.
22828
db290cf5
RM
228292011-07-16 Roland McGrath <roland@hack.frob.com>
22830
22831 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22832 now disallowed by GCC.
5c550700 22833
fd5e21c7
RM
22834 * configure.in (use-default-link): Default to yes if a test -shared
22835 link meets our qualifications.
22836 * configure: Regenerated.
22837
5c550700
RM
22838 * config.make.in (output-format): New variable.
22839 * configure.in: Check for ld --print-output-format support.
22840 * configure: Regenerated.
22841 * Makerules ($(common-objpfx)format.lds)
22842 [$(output-format) != unknown]: Just use $(output-format),
22843 instead of the linker-script munging.
22844
9fa2c032
RM
228452011-07-14 Roland McGrath <roland@hack.frob.com>
22846
a6928d51
RM
22847 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22848 of $(common-objpfx)shlib.lds.
22849 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22850
661607b3
RM
22851 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22852 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22853
9fa2c032
RM
22854 * configure.in (-z relro check): Adjust test code to add a large
22855 writable data section after it.
22856 * configure: Regenerated.
22857
defe9061
RM
228582011-07-11 Roland McGrath <roland@hack.frob.com>
22859
22860 * configure.in (-z relro check): Fix test code to make the variable
22861 truly const.
22862 * configure: Regenerated.
22863
319b9ad4
UD
228642011-07-11 Ulrich Drepper <drepper@gmail.com>
22865
22866 * nscd/nscd.h (struct traced_file): Define.
22867 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22868 elements. Add traced_files.
22869 (inotify_fd): Declare.
22870 (register_traced_file): Declare.
22871 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22872 (inotify_fd): Export.
22873 (resolv_conf_descr): Remove.
22874 (nscd_init): Move inotify descriptor creation to main.
22875 Don't register files for notification here.
22876 (register_traced_file): New function.
22877 (invalidate_cache): Don't use reset_res to determine whether to call
22878 res_init, go through the list of registered files.
22879 (main_loop_poll): The inotify descriptors are now stored in the
22880 structures for the traced files.
22881 (main_loop_epoll): Likewise
22882 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22883 to __nss_disable_nscd.
22884 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22885 for a database anymore. Check the records for all the registered
22886 files instead.
22887 * nss/Makefile (libnss_files-routines): Add files-init.
22888 (libnss_db-routines): Add db-init.
22889 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22890 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22891 * nss/nss_db/db-init.c: New file.
22892 * nss/nss_files/files-init.c: New file.
22893 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22894 __nss_lookup_function.
22895 (__nss_lookup_function): Call nss_load_library.
22896 (nss_load_all_libraries): New function.
22897 (__nss_disable_nscd): Take parameter with callback function for files
22898 to register. Set is_nscd. Load all the DSOs for the NSS modules
22899 used for the cached services.
22900 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22901 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22902 options for features to all the files in nscd.
22903
22904 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22905
23bee3e8
RM
229062011-07-10 Roland McGrath <roland@hack.frob.com>
22907
22908 * csu/elf-init.c (__libc_csu_init): Comment typo.
22909
46a5b7f0
UD
229102011-07-09 Ulrich Drepper <drepper@gmail.com>
22911
22912 * po/pl.po: Update from translation team.
22913 * po/ja.po: Likewise.
22914 * po/ru.po: Likewise.
22915 * po/ko.po: Likewise.
22916 * po/fr.po: Likewise.
22917
d30cf5bb
RM
229182011-07-09 Roland McGrath <roland@hack.frob.com>
22919
113ddea4
RM
22920 * configure.in (.ctors/.dtors header and trailer check):
22921 Use an empirical test on a built program.
22922 * configure: Regenerated.
22923
574920b4
RM
22924 * configure.in (-z relro check): Use an empirical test on a built DSO.
22925 Detect, but do not require, on ia64.
22926 * configure: Regenerated.
22927
d30cf5bb
RM
22928 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22929 Update tests that use readelf to use $READELF instead.
22930 * configure: Regenerated.
22931
8538fdb3
UD
229322011-07-08 Ulrich Drepper <drepper@gmail.com>
22933
22934 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22935 if the result is not used.
22936
04d08991
AJ
229372011-07-05 Andreas Jaeger <aj@suse.de>
22938
22939 [BZ#9696]
22940 * stdlib/tst-strtod.c: Add testcase.
22941
de283087
AD
229422011-07-07 Ulrich Drepper <drepper@gmail.com>
22943
4e5f31c8 22944 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22945 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22946 The latter has a higher limit. Take additional parameter to pass to
22947 the new function.
22948 (__pathconf): Pass file to __statfs_link_max.
22949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22950 __statfs_link_max.
22951 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22952 __statfs_link_max.
22953
de283087
AD
22954 [BZ #12868]
22955 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22957 Handle Lustre.
22958 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22959 (__statfs_filesize_max): Likewise.
22960 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22961
c75fa153
AJ
229622011-07-05 Andreas Jaeger <aj@suse.de>
22963
22964 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22965
1a544854
UD
229662011-07-06 Marek Polacek <mpolacek@redhat.com>
22967
22968 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22969 `status' variable.
22970 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22971 Likewise.
22972
6f0eec67
UD
229732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 * Makefile (strop-tests): Add strncat.
22976 * string/test-strncat.c: New file.
22977
aae30307
UD
229782011-06-30 Marek Polacek <mpolacek@redhat.com>
22979
22980 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22981
c0cfb5eb
UD
229822011-06-21 Andreas Jaeger <aj@suse.de>
22983
22984 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22985 Copy rule from iconvdata/Makefile.
22986
01636b21
UD
229872011-07-06 Ulrich Drepper <drepper@gmail.com>
22988
22989 [BZ #12922]
22990 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22991 but no long options are defined, just return 'W'.
22992
9895c8bc
UD
229932011-06-22 Marek Polacek <mpolacek@redhat.com>
22994
22995 [BZ #9696]
22996 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22997
5d4cf042
UD
229982011-07-06 Ulrich Drepper <drepper@gmail.com>
22999
23000 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23001 netgroups to read.
960e5535 23002 (innetgr): Likewise.
5d4cf042 23003
751eb97e
RM
230042011-07-05 Roland McGrath <roland@hack.frob.com>
23005
23006 * config.make.in (install_root): Default to $(DESTDIR).
23007
f15f1e45
UD
230082011-07-05 Ulrich Drepper <drepper@gmail.com>
23009
23010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23011
4e34ac6a
RM
230122011-07-02 Roland McGrath <roland@hack.frob.com>
23013
5e9b6af4
RM
23014 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23015
84f9ea0f
RM
23016 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23017 containing directory rather than embedding absolute directory names.
23018
ea5ee9f7
RM
23019 * scripts/check-local-headers.sh: Rewritten using awk.
23020 Match by word, not by line. Print error messages for matches.
23021 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23022
1b74661a
RM
23023 * Makerules [shlib-lds-flags empty]:
23024 ($(common-objpfx)libc_pic.opts): New target.
23025 ($(common-objpfx)libc_pic.os.clean): New target.
23026 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23027
23028 * config.make.in (OBJCOPY): New variable.
23029 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23030 * configure: Regenerated.
23031
f781ef40
RM
23032 * config.make.in (use-default-link): New variable.
23033 * configure.in (use_default_link): Grok --with-default-link to set it.
23034 * configure: Regenerated.
23035 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23036 (shlib-lds, shlib-lds-flags): Define to empty.
23037
2d4fa81e
RM
23038 * Makerules (shlib-lds): New variable.
23039 (shlib-lds-flags): New variable.
23040 (build-shlib, build-moduile, build-module-asneeded): Use it.
23041 ($(common-objpfx)libc.so): Use $(shlib-lds).
23042 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23043 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23044
31fffa6b
RM
23045 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23046 DT_FLAGS/DT_FLAGS_1 with zero flags.
23047
4e34ac6a
RM
23048 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23049 linker script munging.
23050
fcfc776b
UD
230512011-07-02 Ulrich Drepper <drepper@gmail.com>
23052
23053 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23054 as 128-bit value.
23055 * crypt/sha512.c (sha512_process_block): Perform total addition using
23056 128-bit if possible.
23057 (__sha512_finish_ctx): Likewise.
23058 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23059 as 64-bit value.
23060 * crypt/sha256.c (SWAP64): Define.
23061 (sha256_process_block): Perform total addition using 64-bit if
23062 possible.
23063 (__sha256_finish_ctx): Likewise.
23064
99231d9a
UD
230652011-07-01 Ulrich Drepper <drepper@gmail.com>
23066
23067 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23069 * nscd/hstcache.c (cache_addhst): Likewise.
23070 * nscd/grpcache.c (cache_addgr): Likewise.
23071 * nscd/aicache.c (addhstaiX): Likewise
23072 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23073
445b4a53
TK
230742011-07-01 Thorsten Kukuk <kukuk@suse.de>
23075
23076 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23078 * nscd/hstcache.c (cache_addhst): Likewise.
23079 * nscd/grpcache.c (cache_addgr): Likewise.
23080 * nscd/aicache.c (addhstaiX): Likewise
23081
6d4d8e8e
AS
230822011-07-01 Andreas Schwab <schwab@redhat.com>
23083
23084 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23085 domain only when needed.
23086
89f654c5
AS
230872011-06-30 Andreas Schwab <schwab@redhat.com>
23088
23089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23090 is always restored.
23091
cf3b23ff
UD
230922011-06-29 Ulrich Drepper <drepper@gmail.com>
23093
23094 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23095 are re-adding the entry.
23096 * nscd/servicescache.c (cache_addserv): Likewise.
23097
751626f9
AJ
230982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23099
23100 * sysdeps/generic/dl-irel.h: fix protection against multiple
23101 inclusions.
23102 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23103
9113ea1f
UD
231042011-06-28 Ulrich Drepper <drepper@gmail.com>
23105
5c0b8d90
UD
23106 [BZ #12935]
23107 * malloc/memusage.sh: Fix quoting in message.
23108 * debug/xtrace.sh: Likewise.
23109
9113ea1f
UD
23110 * configure.in: Remove support for --experimental-malloc option, make
23111 it the default.
23112 * config.make.in: Likewise.
23113 * malloc/Makefile: Likewise.
23114
a4172181
AS
231152011-06-27 Andreas Schwab <schwab@redhat.com>
23116
23117 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23118 two-byte characters.
23119
78a7eee7
RM
231202011-06-27 Roland McGrath <roland@hack.frob.com>
23121
62bede13
RM
23122 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23123 AC_CACHE_CHECK invocation.
23124 * configure: Regenerated.
23125
78a7eee7
RM
23126 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23127
5ce33a62
UD
231282011-06-27 Ulrich Drepper <drepper@gmail.com>
23129
034807a9
UD
23130 [BZ #12350]
23131 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23132 bit from old_res_options.
23133
4902da17
UD
23134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23135
5ce33a62
UD
23136 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23137 value type for setfct.
23138
c2344f56
L
231392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23140
23141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23142 __gettimeofday instead of gettimeofday.
23143
68468076
UD
231442011-06-26 Ulrich Drepper <drepper@gmail.com>
23145
23146 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23147
acb0d739
L
231482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23151
23152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23153 info.
23154
8912479f
L
231552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23156
23157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23158 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23159 strcpy-sse2-unaligned strncpy-sse2-unaligned
23160 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23161 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23162 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23163 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23164 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23167 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23168 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23169 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23170 (STRCPY): Support SSE2 and SSSE3 versions.
23171
d5495a11
UD
231722011-06-24 Ulrich Drepper <drepper@gmail.com>
23173
23174 [BZ #12874]
23175 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23176 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23177 kernels which artificially limit size of requests.
23178
0b1cbaae
L
231792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23180
23181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23182 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23183 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23184 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23185 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23186 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23187 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23188 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23189 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23191 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23192 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23193 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23194 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23195 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23197 Enable unaligned load optimization for Intel Core i3, i5 and i7
23198 processors.
23199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23200 Define.
23201 (index_Fast_Unaligned_Load): Define.
23202 (HAS_FAST_UNALIGNED_LOAD): Define.
23203
07f494a0
MP
232042011-06-23 Marek Polacek <mpolacek@redhat.com>
23205
23206 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23207
fa3fc0fe
UD
232082011-06-22 Ulrich Drepper <drepper@gmail.com>
23209
23210 [BZ #12907]
23211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23212 until it is clear that the information is realy needed.
23213 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23214
e12df166
AS
232152011-06-22 Andreas Schwab <schwab@redhat.com>
23216
23217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23218
852eb34d
UD
232192011-06-22 Ulrich Drepper <drepper@gmail.com>
23220
84e2a551
UD
23221 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23222 /sys/devices/system/cpu/online if it is usable.
23223
852eb34d
UD
23224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23225 reading the information from the /proc filesystem to once a second.
23226
6e502e19
UD
232272011-06-21 Andreas Jaeger <aj@suse.de>
23228
23229 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23230 NULL after inclusion of kernel headers.
23231
75d39ff2
UD
232322011-06-21 Ulrich Drepper <drepper@gmail.com>
23233
51f9aa6a
UD
23234 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23235 calls to internal_setent.
23236
c0244a9d
UD
23237 [BZ #12885]
23238 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23239 addresses using gethostbyname4_r ignore IPv4 addresses.
23240
c5e3c2ae
UD
23241 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23242 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23243
75d39ff2
UD
23244 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23245
42675c6f
DM
232462011-06-20 David S. Miller <davem@davemloft.net>
23247
23248 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23249 inclusions.
23250 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23251
23252 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23253 (elf_irel): Use it.
23254 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23255 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23256 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23257 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23258 * sysdeps/x86_64/dl-irel.h: Likewise.
23259
23260 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23261 * elf/dl-sym.c: Likewise.
23262
57912a71
UD
232632011-06-15 Ulrich Drepper <drepper@gmail.com>
23264
23265 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23266 need to dereference resplen2.
23267
ee22793d
AS
232682011-06-14 Andreas Schwab <schwab@redhat.com>
23269
23270 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23271
a9e836b0
UD
232722011-06-15 Ulrich Drepper <drepper@gmail.com>
23273
77fb9117
UD
23274 * Makeconfig: Define vardbdir and inst_vardbdir.
23275 * nss/Makefile: Add rules to install db-Makefile.
23276
40c1b22c
UD
23277 * nss/nss_db/db-XXX.c: Cleanup.
23278
9f2da732
UD
23279 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23280 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23281 GLIBC_PRIVATE.
23282 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23283 * nss/makedb.c: Implement -g option to specify that value strings
23284 are generated and should not be added to table iterated over for
23285 get*ent calls.
23286 * nss/nss_db/db-initgroups.c: New file.
23287
82e9a1f7
UD
23288 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23289 interface.
23290
c41af17e
UD
23291 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23292 (internal_getgrouplist): Adjust to name change.
23293 Update use_initgroups_entry if this is not the first call.
23294 * nss/databases.def: Add initgroups entry.
23295
a9e836b0
UD
23296 * nss/makedb.c (compute_tables): Check result of multiple hash table
23297 sizes to minimize maximum chain length.
23298
2666d441
UD
232992011-06-14 Ulrich Drepper <drepper@gmail.com>
23300
23301 * Versions.def: Add entry for libnss_db.
23302 * shlib-versions: Likewise.
23303 * nss/Makefile: Add rules to build libnss_db.
23304 * nss/Versions: Add libnss_db information. Organize libnss_files
23305 entries better.
23306 * nss/db-Makefile: Add gshadow support. Change rules for the new
23307 makedb progra. Some minor improvements to generate smaller files.
23308 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23309 here from...
23310 * nss/makedb.c: ...here.
23311 Improve database format to be smaller and require less memory at
23312 runtime.
23313 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23314 db anymore.
23315 * nss/nss_db/db-netgrp.c: Likewise.
23316 * nss/nss_db/db-open.c: Likewise.
23317 * nss/nss_files/flies-XXX.x: Adjust comments.
23318 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23319 * nss/nss_files/files-grp.c: Likewise.
23320 * nss/nss_files/files-hosts.c: Likewise.
23321 * nss/nss_files/files-network.c: Likewise.
23322 * nss/nss_files/files-proto.c: Likewise.
23323 * nss/nss_files/files-pwd.c: Likewise.
23324 * nss/nss_files/files-rpc.c: Likewise.
23325 * nss/nss_files/files-service.c: Likewise.
23326 * nss/nss_files/files-sgrp.c: Likewise.
23327 * nss/nss_files/files-spwd.c: Likewise.
23328 * nss/nss_db/db-alias.c: Removed.
23329 * nss/nss_db/dummy-db.h: Removed.
23330
9ee76b5a
UD
233312011-06-02 Ulrich Drepper <drepper@gmail.com>
23332
23333 * nss/makedb.c: Rewritten to not use database library.
23334 * nss/Makefile: Update to build new makedb program.
23335
c71ca1f8
AJ
233362011-06-14 Andreas Jaeger <aj@suse.de>
23337
23338 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23339 memset declaration.
23340
3154bfb8
UD
233412011-06-10 Andreas Schwab <schwab@redhat.com>
23342
23343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23344 tmpbuf.
23345
b350afab
RM
233462011-06-10 Roland McGrath <roland@hack.frob.com>
23347
decd4e50
RM
23348 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23349 * elf/Makefile ($(objpfx)ld.so): Likewise.
23350
5615eaf2
RM
23351 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23352 Don't list ld.so twice in dependencies.
23353
23354 * posix/bug-regex31.c: Include <stdlib.h>.
23355
23356 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23357
23358 * nis/nss_compat/compat-spwd.c
23359 (getspent_next_nss_netgr): Remove unused variable.
23360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23361
23362 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23363 nonmembers" output to use the right array.
23364
23365 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23366
23367 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23368
23369 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23370 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23371 * catgets/gencat.c (read_input_file): Likewise.
23372 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23373
23374 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23375 variable definition inside #if's controlling its use.
23376
23377 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23378
23379 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23380
23381 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23382
23383 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23384 unreachable code.
23385
23386 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23387
b68e08db
RM
23388 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23389 * configure: Regenerated.
23390
b350afab
RM
23391 * Makerules: Revert last change.
23392 * elf/Makefile: Likewise.
23393
28368601
RM
233942011-06-09 Roland McGrath <roland@hack.frob.com>
23395
23396 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23397 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23398 (reloc-link): Likewise.
23399
11988f8f
UD
234002011-06-09 Ulrich Drepper <drepper@gmail.com>
23401
23402 * elf/Makefile: Add rules to build pldd.
23403 * elf/pldd.c: New file.
23404 * elf/pldd-xx.c: New file.
23405
e80fab37
UD
234062011-06-07 Ulrich Drepper <drepper@gmail.com>
23407
23408 * version.h: Update for 2.15 development version.
23409
9b849836
DM
234102011-06-07 David S. Miller <davem@davemloft.net>
23411
23412 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23413 ifuncs.
23414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23415 elf_machine_lazy_rel): Likewise.
23416 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23417 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23418 elf_machine_lazy_rel): Likewise.
23419 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23420 dl_hwcap via passed in argument.
23421 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23422 Likewise.
23423
5a31b283
AK
234242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23425
23426 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23427
069e52f8
RM
234282011-06-06 Roland McGrath <roland@hack.frob.com>
23429
23430 [BZ #12849]
23431 * manual/fdl-1.1.texi: New file, verbatim from:
23432 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23433 * manual/lgpl-2.1.texi: New file, verbatim from:
23434 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23435 * manual/Makefile (licenses): New variable, list those new file names.
23436 (texis): Use it.
23437 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23438
23439 * manual/fdl.texi: File removed.
23440 * manual/lesser.texi: File removed.
23441 * manual/libc.texinfo (Copying, Documentation License):
23442 Use new @include file names, put @appendix directive before @include.
23443
f16846a5
JJ
234442011-06-04 Jakub Jelinek <jakub@redhat.com>
23445
23446 [BZ #12841]
23447 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23448 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23449 (mq_open): Add __NTH.
23450
3d29045b
L
234512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23452
23453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23454 Assume Intel Core i3/i5/i7 processor if AVX is available.
23455
8c297311
UD
234562011-05-31 Ulrich Drepper <drepper@gmail.com>
23457
23458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23459 typo.
23460
c8fc0c91
UD
234612011-05-31 Andreas Schwab <schwab@redhat.com>
23462
23463 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23464 memory. Use alloca_account. Fix memory leak when retrying.
23465
5b27a807
UD
234662011-05-31 Ulrich Drepper <drepper@gmail.com>
23467
356f8bc6
UD
23468 * version.h (RELEASE): Bump for 2.14 release.
23469 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23470
5b27a807
UD
23471 * config.make.in (RANLIB): Remove entry.
23472
01f16ab0
UD
234732011-05-30 Ulrich Drepper <drepper@gmail.com>
23474
41fce8bd
UD
23475 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23476 (libc.pot): Work around missing support for .ksh extension in xgettext.
23477
4769ae77
UD
23478 [BZ #12684]
23479 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23480 if both request failed.
23481 (send_dg): In case of server errors clear resplen or *resplen2.
23482
6b1e7d19
UD
23483 [BZ #12454]
23484 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23485 when there are multiple maps.
23486 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23487 (_dl_fini): Remove test here.
23488
01f16ab0
UD
23489 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23490
b1ebd700
UD
234912011-05-29 Ulrich Drepper <drepper@gmail.com>
23492
7ae22829
UD
23493 [BZ #12350]
23494 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23495 bit from old_res_options.
23496 (gaih_inet): Likewise.
23497
553149f6 23498 [BZ #11099]
18a84741 23499 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23500 as signed.
23501
652ffab1
UD
23502 * resolv/res_init.c (res_setoptions): Make the code more compact.
23503
16985fd0
UD
23504 [BZ #11558]
23505 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23506 set RES_USEVC.
23507
0464f746
UD
23508 [BZ #11634]
23509 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23510
7d17596c
UD
23511 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23512
cf6bbbd7
UD
23513 [BZ #11781]
23514 * malloc/malloc.h: Declare malloc hook variables as volatile.
23515
13f1ab36
UD
23516 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23517 in last patch.
23518
b1ebd700
UD
23519 [BZ #11799]
23520 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23521 raise in the comment.
80e2212d
UD
23522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23524 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23525
ce67228d
UD
235262011-05-28 Ulrich Drepper <drepper@gmail.com>
23527
8887a920
UD
23528 [BZ #12811]
23529 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23530 grow the buffers more if it already has to be sufficient.
23531 (build_wcs_upper_buffer): Likewise.
23532 * posix/regexec.c (check_matching): Likewise.
23533 (clean_state_log_if_needed): Likewise.
23534 (extend_buffers): Don't enlarge buffers beyond size of the input
23535 buffer.
23536 Patches mostly by Emil Wojak <emil@wojak.eu>.
23537 * posix/bug-regex32.c: New file.
23538 * posix/Makefile (tests): Add bug-regex32.
23539
4f031072
UD
23540 * locale/findlocale.c (_nl_find_locale): Return right away if
23541 _nl_explode_name failed.
23542 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23543
d0478f0c
UD
23544 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23545
de81b246
UD
23546 * debug/xtrace.sh: Unify messages.
23547 * malloc/memusage.sh: Likewise.
23548
c738465a
UD
23549 [BZ #12813]
23550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23551 time symbol from vDSO. Substitute with vsyscall if not available.
23552 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23553 __vdso_time.
23554
f1f929d7
UD
23555 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23556 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23557 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23558 Add sendmmsg and internal_sendmmsg.
23559 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23560 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23561 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23562
ce67228d
UD
23563 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23564 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23565 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23566
e57420c6
UD
235672011-05-27 Ulrich Drepper <drepper@gmail.com>
23568
a8509ca5
UD
23569 [BZ #12813]
23570 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23571 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23572 available.
23573 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23574 __vdso_getcpu.
23575
e57420c6
UD
23576 [BZ #12814]
23577 * iconvdata/Makefile (tests): Add bug-iconv9.
23578 * iconvdata/bug-iconv9.c: New file.
23579
4d07db15
AS
235802011-05-27 Andreas Schwab <schwab@redhat.com>
23581
23582 [BZ #12814]
23583 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23584
ea486f69
JJ
235852011-05-25 Jakub Jelinek <jakub@redhat.com>
23586
23587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23588 (struct user_regs_struct): Change intcs field back to cs.
23589
6f038433
UD
235902011-05-25 Ulrich Drepper <drepper@gmail.com>
23591
23592 * po/ja.po: Update from translation team.
23593
67f86a25
UD
235942011-05-23 Ulrich Drepper <drepper@gmail.com>
23595
23596 [BZ #12795]
23597 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23598 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23599
def7fbd6
AS
236002011-05-20 Andreas Schwab <schwab@redhat.com>
23601
23602 * stdlib/longlong.h: Update from GCC.
23603
f50ef8f1
AS
236042011-05-23 Andreas Schwab <schwab@redhat.com>
23605
23606 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23607 parameter name.
23608 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23609 Add parameter name.
23610 (__sysconf): Pass it down.
23611
de7ce8f1
UD
236122011-05-22 Ulrich Drepper <drepper@gmail.com>
23613
f2962a71
UD
23614 [BZ #12671]
23615 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23616 some situations.
23617 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23618 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23619 add in in __libc_use_alloca calls. Adjust callers.
23620 (glob): Use malloc in some situations.
23621
de7ce8f1
UD
23622 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23623 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23624 pltexit.
23625
aec84f53
UD
236262011-05-21 Ulrich Drepper <drepper@gmail.com>
23627
05bb4a68
UD
23628 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23629 and CLOCK_BOOTTIME_ALARM.
23630
7ea72f99
UD
23631 [BZ #12782]
23632 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23633 is returned.
23634
7e4afad5
UD
23635 * string/_strerror.c (__strerror_r): Print negative errors as signed
23636 numbers.
23637
8e211fec
UD
23638 [BZ #12777]
23639 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23640 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23641 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23642
f7d82dc9
UD
23643 * configure.in: Fix typo in redirection and correct removal of test
23644 files in two cases.
23645
cc9e536d
UD
23646 [BZ #12788]
23647 * locale/setlocale.c (new_composite_name): Fix test to check for
23648 identical name of all categories.
23649
aec84f53
UD
23650 [BZ #12792]
23651 * libio/filedoalloc.c (local_isatty): New function.
23652 (_IO_file_doallocate): Use local_isatty.
23653 * stdio-common/perror.c (perror): In case a new stream is used
23654 forward the stream error.
23655 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23656 error flag.
23657
78e64fdc
RT
236582011-05-20 Ulrich Drepper <drepper@gmail.com>
23659
34a9094f
UD
23660 [BZ #11869]
23661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23662 alloca.
23663 * include/alloca.h (extend_alloca_account): Define.
23664
78e64fdc
RT
23665 [BZ #11857]
23666 * posix/regex.h: Fix comments with documentation of user-accessible
23667 fields after compilation and describe correct free'ing of pattern
23668 after re_compile_pattern.
23669 Patch by Reuben Thomas <rrt@sc3d.org>.
23670
457bddfc
RA
236712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23672
23673 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23674 and -mno-altivec to prevent the compiler from using Altivec and/or
23675 VSX instructions when the corresponding registers are not available.
23676
a4527b51
AS
236772011-05-19 Andreas Schwab <schwab@redhat.com>
23678
23679 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23680
ed690b2f
UD
236812011-05-19 Ulrich Drepper <drepper@gmail.com>
23682
23683 * libio/freopen.c (freopen): Use __dup2, not dup2.
23684 * libio/freopen64.c (freopen64): Likewise.
23685
8db73634
L
236862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23687
23688 [BZ #12775]
23689 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23690 * math/Makefile (tests): Add test-powl.
23691 (CFLAGS-test-powl.c): Define.
23692 * math/test-powl.c: New file.
23693
0a197a9d
L
236942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23695
23696 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23697
ee30c380
UD
236982011-05-17 Ulrich Drepper <drepper@gmail.com>
23699
23700 [BZ #11837]
23701 * iconvdata/gb18030.c: Update to GB18020-2005.
23702
6ce75379
UD
237032011-05-16 Ulrich Drepper <drepper@gmail.com>
23704
a4b89fd8
AR
23705 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23706 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23707 Patch by Aharon Robbins <arnold@skeeve.com>.
23708
ea389b12
UD
23709 [BZ #11892]
23710 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23711 on the stack.
23712
68a3f91f
UD
23713 [BZ #11895]
23714 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23715 through underflows.
23716
15cc7dd1
UD
23717 [BZ #12766]
23718 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23719 point to strings before performing equality test for error_one_per_line
23720 mode.
23721
f3799213
UD
23722 [BZ #11697]
23723 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23724
d79a9c94
UD
23725 [BZ #11820]
23726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23727 (struct user_fpregs_struct): Avoid __uint*_t types.
23728
56e5eb46
UD
23729 [BZ #6420]
23730 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23731 symbol info. Use it instead of calling _dl_addr locally.
23732 (lock_and_info): New function.
23733 (tr_freehook): Call lock_and_info and pass symbol info as additional
23734 parameter to tr_where.
23735 (tr_mallochook): Likewise.
23736 (tr_reallochook): Likewise.
23737 (tr_memalignhook): Likewise.
23738
6ce75379
UD
23739 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23740 used and couldn't be at all thread-safe.
23741
f8a3b5bf
UD
237422011-05-15 Ulrich Drepper <drepper@gmail.com>
23743
94b7cc37
UD
23744 * libio/freopen.c (freopen): Don't close old file descriptor
23745 before the new one is opened. Instead dup the new file descriptor
23746 to the old one after the new stream is created.
23747 * libio/freopen64.c (freopen64): Likewise.
23748 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23749 * libio/fileops.c (_IO_new_file_close_it): Handle new
23750 _IO_FLAGS2_NOCLOSE flag.
23751 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23752 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23753 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23754 _IO_FLAGS2_NOCLOSE flag.
23755 * include/unistd.h: Add hidden_proto for dup3.
23756 Define __have_dup3.
23757 * io/dup3.c: Define hidden symbol.
23758 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23759
bd25564e
UD
23760 [BZ #7101]
23761 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23762 when an incomplete long option is used.
23763 * posix/tst-getopt_long1.c: New file.
23764 * posix/Makefile (tests): Add tst-getopt_long1.
23765
c84cfef4
UD
23766 [BZ #10138]
23767 * scripts/config.guess: Update from autoconf-2.68.
23768 * scripts/config.sub: Likewise.
23769
3b85df27
UD
23770 [BZ #10157]
23771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23772 tests into ...
23773 (has_cpuclock): ...this. New function.
23774 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23775 macro here based on has_cpuclock code.
23776
15a856b1
UD
23777 [BZ #10149]
23778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23779 First byte (not low byte) is now always NUL.
23780 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23781
05f399e6
UD
23782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23783 Use non-cancelable interfaces.
23784
10a52685 23785 [BZ #9809]
94ecc67d
UD
23786 * locale/iso-639.def: Add entry for Sorani.
23787
f8a3b5bf
UD
23788 [BZ #11901]
23789 * include/stdlib.h: Move include protection to the right place.
23790 Define abort_msg_s. Declare __abort_msg with it.
23791 * stdlib/abort.c (__abort_msg): Adjust type.
23792 * assert/assert.c (__assert_fail_base): New function. Majority
23793 of code from __assert_fail. Allocate memory for __abort_msg with
23794 mmap.
23795 (__assert_fail): Now call __assert_fail_base.
23796 * assert/assert-perr.c: Remove bulk of implementation. Use
23797 __assert_fail_base.
23798 * include/assert.hL Declare __assert_fail_base.
23799 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23800 mmap.
23801 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23802
1af4e298
UD
238032011-05-14 Ulrich Drepper <drepper@gmail.com>
23804
f8a3b5bf 23805 [BZ #11952]
d26dfc60
MG
23806 [BZ #12453]
23807 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23808 until all modules are registered in the DTV.
23809 * elf/Makefile: Add rules to build and run tst-tls19.
23810 * elf/tst-tls19.c: New file.
23811 * elf/tst-tls19mod1.c: New file.
23812 * elf/tst-tls19mod2.c: New file.
23813 * elf/tst-tls19mod3.c: New file.
23814 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23815
2fc54d6f
UD
23816 [BZ #12083]
23817 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23818 correctly.
23819
98d76b46
UD
23820 [BZ #12601]
23821 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23822 two-byte sequence errors.
23823 * iconvdata/Makefile (tests): Add bug-iconv8.
23824 * iconvdata/bug-iconv8.c: New file.
23825
da3c19ef
UD
23826 [BZ #12626]
23827 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23828 buf2 definition.
23829
ca408c15
UD
23830 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23831
d6f67f7d
UD
23832 [BZ #12432]
23833 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23834 (dummy_getcfa): New function.
23835 (init): Get _Unwind_GetCFA address, use dummy if not found.
23836 (backtrace_helper): In recursion check, also check whether CFA changes.
23837 (__backtrace): Completely initialize arg.
23838
1af4e298 23839 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23840 storing incomplete byte sequence in state object. Avoid testing for
23841 guaranteed too small input if we know there is enough data available.
1af4e298 23842
da62f81b
AS
238432011-05-11 Andreas Schwab <schwab@redhat.com>
23844
23845 * Makeconfig (+link-pie): Indent.
23846 * Rules (binaries-pie): Define if $(have-fpie) and
23847 $(build-shared).
23848 (binaries-shared): Also filter out $(binaries-pie).
23849 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23850 * nscd/Makefile (others-pie): Add nscd.
23851 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23852 ($(objpfx)nscd): Remove command override.
23853 * login/Makefile (others-pie): Add pt_chown.
23854 ($(objpfx)pt_chown): Remove command override.
23855 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23856 remove command overrides.
23857
fcabc0f8
UD
238582011-05-13 Ulrich Drepper <drepper@gmail.com>
23859
20030ae6
UD
23860 * libio/tst_putwc.c: Fix error messages.
23861
fcabc0f8
UD
23862 [BZ #12724]
23863 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23864 currently writing and seek to current position when not.
23865 * libio/Makefile (tests): Add bug-fclose1.
23866 * libio/bug-fclose1.c: New file.
23867
320a5dc0
PB
238682011-05-12 Ulrich Drepper <drepper@gmail.com>
23869
23870 [BZ #12511]
23871 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23872 don't set DF_1_NODELETE here.
23873 (do_lookup_x): When entering new entry test for copy relocation
23874 and if necessary set DF_1_NODELETE flag.
23875 * elf/tst-unique4.cc: New file.
23876 * elf/tst-unique4.h: New file.
23877 * elf/tst-unique4lib.cc: New file.
23878 * elf/Makefile: Add rules to build and run tst-unique4.
23879 Patch by Piotr Bury <pbury@goahead.com>.
23880
22836f52
UD
238812011-05-11 Ulrich Drepper <drepper@gmail.com>
23882
f574184a
UD
23883 [BZ #12052]
23884 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23885
e1fb097f
UD
23886 [BZ #12625]
23887 * misc/mntent_r.c (addmntent): Flush the stream after the output
23888
22836f52
UD
23889 [BZ #12393]
23890 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23891 (is_trusted_path_normalize): Skip initial colon. Append slash
23892 to empty buffer. Duplicate is_trusted_path code but allow
23893 constructed patch to be prefix.
23894 (is_dst): Allow $ORIGIN followed by /.
23895 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23896 Correct testing of result of is_trusted_path_normalize
23897 (decompose_rpath): Fix warning.
23898
7b3b0b2a
UD
238992011-05-10 Ulrich Drepper <drepper@gmail.com>
23900
23901 [BZ #11257]
23902 * grp/initgroups.c (internal_getgrouplist): When we found the service
23903 list through the initgroups entry in nsswitch.conf do not always
23904 continue on a successful lookup. Don't always use the
eac80ce2 23905 __nss_group_database value if it is set.
7b3b0b2a
UD
23906 * nss/nsswitch.conf (initgroups): Change action for successful db
23907 lookup to continue for compatibility.
23908
2a81eaa5
UD
239092011-05-09 Ulrich Drepper <drepper@gmail.com>
23910
be97a69e
UD
23911 [BZ #11532]
23912 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23913 and CP774 modules.
23914 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23915 and CP774 modules.
23916 * iconvdata/tst-tables.sh: Likewise.
23917 * iconvdata/cp770.c: New file.
23918 * iconvdata/cp771.c: New file.
23919 * iconvdata/cp772.c: New file.
23920 * iconvdata/cp773.c: New file.
23921 * iconvdata/cp774.c: New file.
23922 * iconvdata/testdata/CP770: New file.
23923 * iconvdata/testdata/CP770..UTF8: New file.
23924 * iconvdata/testdata/CP771: New file.
23925 * iconvdata/testdata/CP771..UTF8: New file.
23926 * iconvdata/testdata/CP772: New file.
23927 * iconvdata/testdata/CP772..UTF8: New file.
23928 * iconvdata/testdata/CP773: New file.
23929 * iconvdata/testdata/CP773..UTF8: New file.
23930 * iconvdata/testdata/CP774: New file.
23931 * iconvdata/testdata/CP774..UTF8: New file.
23932
23933 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23934 END CHARMAP line.
23935 * iconvdata/gen-8bit-gap.sh: Likewise.
23936 * iconvdata/gen-8bit.sh: Likewise.
23937
c1e9e399
UD
23938 * locale/iso-639.def: Add ary entry.
23939
24c55fb3 23940 [BZ #11258]
96b4b1b0
UD
23941 * locale/C-translit.h.in: Add U20A1 transliteration.
23942
bdc2f971
KB
23943 [BZ #12178]
23944 * locale/iso-639.def: Add wae entry.
23945 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23946
2952b117
UD
23947 [BZ #12545]
23948 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23949 for n.
23950
2a81eaa5
UD
23951 [BZ #12711]
23952 * locale/C-translit.h.in: Add entry for U20B9.
23953 Patch by pravin.d.s@gmail.com.
23954
28377d1b
UD
239552011-05-08 Ulrich Drepper <drepper@gmail.com>
23956
7fb90fb8
UD
23957 [BZ #12713]
23958 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23959 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23960 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23961 in rtld. Use *stat64.
7fb90fb8 23962 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23963 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23964 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23965 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23966 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23967 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23968 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23969 __fstatat64 macros.
7fb90fb8
UD
23970 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23971 * dirent/rewinddir.c: Add libc_hidden_def.
23972 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23973 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23974
28377d1b
UD
23975 * include/dirent.h (__alloc_dir): Add flags parameter.
23976 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23977 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23978 __alloc_dir.
23979 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23980 from fdopendir if O_CLOEXEC is already set.
23981
66bdbaa4
AM
239822011-03-15 Alan Modra <amodra@gmail.com>
23983
23984 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23985 l_tls_firstbyte_offset non-zero. Save padding offset in
23986 l_tls_firstbyte_offset for later use.
23987 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23988 freeing static tls block.
23989
95721191
JN
239902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23991
23992 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23993 where #ifdef was intended. The intent is to prevent ARG_MAX from
23994 being defined by the kernel headers.
23995
f87dfb1f
UD
239962011-05-07 Ulrich Drepper <drepper@gmail.com>
23997
23998 [BZ #12734]
23999 * resolv/resolv.h: Define RES_NOTLDQUERY.
24000 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24001 no-tld-query and set RES_NOTLDQUERY.
24002 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24003 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24004 modern BIND to search name as TLD unless forbidden.
24005
47c3cd7a
UD
240062011-05-07 Petr Baudis <pasky@suse.cz>
24007 Ulrich Drepper <drepper@gmail.com>
24008
24009 [BZ #12393]
24010 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24011 (is_trusted_path): ...to here.
c1e9ea35 24012 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24013 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24014 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24015
8a35c912
PP
240162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24017
24018 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24019 __BEGIN/__END_DECLS.
24020
acd41f47
UD
240212011-05-06 Ulrich Drepper <drepper@gmail.com>
24022
24023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24024 NSS_STATUS_NOTFOUND if no record was found.
24025
597df647
AS
240262011-05-05 Andreas Schwab <schwab@redhat.com>
24027
24028 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24029 (headers-not-in-tirpc): Remove rpc/netdb.h
24030 * resolv/netdb.h: Revert last change.
24031
b9af1301
PP
240322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24033
24034 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24035 circular dependency between libgcc.a and libc.a.
24036
4e34d5f5
AS
240372011-05-05 Andreas Schwab <schwab@redhat.com>
24038
24039 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24040 * nis/Makefile: Don't install rpcsvc/*.
24041 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24042 instead of <rpc/types.h>.
24043 (MAXHOSTNAMELEN): Define.
24044
00ee369c
AS
240452011-05-03 Andreas Schwab <schwab@redhat.com>
24046
24047 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24048
0b592a30
MB
240492011-04-28 Maciej Babinski <mbabinski@google.com>
24050
24051 [BZ #12714]
24052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24053 gethostbyname4_r when IPv6 results are possible.
24054
6e04cbbe
UD
240552011-05-02 Ulrich Drepper <drepper@gmail.com>
24056
24057 [BZ #12723]
24058 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24059 _PC_PIPE_BUF handling.
24060
e4ecafe0
BH
240612011-04-30 Bruno Haible <bruno@clisp.org>
24062
24063 [BZ #12717]
24064 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24065 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24066 to 'int'.
24067 * inet/getnameinfo.c (getnameinfo): Likewise.
24068
125ee683
UD
240692011-04-29 Ulrich Drepper <drepper@gmail.com>
24070
24071 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24072 to groups setting in database lookup.
24073 * nss/nsswitch.conf: Add initgroups entry.
24074
b722481a
EB
240752011-04-22 Ulrich Drepper <drepper@gmail.com>
24076
24077 [BZ #12685]
24078 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24079 mode string.
24080 Patch by Eric Blake <eblake@redhat.com>.
24081
4df46dbd
L
240822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24083
24084 * sunrpc/Makefile (need-export-routines): Add svc_run.
24085 (routines): Remove svc_run.
24086 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24087 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24088 * sunrpc/svc_run.c (svc_run): Likewise.
24089 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24090
e84142d2
UD
240912011-04-21 Ulrich Drepper <drepper@gmail.com>
24092
24093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24094 problem in reallocation in last patch.
24095
877175d8
UD
240962011-04-20 Ulrich Drepper <drepper@gmail.com>
24097
24098 * sunrpc/Makefile: Move inclusion of Rules.
24099
ab8eed78
UD
241002011-04-19 Ulrich Drepper <drepper@gmail.com>
24101
24102 * nss/nss_files/files-initgroups.c: New file.
24103 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24104 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24105 _nss_files_initgroups_dyn.
24106
e3d8f584
RS
241072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24108
24109 * elf/elf.h (R_ARM_IRELATIVE): Define.
24110
af190f45
UD
241112011-04-19 Ulrich Drepper <drepper@gmail.com>
24112
24113 * po/ru.po: Update from translation team.
24114
53cf59ef
UD
241152011-04-17 Ulrich Drepper <drepper@gmail.com>
24116
24117 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24118 dependencies.
24119
4c559bcd
MF
241202011-02-06 Mike Frysinger <vapier@gentoo.org>
24121
24122 [BZ #12653]
24123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24124 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24128
4420675c
AS
241292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24130
24131 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24132 differing bytes.
24133 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24136
75ea32ab
UD
241372011-04-17 Ulrich Drepper <drepper@gmail.com>
24138
24139 [BZ #12420]
24140 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24141 storing it.
24142 * stdlib/bug-getcontext.c: New file.
24143 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24144
27390476
AK
241452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24146
24147 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24148 instructions into .machine "z9-109".
24149 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24150 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24151
10442705
AK
241522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24153
24154 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24155 between environment variables and auxiliary vector.
24156
7b57bfe5
UD
241572011-04-16 Ulrich Drepper <drepper@gmail.com>
24158
24159 * Makefile: Add rules to build linkobj/libc.so.
24160 * include/libc-symbols.h: Define libc_hidden_nolink.
24161 * include/rpc/auth.h: Mark functions which are to be hidden.
24162 * include/rpc/auth_des.h: Likewise.
24163 * include/rpc/auth_unix.h: Likewise.
24164 * include/rpc/clnt.h: Likewise.
24165 * include/rpc/des_crypt.h: Likewise.
24166 * include/rpc/key_prot.h: Likewise.
24167 * include/rpc/pmap_clnt.h: Likewise.
24168 * include/rpc/pmap_prot.h: Likewise.
24169 * include/rpc/pmap_rmt.h: Likewise.
24170 * include/rpc/rpc_msg.h: Likewise.
24171 * include/rpc/svc.h: Likewise.
24172 * include/rpc/svc_auth.h: Likewise.
24173 * include/rpc/xdr.h: Likewise.
24174 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24175 * nss/Makefile: Likewise.
24176 * sunrpc/Makefile: Don't install headers. Build library with normal
24177 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24178 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24179 for the compat linking library. Remove use of INTDEF/INTUSE.
24180 * sunrpc/auth_none.c: Likewise.
24181 * sunrpc/auth_unix.c: Likewise.
24182 * sunrpc/authdes_prot.c: Likewise.
24183 * sunrpc/authuxprot.c: Likewise.
24184 * sunrpc/clnt_gen.c: Likewise.
24185 * sunrpc/clnt_perr.c: Likewise.
24186 * sunrpc/clnt_raw.c: Likewise.
24187 * sunrpc/clnt_simp.c: Likewise.
24188 * sunrpc/clnt_tcp.c: Likewise.
24189 * sunrpc/clnt_udp.c: Likewise.
24190 * sunrpc/clnt_unix.c: Likewise.
24191 * sunrpc/des_crypt.c: Likewise.
24192 * sunrpc/des_soft.c: Likewise.
24193 * sunrpc/get_myaddr.c: Likewise.
24194 * sunrpc/key_call.c: Likewise.
24195 * sunrpc/key_prot.c: Likewise.
24196 * sunrpc/netname.c: Likewise.
24197 * sunrpc/pm_getmaps.c: Likewise.
24198 * sunrpc/pm_getport.c: Likewise.
24199 * sunrpc/pmap_clnt.c: Likewise.
24200 * sunrpc/pmap_prot.c: Likewise.
24201 * sunrpc/pmap_prot2.c: Likewise.
24202 * sunrpc/pmap_rmt.c: Likewise.
24203 * sunrpc/publickey.c: Likewise.
24204 * sunrpc/rpc_cmsg.c: Likewise.
24205 * sunrpc/rpc_common.c: Likewise.
24206 * sunrpc/rpc_dtable.c: Likewise.
24207 * sunrpc/rpc_prot.c: Likewise.
24208 * sunrpc/rpc_thread.c: Likewise.
24209 * sunrpc/rtime.c: Likewise.
24210 * sunrpc/svc.c: Likewise.
24211 * sunrpc/svc_auth.c: Likewise.
24212 * sunrpc/svc_authux.c: Likewise.
24213 * sunrpc/svc_raw.c: Likewise.
24214 * sunrpc/svc_run.c: Likewise.
24215 * sunrpc/svc_simple.c: Likewise.
24216 * sunrpc/svc_tcp.c: Likewise.
24217 * sunrpc/svc_udp.c: Likewise.
24218 * sunrpc/svc_unix.c: Likewise.
24219 * sunrpc/svcauth_des.c: Likewise.
24220 * sunrpc/xcrypt.c: Likewise.
24221 * sunrpc/xdr.c: Likewise.
24222 * sunrpc/xdr_array.c: Likewise.
24223 * sunrpc/xdr_float.c: Likewise.
24224 * sunrpc/xdr_intXX_t.c: Likewise.
24225 * sunrpc/xdr_mem.c: Likewise.
24226 * sunrpc/xdr_rec.c: Likewise.
24227 * sunrpc/xdr_ref.c: Likewise.
24228 * sunrpc/xdr_sizeof.c: Likewise.
24229 * sunrpc/xdr_stdio.c: Likewise.
24230
e6c61494
UD
242312011-04-10 Ulrich Drepper <drepper@gmail.com>
24232
24233 [BZ #12650]
24234 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24235 * sysdeps/ia64/dl-tls.h: Likewise.
24236 * sysdeps/powerpc/dl-tls.h: Likewise.
24237 * sysdeps/s390/dl-tls.h: Likewise.
24238 * sysdeps/sh/dl-tls.h: Likewise.
24239 * sysdeps/sparc/dl-tls.h: Likewise.
24240 * sysdeps/x86_64/dl-tls.h: Likewise.
24241 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24242
34fe483e
AS
242432011-03-14 Andreas Schwab <schwab@redhat.com>
24244
24245 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24246 rpath element also skip the following colon.
24247 (expand_dynamic_string_token): Add is_path parameter and pass
24248 down to DL_DST_REQUIRED and _dl_dst_substitute.
24249 (decompose_rpath): Call expand_dynamic_string_token with
24250 non-zero is_path. Ignore empty rpaths.
24251 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24252 with zero is_path.
24253
f12a32e6
AS
242542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24255
24256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24257 Make cancelable.
24258
38a7d692
UD
242592011-04-09 Ulrich Drepper <drepper@gmail.com>
24260
24261 [BZ #12655]
24262 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24263 Patch by Filipe David Manana <fdmanana@apache.org>.
24264
e451d22b
AS
242652011-04-07 Andreas Schwab <schwab@redhat.com>
24266
24267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24268 Maintain aligned stack.
24269 (CHECK_RSP): Remove unused macro.
24270
dedc7c7b
UD
242712011-04-03 Ulrich Drepper <drepper@gmail.com>
24272
24273 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24275
94521213
UD
242762011-04-02 Ulrich Drepper <drepper@gmail.com>
24277
24278 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24279
8cb700c0 24280 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24281
0354e355
L
242822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24283
24284 [BZ #12518]
24285 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24286 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24287 * sysdeps/x86_64/memmove.c: New file.
24288 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24289 (memcpy): Renamed to ...
24290 (__new_memcpy): This.
24291 (memcpy): Provide GLIBC_2_14 memcpy.
24292 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24293 (memcpy): Provide GLIBC_2_2_5 memcpy.
24294
8593482f
UD
242952011-04-01 Ulrich Drepper <drepper@gmail.com>
24296
24297 [BZ #12631]
24298 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24299
81a5726b
AS
243002011-03-30 Andreas Schwab <schwab@redhat.com>
24301
24302 * misc/syncfs.c: New file.
24303 * misc/Makefile (routines): Add syncfs.
24304 * posix/unistd.h: Declare syncfs.
24305 * sysdeps/unix/syscalls.list: Add syncfs.
24306
00e5419f
AS
243072011-04-01 Andreas Schwab <schwab@redhat.com>
24308
24309 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24310 open_by_handle_at.
24311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24316 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24318
748876bf
UD
243192011-04-01 Ulrich Drepper <drepper@gmail.com>
24320
658e451d
UD
24321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24323 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24328
748876bf
UD
24329 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24330 sync_file_range.c with -fexceptions.
24331 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24332 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24333 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24334 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24335 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24336 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24338 sync_file_range as cancellation point
24339 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24340 now a wrapper around __call_sync_file_range with cancellation handling.
24341 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24342 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24343 function name to __call_sync_file_range.
24344 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24345 Add call_sync_file_range.
748876bf 24346
6e63d5e1
AS
243472011-04-01 Andreas Schwab <schwab@redhat.com>
24348
24349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24350 bits/timex.h.
6e63d5e1 24351
46998f74
UD
243522011-04-01 Ulrich Drepper <drepper@gmail.com>
24353
4c1423ed
UD
24354 * iconv/iconv.h: Fix typo in comment.
24355 * io/fcntl.h: Likewise.
24356 * libio/stdio.h: Likewise.
24357 * posix/spawn.h: Likewise.
24358 * posix/unistd.h: Likewise.
24359 * stdlib/stdlib.h: Likewise.
24360 * time/time.h: Likewise.
24361 * wcsmbs/wchar.h: Likewise.
24362
158648c0
UD
24363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24364 open_by_handle): Add.
24365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24366 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24367 Augment a few comments.
24368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24373 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24374 open_by_handle.
24375
46998f74
UD
24376 * io/fcntl.h (AT_EMPTY_PATH): Define.
24377
83fe108b
UD
243782011-03-30 Ulrich Drepper <drepper@gmail.com>
24379
24380 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24381 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24382 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24383 to...
24384 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24385 * Versions.def: Add GLIBC_2.14.
24386 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24387 Export.
83fe108b 24388
bb242059
UD
243892011-03-22 Ulrich Drepper <drepper@gmail.com>
24390
24391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24392 round counter.
24393 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24394
c97a1282
L
243952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24396
24397 [BZ #12597]
24398 * string/test-strncmp.c (do_page_test): New function.
24399 (check2): Likewise.
24400 (test_main): Call check2.
24401 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24402
2a115601
UD
244032011-03-20 Ulrich Drepper <drepper@gmail.com>
24404
24405 [BZ #12587]
24406 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24407 Handle cache information in CPU leaf 4.
24408 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24409
8126d904
UD
244102011-03-18 Ulrich Drepper <drepper@gmail.com>
24411
042c49c6 24412 [BZ #12583]
8126d904
UD
24413 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24414 character representation.
24415 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24416
ccfe366e
RA
244172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24418
24419 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24420 END(__isnan) to END(__isnanf) to match function entry point/label
24421 EALIGN(__isnanf,...).
24422
c6e13027
JJ
244232011-03-10 Jakub Jelinek <jakub@redhat.com>
24424
24425 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24426
33f85a3f
UD
244272011-03-10 Ulrich Drepper <drepper@gmail.com>
24428
028478fa
UD
24429 [BZ #12510]
24430 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24431 copy from the symbol referenced in the relocation to initialize the
24432 used variable.
24433 Patch by Piotr Bury <pbury@goahead.com>.
24434 * elf/Makefile: Add rules to build and tst-unique3.
24435 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24436 * elf/tst-unique3.cc: New file.
24437 * elf/tst-unique3.h: New file.
24438 * elf/tst-unique3lib.cc: New file.
24439 * elf/tst-unique3lib2.cc: New file.
24440
33f85a3f
UD
24441 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24442
03592fc7
MF
244432011-03-10 Mike Frysinger <vapier@gentoo.org>
24444
24445 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24446 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24447 to _start.
03592fc7 24448
6a5ee102
UD
244492011-03-06 Ulrich Drepper <drepper@gmail.com>
24450
24451 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24452 to-be-loaded object along a path to loader is ld.so.
24453
7e4ba49c
HJ
244542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24455 Ulrich Drepper <drepper@gmail.com>
24456
24457 * sysdeps/x86_64/memset.S: After aligning destination, code
24458 branches to different locations depending on the value of
24459 misalignment, when multiarch is enabled. Fix this.
24460
244612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24462
24463 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24464 Set _x86_64_preferred_memory_instruction for AMD processsors.
24465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24466 Set bit_Prefer_SSE_for_memop for AMD processors.
24467
13a804de
UD
244682011-03-04 Ulrich Drepper <drepper@gmail.com>
24469
24470 * libio/fmemopen.c (fmemopen): Optimize a bit.
24471
9d25c392
AS
244722011-03-03 Andreas Schwab <schwab@redhat.com>
24473
24474 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24475
a5543c6a
RM
244762011-03-03 Roland McGrath <roland@redhat.com>
24477
24478 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24479
012d35f7
DM
244802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24481
7e4ba49c 24482 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24483 __bzero_ultra1 instead of __memset_ultra1.
24484
4bff6e01
AS
244852011-02-23 Andreas Schwab <schwab@redhat.com>
24486 Ulrich Drepper <drepper@gmail.com>
24487
24488 [BZ #12509]
24489 * include/link.h (struct link_map): Add l_orig_initfini.
24490 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24491 returning unsuccessfully.
24492 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24493 close of a file loaded at startup, restore the original l_initfini
24494 list.
24495 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24496 list, store the pointer.
24497 * elf/Makefile ($(objpfx)noload-mem): New rule.
24498 (noload-ENV): Define.
24499 (tests): Add $(objpfx)noload-mem.
24500 * elf/noload.c: Include <memcheck.h>.
24501 (main): Call mtrace. Close all opened handles.
24502
f2092faf
AS
245032011-02-17 Andreas Schwab <schwab@redhat.com>
24504
24505 [BZ #12454]
24506 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24507 dependencies are missing.
24508
6c8a2e88
ST
245092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24510
f2092faf 24511 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24512 Hurd needs munmap.
24513 * sysdeps/mach/hurd/ifreq.h: New file.
24514
84a42118
PB
245152011-01-27 Petr Baudis <pasky@suse.cz>
24516 Ulrich Drepper <drepper@gmail.com>
24517
071f805e 24518 [BZ 12445]#
84a42118
PB
24519 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24520 to extend_alloca().
24521 * stdio-common/bug23.c: New file.
24522 * stdio-common/Makefile (tests): Add bug23.
24523
e23fe25b
AS
245242010-09-28 Andreas Schwab <schwab@redhat.com>
24525 Ulrich Drepper <drepper@gmail.com>
24526
24527 [BZ #12489]
24528 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24529 before performing relro protection. At old place add assertion
24530 to make sure nothing changed.
24531
d3f02e10
NS
245322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24533 Glauber de Oliveira Costa <glommer@gmail.com>
24534
24535 * elf/elf.h: Add new ARM TLS relocs.
24536
d55fd7a5
RA
245372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24538
24539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24540 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24541 cast from r3.
24542 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24543 'tests' variable.
24544 * sysdeps/wordsize-64/tst-writev.c: New file.
24545
2206397e
RA
245462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24547
24548 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24549 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24550 insns in _dl_start to prevent a TOC reference before relocs are
24551 resolved.
24552
e9433893
UD
245532011-02-15 Ulrich Drepper <drepper@gmail.com>
24554
24555 [BZ #12469]
24556 * Makeconfig: Remove RANLIB definition.
24557 * Makerules: Don't use RANLIB.
24558 * aclocal.m4: Remove ranlib test.
24559 * configure.in: No need to check for ranlib.
24560 * elf/rtld-Rules: Don't use RANLIB.
24561
f75286c6
ST
245622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24563
8e31c82d
ST
24564 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24565 protection macro.
24566 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24567 inclusion protection macro.
24568
f75286c6
ST
24569 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24570 SIGRTMIN and SIGRTMAX and print information in that case only when
24571 SIGRTMIN is defined.
24572
c1d0e639
JJ
245732011-02-11 Jakub Jelinek <jakub@redhat.com>
24574
24575 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24576 arginfo fn returning -1.
24577
24578 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24579 and thousands string is zero terminated.
24580
edf9294e
AS
245812011-02-03 Andreas Schwab <schwab@redhat.com>
24582
24583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24584 sysdeps/unix/sysv/linux/bits/socket.h.
24585
2b7e92df
ST
245862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24587
edf9294e
AS
24588 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24589 (__CPU_COUNT): Remove old macros.
24590 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24591 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24592 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24593 (__sched_cpualloc, __sched_cpufree): Add declarations.
24594
a4c7ea7b
UD
245952011-02-05 Ulrich Drepper <drepper@gmail.com>
24596
24597 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24598 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24599 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24600 (readdhstai): Return value of addhstaiX call.
24601 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24602 (addgrbyX): Return value returned by cache_addgr.
24603 (readdgrbyname): Return value returned by addgrbyX.
24604 (readdgrbygid): Likewise.
24605 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24606 (addpwbyX): Return value returned by cache_addpw.
24607 (readdpwbyname): Return value returned by addhstbyX.
24608 (readdpwbyuid): Likewise.
24609 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24610 (addservbyX): Return value returned by cache_addserv.
24611 (readdservbyname): Return value returned by addservbyX:
24612 (readdservbyport): Likewise.
24613 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24614 (addhstbyX): Return value returned by cache_addhst.
24615 (readdhstbyname): Return value returned by addhstbyX.
24616 (readdhstbyaddr): Likewise.
24617 (readdhstbynamev6): Likewise.
24618 (readdhstbyaddrv6): Likewise.
24619 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24620 (readdinitgroups): Return value returned by addinitgroupsX.
24621 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24622 (prune_cache): Keep track of timeout value of re-added entries.
24623 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24624 * nscd/nscd.h: Adjust prototypes of readd* functions.
24625
a0bf67cc
RM
246262011-02-04 Roland McGrath <roland@redhat.com>
24627
24628 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24629 (nis_stats): Likewise.
24630 * nis/nis_modify.c (nis_modify): Likewise.
24631 * nis/nis_remove.c (nis_remove): Likewise.
24632 * nis/nis_add.c (nis_add): Likewise.
24633
24634 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24635
24636 * posix/fnmatch_loop.c: Add some consts.
24637
24638 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24639
435b95eb
L
246402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24641
24642 [BZ #12460]
24643 * config.make.in (config-cflags-novzeroupper): Define.
24644 * configure.in: Substitute libc_cv_cc_novzeroupper.
24645 * elf/Makefile (AVX-CFLAGS): Define.
24646 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24647 (CFLAGS-tst-auditmod4a.c): Likewise.
24648 (CFLAGS-tst-auditmod4b.c): Likewise.
24649 (CFLAGS-tst-auditmod6b.c): Likewise.
24650 (CFLAGS-tst-auditmod6c.c): Likewise.
24651 (CFLAGS-tst-auditmod7b.c): Likewise.
24652 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24653
8517b15e
UD
246542011-02-02 Ulrich Drepper <drepper@gmail.com>
24655
24656 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24657 function to the callback.
24658 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24659
10a656fe
AS
246602011-02-02 Andreas Schwab <schwab@redhat.com>
24661
24662 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24663 of errno.
24664
968dad0a
UD
246652011-01-19 Ulrich Drepper <drepper@gmail.com>
24666
9f94d2ea 24667 [BZ #11724]
968dad0a
UD
24668 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24669 of constructors.
24670 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24671 of destructors.
24672 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24673
24674 [BZ #11724]
24675 * elf/Makefile: Add rules to build and run new test.
24676 * elf/tst-initorder.c: New file.
24677 * elf/tst-initorder.exp: New file.
24678 * elf/tst-initordera1.c: New file.
24679 * elf/tst-initordera2.c: New file.
24680 * elf/tst-initordera3.c: New file.
24681 * elf/tst-initordera4.c: New file.
24682 * elf/tst-initorderb1.c: New file.
24683 * elf/tst-initorderb2.c: New file.
24684 * elf/tst-order-a1.c: New file.
24685 * elf/tst-order-a2.c: New file.
24686 * elf/tst-order-a3.c: New file.
24687 * elf/tst-order-a4.c: New file.
24688 * elf/tst-order-b1.c: New file.
24689 * elf/tst-order-b2.c: New file.
24690 * elf/tst-order-main.c: New file.
24691 New test case by George Gensure <werkt0@gmail.com>.
24692
86e92359
UD
246932010-10-01 Andreas Schwab <schwab@redhat.com>
24694
24695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24696 decoding ACE if AI_CANONIDN.
24697
5d5732b0
UD
246982011-01-18 Ulrich Drepper <drepper@gmail.com>
24699
24700 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24701
a77e8cbc
UD
247022011-01-17 Ulrich Drepper <drepper@gmail.com>
24703
6392473f
UD
24704 * version.h (RELEASE): Bump for 2.13 release.
24705 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24706
620a0529
UD
24707 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24708
18ba70a5
UD
24709 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24710 MADV_NOHUGEPAGE.
32465c3e
UD
24711 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24712 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24713 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24715 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24717
c0dafcf1
UD
24718 * posix/getconf.c: Update copyright year.
24719 * catgets/gencat.c: Likewise.
24720 * csu/version.c: Likewise.
24721 * debug/catchsegv.sh: Likewise.
24722 * debug/xtrace.sh: Likewise.
24723 * elf/ldconfig.c: Likewise.
24724 * elf/ldd.bash.in: Likewise.
24725 * elf/sprof.c (print_version): Likewise.
24726 * iconv/iconv_prog.c: Likewise.
24727 * iconv/iconvconfig.c: Likewise.
24728 * locale/programs/locale.c: Likewise.
24729 * locale/programs/localedef.c: Likewise.
24730 * malloc/memusage.sh: Likewise.
24731 * malloc/mtrace.pl: Likewise.
24732 * nscd/nscd.c (print_version): Likewise.
24733 * nss/getent.c: Likewise.
24734
a77e8cbc
UD
24735 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24736 PF_CAIF, and PF_ALG.
24737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24738
77e8bddf
AS
247392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24740
1f20b93a
AS
24741 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24742 (modules-names): Use them.
24743 (ifunc-test-modules, ifunc-pie-tests): Define.
24744 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24745 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24746 (test-extras): Likewise.
24747 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24748 $(compile-command.c).
24749 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24750 (all-built-dso): Define.
24751 (check-textrel.out, check-execstack.out): Depend on it.
24752
77e8bddf
AS
24753 * configure.in: Don't override --enable-multi-arch.
24754
bc425b33
UD
247552011-01-15 Ulrich Drepper <drepper@gmail.com>
24756
24757 [BZ #6812]
24758 * nscd/hstcache.c (tryagain): Define.
24759 (cache_addhst): Return tryagain not notfound for temporary errors.
24760 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24761 failed.
24762
794c3ad3
UD
247632011-01-14 Ulrich Drepper <drepper@gmail.com>
24764
70181fdd
UD
24765 [BZ #10563]
24766 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24767 to make the syscall.
24768 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24769
794c3ad3
UD
24770 [BZ #12378]
24771 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24772 and fall back to matching as normal character if the string ends before
24773 the matching ']' is found. This is what POSIX requires.
24774 * posix/testfnm.c: Adjust test result.
24775 * posix/globtest.sh: Adjust test result. Add new test.
24776 * posix/tst-fnmatch.input: Likewise.
24777 * posix/tst-fnmatch2.c: Add new test.
24778
68dc9497
AS
247792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24780
24781 * elf/Makefile (check-execstack): Revert last change. Depend on
24782 check-execstack.h.
24783 (check-execstack.h): New target.
24784 (generated): Add check-execstack.h.
24785 * elf/check-execstack.c: Include "check-execstack.h".
24786 (main): Revert last change.
24787 (handle_file): Return zero if GNU_STACK is absent and
24788 DEFAULT_STACK_PERMS doesn't include PF_X.
24789
451f001b
UD
247902011-01-13 Ulrich Drepper <drepper@gmail.com>
24791
cfa28e56
UD
24792 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24793 in child fails because the descriptor is already closed.
8cf8ce17
UD
24794 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24795 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24796 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24797
1086d70d
UD
24798 [BZ #12397]
24799 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24800 syscall.
24801
451f001b
UD
24802 [BZ #10484]
24803 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24804 temporary buffer used to handle multi lookups locally.
a85b5cb4 24805 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24806
08769175
UD
248072011-01-12 Ulrich Drepper <drepper@gmail.com>
24808
24809 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24810 loader is ld.so.
24811
5e49c52e
UD
248122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24813
24814 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24815 alignment for SSE2.
24816
60522a5f
UD
248172011-01-12 Ulrich Drepper <drepper@gmail.com>
24818
24819 [BZ #12394]
24820 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24821 characters. When rounding increased number of integer digits recompute
24822 number of groups.
24823 * stdio-common/tst-grouping.c: New file.
24824 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24825
f257bbd7
UD
248262011-01-09 Ulrich Drepper <drepper@gmail.com>
24827
24828 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24829 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24830
24831 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24832 void.
24833 * bits/select.h: Likewise.
24834
fa9c15cb
UD
248352011-01-08 Ulrich Drepper <drepper@gmail.com>
24836
24837 * po/ja.po: Update from translation team.
24838
16c2895f
DM
248392011-01-04 David S. Miller <davem@sunset.davemloft.net>
24840
24841 [BZ #11155]
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24843 implementation just like for lxstat, fxstatat, et al.
24844
2543fef2
JM
248452010-12-27 Jim Meyering <meyering@redhat.com>
24846
24847 [BZ #12348]
24848 * posix/regexec.c (build_trtable): Return failure indication upon
24849 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24850
98727dbe
UD
248512010-12-25 Ulrich Drepper <drepper@gmail.com>
24852
5bd6dc5c
UD
24853 [BZ #12201]
24854 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24855 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24858
97983464
UD
24859 [BZ #12207]
24860 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24861
98727dbe
UD
24862 [BZ #12204]
24863 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24864 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24865
4a531bb0
L
248662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24867
24868 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24869 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24870 script has SORT_BY_INIT_PRIORITY.
24871 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24872 NO_CTORS_DTORS_SECTIONS is defined.
24873 * elf/soinit.c: Likewise.
24874 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24875 NO_CTORS_DTORS_SECTIONS is defined.
24876 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24877 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24878 * sysdeps/sh/init-first.c: Likewise.
24879 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24880
07eb4b71
UD
248812010-12-24 Ulrich Drepper <drepper@gmail.com>
24882
24883 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24884 always use the slow path.
24885
30950a5f
RA
248862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24887
24888 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24889 similar rule which adds the sysdep directories to the header search in
24890 order to pick up the correct platform stackinfo.h.
24891 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24892 perform test if it is, otherwise return successfully without testing.
24893 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24894 DEFAULT_STACK_PERMS define in stackinfo.h.
24895 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24896 defined in stackinfo.h.
24897 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24898 DEFAULT_STACK_PERMS defined in stackinfo.h.
24899 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24900 * sysdeps/ia64/stackinfo.h: Likewise.
24901 * sysdeps/s390/stackinfo.h: Likewise.
24902 * sysdeps/sh/stackinfo.h: Likewise.
24903 * sysdeps/sparc/stackinfo.h: Likewise.
24904 * sysdeps/x86_64/stackinfo.h: Likewise.
24905 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24906 PF_X for powerpc64. Retain PF_X for powerpc32.
24907
db753e2c
UD
249082010-12-19 Ulrich Drepper <drepper@gmail.com>
24909
14b697f7
UD
24910 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24911 accurately.
db753e2c
UD
24912 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24913 GETDENTS_64BIT_ALIGNED.
24914
28300719
UD
249152010-12-14 Ulrich Drepper <dreper@gmail.com>
24916
14b697f7 24917 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24918
4f197237
AS
249192010-12-10 Andreas Schwab <schwab@redhat.com>
24920
dbb0472f
AS
24921 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24922 _GNU_SOURCE.
24923
4f197237
AS
24924 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24925 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24926 Remove __restrict.
24927 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24928 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24929
fb88ac72
UD
249302010-12-09 Ulrich Drepper <drepper@gmail.com>
24931
24932 [BZ #11655]
24933 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24934 are initialized.
24935
42acbb92
JJ
249362010-12-09 Jakub Jelinek <jakub@redhat.com>
24937
24938 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24939
c038d98d
UD
249402010-12-03 Ulrich Drepper <drepper@gmail.com>
24941
24942 * po/it.po: Update from translation team.
24943
3a4a2499
L
249442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24945
24946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24947 unused codes.
24948
1e24cf6e
UD
249492010-11-30 Ulrich Drepper <drepper@gmail.com>
24950
24951 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24952
a7690819
AS
249532010-11-24 Andreas Schwab <schwab@redhat.com>
24954
24955 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24956 specially.
24957 (gaih_getanswer_slice): Likewise.
24958
3bf8d1b1
JJ
249592010-10-20 Jakub Jelinek <jakub@redhat.com>
24960
24961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24962
6db52fbb
PB
249632010-05-31 Petr Baudis <pasky@suse.cz>
24964
24965 [BZ #11149]
24966 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24967 silently even in the chroot mode.
24968
eaca7569
UD
249692010-11-22 Ulrich Drepper <drepper@gmail.com>
24970
24971 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24972 last patch a bit. Pretty printing
24973
3056dcdb
UD
249742010-05-31 Petr Baudis <pasky@suse.cz>
24975
24976 [BZ #10085]
24977 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24978 initialization of skip_initgroups_dyn.
24979
cf7c9078
UD
249802010-11-19 Ulrich Drepper <drepper@gmail.com>
24981
24982 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24983 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24984
a1fb5e3e
UD
249852010-11-16 Ulrich Drepper <drepper@gmail.com>
24986
24987 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24988
3540d66b
AS
249892010-11-11 Andreas Schwab <schwab@redhat.com>
24990
24991 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24992 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24993 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24994 ($(objpfx)tst-fnmatch-mem): New rule.
24995 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24996 * posix/tst-fnmatch.c (main): Call mtrace.
24997
13b69574
L
249982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24999
25000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25001 Support Intel processor model 6 and model 0x2c.
25002
da93d214
LM
250032010-11-10 Luis Machado <luisgpm@br.ibm.com>
25004
25005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25006 signed comparison.
25007
8ca52c6e
L
250082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25009
25010 [BZ #12205]
25011 * string/test-strncasecmp.c (check_result): New function.
25012 (do_one_test): Use it.
25013 (check1): New function.
25014 (test_main): Use it.
25015 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25016 Support strcasecmp and strncasecmp.
25017
69da074d
UD
250182010-11-08 Ulrich Drepper <drepper@gmail.com>
25019
25020 [BZ #12194]
25021 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25022 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25023
ff02d528
L
250242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25025
25026 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25027 IFUNC support.
25028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25029 memset-x86-64.
25030 * sysdeps/x86_64/multiarch/bzero.S: New file.
25031 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25032 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25033 * sysdeps/x86_64/multiarch/memset.S: New file.
25034 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25036 Set bit_Prefer_SSE_for_memop for Intel processors.
25037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25038 Define.
25039 (index_Prefer_SSE_for_memop): Define.
25040 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25041
344d0b54
LM
250422010-11-04 Luis Machado <luisgpm@br.ibm.com>
25043
25044 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25045 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25046
c0dde15b
UD
250472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25048
25049 [BZ #12191]
25050 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25051 (__x86_64_raw_data_cache_size_half): Likewise.
25052 (__x86_64_raw_shared_cache_size): Likewise.
25053 (__x86_64_raw_shared_cache_size_half): Likewise.
25054
25055 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25056 (__x86_64_raw_data_cache_size_half): Likewise.
25057 (__x86_64_raw_shared_cache_size): Likewise.
25058 (__x86_64_raw_shared_cache_size_half): Likewise.
25059 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25060 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25061 and __x86_64_raw_shared_cache_size_half. Round
25062 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25063 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25064 to multiple of 256 bytes.
25065
0e516e0e
MS
250662010-11-03 Ulrich Drepper <drepper@gmail.com>
25067
25068 [BZ #12167]
25069 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25070 of inacessible symlinks. Verify result of symlink before returning it.
25071 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25072 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25073
0e012e87
ER
250742010-10-28 Erich Ritz <erichritz@gmail.com>
25075
25076 * math/math.h (isinf): Fix typo in comment.
25077
de0ff7bc
UD
250782010-11-01 Ulrich Drepper <drepper@gmail.com>
25079
25080 * po/da.po: Update from translation team.
25081
fa41c84d
UD
250822010-10-26 Ulrich Drepper <drepper@gmail.com>
25083
25084 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25085 is added to the list.
25086
f0967738
AK
250872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25088 Ulrich Drepper <drepper@gmail.com>
25089
25090 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25091 the global list here. Move code to...
25092 (_dl_add_to_namespace_list): ...here. New function.
25093 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25094 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25095 * elf/dl-load.c (lose): Don't remove the element from the list.
25096 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25097 (_dl_map_object): Likewise.
25098
250992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25100
25101 [BZ #12159]
25102 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25103 into all bytes of SSE register.
25104 Patch by Richard Li <richardpku@gmail.com>.
25105
f0967738 251062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25107
25108 [BZ #12140]
25109 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25110 perturbing.
25111
d0b9e94f
MB
251122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25113
25114 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25115 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25119 submachine.
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25121
8e9f92e9
AS
251222010-10-22 Andreas Schwab <schwab@redhat.com>
25123
25124 * include/dlfcn.h (__RTLD_SECURE): Define.
25125 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25126 mode & __RTLD_SECURE instead.
25127 (open_path): Rename preloaded parameter to secure.
25128 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25129 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25130 * elf/dl-deps.c (openaux): Likewise.
25131 * elf/rtld.c (struct map_args): Remove is_preloaded.
25132 (map_doit): Don't use it.
25133 (dl_main): Likewise.
25134 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25135 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25136
bc96fbda
AS
251372010-09-09 Andreas Schwab <schwab@redhat.com>
25138
25139 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25140 (sysd-rules-targets): Remove duplicates.
25141 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25142 rtld-%.$o dependency.
25143
22cd1c9b
AS
251442010-10-18 Andreas Schwab <schwab@redhat.com>
25145
25146 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25147 _dl_map_object do it.
25148
18edac48
UD
251492010-10-19 Ulrich Drepper <drepper@gmail.com>
25150
25151 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25152 fast fma builtins, define the macros in the C99 standard.
25153 (FP_FAST_FMAF): Likewise.
25154 (FP_FAST_FMAL): Likewise.
25155 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25156
25157 * bits/mathdef.h: Update copyright year.
25158 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25159
d2050124
MM
251602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25161
25162 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25163 builtins, define the macros in the C99 standard.
25164 (FP_FAST_FMAF): Likewise.
25165 (FP_FAST_FMAL): Likewise.
25166 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25167 multiply/add.
25168 (FP_FAST_FMAF): Likewise.
25169
475facd1
JJ
251702010-10-15 Jakub Jelinek <jakub@redhat.com>
25171
25172 [BZ #3268]
25173 * math/libm-test.inc (fma_test): Some new testcases.
25174 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25176 y and infinite z. Do multiplication by C already in long double.
25177 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25179 y and infinite z. Do bitwise or of inexact bit into u.d.
25180 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25181 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25182 * sysdeps/i386/fpu/s_fma.S: Removed.
25183 * sysdeps/i386/fpu/s_fmal.S: Removed.
25184
7c08a05c
JJ
251852010-10-16 Jakub Jelinek <jakub@redhat.com>
25186
25187 [BZ #3268]
25188 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25190 computation is not scheduled after fetestexcept. Fix value
25191 of minimum denormal long double.
25192
f3f7372d
JJ
251932010-10-14 Jakub Jelinek <jakub@redhat.com>
25194
25195 [BZ #3268]
25196 * math/libm-test.inc (fma_test): Add some more tests.
25197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25198 correctly.
25199
14d43591
AS
252002010-10-15 Andreas Schwab <schwab@redhat.com>
25201
25202 * scripts/data/localplt-s390-linux-gnu.data: New file.
25203 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25204
5e908464
JJ
252052010-10-13 Jakub Jelinek <jakub@redhat.com>
25206
25207 [BZ #3268]
25208 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25209 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25210 instead of dbl-64.
25211 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25212 inlines.
25213 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25215 if one of x and y is very large and the other is subnormal.
25216 * sysdeps/s390/fpu/s_fmaf.c: New file.
25217 * sysdeps/s390/fpu/s_fma.c: New file.
25218 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25219 * sysdeps/powerpc/fpu/s_fma.S: New file.
25220 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25221 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25222 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25223
252242010-10-12 Jakub Jelinek <jakub@redhat.com>
25225
25226 [BZ #3268]
25227 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25228 fma tests.
25229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25230 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25231 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25232 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25233 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25234 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25235 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25236
b833d51f
UD
252372010-10-12 Ulrich Drepper <drepper@redhat.com>
25238
25239 [BZ #12078]
25240 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25241 * posix/bug-regex31.input: Add test case.
25242
1751705d
UD
252432010-10-11 Ulrich Drepper <drepper@gmail.com>
25244
e9b9cbf5
UD
25245 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25246 * posix/bug-regex31.input: New file.
25247
25248 [BZ #12078]
25249 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25250 (parse_sub_exp): Fix last change, use postorder.
25251
ef06edbe
UD
25252 * posix/bug-regex31.c: New file.
25253 * posix/Makefile: Add rules to build and run bug-regex31.
25254
a129c80d
UD
25255 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25256
25257 [BZ #12078]
25258 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25259
b76b818e
UD
25260 [BZ #12108]
25261 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25262 to have entries in sys_siglist.
25263
1751705d
UD
25264 [BZ #12093]
25265 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25266 be NULL.
25267
9ff8d36f
JJ
252682010-10-07 Jakub Jelinek <jakub@redhat.com>
25269
25270 [BZ #3268]
25271 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25272 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25273 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25274 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25275 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25276 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25277 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25278 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25279 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25280 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25281 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25282 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25283 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25284 * math/ftestexcept.c (fetestexcept): Likewise.
25285 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25286 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25287 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25288 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25289 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25290 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25291 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25292
af325969
UD
252932010-10-11 Ulrich Drepper <drepper@gmail.com>
25294
c579b202 25295 [BZ #12107]
af325969
UD
25296 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25297 newline.
25298
67a67b95
UD
252992010-10-06 Ulrich Drepper <drepper@gmail.com>
25300
25301 * string/bug-strstr1.c: New file.
25302 * string/Makefile: Add rules to build and run bug-strstr1.
25303
5fb308bc
EB
253042010-10-05 Eric Blake <eblake@redhat.com>
25305
25306 [BZ #12092]
25307 * string/str-two-way.h (two_way_long_needle): Always clear memory
25308 when skipping input due to the shift table.
25309
45db99c7
UD
253102010-10-03 Ulrich Drepper <drepper@gmail.com>
25311
3b111893
UD
25312 [BZ #12005]
25313 * malloc/mcheck.c: Handle large requests.
25314
45db99c7
UD
25315 [BZ #12077]
25316 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25317 for strncmp and strncasecmp.
25318 * string/stratcliff.c: Add tests for strcmp and strncmp.
25319 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25320
cf7a1eb8
NI
253212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25322
25323 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25324 __set_fpscr.
25325
6484ba5e
AJ
253262010-09-30 Andreas Jaeger <aj@suse.de>
25327
25328 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25329 (CGROUP_SUPER_MAGIC): Define.
25330 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25331 Handle btrfs and cgroup file systems.
25332 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25333 Likewise.
25334
91c42559
LM
253352010-09-27 Luis Machado <luisgpm@br.ibm.com>
25336
25337 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25338 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25339
87a97932
AK
253402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25341
25342 [BZ #12067]
25343 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25344 trying to locate the ELF header.
25345
c21cc9bc
AS
253462010-09-27 Andreas Schwab <schwab@redhat.com>
25347
25348 [BZ #11611]
25349 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25350 Mask out sign-bit copies when constructing f_fsid.
25351
315970f6
PB
253522010-09-24 Petr Baudis <pasky@suse.cz>
25353
25354 * debug/stack_chk_fail_local.c: Add missing licence exception.
25355 * debug/warning-nop.c: Likewise.
25356
1ac7a2c7
JM
253572010-09-15 Joseph Myers <joseph@codesourcery.com>
25358
25359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25360 implementing getdents64 using getdents syscall, set d_type if
25361 __ASSUME_GETDENTS32_D_TYPE.
25362
56801c50
AS
253632010-09-16 Andreas Schwab <schwab@redhat.com>
25364
25365 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25366 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25367
dda51327
UD
253682010-09-21 Ulrich Drepper <drepper@redhat.com>
25369
25370 [BZ #12037]
25371 * posix/unistd.h: Undo change of feature selection for ftruncate from
25372 2010-01-11.
25373
8ffcee4a
UD
253742010-09-20 Ulrich Drepper <drepper@redhat.com>
25375
a545ecd9 25376 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25377 detection.
25378
e24f0a8b
AS
253792010-09-20 Andreas Schwab <schwab@redhat.com>
25380
25381 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25382 fanotify_mark.
25383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25384
7291c56f
AS
253852010-09-14 Andreas Schwab <schwab@redhat.com>
25386
25387 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25388 variables after CHECK_SP call.
25389 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25390
bc5fb037
AS
253912010-09-13 Andreas Schwab <schwab@redhat.com>
25392 Ulrich Drepper <drepper@redhat.com>
25393
25394 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25395 re-relocationg ld.so.
25396 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25397 _dl_init_paths call.
25398 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25399 here anymore.
25400
e66e7419
UD
254012010-09-14 Ulrich Drepper <drepper@redhat.com>
25402
25403 * resolv/res_init.c (__res_vinit): Count the default server we added.
25404
c044aa75
CLT
254052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25406 Ulrich Drepper <drepper@redhat.com>
25407
25408 [BZ #11968]
25409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25410 (____longjmp_chk): Use %ebx for saving value across system call.
25411 Add unwind info.
25412
32cf4069
AS
254132010-09-06 Andreas Schwab <schwab@redhat.com>
25414
25415 * manual/Makefile: Don't mix pattern rules with normal rules.
25416
817328ee
AS
254172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25418
25419 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25420 operation.
25421 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25422 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25423 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25424 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25426 Likewise.
25427
29fddf61
UD
254282010-09-04 Ulrich Drepper <drepper@redhat.com>
25429
25430 [BZ #11979]
25431 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25432 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25433
0959ffc9
UD
254342010-09-02 Ulrich Drepper <drepper@redhat.com>
25435
25436 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25437 * sysdeps/x86_64/addmul_1.S: Likewise.
25438 * sysdeps/x86_64/lshift.S: Likewise.
25439 * sysdeps/x86_64/mul_1.S: Likewise.
25440 * sysdeps/x86_64/rshift.S: Likewise.
25441 * sysdeps/x86_64/sub_n.S: Likewise.
25442 * sysdeps/x86_64/submul_1.S: Likewise.
25443
ece29840
ST
254442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25445
0959ffc9
UD
25446 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25447 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25448 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25449 * bits/sched.h [__need_schedparam]
ece29840 25450 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25451 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25452 (__defined_schedparam): Define to 1.
ece29840
ST
25453 (__sched_param): New structure, identical to sched_param.
25454 (__need_schedparam): Undefine.
25455
e53a31fe
MF
254562010-08-31 Mike Frysinger <vapier@gentoo.org>
25457
fdc0c10d
MF
25458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25459 (epoll_create1): Declare.
25460
e53a31fe
MF
25461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25462
a726d796
AS
254632010-08-31 Andreas Schwab <schwab@redhat.com>
25464
25465 [BZ #7066]
25466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25467 shifting retval into place.
25468
2f3e3dc7
UD
254692010-09-01 Ulrich Drepper <drepper@redhat.com>
25470
f2933da9
UD
25471 * nis/rpcsvc/nis.h: Update copyright notice.
25472 * nis/rpcsvc/nis.x: Likewise.
25473 * nis/rpcsvc/nis_callback.h: Likewise.
25474 * nis/rpcsvc/nis_callback.x: Likewise.
25475 * nis/rpcsvc/nis_object.x: Likewise.
25476 * nis/rpcsvc/nis_tags.h: Likewise.
25477 * nis/rpcsvc/yp.h: Likewise.
25478 * nis/rpcsvc/yp.x: Likewise.
25479 * nis/rpcsvc/ypupd.h: Likewise.
25480 * nis/yp_xdr.c: Likewise.
25481 * nis/ypupdate_xdr.c: Likewise.
25482
2f3e3dc7
UD
25483 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25484 mainly the body of pmap_getport. Add parameters to specify timeouts.
25485 (pmap_getport): Use __libc_rpc_getport.
25486 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25487 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25488 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25489
f3dcc2f9
AS
254902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25491
25492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25493 fanotify_mark.
25494
6d34eb5b
RM
254952010-08-27 Roland McGrath <roland@redhat.com>
25496
25497 * sysdeps/i386/i686/multiarch/Makefile
25498 (CFLAGS-varshift.c): New variable.
25499
9ea3de11
UD
255002010-08-27 Ulrich Drepper <drepper@redhat.com>
25501
c96d23fc
UD
25502 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25503 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25504
9ea3de11
UD
25505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25506
25507 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25508
623aac7f
L
255092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/x86_64/strlen.S: Unroll the loop.
25512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25513 strlen-sse2 strlen-sse2-bsf.
25514 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25515 __strlen_no_bsf if bit_Slow_BSF is set.
25516 (__strlen_sse42): Removed.
25517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25518 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25519
8b2b7715
RM
255202010-08-25 Roland McGrath <roland@redhat.com>
25521
25522 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25523 * sysdeps/x86_64/multiarch/varshift.c: New file.
25524 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25525 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25526 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25527 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25528
e73015f2
L
255292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25532 strlen-sse2 strlen-sse2-bsf.
25533 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25534 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25535 (__strlen_sse2): Removed.
25536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25539 bit_Slow_BSF for Atom.
25540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25541 (index_Slow_BSF): Define.
25542 (HAS_SLOW_BSF): Define.
25543
df24a73e
UD
255442010-08-25 Ulrich Drepper <drepper@redhat.com>
25545
25546 [BZ #10851]
25547 * resolv/res_init.c (__res_vinit): When no server address at all
25548 is given default to loopback.
25549
f2ac4868
RM
255502010-08-24 Roland McGrath <roland@redhat.com>
25551
09055553
RM
25552 * configure.in: Remove config-name.h generation.
25553 * configure: Regenerated.
25554 * config-name.in: File removed.
25555 * scripts/config-uname.sh: New file.
25556 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25557 ($(objdir)config-name.h): New target.
25558
f2ac4868
RM
25559 * sunrpc/rpc_parse.h: Avoid nested comment.
25560
73f27d5e
RH
255612010-08-24 Richard Henderson <rth@redhat.com>
25562 Ulrich Drepper <drepper@redhat.com>
25563 H.J. Lu <hongjiu.lu@intel.com>
25564
25565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25567 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25568 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25569 _mm_alignr_epi8 with _mm_loadu_si128.
25570 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25571 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25572 (__m128i_shift_right): Removed.
25573 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25574 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25575 * sysdeps/x86_64/multiarch/varshift.h: New file.
25576 * sysdeps/x86_64/multiarch/varshift.S: New file.
25577
84b9230c
MF
255782010-08-21 Mike Frysinger <vapier@gentoo.org>
25579
25580 * configure.in: Move assembler checks to before sysdep dir checking.
25581
9bbd0ddc
PB
255822010-08-20 Petr Baudis <pasky@suse.cz>
25583
25584 * LICENSES: Sync the sunrpc license.
25585
9da4bb31
UD
255862010-08-19 Ulrich Drepper <drepper@redhat.com>
25587
a7ab6ec8
UD
25588 * sunrpc/auth_des.c: Update copyright notice once again.
25589 * sunrpc/auth_none.c: Likewise.
25590 * sunrpc/auth_unix.c: Likewise.
25591 * sunrpc/authdes_prot.c: Likewise.
25592 * sunrpc/authuxprot.c: Likewise.
25593 * sunrpc/bindrsvprt.c: Likewise.
25594 * sunrpc/clnt_gen.c: Likewise.
25595 * sunrpc/clnt_perr.c: Likewise.
25596 * sunrpc/clnt_raw.c: Likewise.
25597 * sunrpc/clnt_simp.c: Likewise.
25598 * sunrpc/clnt_tcp.c: Likewise.
25599 * sunrpc/clnt_udp.c: Likewise.
25600 * sunrpc/clnt_unix.c: Likewise.
25601 * sunrpc/des_crypt.c: Likewise.
25602 * sunrpc/des_soft.c: Likewise.
25603 * sunrpc/get_myaddr.c: Likewise.
25604 * sunrpc/getrpcport.c: Likewise.
25605 * sunrpc/key_call.c: Likewise.
25606 * sunrpc/key_prot.c: Likewise.
25607 * sunrpc/openchild.c: Likewise.
25608 * sunrpc/pm_getmaps.c: Likewise.
25609 * sunrpc/pm_getport.c: Likewise.
25610 * sunrpc/pmap_clnt.c: Likewise.
25611 * sunrpc/pmap_prot.c: Likewise.
25612 * sunrpc/pmap_prot2.c: Likewise.
25613 * sunrpc/pmap_rmt.c: Likewise.
25614 * sunrpc/rpc/auth.h: Likewise.
25615 * sunrpc/rpc/auth_unix.h: Likewise.
25616 * sunrpc/rpc/clnt.h: Likewise.
25617 * sunrpc/rpc/des_crypt.h: Likewise.
25618 * sunrpc/rpc/key_prot.h: Likewise.
25619 * sunrpc/rpc/netdb.h: Likewise.
25620 * sunrpc/rpc/pmap_clnt.h: Likewise.
25621 * sunrpc/rpc/pmap_prot.h: Likewise.
25622 * sunrpc/rpc/pmap_rmt.h: Likewise.
25623 * sunrpc/rpc/rpc.h: Likewise.
25624 * sunrpc/rpc/rpc_des.h: Likewise.
25625 * sunrpc/rpc/rpc_msg.h: Likewise.
25626 * sunrpc/rpc/svc.h: Likewise.
25627 * sunrpc/rpc/svc_auth.h: Likewise.
25628 * sunrpc/rpc/types.h: Likewise.
25629 * sunrpc/rpc/xdr.h: Likewise.
25630 * sunrpc/rpc_clntout.c: Likewise.
25631 * sunrpc/rpc_cmsg.c: Likewise.
25632 * sunrpc/rpc_common.c: Likewise.
25633 * sunrpc/rpc_cout.c: Likewise.
25634 * sunrpc/rpc_dtable.c: Likewise.
25635 * sunrpc/rpc_hout.c: Likewise.
25636 * sunrpc/rpc_main.c: Likewise.
25637 * sunrpc/rpc_parse.c: Likewise.
25638 * sunrpc/rpc_parse.h: Likewise.
25639 * sunrpc/rpc_prot.c: Likewise.
25640 * sunrpc/rpc_sample.c: Likewise.
25641 * sunrpc/rpc_scan.c: Likewise.
25642 * sunrpc/rpc_scan.h: Likewise.
25643 * sunrpc/rpc_svcout.c: Likewise.
25644 * sunrpc/rpc_tblout.c: Likewise.
25645 * sunrpc/rpc_util.c: Likewise.
25646 * sunrpc/rpc_util.h: Likewise.
25647 * sunrpc/rpcinfo.c: Likewise.
25648 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25649 * sunrpc/rpcsvc/key_prot.x: Likewise.
25650 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25651 * sunrpc/rpcsvc/mount.x: Likewise.
25652 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25653 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25654 * sunrpc/rpcsvc/rex.x: Likewise.
25655 * sunrpc/rpcsvc/rstat.x: Likewise.
25656 * sunrpc/rpcsvc/rusers.x: Likewise.
25657 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25658 * sunrpc/rpcsvc/spray.x: Likewise.
25659 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25660 * sunrpc/rtime.c: Likewise.
25661 * sunrpc/svc.c: Likewise.
25662 * sunrpc/svc_auth.c: Likewise.
25663 * sunrpc/svc_authux.c: Likewise.
25664 * sunrpc/svc_raw.c: Likewise.
25665 * sunrpc/svc_run.c: Likewise.
25666 * sunrpc/svc_simple.c: Likewise.
25667 * sunrpc/svc_tcp.c: Likewise.
25668 * sunrpc/svc_udp.c: Likewise.
25669 * sunrpc/svc_unix.c: Likewise.
25670 * sunrpc/svcauth_des.c: Likewise.
25671 * sunrpc/xcrypt.c: Likewise.
25672 * sunrpc/xdr.c: Likewise.
25673 * sunrpc/xdr_array.c: Likewise.
25674 * sunrpc/xdr_float.c: Likewise.
25675 * sunrpc/xdr_mem.c: Likewise.
25676 * sunrpc/xdr_rec.c: Likewise.
25677 * sunrpc/xdr_ref.c: Likewise.
25678 * sunrpc/xdr_sizeof.c: Likewise.
25679 * sunrpc/xdr_stdio.c: Likewise.
25680
9da4bb31
UD
25681 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25682 handling.
25683
bdaa77bc
AS
256842010-08-19 Andreas Schwab <schwab@redhat.com>
25685
25686 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25687
fe2f79db
LM
256882010-08-19 Luis Machado <luisgpm@br.ibm.com>
25689
25690 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25691 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25693 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25694 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25695 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25696 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25697 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25700 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25701 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25702 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25703 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25704
b9b42ee0
AB
257052010-07-26 Anton Blanchard <anton@samba.org>
25706
25707 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25708 * malloc/arena.c (heap_trim): Likewise.
25709
1c06ba31
UD
257102010-08-16 Ulrich Drepper <drepper@redhat.com>
25711
25712 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25713 here. Not...
25714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25715 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25716
f8392f40
L
257172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 * sysdeps/i386/elf/Makefile: New file.
25720
3162f12e
AS
257212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25722
25723 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25724 from fanotify_init.
25725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25727
28c90b2c
UD
257282010-08-15 Ulrich Drepper <drepper@redhat.com>
25729
25730 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25731 of strncasecmp_l.
1feccb6c 25732 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25733
ca6bb004
UD
257342010-08-14 Ulrich Drepper <drepper@redhat.com>
25735
e9f82e0d
UD
25736 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25737 strncase_l-nonascii.
25738 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25739 Add strncase_l-ssse3.
25740 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25741 * sysdeps/x86_64/strcmp.S: Likewise.
25742 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25743 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25744 * sysdeps/x86_64/strncase.S: New file.
25745 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25746 * sysdeps/x86_64/strncase_l.S: New file.
25747 * string/Makefile (strop-tests): Add strncasecmp.
25748 * string/test-strncasecmp.c: New file.
25749
25750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25751 warning.
25752
ca6bb004
UD
25753 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25754 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25755
052fa7b3
AS
257562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25757
25758 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25759
962dba78
UD
257602010-08-12 Ulrich Drepper <drepper@redhat.com>
25761
25762 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25765
bebff237
AM
257662010-05-01 Alan Modra <amodra@gmail.com>
25767
25768 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25769 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25770 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25771 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25772 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25773 tidying. Don't tail-call __sigjmp_save for static lib.
25774 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25775 save location.
25776 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25777 (CALL_MCOUNT): Add eh info, and nop after bl.
25778 (TAIL_CALL_SYSCALL_ERROR): New macro.
25779 (PSEUDO_RET): Use it.
25780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25781 Correct save location of integer regs and cr.
25782 (_dl_profile_resolve): Correct cr save location. Delete nops
25783 after bl when SHARED. Reduce cfi size a little by better
25784 placement of cfi directives.
25785 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25786 make a stack frame. Instead use parm save area as a temp.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25788 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25790 Don't make a stack frame for parent, use parm save area.
25791 Increase child stack frame to 112 bytes. Don't save unused reg,
25792 and adjust reg usage. Set up cfi on error recovery and
25793 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25795 (__makecontext): Add dummy nop after jump to exit.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25797 Use correct parm save area and cr save, reduce stack frame.
25798 Correct cfi for possible PSEUDO_RET frame setup.
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25800 Branch to local label emitted by PSEUDO_RET rather than
25801 __syscall_error.
25802
02637374
AS
258032010-08-12 Andreas Schwab <schwab@redhat.com>
25804
25805 [BZ #11904]
25806 * locale/programs/locale.c (print_assignment): New function.
25807 (show_locale_vars): Use it.
25808
c3e2f19b
UD
258092010-08-11 Ulrich Drepper <drepper@redhat.com>
25810
3cdaa6ad
UD
25811 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25812 field.
25813 (struct statfs64): Likewise.
25814 (_STATFS_F_FLAGS): Define.
25815 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25817 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25818 (ST_VALID): Define locally.
25819 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25820 __statvfs_getflags, use the provided value.
25821 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25822 __ASSUME_STATFS_F_FLAGS.
25823
754f7da3
UD
25824 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25825
10b3bedc
UD
25826 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25827 Add sys/fanotify.h.
25828 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25829 fanotify_mask for GLIBC_2.13.
25830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25831 fanotify_init and fanotify_mark.
25832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25833 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25834
c08fb0d7
UD
25835 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25836 Add prlimit.
25837 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25838 prlimit64 for GLIBC_2.13.
25839 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25840 prlimit64.
25841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25842 syscall.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25844 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25845 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25846 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25848 add prlimit alias.
25849 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25850
15bac72b
UD
25851 [BZ #11903]
25852 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25853 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25854
c3e2f19b
UD
25855 * nss/Makefile: Add rules to build and run tst-nss-test1.
25856 * shlib-versions: Add entry for libnss_test1.
25857 * nss/nss_test1.c: New file.
25858 * nss/tst-nss-test1.c: New file.
25859
25860 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25861 (__nss_configure_lookup): Set appropriate entry in
25862 __nss_configure_lookup to true.
25863 * nss/nsswitch.h: Define enum with indeces of databases in
25864 databases and __nss_database_custom arrays. Declare
25865 __nss_database_custom.
25866 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25867 to avoid using nscd when custom rules are installed.
25868 * nss/getXXbyYY_r.c: Likewise.
25869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25870
25871 * nss/nss_files/files-parse.c: Whitespace fixes.
25872
f15ce4d8
UD
258732010-08-09 Ulrich Drepper <drepper@redhat.com>
25874
25875 [BZ #11883]
25876 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25877 * posix/fnmatch_loop.c: Likewise.
25878
d22e4cc9
AK
258792010-07-17 Andi Kleen <ak@linux.intel.com>
25880
25881 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25882 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25883 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25884 * Versions.def [GLIBC_2.13]: Add.
25885
805bc17d
UD
258862010-08-06 Ulrich Drepper <drepper@redhat.com>
25887
25888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25889 Also fail if tpwd after pwuid call is NULL.
25890
5a42321d
ST
258912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25892
25893 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25894 when converting to ms.
25895
fd3ebeda
ST
258962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25897
25898 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25899 EOPNOTSUPP errors with ENOTTY.
25900 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25901 EOPNOTSUPP errors with ENOTTY.
25902
73507d3a
UD
259032010-07-31 Ulrich Drepper <drepper@redhat.com>
25904
25905 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25906 Add strcasecmp_l-ssse3.
25907 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25908 strcasecmp.
25909 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25910 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25911 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25912
fe36dd02
UD
259132010-07-30 Ulrich Drepper <drepper@redhat.com>
25914
66f6765a
UD
25915 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25916
42e08a54
UD
25917 * string/Makefile (strop-tests): Add strcasecmp.
25918 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25919 strcasecmp_l-nonascii.
25920 (gen-as-const-headers): Add locale-defines.sym.
25921 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25922 * sysdeps/x86_64/strcasecmp.S: New file.
25923 * sysdeps/x86_64/strcasecmp_l.S: New file.
25924 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25925 * sysdeps/x86_64/locale-defines.sym: New file.
25926 * string/test-strcasecmp.c: New file.
25927
fe36dd02
UD
25928 * string/test-strcasestr.c: Test both ends of the range of characters.
25929 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25930
48cbc0d6
RM
259312010-07-29 Roland McGrath <roland@redhat.com>
25932
76e6d6bc 25933 [BZ #11856]
48cbc0d6
RM
25934 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25935
880113d9
UD
259362010-07-27 Ulrich Drepper <drepper@redhat.com>
25937
25938 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25939 for ld.so.
25940
deb9cabb
AS
259412010-07-27 Andreas Schwab <schwab@redhat.com>
25942
25943 * manual/memory.texi (Malloc Tunable Parameters): Document
25944 M_PERTURB.
25945
1c7570ff
RM
259462010-07-26 Roland McGrath <roland@redhat.com>
25947
25948 [BZ #11840]
25949 * configure.in (-fgnu89-inline check): Set and substitute
25950 gnu89_inline, not libc_cv_gnu89_inline.
25951 * configure: Regenerated.
25952 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25953
24fb0f88
UD
259542010-07-26 Ulrich Drepper <drepper@redhat.com>
25955
25956 * string/test-strnlen.c: New file.
25957 * string/Makefile (strop-tests): Add strnlen.
25958 * string/tester.c (test_strnlen): Add a few more test cases.
25959 * string/tst-strlen.c: Better error reporting.
25960
25961 * sysdeps/x86_64/strnlen.S: New file.
25962
8e96b93a
UD
259632010-07-24 Ulrich Drepper <drepper@redhat.com>
25964
25965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25966 lower-latency instructions.
25967
dbc676d4
UD
259682010-07-23 Ulrich Drepper <drepper@redhat.com>
25969
25970 * string/test-strcasestr.c: New file.
25971 * string/test-strstr.c: New file.
25972 * string/Makefile (strop-tests): Add strstr and strcasestr.
25973 * string/str-two-way.h: Don't undefine MAX.
25974 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25975
f6a31e0e
AS
259762010-07-21 Andreas Schwab <schwab@redhat.com>
25977
25978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25979 strcasestr-nonascii.
25980 (CFLAGS-strcasestr-nonascii.c): Define.
25981 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25983 Remove unused attribute.
25984
5dbc3b6c
RM
259852010-07-20 Roland McGrath <roland@redhat.com>
25986
25987 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25988 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25989 ld.so.cache was broken. With it, there is no way to disable dsocaps
25990 like LD_HWCAP_MASK can disable hwcaps.
25991
23d101d8
EPM
259922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25993
25994 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25995
cc9f2e47
UD
259962010-07-16 Ulrich Drepper <drepper@redhat.com>
25997
25998 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25999 call in strcasestr.
26000 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26001 __strcasestr_sse42_nonascii.
26002 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26003 strcasestr-nonascii.c.
26004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26005
77c1b069
LM
260062010-06-15 Luis Machado <luisgpm@br.ibm.com>
26007
26008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26012
440566c3
UD
260132010-07-09 Ulrich Drepper <drepper@redhat.com>
26014
26015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26016 fcntl.
26017
5be9d05d
AS
260182010-07-06 Andreas Schwab <schwab@redhat.com>
26019
c30b7ee2 26020 [BZ #11577]
5be9d05d
AS
26021 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26022 dl_signal_cerror.
26023
8a492a67
UD
260242010-07-06 Ulrich Drepper <drepper@redhat.com>
26025
26026 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26027 _PC_PIPE_BUF using F_GETPIPE_SZ.
26028
713df3d5
RM
260292010-07-05 Roland McGrath <roland@redhat.com>
26030
26031 * manual/arith.texi (Rounding Functions): Fix rint description
26032 implicit in round description.
26033
702e8f14
UD
260342010-07-02 Ulrich Drepper <drepper@redhat.com>
26035
26036 * elf/Makefile: Fix linking for a few tests to make recent linker
26037 happy.
26038
52ed8be9
AS
260392010-06-30 Andreas Schwab <schwab@redhat.com>
26040
26041 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26042 $(common-objpfx)libc_nonshared.a.
26043
f47c9a11
LM
260442010-06-21 Luis Machado <luisgpm@br.ibm.com>
26045
26046 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26047 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26048 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26049 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26050 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26051 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26052 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26053 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26068 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26069 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26070 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26071 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26072 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26073 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26074 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26075 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26076 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26077 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26078 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26079 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26094
6fb8cbcb
L
260952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26096
26097 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26098 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26099 * string/memmove.c (memmove): Renamed to ...
26100 (MEMMOVE): ...this. Default to memmove.
26101 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26102 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26103 (END_CHK): Define.
26104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26105 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26106 mempcpy-ssse3-back memmove-ssse3-back.
26107 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26110 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26111 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26112 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26113 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26114 * sysdeps/x86_64/multiarch/memmove.c: New file.
26115 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26116 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26117 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26118 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26119 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26120 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26121 Define.
26122 (index_Fast_Copy_Backward): Define.
26123 (HAS_ARCH_FEATURE): Define.
26124 (HAS_FAST_REP_STRING): Define.
26125 (HAS_FAST_COPY_BACKWARD): Define.
26126
4e733bac 261272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26128
26129 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26130 Restore proper fallback handling.
26131
63c4ed22
UD
261322010-06-19 Ulrich Drepper <drepper@redhat.com>
26133
ac2b484c
UD
26134 [BZ #11701]
26135 * posix/group_member.c (__group_member): Correct checking loop.
26136
63c4ed22
UD
26137 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26138 OOM in getpwuid_r correctly. Return error number when the caller
26139 should return, otherwise -1.
26140 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26141 call returning > 0 value.
26142 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26143
765ade4b
AS
261442010-06-07 Andreas Schwab <schwab@redhat.com>
26145
26146 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26147 libc_nonshared.a from targets in modules-names.
26148
80da2e09
KS
261492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26150
26151 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26152 requires it.
26153
158db122
LM
261542010-06-10 Luis Machado <luisgpm@br.ibm.com>
26155
26156 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26157 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26160
caa78cf8
AS
261612010-06-02 Andreas Schwab <schwab@redhat.com>
26162
26163 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26164
b2ef2c01
UD
261652010-06-14 Ulrich Drepper <drepper@redhat.com>
26166
26167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26168 and F_GETPIPE_SZ.
26169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26174 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26175
fbd643b6
RM
261762010-06-14 Roland McGrath <roland@redhat.com>
26177
26178 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26179
f32f2869
JJ
261802010-06-07 Jakub Jelinek <jakub@redhat.com>
26181
26182 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26183 __REDIRECT followed by __THROW.
26184 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26185 * posix/getopt.h (getopt): Likewise.
26186
2a50c078
EPM
261872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26188
26189 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26190 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26191 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26192 in AT_FLAGS.
26193 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26194 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26195
eb5ad2eb
LM
261962010-05-28 Luis Machado <luisgpm@br.ibm.com>
26197
26198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26199
3c88fe1e
L
262002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26201
26202 [BZ #11640]
26203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26204 Properly check family and model.
26205
d2f73151
TY
262062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26207
26208 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26209
ebd2e13d
LM
262102010-05-24 Luis Machado <luisgpm@br.ibm.com>
26211
26212 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26213
b32b8b45
UD
262142010-05-21 Ulrich Drepper <drepper@redhat.com>
26215
26216 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26217 symbol reference.
26218
9acbe24d
AS
262192010-05-19 Andreas Schwab <schwab@redhat.com>
26220
26221 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26222 symbol reference.
26223
f0ccf6ea
AS
262242010-05-21 Andreas Schwab <schwab@redhat.com>
26225
3d04ff3a
AS
26226 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26227 and internal_recvmmsg.
26228 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26229 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26230 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26231 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26232
f0ccf6ea
AS
26233 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26234 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26235 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26236
5b08ac57
AS
262372010-05-20 Andreas Schwab <schwab@redhat.com>
26238
26239 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26240
4828935d
LM
262412010-05-17 Luis Machado <luisgpm@br.ibm.com>
26242
26243 POWER7 optimizations.
26244 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26245 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26246
373d545e
UD
262472010-05-19 Ulrich Drepper <drepper@redhat.com>
26248
26249 * version.h: Update for 2.13 development version.
26250
21a2b1ae
AS
262512010-05-12 Andrew Stubbs <ams@codesourcery.com>
26252
26253 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26254 exceptions. Return 0.
26255
3f7dcb2b
RM
262562010-05-07 Roland McGrath <roland@redhat.com>
26257
26258 * elf/ldconfig.c (main): Add a const.
26259
5f24d53a 262602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26261
a160f8d8
UD
26262 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26263 (args_options): Add no-idn option.
26264 (ahosts_keys_int): Add idn_flags to ai_flags.
26265 (parse_option): Handle 'i' option to clear idn_flags.
26266
5f24d53a
UD
26267 * malloc/malloc.c (_int_free): Possible race in the most recently
26268 added check. Only act on the data if no current modification
26269 happened.
265bb1ce
UD
26270
26271See ChangeLog.17 for earlier changes.